diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json
index 522a8e51f..e17514c87 100644
--- a/descriptions/api.github.com/api.github.com.2022-11-28.json
+++ b/descriptions/api.github.com/api.github.com.2022-11-28.json
@@ -13814,7 +13814,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"
],
@@ -13970,7 +13970,7 @@
},
"responses": {
"200": {
- "description": "Artifact deployment record stored successfully.",
+ "description": "Deployment records created or updated successfully.\n",
"content": {
"application/json": {
"schema": {
@@ -25659,6 +25659,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",
@@ -29573,449 +29670,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",
@@ -66279,338 +65933,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": [
- {
- "$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]\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": [
- {
- "$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]\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": [
- {
- "$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]\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"
- },
- "deprecated": true
- }
- },
"/teams/{team_id}/invitations": {
"get": {
"summary": "List pending team invitations (Legacy)",
@@ -76225,6 +75547,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",
@@ -121455,51 +120874,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "$ref": "#/components/schemas/nullable-simple-user"
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2016-05-20T20:09:31Z"
- }
- },
- "required": [
- "id",
- "node_id",
- "user",
- "content",
- "created_at"
- ]
- },
"team-membership": {
"title": "Team Membership",
"description": "Team Membership",
@@ -127056,6 +126430,51 @@
"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",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDg6UmVhY3Rpb24x"
+ },
+ "user": {
+ "$ref": "#/components/schemas/nullable-simple-user"
+ },
+ "content": {
+ "description": "The reaction to use",
+ "example": "heart",
+ "type": "string",
+ "enum": [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2016-05-20T20:09:31Z"
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "user",
+ "content",
+ "created_at"
+ ]
+ },
"branch-short": {
"title": "Branch Short",
"description": "Branch Short",
@@ -291196,177 +290615,24 @@
"type": "User",
"site_admin": false
},
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "
Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 0,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": null,
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Our first team post",
- "updated_at": "2018-01-25T18:56:31Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- ]
- },
- "team-discussion": {
- "value": {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 0,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": null,
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Our first team post",
- "updated_at": "2018-01-25T18:56:31Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- },
- "team-discussion-2": {
- "value": {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 1,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": "2018-01-26T18:22:20Z",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Welcome to our first team post",
- "updated_at": "2018-01-26T18:22:20Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- },
- "team-discussion-comment-items": {
- "value": [
- {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Do you like apples?",
- "body_html": "Do you like apples?
",
- "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 0,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": null,
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
- "updated_at": "2018-01-15T23:53:58Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Our first team post",
+ "updated_at": "2018-01-25T18:56:31Z",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -291380,7 +290646,7 @@
}
]
},
- "team-discussion-comment": {
+ "team-discussion": {
"value": {
"author": {
"login": "octocat",
@@ -291402,19 +290668,24 @@
"type": "User",
"site_admin": false
},
- "body": "Do you like apples?",
- "body_html": "Do you like apples?
",
- "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 0,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": null,
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
- "updated_at": "2018-01-15T23:53:58Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Our first team post",
+ "updated_at": "2018-01-25T18:56:31Z",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -291427,7 +290698,7 @@
}
}
},
- "team-discussion-comment-2": {
+ "team-discussion-2": {
"value": {
"author": {
"login": "octocat",
@@ -291449,19 +290720,24 @@
"type": "User",
"site_admin": false
},
- "body": "Do you like pineapples?",
- "body_html": "Do you like pineapples?
",
- "body_version": "e6907b24d9c93cc0c5024a7af5888116",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 1,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": "2018-01-26T18:22:20Z",
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Welcome to our first team post",
"updated_at": "2018-01-26T18:22:20Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -291474,12 +290750,10 @@
}
}
},
- "reaction-items": {
+ "team-discussion-comment-items": {
"value": [
{
- "id": 1,
- "node_id": "MDg6UmVhY3Rpb24x",
- "user": {
+ "author": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
@@ -291499,16 +290773,35 @@
"type": "User",
"site_admin": false
},
- "content": "heart",
- "created_at": "2016-05-20T20:09:31Z"
+ "body": "Do you like apples?",
+ "body_html": "Do you like apples?
",
+ "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": null,
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-15T23:53:58Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
}
]
},
- "reaction": {
+ "team-discussion-comment": {
"value": {
- "id": 1,
- "node_id": "MDg6UmVhY3Rpb24x",
- "user": {
+ "author": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
@@ -291528,8 +290821,76 @@
"type": "User",
"site_admin": false
},
- "content": "heart",
- "created_at": "2016-05-20T20:09:31Z"
+ "body": "Do you like apples?",
+ "body_html": "Do you like apples?
",
+ "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": null,
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-15T23:53:58Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
+ }
+ },
+ "team-discussion-comment-2": {
+ "value": {
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Do you like pineapples?",
+ "body_html": "Do you like pineapples?
",
+ "body_version": "e6907b24d9c93cc0c5024a7af5888116",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": "2018-01-26T18:22:20Z",
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-26T18:22:20Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
}
},
"team-membership-response-if-user-is-a-team-maintainer": {
@@ -296798,6 +296159,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": [
{
@@ -312261,6 +311680,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",
@@ -312506,15 +311934,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",
@@ -312834,6 +312253,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml
index 8dc8cbc48..85d4b802f 100644
--- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml
+++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml
@@ -9984,7 +9984,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
@@ -10116,7 +10120,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:
@@ -18560,6 +18566,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
@@ -21394,326 +21461,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
@@ -48134,256 +47881,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)
@@ -55220,6 +54717,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
@@ -89166,43 +88723,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
- example: 1
- node_id:
- type: string
- example: MDg6UmVhY3Rpb24x
- user:
- "$ref": "#/components/schemas/nullable-simple-user"
- content:
- description: The reaction to use
- example: heart
- type: string
- enum:
- - "+1"
- - "-1"
- - laugh
- - confused
- - heart
- - hooray
- - rocket
- - eyes
- created_at:
- type: string
- format: date-time
- example: '2016-05-20T20:09:31Z'
- required:
- - id
- - node_id
- - user
- - content
- - created_at
team-membership:
title: Team Membership
description: Team Membership
@@ -93534,6 +93054,43 @@ 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
+ example: 1
+ node_id:
+ type: string
+ example: MDg6UmVhY3Rpb24x
+ user:
+ "$ref": "#/components/schemas/nullable-simple-user"
+ content:
+ description: The reaction to use
+ example: heart
+ type: string
+ enum:
+ - "+1"
+ - "-1"
+ - laugh
+ - confused
+ - heart
+ - hooray
+ - rocket
+ - eyes
+ created_at:
+ type: string
+ format: date-time
+ example: '2016-05-20T20:09:31Z'
+ required:
+ - id
+ - node_id
+ - user
+ - content
+ - created_at
branch-short:
title: Branch Short
description: Branch Short
@@ -218971,56 +218528,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:
@@ -223565,6 +223072,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
@@ -236936,6 +236493,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
@@ -237160,13 +236724,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
@@ -237441,6 +236998,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json
index 522a8e51f..e17514c87 100644
--- a/descriptions/api.github.com/api.github.com.json
+++ b/descriptions/api.github.com/api.github.com.json
@@ -13814,7 +13814,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"
],
@@ -13970,7 +13970,7 @@
},
"responses": {
"200": {
- "description": "Artifact deployment record stored successfully.",
+ "description": "Deployment records created or updated successfully.\n",
"content": {
"application/json": {
"schema": {
@@ -25659,6 +25659,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",
@@ -29573,449 +29670,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",
@@ -66279,338 +65933,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": [
- {
- "$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]\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": [
- {
- "$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]\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": [
- {
- "$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]\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"
- },
- "deprecated": true
- }
- },
"/teams/{team_id}/invitations": {
"get": {
"summary": "List pending team invitations (Legacy)",
@@ -76225,6 +75547,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",
@@ -121455,51 +120874,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "$ref": "#/components/schemas/nullable-simple-user"
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2016-05-20T20:09:31Z"
- }
- },
- "required": [
- "id",
- "node_id",
- "user",
- "content",
- "created_at"
- ]
- },
"team-membership": {
"title": "Team Membership",
"description": "Team Membership",
@@ -127056,6 +126430,51 @@
"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",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDg6UmVhY3Rpb24x"
+ },
+ "user": {
+ "$ref": "#/components/schemas/nullable-simple-user"
+ },
+ "content": {
+ "description": "The reaction to use",
+ "example": "heart",
+ "type": "string",
+ "enum": [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2016-05-20T20:09:31Z"
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "user",
+ "content",
+ "created_at"
+ ]
+ },
"branch-short": {
"title": "Branch Short",
"description": "Branch Short",
@@ -291196,177 +290615,24 @@
"type": "User",
"site_admin": false
},
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 0,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": null,
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Our first team post",
- "updated_at": "2018-01-25T18:56:31Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- ]
- },
- "team-discussion": {
- "value": {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 0,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": null,
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Our first team post",
- "updated_at": "2018-01-25T18:56:31Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- },
- "team-discussion-2": {
- "value": {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 1,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": "2018-01-26T18:22:20Z",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Welcome to our first team post",
- "updated_at": "2018-01-26T18:22:20Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- },
- "team-discussion-comment-items": {
- "value": [
- {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Do you like apples?",
- "body_html": "Do you like apples?
",
- "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 0,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": null,
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
- "updated_at": "2018-01-15T23:53:58Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Our first team post",
+ "updated_at": "2018-01-25T18:56:31Z",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -291380,7 +290646,7 @@
}
]
},
- "team-discussion-comment": {
+ "team-discussion": {
"value": {
"author": {
"login": "octocat",
@@ -291402,19 +290668,24 @@
"type": "User",
"site_admin": false
},
- "body": "Do you like apples?",
- "body_html": "Do you like apples?
",
- "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 0,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": null,
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
- "updated_at": "2018-01-15T23:53:58Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Our first team post",
+ "updated_at": "2018-01-25T18:56:31Z",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -291427,7 +290698,7 @@
}
}
},
- "team-discussion-comment-2": {
+ "team-discussion-2": {
"value": {
"author": {
"login": "octocat",
@@ -291449,19 +290720,24 @@
"type": "User",
"site_admin": false
},
- "body": "Do you like pineapples?",
- "body_html": "Do you like pineapples?
",
- "body_version": "e6907b24d9c93cc0c5024a7af5888116",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 1,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": "2018-01-26T18:22:20Z",
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Welcome to our first team post",
"updated_at": "2018-01-26T18:22:20Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -291474,12 +290750,10 @@
}
}
},
- "reaction-items": {
+ "team-discussion-comment-items": {
"value": [
{
- "id": 1,
- "node_id": "MDg6UmVhY3Rpb24x",
- "user": {
+ "author": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
@@ -291499,16 +290773,35 @@
"type": "User",
"site_admin": false
},
- "content": "heart",
- "created_at": "2016-05-20T20:09:31Z"
+ "body": "Do you like apples?",
+ "body_html": "Do you like apples?
",
+ "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": null,
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-15T23:53:58Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
}
]
},
- "reaction": {
+ "team-discussion-comment": {
"value": {
- "id": 1,
- "node_id": "MDg6UmVhY3Rpb24x",
- "user": {
+ "author": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
@@ -291528,8 +290821,76 @@
"type": "User",
"site_admin": false
},
- "content": "heart",
- "created_at": "2016-05-20T20:09:31Z"
+ "body": "Do you like apples?",
+ "body_html": "Do you like apples?
",
+ "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": null,
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-15T23:53:58Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
+ }
+ },
+ "team-discussion-comment-2": {
+ "value": {
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Do you like pineapples?",
+ "body_html": "Do you like pineapples?
",
+ "body_version": "e6907b24d9c93cc0c5024a7af5888116",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": "2018-01-26T18:22:20Z",
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-26T18:22:20Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
}
},
"team-membership-response-if-user-is-a-team-maintainer": {
@@ -296798,6 +296159,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": [
{
@@ -312261,6 +311680,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",
@@ -312506,15 +311934,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",
@@ -312834,6 +312253,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml
index 8dc8cbc48..85d4b802f 100644
--- a/descriptions/api.github.com/api.github.com.yaml
+++ b/descriptions/api.github.com/api.github.com.yaml
@@ -9984,7 +9984,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
@@ -10116,7 +10120,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:
@@ -18560,6 +18566,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
@@ -21394,326 +21461,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
@@ -48134,256 +47881,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)
@@ -55220,6 +54717,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
@@ -89166,43 +88723,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
- example: 1
- node_id:
- type: string
- example: MDg6UmVhY3Rpb24x
- user:
- "$ref": "#/components/schemas/nullable-simple-user"
- content:
- description: The reaction to use
- example: heart
- type: string
- enum:
- - "+1"
- - "-1"
- - laugh
- - confused
- - heart
- - hooray
- - rocket
- - eyes
- created_at:
- type: string
- format: date-time
- example: '2016-05-20T20:09:31Z'
- required:
- - id
- - node_id
- - user
- - content
- - created_at
team-membership:
title: Team Membership
description: Team Membership
@@ -93534,6 +93054,43 @@ 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
+ example: 1
+ node_id:
+ type: string
+ example: MDg6UmVhY3Rpb24x
+ user:
+ "$ref": "#/components/schemas/nullable-simple-user"
+ content:
+ description: The reaction to use
+ example: heart
+ type: string
+ enum:
+ - "+1"
+ - "-1"
+ - laugh
+ - confused
+ - heart
+ - hooray
+ - rocket
+ - eyes
+ created_at:
+ type: string
+ format: date-time
+ example: '2016-05-20T20:09:31Z'
+ required:
+ - id
+ - node_id
+ - user
+ - content
+ - created_at
branch-short:
title: Branch Short
description: Branch Short
@@ -218971,56 +218528,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:
@@ -223565,6 +223072,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
@@ -236936,6 +236493,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
@@ -237160,13 +236724,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
@@ -237441,6 +236998,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json
index 3b585b29c..6bb7383dc 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json
+++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json
@@ -86507,7 +86507,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"
],
@@ -86669,7 +86669,7 @@
},
"responses": {
"200": {
- "description": "Artifact deployment record stored successfully.",
+ "description": "Deployment records created or updated successfully.\n",
"content": {
"application/json": {
"schema": {
@@ -171270,19 +171270,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.",
@@ -171291,6 +171300,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": {
@@ -171301,120 +171366,1208 @@
"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"
- ],
- "example": "organization"
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
},
- "value_type": {
+ "content_type": {
+ "title": "Projects v2 Item Content Type",
+ "description": "The type of content tracked in a project item",
"type": "string",
- "example": "single_select",
"enum": [
- "string",
- "single_select",
- "multi_select",
- "true_false",
- "url"
- ],
- "description": "The type of the value for the property"
+ "Issue",
+ "PullRequest",
+ "DraftIssue"
+ ]
},
- "required": {
- "type": "boolean",
- "description": "Whether the property is required."
+ "content": {
+ "type": "object",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
},
- "default_value": {
- "oneOf": [
- {
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
"type": "string"
},
- {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
}
- ],
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
"nullable": true,
- "description": "Default value of the property"
+ "description": "The time when the item was archived."
},
- "description": {
+ "item_url": {
"type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
"nullable": true,
- "description": "Short description of the property"
+ "description": "The API URL of this item."
},
- "allowed_values": {
+ "fields": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "additionalProperties": true
},
- "nullable": true,
- "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",
- "nullable": true,
- "enum": [
- "org_actors",
- "org_and_repo_actors"
- ],
- "example": "org_actors",
- "description": "Who can edit the values of the property"
+ "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"
+ ],
+ "example": "organization"
+ },
+ "value_type": {
+ "type": "string",
+ "example": "single_select",
+ "enum": [
+ "string",
+ "single_select",
+ "multi_select",
+ "true_false",
+ "url"
+ ],
+ "description": "The type of the value for the property"
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Whether the property is required."
+ },
+ "default_value": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ ],
+ "nullable": true,
+ "description": "Default value of the property"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "description": "Short description of the property"
+ },
+ "allowed_values": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "nullable": true,
+ "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",
+ "nullable": true,
+ "enum": [
+ "org_actors",
+ "org_and_repo_actors"
+ ],
+ "example": "org_actors",
+ "description": "Who can edit the values of the property"
+ }
+ },
+ "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"
+ }
+ ]
}
}
}
@@ -201227,1766 +202380,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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": [
{
@@ -533064,1188 +532468,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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)",
@@ -644096,433 +642318,1185 @@
}
]
}
- }
- }
- }
- },
- "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.",
- "nullable": true,
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "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",
- "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
- "description": "The API URL of the project that contains this item."
- },
- "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",
- "additionalProperties": true,
- "nullable": true,
- "description": "The content of the item, which varies by content type."
- },
- "creator": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "description": "The time when the item was created."
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "description": "The time when the item was last updated."
- },
- "archived_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "nullable": true,
- "description": "The time when the item was archived."
- },
- "item_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
- "nullable": true,
- "description": "The API URL of this item."
- },
- "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.",
+ "nullable": true,
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "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",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
+ },
+ "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",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
+ },
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
+ "type": "string"
+ },
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "nullable": true,
+ "description": "The time when the item was archived."
+ },
+ "item_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
+ "nullable": true,
+ "description": "The API URL of this item."
+ },
+ "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",
@@ -645274,7 +644248,7 @@
]
}
},
- "number_field": {
+ "date_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -646026,7 +645000,7 @@
]
}
},
- "date_field": {
+ "single_select_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -646778,7 +645752,7 @@
]
}
},
- "single_select_field": {
+ "iteration_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -647529,8 +646503,571 @@
}
]
}
- },
- "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",
+ "nullable": true
+ },
+ {
+ "type": "integer",
+ "nullable": true
+ },
+ {
+ "type": "array",
+ "nullable": true,
+ "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",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
+ },
+ "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",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
+ },
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
+ "type": "string"
+ },
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "nullable": true,
+ "description": "The time when the item was archived."
+ },
+ "item_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
+ "nullable": true,
+ "description": "The API URL of this item."
+ },
+ "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",
@@ -648284,34 +647821,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": {
@@ -648338,155 +647860,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",
- "nullable": true
- },
- {
- "type": "integer",
- "nullable": true
- },
- {
- "type": "array",
- "nullable": true,
- "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": {
@@ -648511,8 +647886,8 @@
}
}
},
- "401": {
- "description": "Requires authentication",
+ "404": {
+ "description": "Resource not found",
"content": {
"application/json": {
"schema": {
@@ -648540,7 +647915,7 @@
},
"x-github": {
"githubCloudOnly": false,
- "enabledForGitHubApps": true,
+ "enabledForGitHubApps": false,
"category": "projects",
"subcategory": "items"
}
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml
index ed8839170..7517342b2 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml
+++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml
@@ -8795,7 +8795,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
- - &483
+ - &481
name: has
in: query
description: |-
@@ -8911,7 +8911,7 @@ paths:
- unknown
- direct
- transitive
- security_advisory: &484
+ security_advisory: &482
type: object
description: Details for the GitHub Security Advisory.
readOnly: true
@@ -9173,14 +9173,14 @@ paths:
format: date-time
readOnly: true
nullable: true
- auto_dismissed_at: &485
+ auto_dismissed_at: &483
type: string
description: 'The time that the alert was auto-dismissed in
ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.'
format: date-time
readOnly: true
nullable: true
- dismissal_request: &486
+ dismissal_request: &484
title: Dependabot alert dismissal request
description: Information about an active dismissal request for
this Dependabot alert.
@@ -10542,7 +10542,7 @@ paths:
properties:
action:
type: string
- discussion: &740
+ discussion: &741
title: Discussion
description: A Discussion in a repository.
type: object
@@ -11424,7 +11424,7 @@ paths:
action:
type: string
issue: *74
- comment: &533
+ comment: &531
title: Issue Comment
description: Comments provide a way for people to collaborate
on an issue.
@@ -16110,14 +16110,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories
parameters:
- - &334
+ - &330
name: owner
description: The account owner of the repository. The name is not case sensitive.
in: path
required: true
schema:
type: string
- - &335
+ - &331
name: repo
description: The name of the repository without the `.git` extension. The
name is not case sensitive.
@@ -16179,7 +16179,7 @@ paths:
'404': *6
'403': *29
'304': *37
- '301': &338
+ '301': &334
description: Moved permanently
content:
application/json:
@@ -18318,7 +18318,7 @@ paths:
required: false
schema:
type: string
- - &717
+ - &718
name: model
description: The model name to query usage for. The name is not case sensitive.
in: query
@@ -18464,7 +18464,7 @@ paths:
parameters:
- *67
- *114
- - &718
+ - &719
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
@@ -18576,7 +18576,7 @@ paths:
- *114
- *116
- *115
- - &719
+ - &720
name: repository
description: The repository name to query for usage in the format owner/repository.
in: query
@@ -18584,7 +18584,7 @@ paths:
schema:
type: string
- *117
- - &720
+ - &721
name: sku
description: The SKU to query for usage.
in: query
@@ -19486,7 +19486,7 @@ paths:
type: integer
repository_cache_usages:
type: array
- items: &345
+ items: &341
title: Actions Cache Usage by repository
description: GitHub Actions Cache Usage by repository.
type: object
@@ -20678,7 +20678,7 @@ paths:
- all
- local_only
- selected
- selected_actions_url: &351
+ selected_actions_url: &347
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`
@@ -20761,7 +20761,7 @@ paths:
description: Response
content:
application/json:
- schema: &355
+ schema: &351
type: object
properties:
days:
@@ -20803,7 +20803,7 @@ paths:
required: true
content:
application/json:
- schema: &356
+ schema: &352
type: object
properties:
days:
@@ -20860,7 +20860,7 @@ paths:
required:
- approval_policy
examples:
- default: &357
+ default: &353
value:
approval_policy: first_time_contributors
'404': *6
@@ -20919,7 +20919,7 @@ paths:
description: Response
content:
application/json:
- schema: &358
+ schema: &354
type: object
required:
- run_workflows_from_fork_pull_requests
@@ -20973,7 +20973,7 @@ paths:
required: true
content:
application/json:
- schema: &359
+ schema: &355
type: object
required:
- run_workflows_from_fork_pull_requests
@@ -21608,7 +21608,7 @@ paths:
description: Response
content:
application/json:
- schema: &360
+ schema: &356
type: object
properties:
default_workflow_permissions: &144
@@ -21659,7 +21659,7 @@ paths:
required: false
content:
application/json:
- schema: &361
+ schema: &357
type: object
properties:
default_workflow_permissions: *144
@@ -22790,7 +22790,7 @@ paths:
application/json:
schema:
type: array
- items: &362
+ items: &358
title: Runner Application
description: Runner Application
type: object
@@ -22815,7 +22815,7 @@ paths:
- download_url
- filename
examples:
- default: &363
+ default: &359
value:
- os: osx
architecture: x64
@@ -22901,7 +22901,7 @@ paths:
- no-gpu
work_folder: _work
responses:
- '201': &364
+ '201': &360
description: Response
content:
application/json:
@@ -23012,7 +23012,7 @@ paths:
- token
- expires_at
examples:
- default: &365
+ default: &361
value:
token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6
expires_at: '2020-01-22T12:13:35.123-08:00'
@@ -23051,7 +23051,7 @@ paths:
application/json:
schema: *155
examples:
- default: &366
+ default: &362
value:
token: AABF3JGZDX3P5PMEXLND6TS6FCWO6
expires_at: '2020-01-29T12:13:35.123-08:00'
@@ -23085,7 +23085,7 @@ paths:
application/json:
schema: *153
examples:
- default: &367
+ default: &363
value:
id: 23
name: MBP
@@ -23311,7 +23311,7 @@ paths:
- *67
- *152
responses:
- '200': &368
+ '200': &364
description: Response
content:
application/json:
@@ -23368,7 +23368,7 @@ paths:
parameters:
- *67
- *152
- - &369
+ - &365
name: name
description: The name of a self-hosted runner's custom label.
in: path
@@ -23498,7 +23498,7 @@ paths:
description: Response
content:
application/json:
- schema: &381
+ schema: &377
title: ActionsPublicKey
description: The public key used for setting Actions Secrets.
type: object
@@ -23527,7 +23527,7 @@ paths:
- key_id
- key
examples:
- default: &382
+ default: &378
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -23940,7 +23940,7 @@ paths:
url: https://docs.github.com/rest/actions/variables#list-organization-variables
parameters:
- *67
- - &350
+ - &346
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)."
@@ -24597,7 +24597,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
@@ -24729,7 +24733,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:
@@ -25482,7 +25488,7 @@ paths:
initiator:
type: string
examples:
- default: &395
+ default: &391
value:
attestations:
- bundle:
@@ -26411,7 +26417,7 @@ paths:
url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
parameters:
- *67
- - &420
+ - &416
name: tool_name
description: The name of a code scanning tool. Only results by this tool will
be listed. You can specify the tool by using either `tool_name` or `tool_guid`,
@@ -26421,7 +26427,7 @@ paths:
schema: &176
type: string
description: The name of the tool used to generate the code scanning analysis.
- - &421
+ - &417
name: tool_guid
description: The GUID of a code scanning tool. Only results by this tool will
be listed. Note that some code scanning tools may not include a GUID in
@@ -26444,7 +26450,7 @@ paths:
be returned.
in: query
required: false
- schema: &423
+ schema: &419
type: string
description: State of a code scanning alert.
enum:
@@ -26467,7 +26473,7 @@ paths:
be returned.
in: query
required: false
- schema: &424
+ schema: &420
type: string
description: Severity of a code scanning alert.
enum:
@@ -26501,7 +26507,7 @@ paths:
updated_at: *171
url: *172
html_url: *173
- instances_url: &425
+ instances_url: &421
type: string
description: The REST API URL for fetching the list of instances
for an alert.
@@ -26524,7 +26530,7 @@ paths:
required: *21
nullable: true
dismissed_at: *175
- dismissed_reason: &426
+ dismissed_reason: &422
type: string
description: "**Required when the state is dismissed.** The
reason for dismissing or closing the alert."
@@ -26533,13 +26539,13 @@ paths:
- false positive
- won't fix
- used in tests
- dismissed_comment: &427
+ dismissed_comment: &423
type: string
description: The dismissal comment associated with the dismissal
of the alert.
nullable: true
maxLength: 280
- rule: &428
+ rule: &424
type: object
properties:
id:
@@ -26592,7 +26598,7 @@ paths:
type: string
description: A link to the documentation for the rule used
to detect the alert.
- tool: &429
+ tool: &425
type: object
properties:
name: *176
@@ -26602,26 +26608,26 @@ paths:
description: The version of the tool used to generate the
code scanning analysis.
guid: *177
- most_recent_instance: &430
+ most_recent_instance: &426
type: object
properties:
- ref: &422
+ ref: &418
type: string
description: |-
The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,
`refs/heads/` or simply ``.
- analysis_key: &440
+ analysis_key: &436
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: &441
+ environment: &437
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: &442
+ category: &438
type: string
description: Identifies the configuration under which the
analysis was executed. Used to distinguish between multiple
@@ -26635,7 +26641,7 @@ paths:
properties:
text:
type: string
- location: &443
+ location: &439
type: object
description: Describe a region within a file for the alert.
properties:
@@ -26656,7 +26662,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: &444
+ items: &440
type: string
description: A classification of the file. For example
to identify it as generated.
@@ -27945,7 +27951,7 @@ paths:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: &456
+ properties: &452
name:
type: string
description: The name of the machine.
@@ -27987,7 +27993,7 @@ paths:
- ready
- in_progress
nullable: true
- required: &457
+ required: &453
- name
- display_name
- operating_system
@@ -28855,7 +28861,7 @@ paths:
- updated_at
- visibility
examples:
- default: &458
+ default: &454
value:
total_count: 2
secrets:
@@ -28893,7 +28899,7 @@ paths:
description: Response
content:
application/json:
- schema: &459
+ schema: &455
title: CodespacesPublicKey
description: The public key used for setting Codespaces secrets.
type: object
@@ -28922,7 +28928,7 @@ paths:
- key_id
- key
examples:
- default: &460
+ default: &456
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -28954,7 +28960,7 @@ paths:
application/json:
schema: *186
examples:
- default: &462
+ default: &458
value:
name: GH_TOKEN
created_at: '2019-08-10T14:59:22Z'
@@ -30567,7 +30573,7 @@ paths:
description: Response
content:
application/json:
- schema: &489
+ schema: &487
title: DependabotPublicKey
description: The public key used for setting Dependabot Secrets.
type: object
@@ -30584,7 +30590,7 @@ paths:
- key_id
- key
examples:
- default: &490
+ default: &488
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -32384,7 +32390,7 @@ paths:
application/json:
schema: *22
examples:
- default: &528
+ default: &526
value:
id: 1
account:
@@ -32609,7 +32615,7 @@ paths:
required: true
content:
application/json:
- schema: &529
+ schema: &527
title: Interaction Restrictions
description: Limit interactions to a specific type of user for a specified
duration
@@ -33462,7 +33468,7 @@ paths:
application/json:
schema: *232
examples:
- default: &455
+ default: &451
value:
id: 1
name: monalisa-octocat-hello-world-g4wpq6h95q
@@ -37583,7 +37589,7 @@ paths:
title: Projects v2 Status Update
description: An status update belonging to a project
type: object
- properties: &771
+ properties: &772
id:
type: number
description: The unique identifier of the status update.
@@ -37631,7 +37637,7 @@ paths:
example: The project is off to a great start!
type: string
nullable: true
- required: &772
+ required: &773
- id
- node_id
- created_at
@@ -37845,7 +37851,7 @@ paths:
content:
oneOf:
- *74
- - &470
+ - &468
title: Pull Request Simple
description: Pull Request Simple
type: object
@@ -39994,6 +40000,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:
+ - *263
+ - *67
+ - &717
+ 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
+ - *45
+ - *46
+ - *17
+ responses:
+ '200':
+ description: Response
+ content:
+ application/json:
+ schema:
+ type: array
+ items: *271
+ examples:
+ default: *272
+ headers:
+ Link: *58
+ '304': *37
+ '403': *29
+ '401': *25
+ '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
@@ -40860,7 +40926,7 @@ paths:
description: Response
content:
application/json:
- schema: &337
+ schema: &333
title: Full Repository
description: Full Repository
type: object
@@ -41253,7 +41319,7 @@ paths:
title: Code Of Conduct Simple
description: Code of Conduct Simple
type: object
- properties: &475
+ properties: &473
url:
type: string
format: uri
@@ -41269,7 +41335,7 @@ paths:
nullable: true
format: uri
example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md
- required: &476
+ required: &474
- url
- key
- name
@@ -41358,7 +41424,7 @@ paths:
- network_count
- subscribers_count
examples:
- default: &339
+ default: &335
value:
id: 1296269
node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5
@@ -47702,407 +47768,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:
- - *67
- - *68
- - *325
- - *328
- - 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: &329
- 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
- example: 1
- node_id:
- type: string
- example: MDg6UmVhY3Rpb24x
- user:
- title: Simple User
- description: A GitHub user.
- type: object
- properties: *20
- required: *21
- nullable: true
- content:
- description: The reaction to use
- example: heart
- type: string
- enum:
- - "+1"
- - "-1"
- - laugh
- - confused
- - heart
- - hooray
- - rocket
- - eyes
- created_at:
- type: string
- format: date-time
- example: '2016-05-20T20:09:31Z'
- required:
- - id
- - node_id
- - user
- - content
- - created_at
- examples:
- default: &331
- 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: *58
- 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:
- - *67
- - *68
- - *325
- - *328
- 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: *329
- examples:
- default: &330
- 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: *329
- examples:
- default: *330
- 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:
- - *67
- - *68
- - *325
- - *328
- - &332
- 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:
- - *67
- - *68
- - *325
- - 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: *329
- examples:
- default: *331
- headers:
- Link: *58
- 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:
- - *67
- - *68
- - *325
- 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: *329
- examples:
- default: *330
- '201':
- description: Response
- content:
- application/json:
- schema: *329
- examples:
- default: *330
- 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:
- - *67
- - *68
- - *325
- - *332
- 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
@@ -48215,7 +47880,7 @@ paths:
description: Response
content:
application/json:
- schema: &333
+ schema: &329
title: Team Membership
description: Team Membership
type: object
@@ -48305,7 +47970,7 @@ paths:
description: Response
content:
application/json:
- schema: *333
+ schema: *329
examples:
response-if-users-membership-with-team-is-now-pending: &666
summary: Response if user's membership with team is now pending
@@ -48414,8 +48079,8 @@ paths:
parameters:
- *67
- *68
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Alternative response with repository permissions
@@ -48992,8 +48657,8 @@ paths:
parameters:
- *67
- *68
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -49040,8 +48705,8 @@ paths:
parameters:
- *67
- *68
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -49232,7 +48897,7 @@ paths:
resources:
type: object
properties:
- core: &336
+ core: &332
title: Rate Limit
type: object
properties:
@@ -49249,21 +48914,21 @@ paths:
- remaining
- reset
- used
- graphql: *336
- search: *336
- code_search: *336
- source_import: *336
- integration_manifest: *336
- code_scanning_upload: *336
- actions_runner_registration: *336
- scim: *336
- dependency_snapshots: *336
- dependency_sbom: *336
- code_scanning_autofix: *336
+ graphql: *332
+ search: *332
+ code_search: *332
+ source_import: *332
+ integration_manifest: *332
+ code_scanning_upload: *332
+ actions_runner_registration: *332
+ scim: *332
+ dependency_snapshots: *332
+ dependency_sbom: *332
+ code_scanning_autofix: *332
required:
- core
- search
- rate: *336
+ rate: *332
required:
- rate
- resources
@@ -49368,14 +49033,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#get-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
default-response:
summary: Default response
@@ -49876,7 +49541,7 @@ paths:
status: disabled
'403': *29
'404': *6
- '301': *338
+ '301': *334
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -49894,8 +49559,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#update-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -50142,10 +49807,10 @@ paths:
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
- '307': &340
+ default: *335
+ '307': &336
description: Temporary Redirect
content:
application/json:
@@ -50174,8 +49839,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#delete-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -50197,7 +49862,7 @@ paths:
value:
message: Organization members cannot delete repositories.
documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository
- '307': *340
+ '307': *336
'404': *6
'409': *51
x-github:
@@ -50221,11 +49886,11 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
- - &373
+ - &369
name: name
description: The name field of an artifact. When specified, only artifacts
with this name will be returned.
@@ -50248,7 +49913,7 @@ paths:
type: integer
artifacts:
type: array
- items: &341
+ items: &337
title: Artifact
description: An artifact
type: object
@@ -50326,7 +49991,7 @@ paths:
- expires_at
- updated_at
examples:
- default: &374
+ default: &370
value:
total_count: 2
artifacts:
@@ -50387,9 +50052,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#get-an-artifact
parameters:
- - *334
- - *335
- - &342
+ - *330
+ - *331
+ - &338
name: artifact_id
description: The unique identifier of the artifact.
in: path
@@ -50401,7 +50066,7 @@ paths:
description: Response
content:
application/json:
- schema: *341
+ schema: *337
examples:
default:
value:
@@ -50439,9 +50104,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact
parameters:
- - *334
- - *335
- - *342
+ - *330
+ - *331
+ - *338
responses:
'204':
description: Response
@@ -50465,9 +50130,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#download-an-artifact
parameters:
- - *334
- - *335
- - *342
+ - *330
+ - *331
+ - *338
- name: archive_format
in: path
required: true
@@ -50481,7 +50146,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': &532
+ '410': &530
description: Gone
content:
application/json:
@@ -50506,14 +50171,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: &343
+ schema: &339
title: Actions cache retention limit for a repository
description: GitHub Actions cache retention policy for a repository.
type: object
@@ -50546,13 +50211,13 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *343
+ schema: *339
examples:
selected_actions: *42
responses:
@@ -50581,14 +50246,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: &344
+ schema: &340
title: Actions cache storage limit for a repository
description: GitHub Actions cache storage policy for a repository.
type: object
@@ -50621,13 +50286,13 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *344
+ schema: *340
examples:
selected_actions: *44
responses:
@@ -50658,14 +50323,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *345
+ schema: *341
examples:
default:
value:
@@ -50691,11 +50356,11 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
- - &346
+ - &342
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
@@ -50729,7 +50394,7 @@ paths:
description: Response
content:
application/json:
- schema: &347
+ schema: &343
title: Repository actions caches
description: Repository actions caches
type: object
@@ -50771,7 +50436,7 @@ paths:
- total_count
- actions_caches
examples:
- default: &348
+ default: &344
value:
total_count: 1
actions_caches:
@@ -50803,23 +50468,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:
- - *334
- - *335
+ - *330
+ - *331
- name: key
description: A key for identifying the cache.
in: query
required: true
schema:
type: string
- - *346
+ - *342
responses:
'200':
description: Response
content:
application/json:
- schema: *347
+ schema: *343
examples:
- default: *348
+ default: *344
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -50839,8 +50504,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:
- - *334
- - *335
+ - *330
+ - *331
- name: cache_id
description: The unique identifier of the GitHub Actions cache.
in: path
@@ -50871,9 +50536,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run
parameters:
- - *334
- - *335
- - &349
+ - *330
+ - *331
+ - &345
name: job_id
description: The unique identifier of the job.
in: path
@@ -50885,7 +50550,7 @@ paths:
description: Response
content:
application/json:
- schema: &377
+ schema: &373
title: Job
description: Information of a job execution in a workflow run
type: object
@@ -51192,9 +50857,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run
parameters:
- - *334
- - *335
- - *349
+ - *330
+ - *331
+ - *345
responses:
'302':
description: Response
@@ -51222,9 +50887,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run
parameters:
- - *334
- - *335
- - *349
+ - *330
+ - *331
+ - *345
requestBody:
required: false
content:
@@ -51269,8 +50934,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Status response
@@ -51320,8 +50985,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -51384,8 +51049,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -51403,7 +51068,7 @@ paths:
type: integer
secrets:
type: array
- items: &379
+ items: &375
title: Actions Secret
description: Set secrets for GitHub Actions.
type: object
@@ -51423,7 +51088,7 @@ paths:
- created_at
- updated_at
examples:
- default: &380
+ default: &376
value:
total_count: 2
secrets:
@@ -51456,9 +51121,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables
parameters:
- - *334
- - *335
- - *350
+ - *330
+ - *331
+ - *346
- *19
responses:
'200':
@@ -51475,7 +51140,7 @@ paths:
type: integer
variables:
type: array
- items: &383
+ items: &379
title: Actions Variable
type: object
properties:
@@ -51505,7 +51170,7 @@ paths:
- created_at
- updated_at
examples:
- default: &384
+ default: &380
value:
total_count: 2
variables:
@@ -51538,8 +51203,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -51548,11 +51213,11 @@ paths:
schema:
type: object
properties:
- enabled: &352
+ enabled: &348
type: boolean
description: Whether GitHub Actions is enabled on the repository.
allowed_actions: *136
- selected_actions_url: *351
+ selected_actions_url: *347
sha_pinning_required: *137
required:
- enabled
@@ -51581,8 +51246,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -51593,7 +51258,7 @@ paths:
schema:
type: object
properties:
- enabled: *352
+ enabled: *348
allowed_actions: *136
sha_pinning_required: *137
required:
@@ -51625,14 +51290,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: &353
+ schema: &349
type: object
properties:
access_level:
@@ -51649,7 +51314,7 @@ paths:
required:
- access_level
examples:
- default: &354
+ default: &350
value:
access_level: organization
x-github:
@@ -51673,15 +51338,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *353
+ schema: *349
examples:
- default: *354
+ default: *350
responses:
'204':
description: Response
@@ -51705,14 +51370,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *355
+ schema: *351
examples:
default:
value:
@@ -51736,8 +51401,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Empty response for successful settings update
@@ -51747,7 +51412,7 @@ paths:
required: true
content:
application/json:
- schema: *356
+ schema: *352
examples:
default:
summary: Set retention days
@@ -51771,8 +51436,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -51780,7 +51445,7 @@ paths:
application/json:
schema: *138
examples:
- default: *357
+ default: *353
'404': *6
x-github:
enabledForGitHubApps: true
@@ -51799,8 +51464,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -51834,14 +51499,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *358
+ schema: *354
examples:
default: *139
'403': *29
@@ -51863,13 +51528,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *359
+ schema: *355
examples:
default: *139
responses:
@@ -51895,8 +51560,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -51923,8 +51588,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -51956,14 +51621,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *360
+ schema: *356
examples:
default: *146
x-github:
@@ -51986,8 +51651,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Success response
@@ -51998,7 +51663,7 @@ paths:
required: true
content:
application/json:
- schema: *361
+ schema: *357
examples:
default: *146
x-github:
@@ -52027,8 +51692,8 @@ paths:
in: query
schema:
type: string
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -52072,8 +51737,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -52081,9 +51746,9 @@ paths:
application/json:
schema:
type: array
- items: *362
+ items: *358
examples:
- default: *363
+ default: *359
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52105,8 +51770,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -52149,7 +51814,7 @@ paths:
- no-gpu
work_folder: _work
responses:
- '201': *364
+ '201': *360
'404': *6
'422': *7
'409': *51
@@ -52180,8 +51845,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'201':
description: Response
@@ -52189,7 +51854,7 @@ paths:
application/json:
schema: *155
examples:
- default: *365
+ default: *361
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52217,8 +51882,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'201':
description: Response
@@ -52226,7 +51891,7 @@ paths:
application/json:
schema: *155
examples:
- default: *366
+ default: *362
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52248,8 +51913,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
responses:
'200':
@@ -52258,7 +51923,7 @@ paths:
application/json:
schema: *153
examples:
- default: *367
+ default: *363
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52279,8 +51944,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
responses:
'204':
@@ -52307,8 +51972,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
responses:
'200': *157
@@ -52333,8 +51998,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
requestBody:
required: true
@@ -52383,8 +52048,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
requestBody:
required: true
@@ -52434,11 +52099,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
responses:
- '200': *368
+ '200': *364
'404': *6
x-github:
githubCloudOnly: false
@@ -52465,10 +52130,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
- - *369
+ - *365
responses:
'200': *157
'404': *6
@@ -52496,9 +52161,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository
parameters:
- - *334
- - *335
- - &387
+ - *330
+ - *331
+ - &383
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.
@@ -52506,7 +52171,7 @@ paths:
required: false
schema:
type: string
- - &388
+ - &384
name: branch
description: Returns workflow runs associated with a branch. Use the name
of the branch of the `push`.
@@ -52514,7 +52179,7 @@ paths:
required: false
schema:
type: string
- - &389
+ - &385
name: event
description: Returns workflow run triggered by the event you specify. For
example, `push`, `pull_request` or `issue`. For more information, see "[Events
@@ -52523,7 +52188,7 @@ paths:
required: false
schema:
type: string
- - &390
+ - &386
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
@@ -52550,7 +52215,7 @@ paths:
- pending
- *17
- *19
- - &391
+ - &387
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)."
@@ -52559,7 +52224,7 @@ paths:
schema:
type: string
format: date-time
- - &370
+ - &366
name: exclude_pull_requests
description: If `true` pull requests are omitted from the response (empty
array).
@@ -52568,13 +52233,13 @@ paths:
schema:
type: boolean
default: false
- - &392
+ - &388
name: check_suite_id
description: Returns workflow runs with the `check_suite_id` that you specify.
in: query
schema:
type: integer
- - &393
+ - &389
name: head_sha
description: Only returns workflow runs that are associated with the specified
`head_sha`.
@@ -52597,7 +52262,7 @@ paths:
type: integer
workflow_runs:
type: array
- items: &371
+ items: &367
title: Workflow Run
description: An invocation of a workflow
type: object
@@ -52745,7 +52410,7 @@ paths:
title: Simple Commit
description: A commit.
type: object
- properties: &415
+ properties: &411
id:
type: string
description: SHA for the commit
@@ -52796,7 +52461,7 @@ paths:
- name
- email
nullable: true
- required: &416
+ required: &412
- id
- tree_id
- message
@@ -52843,7 +52508,7 @@ paths:
- workflow_url
- pull_requests
examples:
- default: &394
+ default: &390
value:
total_count: 1
workflow_runs:
@@ -53079,24 +52744,24 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run
parameters:
- - *334
- - *335
- - &372
+ - *330
+ - *331
+ - &368
name: run_id
description: The unique identifier of the workflow run.
in: path
required: true
schema:
type: integer
- - *370
+ - *366
responses:
'200':
description: Response
content:
application/json:
- schema: *371
+ schema: *367
examples:
- default: &375
+ default: &371
value:
id: 30433642
name: Build
@@ -53337,9 +53002,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'204':
description: Response
@@ -53362,9 +53027,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'200':
description: Response
@@ -53483,9 +53148,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:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'201':
description: Response
@@ -53518,12 +53183,12 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
- *17
- *19
- - *373
+ - *369
responses:
'200':
description: Response
@@ -53539,9 +53204,9 @@ paths:
type: integer
artifacts:
type: array
- items: *341
+ items: *337
examples:
- default: *374
+ default: *370
headers:
Link: *58
x-github:
@@ -53565,25 +53230,25 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt
parameters:
- - *334
- - *335
- - *372
- - &376
+ - *330
+ - *331
+ - *368
+ - &372
name: attempt_number
description: The attempt number of the workflow run.
in: path
required: true
schema:
type: integer
- - *370
+ - *366
responses:
'200':
description: Response
content:
application/json:
- schema: *371
+ schema: *367
examples:
- default: *375
+ default: *371
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -53606,10 +53271,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt
parameters:
- - *334
- - *335
+ - *330
+ - *331
+ - *368
- *372
- - *376
- *17
- *19
responses:
@@ -53627,9 +53292,9 @@ paths:
type: integer
jobs:
type: array
- items: *377
+ items: *373
examples:
- default: &378
+ default: &374
value:
total_count: 1
jobs:
@@ -53742,10 +53407,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs
parameters:
- - *334
- - *335
+ - *330
+ - *331
+ - *368
- *372
- - *376
responses:
'302':
description: Response
@@ -53773,9 +53438,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'202':
description: Response
@@ -53808,9 +53473,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:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
requestBody:
required: true
content:
@@ -53877,9 +53542,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'202':
description: Response
@@ -53912,9 +53577,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
- 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
@@ -53944,9 +53609,9 @@ paths:
type: integer
jobs:
type: array
- items: *377
+ items: *373
examples:
- default: *378
+ default: *374
headers:
Link: *58
x-github:
@@ -53971,9 +53636,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'302':
description: Response
@@ -54000,9 +53665,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'204':
description: Response
@@ -54029,9 +53694,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'200':
description: Response
@@ -54091,7 +53756,7 @@ paths:
items:
type: object
properties:
- type: &498
+ type: &496
type: string
description: The type of reviewer.
enum:
@@ -54176,9 +53841,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
requestBody:
required: true
content:
@@ -54225,7 +53890,7 @@ paths:
application/json:
schema:
type: array
- items: &493
+ items: &491
title: Deployment
description: A request for a specific ref(branch,sha,tag) to be
deployed
@@ -54331,7 +53996,7 @@ paths:
- created_at
- updated_at
examples:
- default: &494
+ default: &492
value:
- url: https://api.github.com/repos/octocat/example/deployments/1
id: 1
@@ -54387,9 +54052,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
requestBody:
required: false
content:
@@ -54433,9 +54098,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
requestBody:
required: false
content:
@@ -54488,9 +54153,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'200':
description: Response
@@ -54627,8 +54292,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#list-repository-secrets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -54646,9 +54311,9 @@ paths:
type: integer
secrets:
type: array
- items: *379
+ items: *375
examples:
- default: *380
+ default: *376
headers:
Link: *58
x-github:
@@ -54673,16 +54338,16 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *381
+ schema: *377
examples:
- default: *382
+ default: *378
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54704,17 +54369,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'200':
description: Response
content:
application/json:
- schema: *379
+ schema: *375
examples:
- default: &511
+ default: &509
value:
name: GH_TOKEN
created_at: '2019-08-10T14:59:22Z'
@@ -54740,8 +54405,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
requestBody:
required: true
@@ -54799,8 +54464,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'204':
@@ -54826,9 +54491,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#list-repository-variables
parameters:
- - *334
- - *335
- - *350
+ - *330
+ - *331
+ - *346
- *19
responses:
'200':
@@ -54845,9 +54510,9 @@ paths:
type: integer
variables:
type: array
- items: *383
+ items: *379
examples:
- default: *384
+ default: *380
headers:
Link: *58
x-github:
@@ -54870,8 +54535,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#create-a-repository-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -54923,17 +54588,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#get-a-repository-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
responses:
'200':
description: Response
content:
application/json:
- schema: *383
+ schema: *379
examples:
- default: &512
+ default: &510
value:
name: USERNAME
value: octocat
@@ -54959,8 +54624,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#update-a-repository-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
requestBody:
required: true
@@ -55003,8 +54668,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
responses:
'204':
@@ -55030,8 +54695,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#list-repository-workflows
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -55049,7 +54714,7 @@ paths:
type: integer
workflows:
type: array
- items: &385
+ items: &381
title: Workflow
description: A GitHub Actions workflow
type: object
@@ -55156,9 +54821,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#get-a-workflow
parameters:
- - *334
- - *335
- - &386
+ - *330
+ - *331
+ - &382
name: workflow_id
in: path
description: The ID of the workflow. You can also pass the workflow file name
@@ -55173,7 +54838,7 @@ paths:
description: Response
content:
application/json:
- schema: *385
+ schema: *381
examples:
default:
value:
@@ -55206,9 +54871,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#disable-a-workflow
parameters:
- - *334
- - *335
- - *386
+ - *330
+ - *331
+ - *382
responses:
'204':
description: Response
@@ -55233,9 +54898,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event
parameters:
- - *334
- - *335
- - *386
+ - *330
+ - *331
+ - *382
responses:
'204':
description: Response
@@ -55286,9 +54951,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#enable-a-workflow
parameters:
- - *334
- - *335
- - *386
+ - *330
+ - *331
+ - *382
responses:
'204':
description: Response
@@ -55315,19 +54980,19 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow
parameters:
- - *334
- - *335
+ - *330
+ - *331
+ - *382
+ - *383
+ - *384
+ - *385
- *386
+ - *17
+ - *19
- *387
+ - *366
- *388
- *389
- - *390
- - *17
- - *19
- - *391
- - *370
- - *392
- - *393
responses:
'200':
description: Response
@@ -55343,9 +55008,9 @@ paths:
type: integer
workflow_runs:
type: array
- items: *371
+ items: *367
examples:
- default: *394
+ default: *390
headers:
Link: *58
x-github:
@@ -55377,9 +55042,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#get-workflow-usage
parameters:
- - *334
- - *335
- - *386
+ - *330
+ - *331
+ - *382
responses:
'200':
description: Response
@@ -55440,8 +55105,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-activities
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *52
- *17
- *45
@@ -55605,8 +55270,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/assignees#list-assignees
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -55643,8 +55308,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: assignee
in: path
required: true
@@ -55680,8 +55345,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/attestations#create-an-attestation
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -55793,8 +55458,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/attestations#list-attestations
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *45
- *46
@@ -55851,7 +55516,7 @@ paths:
initiator:
type: string
examples:
- default: *395
+ default: *391
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55871,8 +55536,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -55880,7 +55545,7 @@ paths:
application/json:
schema:
type: array
- items: &396
+ items: &392
title: Autolink reference
description: An autolink reference.
type: object
@@ -55934,8 +55599,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -55974,9 +55639,9 @@ paths:
description: response
content:
application/json:
- schema: *396
+ schema: *392
examples:
- default: &397
+ default: &393
value:
id: 1
key_prefix: TICKET-
@@ -56007,9 +55672,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository
parameters:
- - *334
- - *335
- - &398
+ - *330
+ - *331
+ - &394
name: autolink_id
description: The unique identifier of the autolink.
in: path
@@ -56021,9 +55686,9 @@ paths:
description: Response
content:
application/json:
- schema: *396
+ schema: *392
examples:
- default: *397
+ default: *393
'404': *6
x-github:
githubCloudOnly: false
@@ -56043,9 +55708,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository
parameters:
- - *334
- - *335
- - *398
+ - *330
+ - *331
+ - *394
responses:
'204':
description: Response
@@ -56069,8 +55734,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response if Dependabot is enabled
@@ -56118,8 +55783,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -56140,8 +55805,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -56161,8 +55826,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#list-branches
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: protected
description: Setting to `true` returns only branches protected by branch protections
or rulesets. When set to `false`, only unprotected branches are returned.
@@ -56200,7 +55865,7 @@ paths:
- url
protected:
type: boolean
- protection: &400
+ protection: &396
title: Branch Protection
description: Branch Protection
type: object
@@ -56242,7 +55907,7 @@ paths:
required:
- contexts
- checks
- enforce_admins: &403
+ enforce_admins: &399
title: Protected Branch Admin Enforced
description: Protected Branch Admin Enforced
type: object
@@ -56257,7 +55922,7 @@ paths:
required:
- url
- enabled
- required_pull_request_reviews: &405
+ required_pull_request_reviews: &401
title: Protected Branch Pull Request Review
description: Protected Branch Pull Request Review
type: object
@@ -56333,7 +55998,7 @@ paths:
required:
- dismiss_stale_reviews
- require_code_owner_reviews
- restrictions: &402
+ restrictions: &398
title: Branch Restriction Policy
description: Branch Restriction Policy
type: object
@@ -56610,9 +56275,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#get-a-branch
parameters:
- - *334
- - *335
- - &401
+ - *330
+ - *331
+ - &397
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).
@@ -56626,14 +56291,14 @@ paths:
description: Response
content:
application/json:
- schema: &411
+ schema: &407
title: Branch With Protection
description: Branch With Protection
type: object
properties:
name:
type: string
- commit: &466
+ commit: &464
title: Commit
description: Commit
type: object
@@ -56667,7 +56332,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: &399
+ properties: &395
name:
type: string
example: '"Chris Wanstrath"'
@@ -56683,7 +56348,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: *399
+ properties: *395
nullable: true
message:
type: string
@@ -56704,7 +56369,7 @@ paths:
required:
- sha
- url
- verification: &518
+ verification: &516
title: Verification
type: object
properties:
@@ -56774,7 +56439,7 @@ paths:
type: integer
files:
type: array
- items: &479
+ items: &477
title: Diff Entry
description: Diff Entry
type: object
@@ -56858,7 +56523,7 @@ paths:
- self
protected:
type: boolean
- protection: *400
+ protection: *396
protection_url:
type: string
format: uri
@@ -56965,7 +56630,7 @@ paths:
contexts: []
checks: []
protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection
- '301': *338
+ '301': *334
'404': *6
x-github:
githubCloudOnly: false
@@ -56987,15 +56652,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *400
+ schema: *396
examples:
default:
value:
@@ -57189,9 +56854,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -57446,7 +57111,7 @@ paths:
url:
type: string
format: uri
- required_status_checks: &408
+ required_status_checks: &404
title: Status Check Policy
description: Status Check Policy
type: object
@@ -57598,7 +57263,7 @@ paths:
additionalProperties: false
required:
- enabled
- restrictions: *402
+ restrictions: *398
required_conversation_resolution:
type: object
properties:
@@ -57710,9 +57375,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -57737,17 +57402,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *403
+ schema: *399
examples:
- default: &404
+ default: &400
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins
enabled: true
@@ -57769,17 +57434,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *403
+ schema: *399
examples:
- default: *404
+ default: *400
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -57798,9 +57463,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -57825,17 +57490,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *405
+ schema: *401
examples:
- default: &406
+ default: &402
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews
dismissal_restrictions:
@@ -57931,9 +57596,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -58031,9 +57696,9 @@ paths:
description: Response
content:
application/json:
- schema: *405
+ schema: *401
examples:
- default: *406
+ default: *402
'422': *15
x-github:
githubCloudOnly: false
@@ -58054,9 +57719,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -58083,17 +57748,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *403
+ schema: *399
examples:
- default: &407
+ default: &403
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures
enabled: true
@@ -58116,17 +57781,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *403
+ schema: *399
examples:
- default: *407
+ default: *403
'404': *6
x-github:
githubCloudOnly: false
@@ -58146,9 +57811,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -58173,17 +57838,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *408
+ schema: *404
examples:
- default: &409
+ default: &405
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks
strict: true
@@ -58209,9 +57874,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -58263,9 +57928,9 @@ paths:
description: Response
content:
application/json:
- schema: *408
+ schema: *404
examples:
- default: *409
+ default: *405
'404': *6
'422': *15
x-github:
@@ -58287,9 +57952,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -58313,9 +57978,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
@@ -58349,9 +58014,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -58418,9 +58083,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -58484,9 +58149,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
content:
application/json:
@@ -58552,15 +58217,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *402
+ schema: *398
examples:
default:
value:
@@ -58651,9 +58316,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -58676,9 +58341,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
@@ -58688,7 +58353,7 @@ paths:
type: array
items: *5
examples:
- default: &410
+ default: &406
value:
- id: 1
slug: octoapp
@@ -58745,9 +58410,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -58781,7 +58446,7 @@ paths:
type: array
items: *5
examples:
- default: *410
+ default: *406
'422': *15
x-github:
githubCloudOnly: false
@@ -58802,9 +58467,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -58838,7 +58503,7 @@ paths:
type: array
items: *5
examples:
- default: *410
+ default: *406
'422': *15
x-github:
githubCloudOnly: false
@@ -58859,9 +58524,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -58895,7 +58560,7 @@ paths:
type: array
items: *5
examples:
- default: *410
+ default: *406
'422': *15
x-github:
githubCloudOnly: false
@@ -58917,9 +58582,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
@@ -58949,9 +58614,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -59010,9 +58675,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -59071,9 +58736,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
content:
application/json:
@@ -59132,9 +58797,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
@@ -59168,9 +58833,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -59228,9 +58893,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -59288,9 +58953,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -59350,9 +59015,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#rename-a-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -59374,7 +59039,7 @@ paths:
description: Response
content:
application/json:
- schema: *411
+ schema: *407
examples:
default:
value:
@@ -59490,8 +59155,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#create-a-check-run
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -59770,7 +59435,7 @@ paths:
description: Response
content:
application/json:
- schema: &412
+ schema: &408
title: CheckRun
description: A check performed on the code of a given code change
type: object
@@ -59890,7 +59555,7 @@ paths:
check.
type: array
items: *79
- deployment: &729
+ deployment: &730
title: Deployment
description: A deployment created as the result of an Actions
check run from a workflow that references an environment
@@ -60170,9 +59835,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#get-a-check-run
parameters:
- - *334
- - *335
- - &413
+ - *330
+ - *331
+ - &409
name: check_run_id
description: The unique identifier of the check run.
in: path
@@ -60184,9 +59849,9 @@ paths:
description: Response
content:
application/json:
- schema: *412
+ schema: *408
examples:
- default: &414
+ default: &410
value:
id: 4
head_sha: ce587453ced02b1526dfb4cb910479d431683101
@@ -60286,9 +59951,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#update-a-check-run
parameters:
- - *334
- - *335
- - *413
+ - *330
+ - *331
+ - *409
requestBody:
required: true
content:
@@ -60528,9 +60193,9 @@ paths:
description: Response
content:
application/json:
- schema: *412
+ schema: *408
examples:
- default: *414
+ default: *410
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -60550,9 +60215,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#list-check-run-annotations
parameters:
- - *334
- - *335
- - *413
+ - *330
+ - *331
+ - *409
- *17
- *19
responses:
@@ -60647,9 +60312,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run
parameters:
- - *334
- - *335
- - *413
+ - *330
+ - *331
+ - *409
responses:
'201':
description: Response
@@ -60693,8 +60358,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#create-a-check-suite
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -60716,7 +60381,7 @@ paths:
description: Response when the suite already exists
content:
application/json:
- schema: &417
+ schema: &413
title: CheckSuite
description: A suite of checks performed on the code of a given code
change
@@ -60802,12 +60467,12 @@ paths:
type: string
format: date-time
nullable: true
- head_commit: &755
+ head_commit: &756
title: Simple Commit
description: A commit.
type: object
- properties: *415
- required: *416
+ properties: *411
+ required: *412
latest_check_runs_count:
type: integer
check_runs_url:
@@ -60835,7 +60500,7 @@ paths:
- check_runs_url
- pull_requests
examples:
- default: &418
+ default: &414
value:
id: 5
node_id: MDEwOkNoZWNrU3VpdGU1
@@ -61126,9 +60791,9 @@ paths:
description: Response when the suite was created
content:
application/json:
- schema: *417
+ schema: *413
examples:
- default: *418
+ default: *414
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -61147,8 +60812,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -61457,9 +61122,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#get-a-check-suite
parameters:
- - *334
- - *335
- - &419
+ - *330
+ - *331
+ - &415
name: check_suite_id
description: The unique identifier of the check suite.
in: path
@@ -61471,9 +61136,9 @@ paths:
description: Response
content:
application/json:
- schema: *417
+ schema: *413
examples:
- default: *418
+ default: *414
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -61496,17 +61161,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite
parameters:
- - *334
- - *335
- - *419
- - &472
+ - *330
+ - *331
+ - *415
+ - &470
name: check_name
description: Returns check runs with the specified `name`.
in: query
required: false
schema:
type: string
- - &473
+ - &471
name: status
description: Returns check runs with the specified `status`.
in: query
@@ -61545,9 +61210,9 @@ paths:
type: integer
check_runs:
type: array
- items: *412
+ items: *408
examples:
- default: &474
+ default: &472
value:
total_count: 1
check_runs:
@@ -61649,9 +61314,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite
parameters:
- - *334
- - *335
- - *419
+ - *330
+ - *331
+ - *415
responses:
'201':
description: Response
@@ -61684,21 +61349,21 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository
parameters:
- - *334
- - *335
- - *420
- - *421
+ - *330
+ - *331
+ - *416
+ - *417
- *19
- *17
- - &438
+ - &434
name: ref
description: The Git reference for the results you want to list. The `ref`
for a branch can be formatted either as `refs/heads/` or simply
``. To reference a pull request use `refs/pull//merge`.
in: query
required: false
- schema: *422
- - &439
+ schema: *418
+ - &435
name: pr
description: The number of the pull request for the results you want to list.
in: query
@@ -61723,13 +61388,13 @@ paths:
be returned.
in: query
required: false
- schema: *423
+ schema: *419
- name: severity
description: If specified, only code scanning alerts with this severity will
be returned.
in: query
required: false
- schema: *424
+ schema: *420
- name: assignees
description: |
Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`).
@@ -61753,7 +61418,7 @@ paths:
updated_at: *171
url: *172
html_url: *173
- instances_url: *425
+ instances_url: *421
state: *178
fixed_at: *174
dismissed_by:
@@ -61764,11 +61429,11 @@ paths:
required: *21
nullable: true
dismissed_at: *175
- dismissed_reason: *426
- dismissed_comment: *427
- rule: *428
- tool: *429
- most_recent_instance: *430
+ dismissed_reason: *422
+ dismissed_comment: *423
+ rule: *424
+ tool: *425
+ most_recent_instance: *426
dismissal_approved_by:
title: Simple User
description: A GitHub user.
@@ -61894,7 +61559,7 @@ paths:
classifications: []
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances
'304': *37
- '403': &431
+ '403': &427
description: Response if GitHub Advanced Security is not enabled for this
repository
content:
@@ -61921,9 +61586,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert
parameters:
- - *334
- - *335
- - &432
+ - *330
+ - *331
+ - &428
name: alert_number
in: path
description: The number that identifies an alert. You can find this at the
@@ -61937,7 +61602,7 @@ paths:
description: Response
content:
application/json:
- schema: &433
+ schema: &429
type: object
properties:
number: *169
@@ -61945,7 +61610,7 @@ paths:
updated_at: *171
url: *172
html_url: *173
- instances_url: *425
+ instances_url: *421
state: *178
fixed_at: *174
dismissed_by:
@@ -61956,8 +61621,8 @@ paths:
required: *21
nullable: true
dismissed_at: *175
- dismissed_reason: *426
- dismissed_comment: *427
+ dismissed_reason: *422
+ dismissed_comment: *423
rule:
type: object
properties:
@@ -62011,8 +61676,8 @@ paths:
type: string
description: A link to the documentation for the rule used
to detect the alert.
- tool: *429
- most_recent_instance: *430
+ tool: *425
+ most_recent_instance: *426
dismissal_approved_by:
title: Simple User
description: A GitHub user.
@@ -62111,7 +61776,7 @@ paths:
- test
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
'304': *37
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -62131,9 +61796,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
requestBody:
required: true
content:
@@ -62148,8 +61813,8 @@ paths:
enum:
- open
- dismissed
- dismissed_reason: *426
- dismissed_comment: *427
+ dismissed_reason: *422
+ dismissed_comment: *423
create_request:
type: boolean
description: If `true`, attempt to create an alert dismissal request.
@@ -62177,7 +61842,7 @@ paths:
description: Response
content:
application/json:
- schema: *433
+ schema: *429
examples:
default:
value:
@@ -62253,7 +61918,7 @@ paths:
- test
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
'400': *14
- '403': &437
+ '403': &433
description: Response if the repository is archived or if GitHub Advanced
Security is not enabled for this repository
content:
@@ -62280,15 +61945,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:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
responses:
'200':
description: Response
content:
application/json:
- schema: &434
+ schema: &430
type: object
properties:
status:
@@ -62314,13 +61979,13 @@ paths:
- description
- started_at
examples:
- default: &435
+ default: &431
value:
status: success
description: This fixes an XSS vulnerability by escaping the user
input.
started_at: '2024-02-14T12:29:18Z'
- '400': &436
+ '400': &432
description: Bad Request
content:
application/json:
@@ -62331,7 +61996,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': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -62356,29 +62021,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:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
responses:
'200':
description: OK
content:
application/json:
- schema: *434
+ schema: *430
examples:
- default: *435
+ default: *431
'202':
description: Accepted
content:
application/json:
- schema: *434
+ schema: *430
examples:
default:
value:
status: pending
description:
started_at: '2024-02-14T12:29:18Z'
- '400': *436
+ '400': *432
'403':
description: Response if the repository is archived, if GitHub Advanced
Security is not enabled for this repository or if rate limit is exceeded
@@ -62410,9 +62075,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:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
requestBody:
required: false
content:
@@ -62457,8 +62122,8 @@ paths:
value:
target_ref: refs/heads/main
sha: 178f4f6090b3fccad4a65b3e83d076a622d59652
- '400': *436
- '403': *437
+ '400': *432
+ '403': *433
'404': *6
'422':
description: Unprocessable Entity
@@ -62482,13 +62147,13 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
- *19
- *17
- - *438
- - *439
+ - *434
+ - *435
responses:
'200':
description: Response
@@ -62499,10 +62164,10 @@ paths:
items:
type: object
properties:
- ref: *422
- analysis_key: *440
- environment: *441
- category: *442
+ ref: *418
+ analysis_key: *436
+ environment: *437
+ category: *438
state:
type: string
description: State of a code scanning alert instance.
@@ -62517,7 +62182,7 @@ paths:
properties:
text:
type: string
- location: *443
+ location: *439
html_url:
type: string
classifications:
@@ -62525,7 +62190,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: *444
+ items: *440
examples:
default:
value:
@@ -62564,7 +62229,7 @@ paths:
end_column: 50
classifications:
- source
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -62598,25 +62263,25 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository
parameters:
- - *334
- - *335
- - *420
- - *421
+ - *330
+ - *331
+ - *416
+ - *417
- *19
- *17
- - *439
+ - *435
- name: ref
in: query
description: The Git reference for the analyses you want to list. The `ref`
for a branch can be formatted either as `refs/heads/` or simply
``. To reference a pull request use `refs/pull//merge`.
required: false
- schema: *422
+ schema: *418
- name: sarif_id
in: query
description: Filter analyses belonging to the same SARIF upload.
required: false
- schema: &445
+ schema: &441
type: string
description: An identifier for the upload.
example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53
@@ -62637,23 +62302,23 @@ paths:
application/json:
schema:
type: array
- items: &446
+ items: &442
type: object
properties:
- ref: *422
- commit_sha: &454
+ ref: *418
+ commit_sha: &450
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: *440
+ analysis_key: *436
environment:
type: string
description: Identifies the variable values associated with
the environment in which this analysis was performed.
- category: *442
+ category: *438
error:
type: string
example: error reading field xyz
@@ -62677,8 +62342,8 @@ paths:
description: The REST API URL of the analysis resource.
format: uri
readOnly: true
- sarif_id: *445
- tool: *429
+ sarif_id: *441
+ tool: *425
deletable:
type: boolean
warning:
@@ -62739,7 +62404,7 @@ paths:
version: 1.2.0
deletable: true
warning: ''
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -62775,8 +62440,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:
- - *334
- - *335
+ - *330
+ - *331
- name: analysis_id
in: path
description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses`
@@ -62789,7 +62454,7 @@ paths:
description: Response
content:
application/json:
- schema: *446
+ schema: *442
examples:
response:
summary: application/json response
@@ -62843,7 +62508,7 @@ paths:
properties:
- github/alertNumber: 2
- github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2
- '403': *431
+ '403': *427
'404': *6
'422':
description: Response if analysis could not be processed
@@ -62930,8 +62595,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:
- - *334
- - *335
+ - *330
+ - *331
- name: analysis_id
in: path
description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses`
@@ -62984,7 +62649,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': *437
+ '403': *433
'404': *6
'503': *112
x-github:
@@ -63006,8 +62671,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -63015,7 +62680,7 @@ paths:
application/json:
schema:
type: array
- items: &447
+ items: &443
title: CodeQL Database
description: A CodeQL database.
type: object
@@ -63126,7 +62791,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': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -63155,8 +62820,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: language
in: path
description: The language of the CodeQL database.
@@ -63168,7 +62833,7 @@ paths:
description: Response
content:
application/json:
- schema: *447
+ schema: *443
examples:
default:
value:
@@ -63200,9 +62865,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': &481
+ '302': &479
description: Found
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -63224,8 +62889,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: language
in: path
description: The language of the CodeQL database.
@@ -63235,7 +62900,7 @@ paths:
responses:
'204':
description: Response
- '403': *437
+ '403': *433
'404': *6
'503': *112
x-github:
@@ -63263,8 +62928,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -63273,7 +62938,7 @@ paths:
type: object
additionalProperties: false
properties:
- language: &448
+ language: &444
type: string
description: The language targeted by the CodeQL query
enum:
@@ -63353,7 +63018,7 @@ paths:
description: Variant analysis submitted for processing
content:
application/json:
- schema: &452
+ schema: &448
title: Variant Analysis
description: A run of a CodeQL query against one or more repositories.
type: object
@@ -63363,7 +63028,7 @@ paths:
description: The ID of the variant analysis.
controller_repo: *57
actor: *4
- query_language: *448
+ query_language: *444
query_pack_url:
type: string
description: The download url for the query pack.
@@ -63410,7 +63075,7 @@ paths:
items:
type: object
properties:
- repository: &449
+ repository: &445
title: Repository Identifier
description: Repository Identifier
type: object
@@ -63446,7 +63111,7 @@ paths:
- private
- stargazers_count
- updated_at
- analysis_status: &453
+ analysis_status: &449
type: string
description: The new status of the CodeQL variant analysis
repository task.
@@ -63478,7 +63143,7 @@ paths:
from processing. This information is only available to the user
that initiated the variant analysis.
properties:
- access_mismatch_repos: &450
+ access_mismatch_repos: &446
type: object
properties:
repository_count:
@@ -63492,7 +63157,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: *449
+ items: *445
required:
- repository_count
- repositories
@@ -63514,8 +63179,8 @@ paths:
required:
- repository_count
- repository_full_names
- no_codeql_db_repos: *450
- over_limit_repos: *450
+ no_codeql_db_repos: *446
+ over_limit_repos: *446
required:
- access_mismatch_repos
- not_found_repos
@@ -63531,7 +63196,7 @@ paths:
examples:
repositories_parameter:
summary: Response for a successful variant analysis submission
- value: &451
+ value: &447
summary: Default response
value:
id: 1
@@ -63677,10 +63342,10 @@ paths:
private: false
repository_owners:
summary: Response for a successful variant analysis submission
- value: *451
+ value: *447
repository_lists:
summary: Response for a successful variant analysis submission
- value: *451
+ value: *447
'404': *6
'422':
description: Unable to process variant analysis submission
@@ -63708,8 +63373,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:
- - *334
- - *335
+ - *330
+ - *331
- name: codeql_variant_analysis_id
in: path
description: The unique identifier of the variant analysis.
@@ -63721,9 +63386,9 @@ paths:
description: Response
content:
application/json:
- schema: *452
+ schema: *448
examples:
- default: *451
+ default: *447
'404': *6
'503': *112
x-github:
@@ -63746,7 +63411,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:
- - *334
+ - *330
- name: repo
in: path
description: The name of the controller repository.
@@ -63781,7 +63446,7 @@ paths:
type: object
properties:
repository: *57
- analysis_status: *453
+ analysis_status: *449
artifact_size_in_bytes:
type: integer
description: The size of the artifact. This is only available
@@ -63906,8 +63571,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -63992,7 +63657,7 @@ paths:
threat_model: remote
updated_at: '2023-01-19T11:21:34Z'
schedule: weekly
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -64013,8 +63678,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -64106,7 +63771,7 @@ paths:
value:
run_id: 42
run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42
- '403': *437
+ '403': *433
'404': *6
'409':
description: Response if there is already a validation run in progress with
@@ -64177,8 +63842,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -64186,7 +63851,7 @@ paths:
schema:
type: object
properties:
- commit_sha: *454
+ commit_sha: *450
ref:
type: string
description: |-
@@ -64244,7 +63909,7 @@ paths:
schema:
type: object
properties:
- id: *445
+ id: *441
url:
type: string
description: The REST API URL for checking the status of the upload.
@@ -64258,7 +63923,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': *437
+ '403': *433
'404': *6
'413':
description: Payload Too Large if the sarif field is too large
@@ -64281,8 +63946,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sarif_id
description: The SARIF ID obtained after uploading.
in: path
@@ -64328,7 +63993,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': *431
+ '403': *427
'404':
description: Not Found if the sarif id does not match any upload
'503': *112
@@ -64353,8 +64018,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -64435,8 +64100,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-codeowners-errors
parameters:
- - *334
- - *335
+ - *330
+ - *331
- 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
@@ -64556,8 +64221,8 @@ paths:
parameters:
- *17
- *19
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -64871,8 +64536,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -64937,7 +64602,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -64945,7 +64610,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'400': *14
'401': *25
'403': *29
@@ -64974,8 +64639,8 @@ paths:
parameters:
- *17
- *19
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -65039,8 +64704,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: location
description: The location to check for available machines. Assigned by IP
if not provided.
@@ -65079,8 +64744,8 @@ paths:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: *456
- required: *457
+ properties: *452
+ required: *453
examples:
default: &676
value:
@@ -65122,8 +64787,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ref
description: The branch or commit to check for a default devcontainer path.
If not specified, the default branch will be checked.
@@ -65207,8 +64872,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:
- - *334
- - *335
+ - *330
+ - *331
- 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
@@ -65274,8 +64939,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -65293,7 +64958,7 @@ paths:
type: integer
secrets:
type: array
- items: &461
+ items: &457
title: Codespaces Secret
description: Set repository secrets for GitHub Codespaces.
type: object
@@ -65313,7 +64978,7 @@ paths:
- created_at
- updated_at
examples:
- default: *458
+ default: *454
headers:
Link: *58
x-github:
@@ -65336,16 +65001,16 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *459
+ schema: *455
examples:
- default: *460
+ default: *456
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -65365,17 +65030,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'200':
description: Response
content:
application/json:
- schema: *461
+ schema: *457
examples:
- default: *462
+ default: *458
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -65395,8 +65060,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
requestBody:
required: true
@@ -65449,8 +65114,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'204':
@@ -65479,8 +65144,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: affiliation
description: Filter collaborators returned by their affiliation. `outside`
means all outside collaborators of an organization-owned repository. `direct`
@@ -65522,7 +65187,7 @@ paths:
title: Collaborator
description: Collaborator
type: object
- properties: &463
+ properties: &459
login:
type: string
example: octocat
@@ -65615,7 +65280,7 @@ paths:
user_view_type:
type: string
example: public
- required: &464
+ required: &460
- avatar_url
- events_url
- followers_url
@@ -65689,8 +65354,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *63
responses:
'204':
@@ -65737,8 +65402,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *63
requestBody:
required: false
@@ -65765,7 +65430,7 @@ paths:
description: Response when a new invitation is created
content:
application/json:
- schema: &531
+ schema: &529
title: Repository Invitation
description: Repository invitations let you manage who you collaborate
with.
@@ -65994,8 +65659,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *63
responses:
'204':
@@ -66027,8 +65692,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *63
responses:
'200':
@@ -66049,8 +65714,8 @@ paths:
title: Collaborator
description: Collaborator
type: object
- properties: *463
- required: *464
+ properties: *459
+ required: *460
nullable: true
required:
- permission
@@ -66105,8 +65770,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -66116,7 +65781,7 @@ paths:
application/json:
schema:
type: array
- items: &465
+ items: &461
title: Commit Comment
description: Commit Comment
type: object
@@ -66174,7 +65839,7 @@ paths:
- created_at
- updated_at
examples:
- default: &468
+ default: &466
value:
- html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1
url: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -66233,17 +65898,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#get-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'200':
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
- default: &469
+ default: &467
value:
html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1
url: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -66300,8 +65965,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#update-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -66324,7 +65989,7 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
default:
value:
@@ -66375,8 +66040,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'204':
@@ -66398,8 +66063,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -66426,9 +66091,74 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: &462
+ 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
+ example: 1
+ node_id:
+ type: string
+ example: MDg6UmVhY3Rpb24x
+ user:
+ title: Simple User
+ description: A GitHub user.
+ type: object
+ properties: *20
+ required: *21
+ nullable: true
+ content:
+ description: The reaction to use
+ example: heart
+ type: string
+ enum:
+ - "+1"
+ - "-1"
+ - laugh
+ - confused
+ - heart
+ - hooray
+ - rocket
+ - eyes
+ created_at:
+ type: string
+ format: date-time
+ example: '2016-05-20T20:09:31Z'
+ required:
+ - id
+ - node_id
+ - user
+ - content
+ - created_at
examples:
- default: *331
+ default: &533
+ 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: *58
'404': *6
@@ -66449,8 +66179,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -66483,16 +66213,40 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: &463
+ 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: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -66514,10 +66268,16 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- - *332
+ - &534
+ name: reaction_id
+ description: The unique identifier of the reaction.
+ in: path
+ required: true
+ schema:
+ type: integer
responses:
'204':
description: Response
@@ -66566,8 +66326,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#list-commits
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sha
description: 'SHA or branch to start listing commits from. Default: the repository’s
default branch (usually `main`).'
@@ -66623,7 +66383,7 @@ paths:
application/json:
schema:
type: array
- items: *466
+ items: *464
examples:
default: &583
value:
@@ -66719,9 +66479,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit
parameters:
- - *334
- - *335
- - &467
+ - *330
+ - *331
+ - &465
name: commit_sha
description: The SHA of the commit.
in: path
@@ -66793,9 +66553,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#list-commit-comments
parameters:
- - *334
- - *335
- - *467
+ - *330
+ - *331
+ - *465
- *17
- *19
responses:
@@ -66805,9 +66565,9 @@ paths:
application/json:
schema:
type: array
- items: *465
+ items: *461
examples:
- default: *468
+ default: *466
headers:
Link: *58
x-github:
@@ -66835,9 +66595,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#create-a-commit-comment
parameters:
- - *334
- - *335
- - *467
+ - *330
+ - *331
+ - *465
requestBody:
required: true
content:
@@ -66872,9 +66632,9 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
- default: *469
+ default: *467
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -66902,9 +66662,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit
parameters:
- - *334
- - *335
- - *467
+ - *330
+ - *331
+ - *465
- *17
- *19
responses:
@@ -66914,7 +66674,7 @@ paths:
application/json:
schema:
type: array
- items: *470
+ items: *468
examples:
default: &575
value:
@@ -67453,11 +67213,11 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#get-a-commit
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *19
- *17
- - &471
+ - &469
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)"
@@ -67472,7 +67232,7 @@ paths:
description: Response
content:
application/json:
- schema: *466
+ schema: *464
examples:
default: &560
value:
@@ -67587,11 +67347,11 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference
parameters:
- - *334
- - *335
+ - *330
+ - *331
+ - *469
+ - *470
- *471
- - *472
- - *473
- name: filter
description: Filters check runs by their `completed_at` timestamp. `latest`
returns the most recent check runs.
@@ -67625,9 +67385,9 @@ paths:
type: integer
check_runs:
type: array
- items: *412
+ items: *408
examples:
- default: *474
+ default: *472
headers:
Link: *58
x-github:
@@ -67652,9 +67412,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference
parameters:
- - *334
- - *335
- - *471
+ - *330
+ - *331
+ - *469
- name: app_id
description: Filters check suites by GitHub App `id`.
in: query
@@ -67662,7 +67422,7 @@ paths:
schema:
type: integer
example: 1
- - *472
+ - *470
- *17
- *19
responses:
@@ -67680,7 +67440,7 @@ paths:
type: integer
check_suites:
type: array
- items: *417
+ items: *413
examples:
default:
value:
@@ -67880,9 +67640,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference
parameters:
- - *334
- - *335
- - *471
+ - *330
+ - *331
+ - *469
- *17
- *19
responses:
@@ -68080,9 +67840,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference
parameters:
- - *334
- - *335
- - *471
+ - *330
+ - *331
+ - *469
- *17
- *19
responses:
@@ -68173,7 +67933,7 @@ paths:
site_admin: false
headers:
Link: *58
- '301': *338
+ '301': *334
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68201,8 +67961,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -68231,20 +67991,20 @@ paths:
title: Code Of Conduct Simple
description: Code of Conduct Simple
type: object
- properties: *475
- required: *476
+ properties: *473
+ required: *474
nullable: true
code_of_conduct_file:
title: Community Health File
type: object
- properties: &477
+ properties: &475
url:
type: string
format: uri
html_url:
type: string
format: uri
- required: &478
+ required: &476
- url
- html_url
nullable: true
@@ -68258,26 +68018,26 @@ paths:
contributing:
title: Community Health File
type: object
- properties: *477
- required: *478
+ properties: *475
+ required: *476
nullable: true
readme:
title: Community Health File
type: object
- properties: *477
- required: *478
+ properties: *475
+ required: *476
nullable: true
issue_template:
title: Community Health File
type: object
- properties: *477
- required: *478
+ properties: *475
+ required: *476
nullable: true
pull_request_template:
title: Community Health File
type: object
- properties: *477
- required: *478
+ properties: *475
+ required: *476
nullable: true
required:
- code_of_conduct
@@ -68404,8 +68164,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#compare-two-commits
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *19
- *17
- name: basehead
@@ -68448,8 +68208,8 @@ paths:
type: string
format: uri
example: https://github.com/octocat/Hello-World/compare/master...topic.patch
- base_commit: *466
- merge_base_commit: *466
+ base_commit: *464
+ merge_base_commit: *464
status:
type: string
enum:
@@ -68469,10 +68229,10 @@ paths:
example: 6
commits:
type: array
- items: *466
+ items: *464
files:
type: array
- items: *479
+ items: *477
required:
- url
- html_url
@@ -68758,8 +68518,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#get-repository-content
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: path
description: path parameter
in: path
@@ -68902,7 +68662,7 @@ paths:
- type
- url
examples:
- response-if-content-is-a-file: &480
+ response-if-content-is-a-file: &478
summary: Response if content is a file
value:
type: file
@@ -69235,7 +68995,7 @@ paths:
- url
- submodule_git_url
examples:
- response-if-content-is-a-file: *480
+ response-if-content-is-a-file: *478
response-if-content-is-a-directory:
summary: Response if content is a directory and the application/json
media type is requested
@@ -69304,7 +69064,7 @@ paths:
html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9
'404': *6
'403': *29
- '302': *481
+ '302': *479
'304': *37
x-github:
githubCloudOnly: false
@@ -69327,8 +69087,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: path
description: path parameter
in: path
@@ -69421,7 +69181,7 @@ paths:
description: Response
content:
application/json:
- schema: &482
+ schema: &480
title: File Commit
description: File Commit
type: object
@@ -69573,7 +69333,7 @@ paths:
description: Response
content:
application/json:
- schema: *482
+ schema: *480
examples:
example-for-creating-a-file:
value:
@@ -69627,7 +69387,7 @@ paths:
schema:
oneOf:
- *3
- - &513
+ - &511
description: Repository rule violation was detected
type: object
properties:
@@ -69680,8 +69440,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#delete-a-file
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: path
description: path parameter
in: path
@@ -69742,7 +69502,7 @@ paths:
description: Response
content:
application/json:
- schema: *482
+ schema: *480
examples:
default:
value:
@@ -69797,8 +69557,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-contributors
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: anon
description: Set to `1` or `true` to include anonymous contributors in results.
in: query
@@ -69921,8 +69681,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *190
- *191
- *192
@@ -69934,7 +69694,7 @@ paths:
schema:
type: string
- *194
- - *483
+ - *481
- *195
- *196
- *52
@@ -69955,7 +69715,7 @@ paths:
application/json:
schema:
type: array
- items: &487
+ items: &485
type: object
description: A Dependabot alert.
properties:
@@ -70001,7 +69761,7 @@ paths:
- unknown
- direct
- transitive
- security_advisory: *484
+ security_advisory: *482
security_vulnerability: *56
url: *172
html_url: *173
@@ -70032,8 +69792,8 @@ paths:
nullable: true
maxLength: 280
fixed_at: *174
- auto_dismissed_at: *485
- dismissal_request: *486
+ auto_dismissed_at: *483
+ dismissal_request: *484
required:
- number
- state
@@ -70263,9 +70023,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert
parameters:
- - *334
- - *335
- - &488
+ - *330
+ - *331
+ - &486
name: alert_number
in: path
description: |-
@@ -70280,7 +70040,7 @@ paths:
description: Response
content:
application/json:
- schema: *487
+ schema: *485
examples:
default:
value:
@@ -70393,9 +70153,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert
parameters:
- - *334
- - *335
- - *488
+ - *330
+ - *331
+ - *486
requestBody:
required: true
content:
@@ -70440,7 +70200,7 @@ paths:
description: Response
content:
application/json:
- schema: *487
+ schema: *485
examples:
default:
value:
@@ -70569,8 +70329,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -70588,7 +70348,7 @@ paths:
type: integer
secrets:
type: array
- items: &491
+ items: &489
title: Dependabot Secret
description: Set secrets for Dependabot.
type: object
@@ -70641,16 +70401,16 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *489
+ schema: *487
examples:
- default: *490
+ default: *488
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -70670,15 +70430,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'200':
description: Response
content:
application/json:
- schema: *491
+ schema: *489
examples:
default:
value:
@@ -70704,8 +70464,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
requestBody:
required: true
@@ -70758,8 +70518,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'204':
@@ -70782,8 +70542,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:
- - *334
- - *335
+ - *330
+ - *331
- 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
@@ -70943,8 +70703,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -71183,8 +70943,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -71259,7 +71019,7 @@ paths:
- version
- url
additionalProperties: false
- metadata: &492
+ metadata: &490
title: metadata
description: User-defined metadata to store domain-specific information
limited to 8 keys with scalar values.
@@ -71292,7 +71052,7 @@ paths:
the root of the Git repository.
example: "/src/build/package-lock.json"
additionalProperties: false
- metadata: *492
+ metadata: *490
resolved:
type: object
description: A collection of resolved package dependencies.
@@ -71305,7 +71065,7 @@ paths:
for more details.
example: pkg:/npm/%40actions/http-client@1.0.11
pattern: "^pkg"
- metadata: *492
+ metadata: *490
relationship:
type: string
description: A notation of whether a dependency is requested
@@ -71434,8 +71194,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/deployments#list-deployments
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sha
description: The SHA recorded at creation time.
in: query
@@ -71475,9 +71235,9 @@ paths:
application/json:
schema:
type: array
- items: *493
+ items: *491
examples:
- default: *494
+ default: *492
headers:
Link: *58
x-github:
@@ -71543,8 +71303,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/deployments#create-a-deployment
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -71625,7 +71385,7 @@ paths:
description: Response
content:
application/json:
- schema: *493
+ schema: *491
examples:
simple-example:
summary: Simple example
@@ -71698,9 +71458,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/deployments#get-a-deployment
parameters:
- - *334
- - *335
- - &495
+ - *330
+ - *331
+ - &493
name: deployment_id
description: deployment_id parameter
in: path
@@ -71712,7 +71472,7 @@ paths:
description: Response
content:
application/json:
- schema: *493
+ schema: *491
examples:
default:
value:
@@ -71777,9 +71537,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment
parameters:
- - *334
- - *335
- - *495
+ - *330
+ - *331
+ - *493
responses:
'204':
description: Response
@@ -71801,9 +71561,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses
parameters:
- - *334
- - *335
- - *495
+ - *330
+ - *331
+ - *493
- *17
- *19
responses:
@@ -71813,7 +71573,7 @@ paths:
application/json:
schema:
type: array
- items: &496
+ items: &494
title: Deployment Status
description: The status of a deployment.
type: object
@@ -71974,9 +71734,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status
parameters:
- - *334
- - *335
- - *495
+ - *330
+ - *331
+ - *493
requestBody:
required: true
content:
@@ -72051,9 +71811,9 @@ paths:
description: Response
content:
application/json:
- schema: *496
+ schema: *494
examples:
- default: &497
+ default: &495
value:
url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1
id: 1
@@ -72109,9 +71869,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status
parameters:
- - *334
- - *335
- - *495
+ - *330
+ - *331
+ - *493
- name: status_id
in: path
required: true
@@ -72122,9 +71882,9 @@ paths:
description: Response
content:
application/json:
- schema: *496
+ schema: *494
examples:
- default: *497
+ default: *495
'404': *6
x-github:
githubCloudOnly: false
@@ -72149,8 +71909,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -72207,8 +71967,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/environments#list-environments
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -72225,7 +71985,7 @@ paths:
type: integer
environments:
type: array
- items: &499
+ items: &497
title: Environment
description: Details of a deployment environment
type: object
@@ -72277,7 +72037,7 @@ paths:
type:
type: string
example: wait_timer
- wait_timer: &501
+ wait_timer: &499
type: integer
example: 30
description: The amount of time to delay a job after
@@ -72314,7 +72074,7 @@ paths:
items:
type: object
properties:
- type: *498
+ type: *496
reviewer:
anyOf:
- *4
@@ -72338,7 +72098,7 @@ paths:
- id
- node_id
- type
- deployment_branch_policy: &502
+ deployment_branch_policy: &500
type: object
description: The type of deployment branch policy for this
environment. To allow all branches to deploy, set to `null`.
@@ -72454,9 +72214,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/environments#get-an-environment
parameters:
- - *334
- - *335
- - &500
+ - *330
+ - *331
+ - &498
name: environment_name
in: path
required: true
@@ -72469,9 +72229,9 @@ paths:
description: Response
content:
application/json:
- schema: *499
+ schema: *497
examples:
- default: &503
+ default: &501
value:
id: 161088068
node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4
@@ -72555,9 +72315,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
requestBody:
required: false
content:
@@ -72566,7 +72326,7 @@ paths:
type: object
nullable: true
properties:
- wait_timer: *501
+ wait_timer: *499
prevent_self_review:
type: boolean
example: false
@@ -72583,13 +72343,13 @@ paths:
items:
type: object
properties:
- type: *498
+ type: *496
id:
type: integer
description: The id of the user or team who can review the
deployment
example: 4532992
- deployment_branch_policy: *502
+ deployment_branch_policy: *500
additionalProperties: false
examples:
default:
@@ -72609,9 +72369,9 @@ paths:
description: Response
content:
application/json:
- schema: *499
+ schema: *497
examples:
- default: *503
+ default: *501
'422':
description: Validation error when the environment name is invalid or when
`protected_branches` and `custom_branch_policies` in `deployment_branch_policy`
@@ -72635,9 +72395,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/environments#delete-an-environment
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
responses:
'204':
description: Default response
@@ -72662,9 +72422,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *17
- *19
responses:
@@ -72682,7 +72442,7 @@ paths:
example: 2
branch_policies:
type: array
- items: &504
+ items: &502
title: Deployment branch policy
description: Details of a deployment branch or tag policy.
type: object
@@ -72739,9 +72499,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
requestBody:
required: true
content:
@@ -72787,9 +72547,9 @@ paths:
description: Response
content:
application/json:
- schema: *504
+ schema: *502
examples:
- example-wildcard: &505
+ example-wildcard: &503
value:
id: 364662
node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI=
@@ -72831,10 +72591,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy
parameters:
- - *334
- - *335
- - *500
- - &506
+ - *330
+ - *331
+ - *498
+ - &504
name: branch_policy_id
in: path
required: true
@@ -72846,9 +72606,9 @@ paths:
description: Response
content:
application/json:
- schema: *504
+ schema: *502
examples:
- default: *505
+ default: *503
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -72867,10 +72627,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy
parameters:
- - *334
- - *335
- - *500
- - *506
+ - *330
+ - *331
+ - *498
+ - *504
requestBody:
required: true
content:
@@ -72898,9 +72658,9 @@ paths:
description: Response
content:
application/json:
- schema: *504
+ schema: *502
examples:
- default: *505
+ default: *503
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -72919,10 +72679,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy
parameters:
- - *334
- - *335
- - *500
- - *506
+ - *330
+ - *331
+ - *498
+ - *504
responses:
'204':
description: Response
@@ -72947,9 +72707,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment
parameters:
- - *500
- - *335
- - *334
+ - *498
+ - *331
+ - *330
responses:
'200':
description: List of deployment protection rules
@@ -72965,7 +72725,7 @@ paths:
example: 10
custom_deployment_protection_rules:
type: array
- items: &507
+ items: &505
title: Deployment protection rule
description: Deployment protection rule
type: object
@@ -72984,7 +72744,7 @@ paths:
example: true
description: Whether the deployment protection rule is enabled
for the environment.
- app: &508
+ app: &506
title: Custom deployment protection rule app
description: A GitHub App that is providing a custom deployment
protection rule.
@@ -73083,9 +72843,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:
- - *500
- - *335
- - *334
+ - *498
+ - *331
+ - *330
requestBody:
content:
application/json:
@@ -73106,9 +72866,9 @@ paths:
description: The enabled custom deployment protection rule
content:
application/json:
- schema: *507
+ schema: *505
examples:
- default: &509
+ default: &507
value:
id: 3
node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv
@@ -73143,9 +72903,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:
- - *500
- - *335
- - *334
+ - *498
+ - *331
+ - *330
- *19
- *17
responses:
@@ -73164,7 +72924,7 @@ paths:
example: 35
available_custom_deployment_protection_rule_integrations:
type: array
- items: *508
+ items: *506
examples:
default:
value:
@@ -73199,10 +72959,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule
parameters:
- - *334
- - *335
- - *500
- - &510
+ - *330
+ - *331
+ - *498
+ - &508
name: protection_rule_id
description: The unique identifier of the protection rule.
in: path
@@ -73214,9 +72974,9 @@ paths:
description: Response
content:
application/json:
- schema: *507
+ schema: *505
examples:
- default: *509
+ default: *507
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73237,10 +72997,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment
parameters:
- - *500
- - *335
- - *334
- - *510
+ - *498
+ - *331
+ - *330
+ - *508
responses:
'204':
description: Response
@@ -73266,9 +73026,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#list-environment-secrets
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *17
- *19
responses:
@@ -73286,9 +73046,9 @@ paths:
type: integer
secrets:
type: array
- items: *379
+ items: *375
examples:
- default: *380
+ default: *376
headers:
Link: *58
x-github:
@@ -73313,17 +73073,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
responses:
'200':
description: Response
content:
application/json:
- schema: *381
+ schema: *377
examples:
- default: *382
+ default: *378
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73345,18 +73105,18 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *159
responses:
'200':
description: Response
content:
application/json:
- schema: *379
+ schema: *375
examples:
- default: *511
+ default: *509
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73378,9 +73138,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *159
requestBody:
required: true
@@ -73438,9 +73198,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *159
responses:
'204':
@@ -73466,10 +73226,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#list-environment-variables
parameters:
- - *334
- - *335
- - *500
- - *350
+ - *330
+ - *331
+ - *498
+ - *346
- *19
responses:
'200':
@@ -73486,9 +73246,9 @@ paths:
type: integer
variables:
type: array
- items: *383
+ items: *379
examples:
- default: *384
+ default: *380
headers:
Link: *58
x-github:
@@ -73511,9 +73271,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#create-an-environment-variable
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
requestBody:
required: true
content:
@@ -73565,18 +73325,18 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#get-an-environment-variable
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *162
responses:
'200':
description: Response
content:
application/json:
- schema: *383
+ schema: *379
examples:
- default: *512
+ default: *510
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73597,10 +73357,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#update-an-environment-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
- - *500
+ - *498
requestBody:
required: true
content:
@@ -73642,10 +73402,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
- - *500
+ - *498
responses:
'204':
description: Response
@@ -73667,8 +73427,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/events#list-repository-events
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -73736,8 +73496,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/forks#list-forks
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sort
description: The sort order. `stargazers` will sort by star count.
in: query
@@ -73896,8 +73656,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/forks#create-a-fork
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -73929,9 +73689,9 @@ paths:
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
+ default: *335
'400': *14
'422': *15
'403': *29
@@ -73952,8 +73712,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/blobs#create-a-blob
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -74013,7 +73773,7 @@ paths:
schema:
oneOf:
- *120
- - *513
+ - *511
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -74038,8 +73798,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/blobs#get-a-blob
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: file_sha
in: path
required: true
@@ -74138,8 +73898,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/commits#create-a-commit
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -74248,7 +74008,7 @@ paths:
description: Response
content:
application/json:
- schema: &514
+ schema: &512
title: Git Commit
description: Low-level Git commit operations within a repository
type: object
@@ -74462,15 +74222,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/commits#get-a-commit-object
parameters:
- - *334
- - *335
- - *467
+ - *330
+ - *331
+ - *465
responses:
'200':
description: Response
content:
application/json:
- schema: *514
+ schema: *512
examples:
default:
value:
@@ -74526,9 +74286,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#list-matching-references
parameters:
- - *334
- - *335
- - &515
+ - *330
+ - *331
+ - &513
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.
@@ -74545,7 +74305,7 @@ paths:
application/json:
schema:
type: array
- items: &516
+ items: &514
title: Git Reference
description: Git references within a repository
type: object
@@ -74620,17 +74380,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#get-a-reference
parameters:
- - *334
- - *335
- - *515
+ - *330
+ - *331
+ - *513
responses:
'200':
description: Response
content:
application/json:
- schema: *516
+ schema: *514
examples:
- default: &517
+ default: &515
value:
ref: refs/heads/featureA
node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ==
@@ -74659,8 +74419,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#create-a-reference
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -74689,9 +74449,9 @@ paths:
description: Response
content:
application/json:
- schema: *516
+ schema: *514
examples:
- default: *517
+ default: *515
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA
@@ -74717,9 +74477,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#update-a-reference
parameters:
- - *334
- - *335
- - *515
+ - *330
+ - *331
+ - *513
requestBody:
required: true
content:
@@ -74748,9 +74508,9 @@ paths:
description: Response
content:
application/json:
- schema: *516
+ schema: *514
examples:
- default: *517
+ default: *515
'422': *15
'409': *51
x-github:
@@ -74768,9 +74528,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#delete-a-reference
parameters:
- - *334
- - *335
- - *515
+ - *330
+ - *331
+ - *513
responses:
'204':
description: Response
@@ -74825,8 +74585,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/tags#create-a-tag-object
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -74893,7 +74653,7 @@ paths:
description: Response
content:
application/json:
- schema: &519
+ schema: &517
title: Git Tag
description: Metadata for a Git tag
type: object
@@ -74944,7 +74704,7 @@ paths:
- sha
- type
- url
- verification: *518
+ verification: *516
required:
- sha
- url
@@ -74954,7 +74714,7 @@ paths:
- tag
- message
examples:
- default: &520
+ default: &518
value:
node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw==
tag: v0.0.1
@@ -75027,8 +74787,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/tags#get-a-tag
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: tag_sha
in: path
required: true
@@ -75039,9 +74799,9 @@ paths:
description: Response
content:
application/json:
- schema: *519
+ schema: *517
examples:
- default: *520
+ default: *518
'404': *6
'409': *51
x-github:
@@ -75065,8 +74825,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/trees#create-a-tree
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -75139,7 +74899,7 @@ paths:
description: Response
content:
application/json:
- schema: &521
+ schema: &519
title: Git Tree
description: The hierarchy between files in a Git repository.
type: object
@@ -75235,8 +74995,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/trees#get-a-tree
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: tree_sha
description: The SHA1 value or ref (branch or tag) name of the tree.
in: path
@@ -75259,7 +75019,7 @@ paths:
description: Response
content:
application/json:
- schema: *521
+ schema: *519
examples:
default-response:
summary: Default response
@@ -75318,8 +75078,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -75329,7 +75089,7 @@ paths:
application/json:
schema:
type: array
- items: &522
+ items: &520
title: Webhook
description: Webhooks for repositories.
type: object
@@ -75383,7 +75143,7 @@ paths:
type: string
format: uri
example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries
- last_response: &763
+ last_response: &764
title: Hook Response
type: object
properties:
@@ -75457,8 +75217,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -75510,9 +75270,9 @@ paths:
description: Response
content:
application/json:
- schema: *522
+ schema: *520
examples:
- default: &523
+ default: &521
value:
type: Repository
id: 12345678
@@ -75560,17 +75320,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'200':
description: Response
content:
application/json:
- schema: *522
+ schema: *520
examples:
- default: *523
+ default: *521
'404': *6
x-github:
githubCloudOnly: false
@@ -75590,8 +75350,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
requestBody:
required: true
@@ -75637,9 +75397,9 @@ paths:
description: Response
content:
application/json:
- schema: *522
+ schema: *520
examples:
- default: *523
+ default: *521
'422': *15
'404': *6
x-github:
@@ -75660,8 +75420,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'204':
@@ -75686,8 +75446,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'200':
@@ -75715,8 +75475,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
requestBody:
required: false
@@ -75761,8 +75521,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
- *17
- *205
@@ -75794,8 +75554,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
- *16
responses:
@@ -75824,8 +75584,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
- *16
responses:
@@ -75849,8 +75609,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'204':
@@ -75876,8 +75636,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'204':
@@ -75901,8 +75661,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response if immutable releases are enabled
@@ -75948,8 +75708,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#enable-immutable-releases
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204': *183
'409': *51
@@ -75969,8 +75729,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#disable-immutable-releases
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204': *183
'409': *51
@@ -76027,14 +75787,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: &524
+ schema: &522
title: Import
description: A repository import from an external source.
type: object
@@ -76133,7 +75893,7 @@ paths:
- html_url
- authors_url
examples:
- default: &527
+ default: &525
value:
vcs: subversion
use_lfs: true
@@ -76149,7 +75909,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': &525
+ '503': &523
description: Unavailable due to service under maintenance.
content:
application/json:
@@ -76178,8 +75938,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#start-an-import
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -76227,7 +75987,7 @@ paths:
description: Response
content:
application/json:
- schema: *524
+ schema: *522
examples:
default:
value:
@@ -76252,7 +76012,7 @@ paths:
type: string
'422': *15
'404': *6
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76280,8 +76040,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#update-an-import
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -76330,7 +76090,7 @@ paths:
description: Response
content:
application/json:
- schema: *524
+ schema: *522
examples:
example-1:
summary: Example 1
@@ -76378,7 +76138,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': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76401,12 +76161,12 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76432,8 +76192,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &697
name: since
description: A user ID. Only return users with an ID greater than this ID.
@@ -76448,7 +76208,7 @@ paths:
application/json:
schema:
type: array
- items: &526
+ items: &524
title: Porter Author
description: Porter Author
type: object
@@ -76502,7 +76262,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': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76527,8 +76287,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: author_id
in: path
required: true
@@ -76558,7 +76318,7 @@ paths:
description: Response
content:
application/json:
- schema: *526
+ schema: *524
examples:
default:
value:
@@ -76571,7 +76331,7 @@ paths:
import_url: https://api.github.com/repos/octocat/socm/import
'422': *15
'404': *6
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76595,8 +76355,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#get-large-files
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -76637,7 +76397,7 @@ paths:
path: foo/bar/3
oid: c20ad4d76fe97759aa27a0c99bff6710
size: 12582912
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76665,8 +76425,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -76693,11 +76453,11 @@ paths:
description: Response
content:
application/json:
- schema: *524
+ schema: *522
examples:
- default: *527
+ default: *525
'422': *15
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76720,8 +76480,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -76729,8 +76489,8 @@ paths:
application/json:
schema: *22
examples:
- default: *528
- '301': *338
+ default: *526
+ '301': *334
'404': *6
x-github:
githubCloudOnly: false
@@ -76750,8 +76510,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -76764,7 +76524,7 @@ paths:
properties: {}
additionalProperties: false
examples:
- default: &530
+ default: &528
value:
limit: collaborators_only
origin: repository
@@ -76789,13 +76549,13 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *529
+ schema: *527
examples:
default:
summary: Example request body
@@ -76809,7 +76569,7 @@ paths:
application/json:
schema: *222
examples:
- default: *530
+ default: *528
'409':
description: Response
x-github:
@@ -76831,8 +76591,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -76855,8 +76615,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -76866,7 +76626,7 @@ paths:
application/json:
schema:
type: array
- items: *531
+ items: *529
examples:
default: &690
value:
@@ -76999,8 +76759,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *226
requestBody:
required: false
@@ -77030,7 +76790,7 @@ paths:
description: Response
content:
application/json:
- schema: *531
+ schema: *529
examples:
default:
value:
@@ -77161,8 +76921,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *226
responses:
'204':
@@ -77194,8 +76954,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#list-repository-issues
parameters:
- - *334
- - *335
+ - *330
+ - *331
- 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
@@ -77416,7 +77176,7 @@ paths:
state_reason: completed
headers:
Link: *58
- '301': *338
+ '301': *334
'422': *15
'404': *6
x-github:
@@ -77445,8 +77205,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#create-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -77686,7 +77446,7 @@ paths:
'422': *15
'503': *112
'404': *6
- '410': *532
+ '410': *530
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -77714,8 +77474,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *98
- name: direction
description: Either `asc` or `desc`. Ignored without the `sort` parameter.
@@ -77736,7 +77496,7 @@ paths:
application/json:
schema:
type: array
- items: *533
+ items: *531
examples:
default: &540
value:
@@ -77796,17 +77556,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#get-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'200':
description: Response
content:
application/json:
- schema: *533
+ schema: *531
examples:
- default: &534
+ default: &532
value:
id: 1
node_id: MDEyOklzc3VlQ29tbWVudDE=
@@ -77860,8 +77620,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#update-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -77884,9 +77644,9 @@ paths:
description: Response
content:
application/json:
- schema: *533
+ schema: *531
examples:
- default: *534
+ default: *532
'422': *15
x-github:
githubCloudOnly: false
@@ -77904,8 +77664,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'204':
@@ -77926,8 +77686,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -77954,9 +77714,9 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: *462
examples:
- default: *331
+ default: *533
headers:
Link: *58
'404': *6
@@ -77977,8 +77737,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -78011,16 +77771,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'201':
description: Reaction created
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -78042,10 +77802,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- - *332
+ - *534
responses:
'204':
description: Response
@@ -78065,8 +77825,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -78427,8 +78187,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/events#get-an-issue-event
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: event_id
in: path
required: true
@@ -78631,7 +78391,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
'404': *6
- '410': *532
+ '410': *530
'403': *29
x-github:
githubCloudOnly: false
@@ -78665,8 +78425,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#get-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &539
name: issue_number
description: The number that identifies the issue.
@@ -78682,9 +78442,9 @@ paths:
schema: *74
examples:
default: *538
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
'304': *37
x-github:
githubCloudOnly: false
@@ -78709,8 +78469,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#update-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -78821,9 +78581,9 @@ paths:
'422': *15
'503': *112
'403': *29
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -78841,8 +78601,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -78887,8 +78647,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
content:
@@ -78938,8 +78698,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:
- - *334
- - *335
+ - *330
+ - *331
- *539
- name: assignee
in: path
@@ -78980,8 +78740,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#list-issue-comments
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *81
- *17
@@ -78993,13 +78753,13 @@ paths:
application/json:
schema:
type: array
- items: *533
+ items: *531
examples:
default: *540
headers:
Link: *58
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -79028,8 +78788,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#create-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -79052,16 +78812,16 @@ paths:
description: Response
content:
application/json:
- schema: *533
+ schema: *531
examples:
- default: *534
+ default: *532
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1
schema:
type: string
'403': *29
- '410': *532
+ '410': *530
'422': *15
'404': *6
x-github:
@@ -79089,8 +78849,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -79106,9 +78866,9 @@ paths:
default: *541
headers:
Link: *58
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -79136,8 +78896,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -79168,9 +78928,9 @@ paths:
example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by
schema:
type: string
- '301': *338
+ '301': *334
'403': *29
- '410': *532
+ '410': *530
'422': *15
'404': *6
x-github:
@@ -79201,8 +78961,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- name: issue_id
in: path
@@ -79218,12 +78978,12 @@ paths:
schema: *74
examples:
default: *538
- '301': *338
+ '301': *334
'400': *14
'401': *25
'403': *29
'404': *6
- '410': *532
+ '410': *530
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -79249,8 +79009,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -79266,9 +79026,9 @@ paths:
default: *541
headers:
Link: *58
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -79285,8 +79045,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/events#list-issue-events
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -80138,7 +79898,7 @@ paths:
color: red
headers:
Link: *58
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80155,8 +79915,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -80187,9 +79947,9 @@ paths:
default: false
headers:
Link: *58
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80206,8 +79966,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -80270,9 +80030,9 @@ paths:
items: *73
examples:
default: *542
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
'422': *15
x-github:
githubCloudOnly: false
@@ -80289,8 +80049,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -80354,9 +80114,9 @@ paths:
items: *73
examples:
default: *542
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
'422': *15
x-github:
githubCloudOnly: false
@@ -80373,15 +80133,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
responses:
'204':
description: Response
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80400,8 +80160,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- name: name
in: path
@@ -80426,9 +80186,9 @@ paths:
description: Something isn't working
color: f29513
default: true
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80448,8 +80208,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#lock-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -80478,7 +80238,7 @@ paths:
'204':
description: Response
'403': *29
- '410': *532
+ '410': *530
'404': *6
'422': *15
x-github:
@@ -80496,8 +80256,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#unlock-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
responses:
'204':
@@ -80528,8 +80288,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
responses:
'200':
@@ -80539,9 +80299,9 @@ paths:
schema: *74
examples:
default: *538
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80558,8 +80318,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -80586,13 +80346,13 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: *462
examples:
- default: *331
+ default: *533
headers:
Link: *58
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80610,8 +80370,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -80644,16 +80404,16 @@ paths:
description: Response
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'201':
description: Response
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -80675,10 +80435,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- - *332
+ - *534
responses:
'204':
description: Response
@@ -80707,8 +80467,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -80766,8 +80526,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -80784,7 +80544,7 @@ paths:
headers:
Link: *58
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80812,8 +80572,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -80850,7 +80610,7 @@ paths:
schema:
type: string
'403': *29
- '410': *532
+ '410': *530
'422': *15
'404': *6
x-github:
@@ -80870,8 +80630,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -80927,8 +80687,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -81474,7 +81234,7 @@ paths:
type: string
comments:
type: array
- items: *465
+ items: *461
- title: Timeline Assigned Issue Event
description: Timeline Assigned Issue Event
type: object
@@ -81763,7 +81523,7 @@ paths:
headers:
Link: *58
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -81780,8 +81540,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -81857,8 +81617,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -81930,8 +81690,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &558
name: key_id
description: The unique identifier of the key.
@@ -81964,8 +81724,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *558
responses:
'204':
@@ -81986,8 +81746,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -82020,8 +81780,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#create-a-label
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -82091,8 +81851,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#get-a-label
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: name
in: path
required: true
@@ -82122,8 +81882,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#update-a-label
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: name
in: path
required: true
@@ -82188,8 +81948,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#delete-a-label
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: name
in: path
required: true
@@ -82215,8 +81975,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-languages
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -82255,9 +82015,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository
parameters:
- - *334
- - *335
- - *438
+ - *330
+ - *331
+ - *434
responses:
'200':
description: Response
@@ -82402,8 +82162,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -82468,8 +82228,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#merge-a-branch
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -82503,7 +82263,7 @@ paths:
description: Successful Response (The resulting merge commit)
content:
application/json:
- schema: *466
+ schema: *464
examples:
default: *560
'204':
@@ -82530,8 +82290,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#list-milestones
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: state
description: The state of the milestone. Either `open`, `closed`, or `all`.
in: query
@@ -82633,8 +82393,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#create-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -82735,8 +82495,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#get-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &563
name: milestone_number
description: The number that identifies the milestone.
@@ -82768,8 +82528,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#update-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *563
requestBody:
required: false
@@ -82826,8 +82586,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#delete-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *563
responses:
'204':
@@ -82849,8 +82609,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *563
- *17
- *19
@@ -82882,8 +82642,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *564
- *565
- *81
@@ -82923,8 +82683,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -82982,8 +82742,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -83155,8 +82915,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -83235,8 +82995,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -83335,8 +83095,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -83362,8 +83122,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -83467,8 +83227,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'201':
description: Response
@@ -83513,8 +83273,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-latest-pages-build
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -83570,8 +83330,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: build_id
in: path
required: true
@@ -83604,8 +83364,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -83710,8 +83470,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &572
name: pages_deployment_id
description: The ID of the Pages deployment. You can also give the commit
@@ -83770,8 +83530,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *572
responses:
'204': *183
@@ -83799,8 +83559,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -84058,8 +83818,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Private vulnerability reporting status
@@ -84096,8 +83856,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204': *183
'422': *14
@@ -84118,8 +83878,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204': *183
'422': *14
@@ -84141,8 +83901,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -84174,8 +83934,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -84229,8 +83989,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#list-pull-requests
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: state
description: Either `open`, `closed`, or `all` to filter by state.
in: query
@@ -84290,7 +84050,7 @@ paths:
application/json:
schema:
type: array
- items: *470
+ items: *468
examples:
default: *575
headers:
@@ -84324,8 +84084,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -85223,8 +84983,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sort
in: query
required: false
@@ -85332,8 +85092,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'200':
@@ -85417,8 +85177,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -85459,8 +85219,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'204':
@@ -85482,8 +85242,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -85510,9 +85270,9 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: *462
examples:
- default: *331
+ default: *533
headers:
Link: *58
'404': *6
@@ -85533,8 +85293,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -85567,16 +85327,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'201':
description: Reaction created
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -85598,10 +85358,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- - *332
+ - *534
responses:
'204':
description: Response
@@ -85644,8 +85404,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &581
name: pull_number
description: The number that identifies the pull request.
@@ -85696,8 +85456,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -85764,8 +85524,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: true
@@ -85828,7 +85588,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -85836,7 +85596,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'401': *25
'403': *29
'404': *6
@@ -85866,8 +85626,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *98
- name: direction
@@ -85924,8 +85684,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: true
@@ -86119,8 +85879,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *90
requestBody:
@@ -86230,8 +85990,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *17
- *19
@@ -86242,7 +86002,7 @@ paths:
application/json:
schema:
type: array
- items: *466
+ items: *464
examples:
default: *583
headers:
@@ -86274,8 +86034,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *17
- *19
@@ -86286,7 +86046,7 @@ paths:
application/json:
schema:
type: array
- items: *479
+ items: *477
examples:
default:
value:
@@ -86324,8 +86084,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
responses:
'204':
@@ -86349,8 +86109,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -86462,8 +86222,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
responses:
'200':
@@ -86539,8 +86299,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -86578,7 +86338,7 @@ paths:
description: Response
content:
application/json:
- schema: *470
+ schema: *468
examples:
default:
value:
@@ -87114,8 +86874,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: true
@@ -87150,7 +86910,7 @@ paths:
description: Response
content:
application/json:
- schema: *470
+ schema: *468
examples:
default:
value:
@@ -87655,8 +87415,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *17
- *19
@@ -87818,8 +87578,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -87971,8 +87731,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- &585
name: review_id
@@ -88047,8 +87807,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
requestBody:
@@ -88135,8 +87895,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
responses:
@@ -88173,8 +87933,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
- *17
@@ -88411,8 +88171,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
requestBody:
@@ -88505,8 +88265,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
requestBody:
@@ -88567,8 +88327,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -88632,8 +88392,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#get-a-repository-readme
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ref
description: 'The name of the commit/branch/tag. Default: the repository’s
default branch.'
@@ -88690,8 +88450,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: dir
description: The alternate path to look for a README file
in: path
@@ -88735,8 +88495,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#list-releases
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -88840,8 +88600,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#create-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -89024,8 +88784,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/assets#get-a-release-asset
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &592
name: asset_id
description: The unique identifier of the asset.
@@ -89075,7 +88835,7 @@ paths:
type: User
site_admin: false
'404': *6
- '302': *481
+ '302': *479
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89091,8 +88851,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/assets#update-a-release-asset
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *592
requestBody:
required: false
@@ -89139,8 +88899,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/assets#delete-a-release-asset
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *592
responses:
'204':
@@ -89165,8 +88925,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -89251,8 +89011,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#get-the-latest-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -89277,8 +89037,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: tag
description: tag parameter
in: path
@@ -89315,8 +89075,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#get-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &595
name: release_id
description: The unique identifier of the release.
@@ -89351,8 +89111,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#update-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
requestBody:
required: false
@@ -89440,8 +89200,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#delete-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
responses:
'204':
@@ -89462,8 +89222,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/assets#list-release-assets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
- *17
- *19
@@ -89555,8 +89315,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:
- - *334
- - *335
+ - *330
+ - *331
- *595
- name: name
in: query
@@ -89638,8 +89398,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -89664,9 +89424,9 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: *462
examples:
- default: *331
+ default: *533
headers:
Link: *58
'404': *6
@@ -89687,8 +89447,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
requestBody:
required: true
@@ -89719,16 +89479,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'201':
description: Reaction created
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -89750,10 +89510,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
- - *332
+ - *534
responses:
'204':
description: Response
@@ -89777,9 +89537,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
- *17
- *19
responses:
@@ -89916,8 +89676,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
- name: includes_parents
@@ -89983,8 +89743,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
description: Request body
required: true
@@ -90093,8 +89853,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *600
- *601
- *602
@@ -90129,8 +89889,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *606
responses:
'200':
@@ -90167,8 +89927,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -90208,8 +89968,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -90291,8 +90051,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -90315,8 +90075,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
- name: ruleset_id
@@ -90353,8 +90113,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -90427,8 +90187,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *612
- *613
- *614
@@ -90715,9 +90475,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
- *622
responses:
'200':
@@ -90778,9 +90538,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
requestBody:
required: true
content:
@@ -90918,9 +90678,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
- *19
- *17
responses:
@@ -90931,7 +90691,7 @@ paths:
schema:
type: array
description: List of locations where the secret was detected
- items: &785
+ items: &786
type: object
properties:
type:
@@ -91055,8 +90815,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -91134,8 +90894,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'404':
description: Repository does not have GitHub Advanced Security or secret
@@ -91254,8 +91014,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *52
- name: sort
description: The property to sort the results by.
@@ -91324,8 +91084,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -91720,8 +91480,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -91972,8 +91732,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *645
responses:
'200':
@@ -92006,8 +91766,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *645
requestBody:
required: true
@@ -92208,8 +91968,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:
- - *334
- - *335
+ - *330
+ - *331
- *645
responses:
'202': *39
@@ -92237,17 +91997,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *645
responses:
'202':
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
+ default: *335
'400': *14
'422': *15
'403': *29
@@ -92273,8 +92033,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/starring#list-stargazers
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -92373,8 +92133,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Returns a weekly aggregate of the number of additions and deletions
@@ -92416,8 +92176,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -92493,8 +92253,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -92590,8 +92350,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: The array order is oldest week (index 0) to most recent week.
@@ -92745,8 +92505,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: For example, `[2, 14, 25]` indicates that there were 25 total
@@ -92789,8 +92549,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/statuses#create-a-commit-status
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sha
in: path
required: true
@@ -92898,8 +92658,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/watching#list-watchers
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -92931,8 +92691,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: if you subscribe to the repository
@@ -93006,8 +92766,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -93060,8 +92820,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -93081,8 +92841,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-tags
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -93161,8 +92921,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -93222,8 +92982,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -93277,8 +93037,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:
- - *334
- - *335
+ - *330
+ - *331
- name: tag_protection_id
description: The unique identifier of the tag protection.
in: path
@@ -93315,8 +93075,8 @@ paths:
url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar
operationId: repos/download-tarball-archive
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ref
in: path
required: true
@@ -93352,8 +93112,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-teams
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -93385,8 +93145,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#get-all-repository-topics
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *19
- *17
responses:
@@ -93429,8 +93189,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -93484,8 +93244,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/traffic#get-repository-clones
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &653
name: per
description: The time frame to display results for.
@@ -93603,8 +93363,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -93695,8 +93455,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -93757,8 +93517,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/traffic#get-page-views
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *653
responses:
'200':
@@ -93856,8 +93616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#transfer-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -94131,8 +93891,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response if repository is enabled with vulnerability alerts
@@ -94155,8 +93915,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -94178,8 +93938,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -94205,8 +93965,8 @@ paths:
url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip
operationId: repos/download-zipball-archive
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ref
in: path
required: true
@@ -94298,9 +94058,9 @@ paths:
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
+ default: *335
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World
@@ -94781,7 +94541,7 @@ paths:
description: Metaproperties for Git author/committer
information.
type: object
- properties: *399
+ properties: *395
nullable: true
comment_count:
type: integer
@@ -94801,7 +94561,7 @@ paths:
url:
type: string
format: uri
- verification: *518
+ verification: *516
required:
- author
- committer
@@ -94820,7 +94580,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: *399
+ properties: *395
nullable: true
parents:
type: array
@@ -97017,246 +96777,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:
- - *660
- - *325
- - *328
- - 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: *329
- examples:
- default: *331
- headers:
- Link: *58
- 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:
- - *660
- - *325
- - *328
- 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: *329
- examples:
- default: *330
- 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:
- - *660
- - *325
- - 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: *329
- examples:
- default: *331
- headers:
- Link: *58
- 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:
- - *660
- - *325
- 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: *329
- examples:
- default: *330
- 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)
@@ -97482,7 +97002,7 @@ paths:
description: Response
content:
application/json:
- schema: *333
+ schema: *329
examples:
response-if-user-is-a-team-maintainer: *665
'404': *6
@@ -97543,7 +97063,7 @@ paths:
description: Response
content:
application/json:
- schema: *333
+ schema: *329
examples:
response-if-users-membership-with-team-is-now-pending: *666
'403':
@@ -97650,8 +97170,8 @@ paths:
url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy
parameters:
- *660
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Alternative response with extra repository information
@@ -97809,8 +97329,8 @@ paths:
url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy
parameters:
- *660
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -97861,8 +97381,8 @@ paths:
url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy
parameters:
- *660
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -98634,7 +98154,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -98642,7 +98162,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'401': *25
'403': *29
'404': *6
@@ -98726,7 +98246,7 @@ paths:
- visibility
- selected_repositories_url
examples:
- default: *458
+ default: *454
headers:
Link: *58
x-github:
@@ -99100,7 +98620,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'304': *37
'500': *111
'401': *25
@@ -99158,7 +98678,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'401': *25
'403': *29
'404': *6
@@ -99421,13 +98941,13 @@ paths:
nullable: true
owner: *4
billable_owner: *4
- repository: *337
+ repository: *333
machine:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: *456
- required: *457
+ properties: *452
+ required: *453
nullable: true
devcontainer_path:
description: Path to devcontainer.json from repo root used to
@@ -100209,7 +99729,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'304': *37
'500': *111
'400': *14
@@ -100249,7 +99769,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'500': *111
'401': *25
'403': *29
@@ -101397,7 +100917,7 @@ paths:
required: true
content:
application/json:
- schema: *529
+ schema: *527
examples:
default:
value:
@@ -103826,9 +103346,9 @@ paths:
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
+ default: *335
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World
@@ -103866,7 +103386,7 @@ paths:
application/json:
schema:
type: array
- items: *531
+ items: *529
examples:
default: *690
headers:
@@ -104133,7 +103653,7 @@ paths:
- title
- created_at
examples:
- default: &721
+ default: &722
value:
- id: 2
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -104295,7 +103815,7 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user
parameters:
- - &722
+ - &723
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
@@ -104324,7 +103844,7 @@ paths:
application/vnd.github.v3.star+json:
schema:
type: array
- items: &723
+ items: &724
title: Starred Repository
description: Starred Repository
type: object
@@ -104480,8 +104000,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response if this repository is starred by you
@@ -104509,8 +104029,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -104534,8 +104054,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -105215,7 +104735,7 @@ paths:
initiator:
type: string
examples:
- default: *395
+ default: *391
'201':
description: Response
content:
@@ -105746,7 +105266,7 @@ paths:
application/json:
schema: *22
examples:
- default: *528
+ default: *526
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -106744,6 +106264,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:
+ - *263
+ - *63
+ - *717
+ - 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
+ - *45
+ - *46
+ - *17
+ responses:
+ '200':
+ description: Response
+ content:
+ application/json:
+ schema:
+ type: array
+ items: *271
+ examples:
+ default: *272
+ headers:
+ Link: *58
+ '304': *37
+ '403': *29
+ '401': *25
+ '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
@@ -106979,7 +106552,7 @@ paths:
- *114
- *116
- *115
- - *717
+ - *718
- *117
responses:
'200':
@@ -107110,7 +106683,7 @@ paths:
parameters:
- *63
- *114
- - *718
+ - *719
- *115
responses:
'200':
@@ -107209,9 +106782,9 @@ paths:
- *114
- *116
- *115
- - *719
- - *117
- *720
+ - *117
+ - *721
responses:
'200':
description: Response when getting a billing usage summary
@@ -107379,7 +106952,7 @@ paths:
type: array
items: *693
examples:
- default: *721
+ default: *722
headers:
Link: *58
x-github:
@@ -107404,7 +106977,7 @@ paths:
url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user
parameters:
- *63
- - *722
+ - *723
- *52
- *17
- *19
@@ -107416,7 +106989,7 @@ paths:
schema:
anyOf:
- type: array
- items: *723
+ items: *724
- type: array
items: *70
examples:
@@ -107579,7 +107152,7 @@ x-webhooks:
type: string
enum:
- disabled
- enterprise: &724
+ enterprise: &725
title: Enterprise
description: |-
An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
@@ -107637,7 +107210,7 @@ x-webhooks:
- created_at
- updated_at
- avatar_url
- installation: &725
+ installation: &726
title: Simple Installation
description: |-
The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
@@ -107656,7 +107229,7 @@ x-webhooks:
required:
- id
- node_id
- organization: &726
+ organization: &727
title: Organization Simple
description: |-
A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
@@ -107716,13 +107289,13 @@ x-webhooks:
- public_members_url
- avatar_url
- description
- repository: &727
+ repository: &728
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: &757
+ properties: &758
id:
description: Unique identifier of the repository
example: 42
@@ -108405,7 +107978,7 @@ x-webhooks:
type: boolean
description: Whether anonymous git access is enabled for this
repository
- required: &758
+ required: &759
- archive_url
- assignees_url
- blobs_url
@@ -108556,10 +108129,10 @@ x-webhooks:
type: string
enum:
- enabled
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -108635,11 +108208,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- rule: &728
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ rule: &729
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)
@@ -108862,11 +108435,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- rule: *728
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ rule: *729
sender: *4
required:
- action
@@ -109049,11 +108622,11 @@ x-webhooks:
- everyone
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- rule: *728
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ rule: *729
sender: *4
required:
- action
@@ -109137,7 +108710,7 @@ x-webhooks:
type: string
enum:
- completed
- check_run: &730
+ check_run: &731
title: CheckRun
description: A check performed on the code of a given code change
type: object
@@ -109228,7 +108801,7 @@ x-webhooks:
- skipped
- timed_out
- action_required
- deployment: *729
+ deployment: *730
details_url:
example: https://example.com
type: string
@@ -109313,10 +108886,10 @@ x-webhooks:
- output
- app
- pull_requests
- installation: *725
- enterprise: *724
- organization: *726
- repository: *727
+ installation: *726
+ enterprise: *725
+ organization: *727
+ repository: *728
sender: *4
required:
- check_run
@@ -109709,11 +109282,11 @@ x-webhooks:
type: string
enum:
- created
- check_run: *730
- installation: *725
- enterprise: *724
- organization: *726
- repository: *727
+ check_run: *731
+ installation: *726
+ enterprise: *725
+ organization: *727
+ repository: *728
sender: *4
required:
- check_run
@@ -110109,11 +109682,11 @@ x-webhooks:
type: string
enum:
- requested_action
- check_run: *730
- installation: *725
- enterprise: *724
- organization: *726
- repository: *727
+ check_run: *731
+ installation: *726
+ enterprise: *725
+ organization: *727
+ repository: *728
requested_action:
description: The action requested by the user.
type: object
@@ -110518,11 +110091,11 @@ x-webhooks:
type: string
enum:
- rerequested
- check_run: *730
- installation: *725
- enterprise: *724
- organization: *726
- repository: *727
+ check_run: *731
+ installation: *726
+ enterprise: *725
+ organization: *727
+ repository: *728
sender: *4
required:
- check_run
@@ -111499,10 +111072,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -112196,10 +111769,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -112887,10 +112460,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -113056,7 +112629,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -113201,20 +112774,20 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: &731
+ commit_oid: &732
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: *724
- installation: *725
- organization: *726
- ref: &732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: &733
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: *727
+ repository: *728
sender: *4
required:
- action
@@ -113379,7 +112952,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -113609,12 +113182,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *731
- enterprise: *724
- installation: *725
- organization: *726
- ref: *732
- repository: *727
+ commit_oid: *732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: *733
+ repository: *728
sender: *4
required:
- action
@@ -113709,7 +113282,7 @@ x-webhooks:
nullable: true
dismissed_by:
nullable: true
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -113880,12 +113453,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *731
- enterprise: *724
- installation: *725
- organization: *726
- ref: *732
- repository: *727
+ commit_oid: *732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: *733
+ repository: *728
sender: *4
required:
- action
@@ -114051,7 +113624,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -114217,12 +113790,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *731
- enterprise: *724
- installation: *725
- organization: *726
- ref: *732
- repository: *727
+ commit_oid: *732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: *733
+ repository: *728
sender: *4
required:
- action
@@ -114321,7 +113894,7 @@ x-webhooks:
dismissed_by:
type: object
nullable: true
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -114496,16 +114069,16 @@ x-webhooks:
triggered by the `sender` and this value will be empty.
type: string
nullable: true
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
ref:
description: The Git reference of the code scanning alert. When
the action is `reopened_by_user` or `closed_by_user`, the event
was triggered by the `sender` and this value will be empty.
type: string
nullable: true
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -114602,7 +114175,7 @@ x-webhooks:
nullable: true
dismissed_by:
nullable: true
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -114742,12 +114315,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *731
- enterprise: *724
- installation: *725
- organization: *726
- ref: *732
- repository: *727
+ commit_oid: *732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: *733
+ repository: *728
sender: *4
required:
- action
@@ -114913,7 +114486,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -115058,10 +114631,10 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -115316,10 +114889,10 @@ x-webhooks:
- updated_at
- author_association
- body
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -115399,18 +114972,18 @@ x-webhooks:
description: The repository's current description.
type: string
nullable: true
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
master_branch:
description: The name of the repository's default branch (usually
`main`).
type: string
- organization: *726
- pusher_type: &733
+ organization: *727
+ pusher_type: &734
description: The pusher type for the event. Can be either `user`
or a deploy key.
type: string
- ref: &734
+ ref: &735
description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference)
resource.
type: string
@@ -115420,7 +114993,7 @@ x-webhooks:
enum:
- tag
- branch
- repository: *727
+ repository: *728
sender: *4
required:
- ref
@@ -115503,9 +115076,9 @@ x-webhooks:
enum:
- created
definition: *274
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -115590,9 +115163,9 @@ x-webhooks:
description: The name of the property that was deleted.
required:
- property_name
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -115670,9 +115243,9 @@ x-webhooks:
enum:
- promote_to_enterprise
definition: *274
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -115750,9 +115323,9 @@ x-webhooks:
enum:
- updated
definition: *274
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -115829,10 +115402,10 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *724
- installation: *725
- repository: *727
- organization: *726
+ enterprise: *725
+ installation: *726
+ repository: *728
+ organization: *727
sender: *4
new_property_values:
type: array
@@ -115917,18 +115490,18 @@ x-webhooks:
title: delete event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
- pusher_type: *733
- ref: *734
+ enterprise: *725
+ installation: *726
+ organization: *727
+ pusher_type: *734
+ ref: *735
ref_type:
description: The type of Git ref object deleted in the repository.
type: string
enum:
- tag
- branch
- repository: *727
+ repository: *728
sender: *4
required:
- ref
@@ -116012,11 +115585,11 @@ x-webhooks:
type: string
enum:
- auto_dismissed
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116100,11 +115673,11 @@ x-webhooks:
type: string
enum:
- auto_reopened
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116188,11 +115761,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116274,11 +115847,11 @@ x-webhooks:
type: string
enum:
- dismissed
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116360,11 +115933,11 @@ x-webhooks:
type: string
enum:
- fixed
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116447,11 +116020,11 @@ x-webhooks:
type: string
enum:
- reintroduced
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116533,11 +116106,11 @@ x-webhooks:
type: string
enum:
- reopened
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116614,9 +116187,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- key: &735
+ enterprise: *725
+ installation: *726
+ key: &736
description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key)
resource.
type: object
@@ -116652,8 +116225,8 @@ x-webhooks:
- verified
- created_at
- read_only
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -116730,11 +116303,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- key: *735
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ key: *736
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -117295,12 +116868,12 @@ x-webhooks:
- updated_at
- statuses_url
- repository_url
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: &739
+ workflow: &740
title: Workflow
type: object
nullable: true
@@ -118026,13 +117599,13 @@ x-webhooks:
description: The URL to review the deployment protection rule.
type: string
format: uri
- deployment: *493
+ deployment: *491
pull_requests:
type: array
items: *579
- repository: *727
- organization: *726
- installation: *725
+ repository: *728
+ organization: *727
+ installation: *726
sender: *4
responses:
'200':
@@ -118103,7 +117676,7 @@ x-webhooks:
type: string
enum:
- approved
- approver: &736
+ approver: &737
type: object
properties:
avatar_url:
@@ -118146,11 +117719,11 @@ x-webhooks:
type: string
comment:
type: string
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- reviewers: &737
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ reviewers: &738
type: array
items:
type: object
@@ -118229,7 +117802,7 @@ x-webhooks:
sender: *4
since:
type: string
- workflow_job_run: &738
+ workflow_job_run: &739
type: object
properties:
conclusion:
@@ -118960,18 +118533,18 @@ x-webhooks:
type: string
enum:
- rejected
- approver: *736
+ approver: *737
comment:
type: string
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- reviewers: *737
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ reviewers: *738
sender: *4
since:
type: string
- workflow_job_run: *738
+ workflow_job_run: *739
workflow_job_runs:
type: array
items:
@@ -119675,13 +119248,13 @@ x-webhooks:
type: string
enum:
- requested
- enterprise: *724
+ enterprise: *725
environment:
type: string
- installation: *725
- organization: *726
- repository: *727
- requestor: &744
+ installation: *726
+ organization: *727
+ repository: *728
+ requestor: &745
title: User
type: object
nullable: true
@@ -121580,12 +121153,12 @@ x-webhooks:
- updated_at
- deployment_url
- repository_url
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: *739
+ workflow: *740
workflow_run:
title: Deployment Workflow Run
type: object
@@ -122265,7 +121838,7 @@ x-webhooks:
type: string
enum:
- answered
- answer: &742
+ answer: &743
type: object
properties:
author_association:
@@ -122422,11 +121995,11 @@ x-webhooks:
- created_at
- updated_at
- body
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -122553,11 +122126,11 @@ x-webhooks:
- from
required:
- category
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -122640,11 +122213,11 @@ x-webhooks:
type: string
enum:
- closed
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -122726,7 +122299,7 @@ x-webhooks:
type: string
enum:
- created
- comment: &741
+ comment: &742
type: object
properties:
author_association:
@@ -122883,11 +122456,11 @@ x-webhooks:
- updated_at
- body
- reactions
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -122970,12 +122543,12 @@ x-webhooks:
type: string
enum:
- deleted
- comment: *741
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ comment: *742
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123070,12 +122643,12 @@ x-webhooks:
- from
required:
- body
- comment: *741
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ comment: *742
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123159,11 +122732,11 @@ x-webhooks:
type: string
enum:
- created
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123245,11 +122818,11 @@ x-webhooks:
type: string
enum:
- deleted
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123349,11 +122922,11 @@ x-webhooks:
type: string
required:
- from
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123435,10 +123008,10 @@ x-webhooks:
type: string
enum:
- labeled
- discussion: *740
- enterprise: *724
- installation: *725
- label: &743
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ label: &744
title: Label
type: object
properties:
@@ -123470,8 +123043,8 @@ x-webhooks:
- color
- default
- description
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123554,11 +123127,11 @@ x-webhooks:
type: string
enum:
- locked
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123640,11 +123213,11 @@ x-webhooks:
type: string
enum:
- pinned
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123726,11 +123299,11 @@ x-webhooks:
type: string
enum:
- reopened
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123815,16 +123388,16 @@ x-webhooks:
changes:
type: object
properties:
- new_discussion: *740
- new_repository: *727
+ new_discussion: *741
+ new_repository: *728
required:
- new_discussion
- new_repository
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123907,10 +123480,10 @@ x-webhooks:
type: string
enum:
- unanswered
- discussion: *740
- old_answer: *742
- organization: *726
- repository: *727
+ discussion: *741
+ old_answer: *743
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123992,12 +123565,12 @@ x-webhooks:
type: string
enum:
- unlabeled
- discussion: *740
- enterprise: *724
- installation: *725
- label: *743
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -124080,11 +123653,11 @@ x-webhooks:
type: string
enum:
- unlocked
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -124166,11 +123739,11 @@ x-webhooks:
type: string
enum:
- unpinned
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -124243,7 +123816,7 @@ x-webhooks:
description: A user forks a repository.
type: object
properties:
- enterprise: *724
+ enterprise: *725
forkee:
description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository)
resource.
@@ -124903,9 +124476,9 @@ x-webhooks:
type: integer
watchers_count:
type: integer
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- forkee
@@ -125051,9 +124624,9 @@ x-webhooks:
title: gollum event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pages:
description: The pages that were updated.
type: array
@@ -125090,7 +124663,7 @@ x-webhooks:
- action
- sha
- html_url
- repository: *727
+ repository: *728
sender: *4
required:
- pages
@@ -125166,10 +124739,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: &745
+ organization: *727
+ repositories: &746
description: An array of repository objects that the installation
can access.
type: array
@@ -125195,8 +124768,8 @@ x-webhooks:
- name
- full_name
- private
- repository: *727
- requester: *744
+ repository: *728
+ requester: *745
sender: *4
required:
- action
@@ -125271,11 +124844,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: *745
- repository: *727
+ organization: *727
+ repositories: *746
+ repository: *728
requester:
nullable: true
sender: *4
@@ -125351,11 +124924,11 @@ x-webhooks:
type: string
enum:
- new_permissions_accepted
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: *745
- repository: *727
+ organization: *727
+ repositories: *746
+ repository: *728
requester:
nullable: true
sender: *4
@@ -125431,10 +125004,10 @@ x-webhooks:
type: string
enum:
- added
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories_added: &746
+ organization: *727
+ repositories_added: &747
description: An array of repository objects, which were added to
the installation.
type: array
@@ -125480,15 +125053,15 @@ x-webhooks:
private:
description: Whether the repository is private or public.
type: boolean
- repository: *727
- repository_selection: &747
+ repository: *728
+ repository_selection: &748
description: Describe whether all repositories have been selected
or there's a selection involved
type: string
enum:
- all
- selected
- requester: *744
+ requester: *745
sender: *4
required:
- action
@@ -125567,10 +125140,10 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories_added: *746
+ organization: *727
+ repositories_added: *747
repositories_removed:
description: An array of repository objects, which were removed
from the installation.
@@ -125597,9 +125170,9 @@ x-webhooks:
- name
- full_name
- private
- repository: *727
- repository_selection: *747
- requester: *744
+ repository: *728
+ repository_selection: *748
+ requester: *745
sender: *4
required:
- action
@@ -125678,11 +125251,11 @@ x-webhooks:
type: string
enum:
- suspend
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: *745
- repository: *727
+ organization: *727
+ repositories: *746
+ repository: *728
requester:
nullable: true
sender: *4
@@ -125860,10 +125433,10 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
target_type:
type: string
@@ -125942,11 +125515,11 @@ x-webhooks:
type: string
enum:
- unsuspend
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: *745
- repository: *727
+ organization: *727
+ repositories: *746
+ repository: *728
requester:
nullable: true
sender: *4
@@ -126198,8 +125771,8 @@ x-webhooks:
- performed_via_github_app
- body
- reactions
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -127343,8 +126916,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -127424,7 +126997,7 @@ x-webhooks:
type: string
enum:
- deleted
- comment: &748
+ comment: &749
title: issue comment
description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment)
itself.
@@ -127589,8 +127162,8 @@ x-webhooks:
- performed_via_github_app
- body
- reactions
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -128732,8 +128305,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -128813,7 +128386,7 @@ x-webhooks:
type: string
enum:
- edited
- changes: &777
+ changes: &778
description: The changes to the comment.
type: object
properties:
@@ -128825,9 +128398,9 @@ x-webhooks:
type: string
required:
- from
- comment: *748
- enterprise: *724
- installation: *725
+ comment: *749
+ enterprise: *725
+ installation: *726
issue:
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -129970,8 +129543,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130061,9 +129634,9 @@ x-webhooks:
type: number
blocking_issue: *74
blocking_issue_repo: *70
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130152,9 +129725,9 @@ x-webhooks:
type: number
blocking_issue: *74
blocking_issue_repo: *70
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130242,9 +129815,9 @@ x-webhooks:
description: The ID of the blocking issue.
type: number
blocking_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130333,9 +129906,9 @@ x-webhooks:
description: The ID of the blocking issue.
type: number
blocking_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130415,10 +129988,10 @@ x-webhooks:
type: string
enum:
- assigned
- assignee: *744
- enterprise: *724
- installation: *725
- issue: &751
+ assignee: *745
+ enterprise: *725
+ installation: *726
+ issue: &752
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
itself.
@@ -131328,8 +130901,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -131409,8 +130982,8 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
itself.
@@ -132460,8 +132033,8 @@ x-webhooks:
required:
- state
- closed_at
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -132540,8 +132113,8 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -133446,8 +133019,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -133526,8 +133099,8 @@ x-webhooks:
type: string
enum:
- demilestoned
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -134433,7 +134006,7 @@ x-webhooks:
format: uri
user_view_type:
type: string
- milestone: &749
+ milestone: &750
title: Milestone
description: A collection of related issues and pull requests.
type: object
@@ -134571,8 +134144,8 @@ x-webhooks:
- updated_at
- due_on
- closed_at
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -134671,8 +134244,8 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -135582,9 +135155,9 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- label: *743
- organization: *726
- repository: *727
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -135664,8 +135237,8 @@ x-webhooks:
type: string
enum:
- labeled
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -136574,9 +136147,9 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- label: *743
- organization: *726
- repository: *727
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -136656,8 +136229,8 @@ x-webhooks:
type: string
enum:
- locked
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -137567,8 +137140,8 @@ x-webhooks:
format: uri
user_view_type:
type: string
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -137647,8 +137220,8 @@ x-webhooks:
type: string
enum:
- milestoned
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -138552,9 +138125,9 @@ x-webhooks:
format: uri
user_view_type:
type: string
- milestone: *749
- organization: *726
- repository: *727
+ milestone: *750
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -139988,8 +139561,8 @@ x-webhooks:
required:
- old_issue
- old_repository
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -140898,8 +140471,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -140979,9 +140552,9 @@ x-webhooks:
type: string
enum:
- pinned
- enterprise: *724
- installation: *725
- issue: &750
+ enterprise: *725
+ installation: *726
+ issue: &751
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
itself.
@@ -141884,8 +141457,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -141964,8 +141537,8 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -142874,8 +142447,8 @@ x-webhooks:
user_view_type:
type: string
type: *227
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144329,11 +143902,11 @@ x-webhooks:
required:
- new_issue
- new_repository
- enterprise: *724
- installation: *725
- issue: *750
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ issue: *751
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144413,12 +143986,12 @@ x-webhooks:
type: string
enum:
- typed
- enterprise: *724
- installation: *725
- issue: *751
+ enterprise: *725
+ installation: *726
+ issue: *752
type: *227
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144499,7 +144072,7 @@ x-webhooks:
type: string
enum:
- unassigned
- assignee: &780
+ assignee: &781
title: User
type: object
nullable: true
@@ -144569,11 +144142,11 @@ x-webhooks:
required:
- login
- id
- enterprise: *724
- installation: *725
- issue: *751
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ issue: *752
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144652,12 +144225,12 @@ x-webhooks:
type: string
enum:
- unlabeled
- enterprise: *724
- installation: *725
- issue: *751
- label: *743
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ issue: *752
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144737,8 +144310,8 @@ x-webhooks:
type: string
enum:
- unlocked
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -145646,8 +145219,8 @@ x-webhooks:
format: uri
user_view_type:
type: string
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -145727,11 +145300,11 @@ x-webhooks:
type: string
enum:
- unpinned
- enterprise: *724
- installation: *725
- issue: *750
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ issue: *751
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -145810,12 +145383,12 @@ x-webhooks:
type: string
enum:
- untyped
- enterprise: *724
- installation: *725
- issue: *751
+ enterprise: *725
+ installation: *726
+ issue: *752
type: *227
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -145895,11 +145468,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- label: *743
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -145977,11 +145550,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- label: *743
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -146091,11 +145664,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- label: *743
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -146177,9 +145750,9 @@ x-webhooks:
- cancelled
effective_date:
type: string
- enterprise: *724
- installation: *725
- marketplace_purchase: &752
+ enterprise: *725
+ installation: *726
+ marketplace_purchase: &753
title: Marketplace Purchase
type: object
required:
@@ -146262,8 +145835,8 @@ x-webhooks:
type: integer
unit_count:
type: integer
- organization: *726
- previous_marketplace_purchase: &753
+ organization: *727
+ previous_marketplace_purchase: &754
title: Marketplace Purchase
type: object
properties:
@@ -146343,7 +145916,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -146423,10 +145996,10 @@ x-webhooks:
- changed
effective_date:
type: string
- enterprise: *724
- installation: *725
- marketplace_purchase: *752
- organization: *726
+ enterprise: *725
+ installation: *726
+ marketplace_purchase: *753
+ organization: *727
previous_marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -146509,7 +146082,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -146591,10 +146164,10 @@ x-webhooks:
- pending_change
effective_date:
type: string
- enterprise: *724
- installation: *725
- marketplace_purchase: *752
- organization: *726
+ enterprise: *725
+ installation: *726
+ marketplace_purchase: *753
+ organization: *727
previous_marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -146676,7 +146249,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -146757,8 +146330,8 @@ x-webhooks:
- pending_change_cancelled
effective_date:
type: string
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -146840,9 +146413,9 @@ x-webhooks:
type: integer
unit_count:
type: integer
- organization: *726
- previous_marketplace_purchase: *753
- repository: *727
+ organization: *727
+ previous_marketplace_purchase: *754
+ repository: *728
sender: *4
required:
- action
@@ -146922,12 +146495,12 @@ x-webhooks:
- purchased
effective_date:
type: string
- enterprise: *724
- installation: *725
- marketplace_purchase: *752
- organization: *726
- previous_marketplace_purchase: *753
- repository: *727
+ enterprise: *725
+ installation: *726
+ marketplace_purchase: *753
+ organization: *727
+ previous_marketplace_purchase: *754
+ repository: *728
sender: *4
required:
- action
@@ -147029,11 +146602,11 @@ x-webhooks:
type: string
required:
- to
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147133,11 +146706,11 @@ x-webhooks:
to:
type: string
nullable: true
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147216,11 +146789,11 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147298,11 +146871,11 @@ x-webhooks:
type: string
enum:
- added
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
scope:
description: The scope of the membership. Currently, can only be
`team`.
@@ -147378,7 +146951,7 @@ x-webhooks:
required:
- login
- id
- team: &754
+ team: &755
title: Team
description: Groups of organization members that gives permissions
on specified repositories.
@@ -147601,11 +147174,11 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
scope:
description: The scope of the membership. Currently, can only be
`team`.
@@ -147682,7 +147255,7 @@ x-webhooks:
required:
- login
- id
- team: *754
+ team: *755
required:
- action
- scope
@@ -147764,8 +147337,8 @@ x-webhooks:
type: string
enum:
- checks_requested
- installation: *725
- merge_group: &756
+ installation: *726
+ merge_group: &757
type: object
title: Merge Group
description: A group of pull requests that the merge queue has grouped
@@ -147784,15 +147357,15 @@ x-webhooks:
description: The full ref of the branch the merge group will
be merged into.
type: string
- head_commit: *755
+ head_commit: *756
required:
- head_sha
- head_ref
- base_sha
- base_ref
- head_commit
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147878,10 +147451,10 @@ x-webhooks:
- merged
- invalidated
- dequeued
- installation: *725
- merge_group: *756
- organization: *726
- repository: *727
+ installation: *726
+ merge_group: *757
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147954,7 +147527,7 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
+ enterprise: *725
hook:
description: 'The deleted webhook. This will contain different keys
based on the type of webhook it is: repository, organization,
@@ -148063,16 +147636,16 @@ x-webhooks:
hook_id:
description: The id of the modified webhook.
type: integer
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *757
- required: *758
+ properties: *758
+ required: *759
nullable: true
sender: *4
required:
@@ -148153,11 +147726,11 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *724
- installation: *725
- milestone: *749
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ milestone: *750
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148236,9 +147809,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- milestone: &759
+ enterprise: *725
+ installation: *726
+ milestone: &760
title: Milestone
description: A collection of related issues and pull requests.
type: object
@@ -148375,8 +147948,8 @@ x-webhooks:
- updated_at
- due_on
- closed_at
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148455,11 +148028,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- milestone: *749
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ milestone: *750
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148569,11 +148142,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- milestone: *749
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ milestone: *750
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148653,11 +148226,11 @@ x-webhooks:
type: string
enum:
- opened
- enterprise: *724
- installation: *725
- milestone: *759
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ milestone: *760
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148736,11 +148309,11 @@ x-webhooks:
type: string
enum:
- blocked
- blocked_user: *744
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ blocked_user: *745
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148819,11 +148392,11 @@ x-webhooks:
type: string
enum:
- unblocked
- blocked_user: *744
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ blocked_user: *745
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148902,9 +148475,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- membership: &760
+ enterprise: *725
+ installation: *726
+ membership: &761
title: Membership
description: The membership between the user and the organization.
Not present when the action is `member_invited`.
@@ -149011,8 +148584,8 @@ x-webhooks:
- role
- organization_url
- user
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -149090,11 +148663,11 @@ x-webhooks:
type: string
enum:
- member_added
- enterprise: *724
- installation: *725
- membership: *760
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ membership: *761
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -149173,8 +148746,8 @@ x-webhooks:
type: string
enum:
- member_invited
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
invitation:
description: The invitation for the user or email if the action
is `member_invited`.
@@ -149290,10 +148863,10 @@ x-webhooks:
- inviter
- team_count
- invitation_teams_url
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
- user: *744
+ user: *745
required:
- action
- invitation
@@ -149371,11 +148944,11 @@ x-webhooks:
type: string
enum:
- member_removed
- enterprise: *724
- installation: *725
- membership: *760
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ membership: *761
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -149462,11 +149035,11 @@ x-webhooks:
properties:
from:
type: string
- enterprise: *724
- installation: *725
- membership: *760
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ membership: *761
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -149542,9 +149115,9 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
package:
description: Information about the package.
type: object
@@ -150043,7 +149616,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: &761
+ items: &762
title: Ruby Gems metadata
type: object
properties:
@@ -150138,7 +149711,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -150214,9 +149787,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
package:
description: Information about the package.
type: object
@@ -150569,7 +150142,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: *761
+ items: *762
source_url:
type: string
format: uri
@@ -150639,7 +150212,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -150816,12 +150389,12 @@ x-webhooks:
- duration
- created_at
- updated_at
- enterprise: *724
+ enterprise: *725
id:
type: integer
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- id
@@ -150898,7 +150471,7 @@ x-webhooks:
type: string
enum:
- approved
- personal_access_token_request: &762
+ personal_access_token_request: &763
title: Personal Access Token Request
description: Details of a Personal Access Token Request.
type: object
@@ -151044,10 +150617,10 @@ x-webhooks:
- token_expired
- token_expires_at
- token_last_used_at
- enterprise: *724
- organization: *726
+ enterprise: *725
+ organization: *727
sender: *4
- installation: *725
+ installation: *726
required:
- action
- personal_access_token_request
@@ -151124,11 +150697,11 @@ x-webhooks:
type: string
enum:
- cancelled
- personal_access_token_request: *762
- enterprise: *724
- organization: *726
+ personal_access_token_request: *763
+ enterprise: *725
+ organization: *727
sender: *4
- installation: *725
+ installation: *726
required:
- action
- personal_access_token_request
@@ -151204,11 +150777,11 @@ x-webhooks:
type: string
enum:
- created
- personal_access_token_request: *762
- enterprise: *724
- organization: *726
+ personal_access_token_request: *763
+ enterprise: *725
+ organization: *727
sender: *4
- installation: *725
+ installation: *726
required:
- action
- personal_access_token_request
@@ -151283,11 +150856,11 @@ x-webhooks:
type: string
enum:
- denied
- personal_access_token_request: *762
- organization: *726
- enterprise: *724
+ personal_access_token_request: *763
+ organization: *727
+ enterprise: *725
sender: *4
- installation: *725
+ installation: *726
required:
- action
- personal_access_token_request
@@ -151392,7 +150965,7 @@ x-webhooks:
id:
description: Unique identifier of the webhook.
type: integer
- last_response: *763
+ last_response: *764
name:
description: The type of webhook. The only valid value is 'web'.
type: string
@@ -151424,8 +150997,8 @@ x-webhooks:
hook_id:
description: The ID of the webhook that triggered the ping.
type: integer
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
zen:
description: Random string of GitHub zen.
@@ -151670,10 +151243,10 @@ x-webhooks:
- from
required:
- note
- enterprise: *724
- installation: *725
- organization: *726
- project_card: &764
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_card: &765
title: Project Card
type: object
properties:
@@ -151792,7 +151365,7 @@ x-webhooks:
- creator
- created_at
- updated_at
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -151873,11 +151446,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- project_card: *764
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_card: *765
+ repository: *728
sender: *4
required:
- action
@@ -151957,9 +151530,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
project_card:
title: Project Card
type: object
@@ -152087,8 +151660,8 @@ x-webhooks:
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *757
- required: *758
+ properties: *758
+ required: *759
nullable: true
sender: *4
required:
@@ -152182,11 +151755,11 @@ x-webhooks:
- from
required:
- note
- enterprise: *724
- installation: *725
- organization: *726
- project_card: *764
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_card: *765
+ repository: *728
sender: *4
required:
- action
@@ -152280,9 +151853,9 @@ x-webhooks:
- from
required:
- column_id
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
project_card:
allOf:
- title: Project Card
@@ -152472,7 +152045,7 @@ x-webhooks:
type: string
required:
- after_id
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -152552,10 +152125,10 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *724
- installation: *725
- organization: *726
- project: &766
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: &767
title: Project
type: object
properties:
@@ -152679,7 +152252,7 @@ x-webhooks:
- creator
- created_at
- updated_at
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -152759,10 +152332,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- project_column: &765
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_column: &766
title: Project Column
type: object
properties:
@@ -152801,7 +152374,7 @@ x-webhooks:
- name
- created_at
- updated_at
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -152880,18 +152453,18 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- project_column: *765
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_column: *766
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *757
- required: *758
+ properties: *758
+ required: *759
nullable: true
sender: *4
required:
@@ -152981,11 +152554,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- project_column: *765
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_column: *766
+ repository: *728
sender: *4
required:
- action
@@ -153065,11 +152638,11 @@ x-webhooks:
type: string
enum:
- moved
- enterprise: *724
- installation: *725
- organization: *726
- project_column: *765
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_column: *766
+ repository: *728
sender: *4
required:
- action
@@ -153149,11 +152722,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- project: *766
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: *767
+ repository: *728
sender: *4
required:
- action
@@ -153233,18 +152806,18 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- project: *766
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: *767
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *757
- required: *758
+ properties: *758
+ required: *759
nullable: true
sender: *4
required:
@@ -153346,11 +152919,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- project: *766
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: *767
+ repository: *728
sender: *4
required:
- action
@@ -153429,11 +153002,11 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *724
- installation: *725
- organization: *726
- project: *766
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: *767
+ repository: *728
sender: *4
required:
- action
@@ -153514,8 +153087,8 @@ x-webhooks:
type: string
enum:
- closed
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -153597,8 +153170,8 @@ x-webhooks:
type: string
enum:
- created
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -153680,8 +153253,8 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -153799,8 +153372,8 @@ x-webhooks:
type: string
to:
type: string
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -153884,7 +153457,7 @@ x-webhooks:
type: string
enum:
- archived
- changes: &770
+ changes: &771
type: object
properties:
archived_at:
@@ -153898,9 +153471,9 @@ x-webhooks:
type: string
nullable: true
format: date-time
- installation: *725
- organization: *726
- projects_v2_item: &767
+ installation: *726
+ organization: *727
+ projects_v2_item: &768
title: Projects v2 Item
description: An item belonging to a project
type: object
@@ -154035,9 +153608,9 @@ x-webhooks:
nullable: true
to:
type: string
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154119,9 +153692,9 @@ x-webhooks:
type: string
enum:
- created
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154202,9 +153775,9 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154310,7 +153883,7 @@ x-webhooks:
oneOf:
- type: string
- type: integer
- - &768
+ - &769
title: Projects v2 Single Select Option
description: An option for a single select field
type: object
@@ -154332,7 +153905,7 @@ x-webhooks:
required:
- id
- name
- - &769
+ - &770
title: Projects v2 Iteration Setting
description: An iteration setting for an iteration field
type: object
@@ -154366,8 +153939,8 @@ x-webhooks:
oneOf:
- type: string
- type: integer
- - *768
- *769
+ - *770
required:
- field_value
- type: object
@@ -154383,9 +153956,9 @@ x-webhooks:
nullable: true
required:
- body
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154480,9 +154053,9 @@ x-webhooks:
to:
type: string
nullable: true
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154565,10 +154138,10 @@ x-webhooks:
type: string
enum:
- restored
- changes: *770
- installation: *725
- organization: *726
- projects_v2_item: *767
+ changes: *771
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154650,8 +154223,8 @@ x-webhooks:
type: string
enum:
- reopened
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -154733,14 +154306,14 @@ x-webhooks:
type: string
enum:
- created
- installation: *725
- organization: *726
- projects_v2_status_update: &773
+ installation: *726
+ organization: *727
+ projects_v2_status_update: &774
title: Projects v2 Status Update
description: An status update belonging to a project
type: object
- properties: *771
- required: *772
+ properties: *772
+ required: *773
sender: *4
required:
- action
@@ -154821,9 +154394,9 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *725
- organization: *726
- projects_v2_status_update: *773
+ installation: *726
+ organization: *727
+ projects_v2_status_update: *774
sender: *4
required:
- action
@@ -154959,9 +154532,9 @@ x-webhooks:
type: string
format: date
nullable: true
- installation: *725
- organization: *726
- projects_v2_status_update: *773
+ installation: *726
+ organization: *727
+ projects_v2_status_update: *774
sender: *4
required:
- action
@@ -155032,10 +154605,10 @@ x-webhooks:
title: public event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- repository
@@ -155112,13 +154685,13 @@ x-webhooks:
type: string
enum:
- assigned
- assignee: *744
- enterprise: *724
- installation: *725
- number: &774
+ assignee: *745
+ enterprise: *725
+ installation: *726
+ number: &775
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -157401,7 +156974,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -157483,11 +157056,11 @@ x-webhooks:
type: string
enum:
- auto_merge_disabled
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -159765,7 +159338,7 @@ x-webhooks:
- draft
reason:
type: string
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -159847,11 +159420,11 @@ x-webhooks:
type: string
enum:
- auto_merge_enabled
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -162129,7 +161702,7 @@ x-webhooks:
- draft
reason:
type: string
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -162211,11 +161784,11 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: &775
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: &776
allOf:
- *579
- type: object
@@ -162279,7 +161852,7 @@ x-webhooks:
Please use `squash_merge_commit_title` instead.**
type: boolean
default: false
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -162360,12 +161933,12 @@ x-webhooks:
type: string
enum:
- converted_to_draft
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -162445,11 +162018,11 @@ x-webhooks:
type: string
enum:
- demilestoned
- enterprise: *724
+ enterprise: *725
milestone: *561
- number: *774
- organization: *726
- pull_request: &776
+ number: *775
+ organization: *727
+ pull_request: &777
title: Pull Request
type: object
properties:
@@ -164712,7 +164285,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -164791,11 +164364,11 @@ x-webhooks:
type: string
enum:
- dequeued
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -167077,7 +166650,7 @@ x-webhooks:
- BRANCH_PROTECTIONS
- GIT_TREE_INVALID
- INVALID_MERGE_COMMIT
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -167201,12 +166774,12 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -167286,11 +166859,11 @@ x-webhooks:
type: string
enum:
- enqueued
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -169557,7 +169130,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -169637,11 +169210,11 @@ x-webhooks:
type: string
enum:
- labeled
- enterprise: *724
- installation: *725
- label: *743
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ label: *744
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -171923,7 +171496,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -172004,10 +171577,10 @@ x-webhooks:
type: string
enum:
- locked
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -174287,7 +173860,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -174367,12 +173940,12 @@ x-webhooks:
type: string
enum:
- milestoned
- enterprise: *724
+ enterprise: *725
milestone: *561
- number: *774
- organization: *726
- pull_request: *776
- repository: *727
+ number: *775
+ organization: *727
+ pull_request: *777
+ repository: *728
sender: *4
required:
- action
@@ -174451,12 +174024,12 @@ x-webhooks:
type: string
enum:
- opened
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -174537,12 +174110,12 @@ x-webhooks:
type: string
enum:
- ready_for_review
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -174622,12 +174195,12 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -174993,9 +174566,9 @@ x-webhooks:
- start_side
- side
- reactions
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
type: object
properties:
@@ -177165,7 +176738,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -177245,7 +176818,7 @@ x-webhooks:
type: string
enum:
- deleted
- comment: &778
+ comment: &779
title: Pull Request Review Comment
description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request)
itself.
@@ -177530,9 +177103,9 @@ x-webhooks:
- start_side
- side
- reactions
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
type: object
properties:
@@ -179690,7 +179263,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -179770,11 +179343,11 @@ x-webhooks:
type: string
enum:
- edited
- changes: *777
- comment: *778
- enterprise: *724
- installation: *725
- organization: *726
+ changes: *778
+ comment: *779
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
type: object
properties:
@@ -181935,7 +181508,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -182016,9 +181589,9 @@ x-webhooks:
type: string
enum:
- dismissed
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -184191,7 +183764,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
+ repository: *728
review:
description: The review that was affected.
type: object
@@ -184438,9 +184011,9 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -186494,8 +186067,8 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
- review: &779
+ repository: *728
+ review: &780
description: The review that was affected.
type: object
properties:
@@ -186728,12 +186301,12 @@ x-webhooks:
type: string
enum:
- review_request_removed
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -189016,7 +188589,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
requested_reviewer:
title: User
type: object
@@ -189100,12 +188673,12 @@ x-webhooks:
type: string
enum:
- review_request_removed
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -191395,7 +190968,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
requested_team:
title: Team
description: Groups of organization members that gives permissions
@@ -191587,12 +191160,12 @@ x-webhooks:
type: string
enum:
- review_requested
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -193877,7 +193450,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
requested_reviewer:
title: User
type: object
@@ -193962,12 +193535,12 @@ x-webhooks:
type: string
enum:
- review_requested
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -196243,7 +195816,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
requested_team:
title: Team
description: Groups of organization members that gives permissions
@@ -196424,9 +195997,9 @@ x-webhooks:
type: string
enum:
- submitted
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -198601,8 +198174,8 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
- review: *779
+ repository: *728
+ review: *780
sender: *4
required:
- action
@@ -198682,9 +198255,9 @@ x-webhooks:
type: string
enum:
- resolved
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -200754,7 +200327,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
thread:
type: object
@@ -201141,9 +200714,9 @@ x-webhooks:
type: string
enum:
- unresolved
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -203199,7 +202772,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
thread:
type: object
@@ -203589,10 +203162,10 @@ x-webhooks:
type: string
before:
type: string
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -205863,7 +205436,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -205945,11 +205518,11 @@ x-webhooks:
type: string
enum:
- unassigned
- assignee: *780
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
+ assignee: *781
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -208232,7 +207805,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -208311,11 +207884,11 @@ x-webhooks:
type: string
enum:
- unlabeled
- enterprise: *724
- installation: *725
- label: *743
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ label: *744
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -210588,7 +210161,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -210669,10 +210242,10 @@ x-webhooks:
type: string
enum:
- unlocked
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -212937,7 +212510,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -213137,7 +212710,7 @@ x-webhooks:
deleted:
description: Whether this push deleted the `ref`.
type: boolean
- enterprise: *724
+ enterprise: *725
forced:
description: Whether this push was a force push of the `ref`.
type: boolean
@@ -213229,8 +212802,8 @@ x-webhooks:
- url
- author
- committer
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
pusher:
title: Committer
description: Metaproperties for Git author/committer information.
@@ -213805,9 +213378,9 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
registry_package:
type: object
properties:
@@ -214253,7 +213826,7 @@ x-webhooks:
type: string
rubygems_metadata:
type: array
- items: *761
+ items: *762
summary:
type: string
tag_name:
@@ -214307,7 +213880,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -214385,9 +213958,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
registry_package:
type: object
properties:
@@ -214695,7 +214268,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: *761
+ items: *762
summary:
type: string
tag_name:
@@ -214744,7 +214317,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -214821,10 +214394,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- release: &781
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: &782
title: Release
description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release)
object.
@@ -215142,7 +214715,7 @@ x-webhooks:
- updated_at
- zipball_url
- body
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -215219,11 +214792,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- release: *781
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: *782
+ repository: *728
sender: *4
required:
- action
@@ -215340,11 +214913,11 @@ x-webhooks:
type: boolean
required:
- to
- enterprise: *724
- installation: *725
- organization: *726
- release: *781
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: *782
+ repository: *728
sender: *4
required:
- action
@@ -215422,9 +214995,9 @@ x-webhooks:
type: string
enum:
- prereleased
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
release:
title: Release
description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release)
@@ -215746,7 +215319,7 @@ x-webhooks:
type: string
nullable: true
format: uri
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -215822,10 +215395,10 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
- release: &782
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: &783
title: Release
description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release)
object.
@@ -216144,7 +215717,7 @@ x-webhooks:
type: string
nullable: true
format: uri
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -216220,11 +215793,11 @@ x-webhooks:
type: string
enum:
- released
- enterprise: *724
- installation: *725
- organization: *726
- release: *781
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: *782
+ repository: *728
sender: *4
required:
- action
@@ -216300,11 +215873,11 @@ x-webhooks:
type: string
enum:
- unpublished
- enterprise: *724
- installation: *725
- organization: *726
- release: *782
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: *783
+ repository: *728
sender: *4
required:
- action
@@ -216380,10 +215953,10 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_advisory: *643
sender: *4
required:
@@ -216460,10 +216033,10 @@ x-webhooks:
type: string
enum:
- reported
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_advisory: *643
sender: *4
required:
@@ -216540,10 +216113,10 @@ x-webhooks:
type: string
enum:
- archived
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216620,10 +216193,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216701,10 +216274,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216788,10 +216361,10 @@ x-webhooks:
additionalProperties: true
description: The `client_payload` that was specified in the `POST
/repos/{owner}/{repo}/dispatches` request body.
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216903,10 +216476,10 @@ x-webhooks:
nullable: true
items:
type: string
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216978,10 +216551,10 @@ x-webhooks:
title: repository_import event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
status:
type: string
@@ -217062,10 +216635,10 @@ x-webhooks:
type: string
enum:
- privatized
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217142,10 +216715,10 @@ x-webhooks:
type: string
enum:
- publicized
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217239,10 +216812,10 @@ x-webhooks:
- name
required:
- repository
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217322,10 +216895,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_ruleset: *307
sender: *4
required:
@@ -217404,10 +216977,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_ruleset: *307
sender: *4
required:
@@ -217486,10 +217059,10 @@ x-webhooks:
type: string
enum:
- edited
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_ruleset: *307
changes:
type: object
@@ -217794,10 +217367,10 @@ x-webhooks:
- from
required:
- owner
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217875,10 +217448,10 @@ x-webhooks:
type: string
enum:
- unarchived
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217956,7 +217529,7 @@ x-webhooks:
type: string
enum:
- create
- alert: &783
+ alert: &784
title: Repository Vulnerability Alert Alert
description: The security alert of the vulnerable dependency.
type: object
@@ -218077,10 +217650,10 @@ x-webhooks:
type: string
enum:
- open
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218286,10 +217859,10 @@ x-webhooks:
type: string
enum:
- dismissed
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218367,11 +217940,11 @@ x-webhooks:
type: string
enum:
- reopen
- alert: *783
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *784
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218570,10 +218143,10 @@ x-webhooks:
enum:
- fixed
- open
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218651,7 +218224,7 @@ x-webhooks:
type: string
enum:
- assigned
- alert: &784
+ alert: &785
type: object
properties:
number: *169
@@ -218770,10 +218343,10 @@ x-webhooks:
required: *21
nullable: true
assignee: *4
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218851,11 +218424,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218936,11 +218509,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *784
- installation: *725
- location: *785
- organization: *726
- repository: *727
+ alert: *785
+ installation: *726
+ location: *786
+ organization: *727
+ repository: *728
sender: *4
required:
- location
@@ -219178,11 +218751,11 @@ x-webhooks:
type: string
enum:
- publicly_leaked
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219260,11 +218833,11 @@ x-webhooks:
type: string
enum:
- reopened
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219342,11 +218915,11 @@ x-webhooks:
type: string
enum:
- resolved
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219424,12 +218997,12 @@ x-webhooks:
type: string
enum:
- unassigned
- alert: *784
+ alert: *785
assignee: *4
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219507,11 +219080,11 @@ x-webhooks:
type: string
enum:
- validated
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219637,10 +219210,10 @@ x-webhooks:
- organization
- enterprise
nullable: true
- repository: *727
- enterprise: *724
- installation: *725
- organization: *726
+ repository: *728
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -219718,11 +219291,11 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- security_advisory: &786
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ security_advisory: &787
description: The details of the security advisory, including summary,
description, and severity.
type: object
@@ -219905,11 +219478,11 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- security_advisory: *786
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ security_advisory: *787
sender: *4
required:
- action
@@ -219982,10 +219555,10 @@ x-webhooks:
type: string
enum:
- withdrawn
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
security_advisory:
description: The details of the security advisory, including summary,
description, and severity.
@@ -220170,10 +219743,10 @@ x-webhooks:
type: object
properties:
security_and_analysis: *280
- enterprise: *724
- installation: *725
- organization: *726
- repository: *337
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *333
sender: *4
required:
- changes
@@ -220251,12 +219824,12 @@ x-webhooks:
type: string
enum:
- cancelled
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: &787
+ sponsorship: &788
type: object
properties:
created_at:
@@ -220557,12 +220130,12 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- sponsorship
@@ -220650,12 +220223,12 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- changes
@@ -220732,17 +220305,17 @@ x-webhooks:
type: string
enum:
- pending_cancellation
- effective_date: &788
+ effective_date: &789
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: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- sponsorship
@@ -220816,7 +220389,7 @@ x-webhooks:
type: string
enum:
- pending_tier_change
- changes: &789
+ changes: &790
type: object
properties:
tier:
@@ -220860,13 +220433,13 @@ x-webhooks:
- from
required:
- tier
- effective_date: *788
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ effective_date: *789
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- changes
@@ -220943,13 +220516,13 @@ x-webhooks:
type: string
enum:
- tier_changed
- changes: *789
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ changes: *790
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- changes
@@ -221023,10 +220596,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
starred_at:
description: 'The time the star was created. This is a timestamp
@@ -221109,10 +220682,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
starred_at:
description: 'The time the star was created. This is a timestamp
@@ -221532,15 +221105,15 @@ x-webhooks:
status.
type: string
nullable: true
- enterprise: *724
+ enterprise: *725
id:
description: The unique identifier of the status.
type: integer
- installation: *725
+ installation: *726
name:
type: string
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
sha:
description: The Commit SHA.
@@ -221655,9 +221228,9 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -221747,9 +221320,9 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -221839,9 +221412,9 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -221931,9 +221504,9 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -222010,12 +221583,12 @@ x-webhooks:
title: team_add event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- team: &790
+ team: &791
title: Team
description: Groups of organization members that gives permissions
on specified repositories.
@@ -222238,9 +221811,9 @@ x-webhooks:
type: string
enum:
- added_to_repository
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -222698,7 +222271,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- team
@@ -222774,9 +222347,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -223234,7 +222807,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- team
@@ -223311,9 +222884,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -223771,7 +223344,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- team
@@ -223915,9 +223488,9 @@ x-webhooks:
- from
required:
- permissions
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -224375,7 +223948,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- changes
@@ -224453,9 +224026,9 @@ x-webhooks:
type: string
enum:
- removed_from_repository
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -224913,7 +224486,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- team
@@ -224989,10 +224562,10 @@ x-webhooks:
type: string
enum:
- started
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -225065,16 +224638,16 @@ x-webhooks:
title: workflow_dispatch event
type: object
properties:
- enterprise: *724
+ enterprise: *725
inputs:
type: object
nullable: true
additionalProperties: true
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
ref:
type: string
- repository: *727
+ repository: *728
sender: *4
workflow:
type: string
@@ -225156,10 +224729,10 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
workflow_job:
allOf:
@@ -225396,7 +224969,7 @@ x-webhooks:
type: string
required:
- conclusion
- deployment: *493
+ deployment: *491
required:
- action
- repository
@@ -225475,10 +225048,10 @@ x-webhooks:
type: string
enum:
- in_progress
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
workflow_job:
allOf:
@@ -225738,7 +225311,7 @@ x-webhooks:
required:
- status
- steps
- deployment: *493
+ deployment: *491
required:
- action
- repository
@@ -225817,10 +225390,10 @@ x-webhooks:
type: string
enum:
- queued
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
workflow_job:
type: object
@@ -225955,7 +225528,7 @@ x-webhooks:
- workflow_name
- head_branch
- created_at
- deployment: *493
+ deployment: *491
required:
- action
- repository
@@ -226034,10 +225607,10 @@ x-webhooks:
type: string
enum:
- waiting
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
workflow_job:
type: object
@@ -226173,7 +225746,7 @@ x-webhooks:
- workflow_name
- head_branch
- created_at
- deployment: *493
+ deployment: *491
required:
- action
- repository
@@ -226253,12 +225826,12 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: *739
+ workflow: *740
workflow_run:
title: Workflow Run
type: object
@@ -227257,12 +226830,12 @@ x-webhooks:
type: string
enum:
- in_progress
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: *739
+ workflow: *740
workflow_run:
title: Workflow Run
type: object
@@ -228246,12 +227819,12 @@ x-webhooks:
type: string
enum:
- requested
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: *739
+ workflow: *740
workflow_run:
title: Workflow Run
type: object
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json
index 3b585b29c..6bb7383dc 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json
+++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json
@@ -86507,7 +86507,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"
],
@@ -86669,7 +86669,7 @@
},
"responses": {
"200": {
- "description": "Artifact deployment record stored successfully.",
+ "description": "Deployment records created or updated successfully.\n",
"content": {
"application/json": {
"schema": {
@@ -171270,19 +171270,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.",
@@ -171291,6 +171300,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": {
@@ -171301,120 +171366,1208 @@
"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"
- ],
- "example": "organization"
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
},
- "value_type": {
+ "content_type": {
+ "title": "Projects v2 Item Content Type",
+ "description": "The type of content tracked in a project item",
"type": "string",
- "example": "single_select",
"enum": [
- "string",
- "single_select",
- "multi_select",
- "true_false",
- "url"
- ],
- "description": "The type of the value for the property"
+ "Issue",
+ "PullRequest",
+ "DraftIssue"
+ ]
},
- "required": {
- "type": "boolean",
- "description": "Whether the property is required."
+ "content": {
+ "type": "object",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
},
- "default_value": {
- "oneOf": [
- {
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
"type": "string"
},
- {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
}
- ],
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
"nullable": true,
- "description": "Default value of the property"
+ "description": "The time when the item was archived."
},
- "description": {
+ "item_url": {
"type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
"nullable": true,
- "description": "Short description of the property"
+ "description": "The API URL of this item."
},
- "allowed_values": {
+ "fields": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "additionalProperties": true
},
- "nullable": true,
- "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",
- "nullable": true,
- "enum": [
- "org_actors",
- "org_and_repo_actors"
- ],
- "example": "org_actors",
- "description": "Who can edit the values of the property"
+ "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"
+ ],
+ "example": "organization"
+ },
+ "value_type": {
+ "type": "string",
+ "example": "single_select",
+ "enum": [
+ "string",
+ "single_select",
+ "multi_select",
+ "true_false",
+ "url"
+ ],
+ "description": "The type of the value for the property"
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Whether the property is required."
+ },
+ "default_value": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ ],
+ "nullable": true,
+ "description": "Default value of the property"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "description": "Short description of the property"
+ },
+ "allowed_values": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "nullable": true,
+ "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",
+ "nullable": true,
+ "enum": [
+ "org_actors",
+ "org_and_repo_actors"
+ ],
+ "example": "org_actors",
+ "description": "Who can edit the values of the property"
+ }
+ },
+ "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"
+ }
+ ]
}
}
}
@@ -201227,1766 +202380,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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": [
{
@@ -533064,1188 +532468,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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)",
@@ -644096,433 +642318,1185 @@
}
]
}
- }
- }
- }
- },
- "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.",
- "nullable": true,
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "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",
- "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
- "description": "The API URL of the project that contains this item."
- },
- "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",
- "additionalProperties": true,
- "nullable": true,
- "description": "The content of the item, which varies by content type."
- },
- "creator": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "description": "The time when the item was created."
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "description": "The time when the item was last updated."
- },
- "archived_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "nullable": true,
- "description": "The time when the item was archived."
- },
- "item_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
- "nullable": true,
- "description": "The API URL of this item."
- },
- "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.",
+ "nullable": true,
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "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",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
+ },
+ "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",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
+ },
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
+ "type": "string"
+ },
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "nullable": true,
+ "description": "The time when the item was archived."
+ },
+ "item_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
+ "nullable": true,
+ "description": "The API URL of this item."
+ },
+ "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",
@@ -645274,7 +644248,7 @@
]
}
},
- "number_field": {
+ "date_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -646026,7 +645000,7 @@
]
}
},
- "date_field": {
+ "single_select_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -646778,7 +645752,7 @@
]
}
},
- "single_select_field": {
+ "iteration_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -647529,8 +646503,571 @@
}
]
}
- },
- "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",
+ "nullable": true
+ },
+ {
+ "type": "integer",
+ "nullable": true
+ },
+ {
+ "type": "array",
+ "nullable": true,
+ "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",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
+ },
+ "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",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
+ },
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
+ "type": "string"
+ },
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "nullable": true,
+ "description": "The time when the item was archived."
+ },
+ "item_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
+ "nullable": true,
+ "description": "The API URL of this item."
+ },
+ "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",
@@ -648284,34 +647821,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": {
@@ -648338,155 +647860,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",
- "nullable": true
- },
- {
- "type": "integer",
- "nullable": true
- },
- {
- "type": "array",
- "nullable": true,
- "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": {
@@ -648511,8 +647886,8 @@
}
}
},
- "401": {
- "description": "Requires authentication",
+ "404": {
+ "description": "Resource not found",
"content": {
"application/json": {
"schema": {
@@ -648540,7 +647915,7 @@
},
"x-github": {
"githubCloudOnly": false,
- "enabledForGitHubApps": true,
+ "enabledForGitHubApps": false,
"category": "projects",
"subcategory": "items"
}
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
index ed8839170..7517342b2 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
+++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
@@ -8795,7 +8795,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
- - &483
+ - &481
name: has
in: query
description: |-
@@ -8911,7 +8911,7 @@ paths:
- unknown
- direct
- transitive
- security_advisory: &484
+ security_advisory: &482
type: object
description: Details for the GitHub Security Advisory.
readOnly: true
@@ -9173,14 +9173,14 @@ paths:
format: date-time
readOnly: true
nullable: true
- auto_dismissed_at: &485
+ auto_dismissed_at: &483
type: string
description: 'The time that the alert was auto-dismissed in
ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.'
format: date-time
readOnly: true
nullable: true
- dismissal_request: &486
+ dismissal_request: &484
title: Dependabot alert dismissal request
description: Information about an active dismissal request for
this Dependabot alert.
@@ -10542,7 +10542,7 @@ paths:
properties:
action:
type: string
- discussion: &740
+ discussion: &741
title: Discussion
description: A Discussion in a repository.
type: object
@@ -11424,7 +11424,7 @@ paths:
action:
type: string
issue: *74
- comment: &533
+ comment: &531
title: Issue Comment
description: Comments provide a way for people to collaborate
on an issue.
@@ -16110,14 +16110,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories
parameters:
- - &334
+ - &330
name: owner
description: The account owner of the repository. The name is not case sensitive.
in: path
required: true
schema:
type: string
- - &335
+ - &331
name: repo
description: The name of the repository without the `.git` extension. The
name is not case sensitive.
@@ -16179,7 +16179,7 @@ paths:
'404': *6
'403': *29
'304': *37
- '301': &338
+ '301': &334
description: Moved permanently
content:
application/json:
@@ -18318,7 +18318,7 @@ paths:
required: false
schema:
type: string
- - &717
+ - &718
name: model
description: The model name to query usage for. The name is not case sensitive.
in: query
@@ -18464,7 +18464,7 @@ paths:
parameters:
- *67
- *114
- - &718
+ - &719
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
@@ -18576,7 +18576,7 @@ paths:
- *114
- *116
- *115
- - &719
+ - &720
name: repository
description: The repository name to query for usage in the format owner/repository.
in: query
@@ -18584,7 +18584,7 @@ paths:
schema:
type: string
- *117
- - &720
+ - &721
name: sku
description: The SKU to query for usage.
in: query
@@ -19486,7 +19486,7 @@ paths:
type: integer
repository_cache_usages:
type: array
- items: &345
+ items: &341
title: Actions Cache Usage by repository
description: GitHub Actions Cache Usage by repository.
type: object
@@ -20678,7 +20678,7 @@ paths:
- all
- local_only
- selected
- selected_actions_url: &351
+ selected_actions_url: &347
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`
@@ -20761,7 +20761,7 @@ paths:
description: Response
content:
application/json:
- schema: &355
+ schema: &351
type: object
properties:
days:
@@ -20803,7 +20803,7 @@ paths:
required: true
content:
application/json:
- schema: &356
+ schema: &352
type: object
properties:
days:
@@ -20860,7 +20860,7 @@ paths:
required:
- approval_policy
examples:
- default: &357
+ default: &353
value:
approval_policy: first_time_contributors
'404': *6
@@ -20919,7 +20919,7 @@ paths:
description: Response
content:
application/json:
- schema: &358
+ schema: &354
type: object
required:
- run_workflows_from_fork_pull_requests
@@ -20973,7 +20973,7 @@ paths:
required: true
content:
application/json:
- schema: &359
+ schema: &355
type: object
required:
- run_workflows_from_fork_pull_requests
@@ -21608,7 +21608,7 @@ paths:
description: Response
content:
application/json:
- schema: &360
+ schema: &356
type: object
properties:
default_workflow_permissions: &144
@@ -21659,7 +21659,7 @@ paths:
required: false
content:
application/json:
- schema: &361
+ schema: &357
type: object
properties:
default_workflow_permissions: *144
@@ -22790,7 +22790,7 @@ paths:
application/json:
schema:
type: array
- items: &362
+ items: &358
title: Runner Application
description: Runner Application
type: object
@@ -22815,7 +22815,7 @@ paths:
- download_url
- filename
examples:
- default: &363
+ default: &359
value:
- os: osx
architecture: x64
@@ -22901,7 +22901,7 @@ paths:
- no-gpu
work_folder: _work
responses:
- '201': &364
+ '201': &360
description: Response
content:
application/json:
@@ -23012,7 +23012,7 @@ paths:
- token
- expires_at
examples:
- default: &365
+ default: &361
value:
token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6
expires_at: '2020-01-22T12:13:35.123-08:00'
@@ -23051,7 +23051,7 @@ paths:
application/json:
schema: *155
examples:
- default: &366
+ default: &362
value:
token: AABF3JGZDX3P5PMEXLND6TS6FCWO6
expires_at: '2020-01-29T12:13:35.123-08:00'
@@ -23085,7 +23085,7 @@ paths:
application/json:
schema: *153
examples:
- default: &367
+ default: &363
value:
id: 23
name: MBP
@@ -23311,7 +23311,7 @@ paths:
- *67
- *152
responses:
- '200': &368
+ '200': &364
description: Response
content:
application/json:
@@ -23368,7 +23368,7 @@ paths:
parameters:
- *67
- *152
- - &369
+ - &365
name: name
description: The name of a self-hosted runner's custom label.
in: path
@@ -23498,7 +23498,7 @@ paths:
description: Response
content:
application/json:
- schema: &381
+ schema: &377
title: ActionsPublicKey
description: The public key used for setting Actions Secrets.
type: object
@@ -23527,7 +23527,7 @@ paths:
- key_id
- key
examples:
- default: &382
+ default: &378
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -23940,7 +23940,7 @@ paths:
url: https://docs.github.com/rest/actions/variables#list-organization-variables
parameters:
- *67
- - &350
+ - &346
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)."
@@ -24597,7 +24597,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
@@ -24729,7 +24733,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:
@@ -25482,7 +25488,7 @@ paths:
initiator:
type: string
examples:
- default: &395
+ default: &391
value:
attestations:
- bundle:
@@ -26411,7 +26417,7 @@ paths:
url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
parameters:
- *67
- - &420
+ - &416
name: tool_name
description: The name of a code scanning tool. Only results by this tool will
be listed. You can specify the tool by using either `tool_name` or `tool_guid`,
@@ -26421,7 +26427,7 @@ paths:
schema: &176
type: string
description: The name of the tool used to generate the code scanning analysis.
- - &421
+ - &417
name: tool_guid
description: The GUID of a code scanning tool. Only results by this tool will
be listed. Note that some code scanning tools may not include a GUID in
@@ -26444,7 +26450,7 @@ paths:
be returned.
in: query
required: false
- schema: &423
+ schema: &419
type: string
description: State of a code scanning alert.
enum:
@@ -26467,7 +26473,7 @@ paths:
be returned.
in: query
required: false
- schema: &424
+ schema: &420
type: string
description: Severity of a code scanning alert.
enum:
@@ -26501,7 +26507,7 @@ paths:
updated_at: *171
url: *172
html_url: *173
- instances_url: &425
+ instances_url: &421
type: string
description: The REST API URL for fetching the list of instances
for an alert.
@@ -26524,7 +26530,7 @@ paths:
required: *21
nullable: true
dismissed_at: *175
- dismissed_reason: &426
+ dismissed_reason: &422
type: string
description: "**Required when the state is dismissed.** The
reason for dismissing or closing the alert."
@@ -26533,13 +26539,13 @@ paths:
- false positive
- won't fix
- used in tests
- dismissed_comment: &427
+ dismissed_comment: &423
type: string
description: The dismissal comment associated with the dismissal
of the alert.
nullable: true
maxLength: 280
- rule: &428
+ rule: &424
type: object
properties:
id:
@@ -26592,7 +26598,7 @@ paths:
type: string
description: A link to the documentation for the rule used
to detect the alert.
- tool: &429
+ tool: &425
type: object
properties:
name: *176
@@ -26602,26 +26608,26 @@ paths:
description: The version of the tool used to generate the
code scanning analysis.
guid: *177
- most_recent_instance: &430
+ most_recent_instance: &426
type: object
properties:
- ref: &422
+ ref: &418
type: string
description: |-
The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,
`refs/heads/` or simply ``.
- analysis_key: &440
+ analysis_key: &436
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: &441
+ environment: &437
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: &442
+ category: &438
type: string
description: Identifies the configuration under which the
analysis was executed. Used to distinguish between multiple
@@ -26635,7 +26641,7 @@ paths:
properties:
text:
type: string
- location: &443
+ location: &439
type: object
description: Describe a region within a file for the alert.
properties:
@@ -26656,7 +26662,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: &444
+ items: &440
type: string
description: A classification of the file. For example
to identify it as generated.
@@ -27945,7 +27951,7 @@ paths:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: &456
+ properties: &452
name:
type: string
description: The name of the machine.
@@ -27987,7 +27993,7 @@ paths:
- ready
- in_progress
nullable: true
- required: &457
+ required: &453
- name
- display_name
- operating_system
@@ -28855,7 +28861,7 @@ paths:
- updated_at
- visibility
examples:
- default: &458
+ default: &454
value:
total_count: 2
secrets:
@@ -28893,7 +28899,7 @@ paths:
description: Response
content:
application/json:
- schema: &459
+ schema: &455
title: CodespacesPublicKey
description: The public key used for setting Codespaces secrets.
type: object
@@ -28922,7 +28928,7 @@ paths:
- key_id
- key
examples:
- default: &460
+ default: &456
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -28954,7 +28960,7 @@ paths:
application/json:
schema: *186
examples:
- default: &462
+ default: &458
value:
name: GH_TOKEN
created_at: '2019-08-10T14:59:22Z'
@@ -30567,7 +30573,7 @@ paths:
description: Response
content:
application/json:
- schema: &489
+ schema: &487
title: DependabotPublicKey
description: The public key used for setting Dependabot Secrets.
type: object
@@ -30584,7 +30590,7 @@ paths:
- key_id
- key
examples:
- default: &490
+ default: &488
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -32384,7 +32390,7 @@ paths:
application/json:
schema: *22
examples:
- default: &528
+ default: &526
value:
id: 1
account:
@@ -32609,7 +32615,7 @@ paths:
required: true
content:
application/json:
- schema: &529
+ schema: &527
title: Interaction Restrictions
description: Limit interactions to a specific type of user for a specified
duration
@@ -33462,7 +33468,7 @@ paths:
application/json:
schema: *232
examples:
- default: &455
+ default: &451
value:
id: 1
name: monalisa-octocat-hello-world-g4wpq6h95q
@@ -37583,7 +37589,7 @@ paths:
title: Projects v2 Status Update
description: An status update belonging to a project
type: object
- properties: &771
+ properties: &772
id:
type: number
description: The unique identifier of the status update.
@@ -37631,7 +37637,7 @@ paths:
example: The project is off to a great start!
type: string
nullable: true
- required: &772
+ required: &773
- id
- node_id
- created_at
@@ -37845,7 +37851,7 @@ paths:
content:
oneOf:
- *74
- - &470
+ - &468
title: Pull Request Simple
description: Pull Request Simple
type: object
@@ -39994,6 +40000,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:
+ - *263
+ - *67
+ - &717
+ 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
+ - *45
+ - *46
+ - *17
+ responses:
+ '200':
+ description: Response
+ content:
+ application/json:
+ schema:
+ type: array
+ items: *271
+ examples:
+ default: *272
+ headers:
+ Link: *58
+ '304': *37
+ '403': *29
+ '401': *25
+ '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
@@ -40860,7 +40926,7 @@ paths:
description: Response
content:
application/json:
- schema: &337
+ schema: &333
title: Full Repository
description: Full Repository
type: object
@@ -41253,7 +41319,7 @@ paths:
title: Code Of Conduct Simple
description: Code of Conduct Simple
type: object
- properties: &475
+ properties: &473
url:
type: string
format: uri
@@ -41269,7 +41335,7 @@ paths:
nullable: true
format: uri
example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md
- required: &476
+ required: &474
- url
- key
- name
@@ -41358,7 +41424,7 @@ paths:
- network_count
- subscribers_count
examples:
- default: &339
+ default: &335
value:
id: 1296269
node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5
@@ -47702,407 +47768,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:
- - *67
- - *68
- - *325
- - *328
- - 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: &329
- 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
- example: 1
- node_id:
- type: string
- example: MDg6UmVhY3Rpb24x
- user:
- title: Simple User
- description: A GitHub user.
- type: object
- properties: *20
- required: *21
- nullable: true
- content:
- description: The reaction to use
- example: heart
- type: string
- enum:
- - "+1"
- - "-1"
- - laugh
- - confused
- - heart
- - hooray
- - rocket
- - eyes
- created_at:
- type: string
- format: date-time
- example: '2016-05-20T20:09:31Z'
- required:
- - id
- - node_id
- - user
- - content
- - created_at
- examples:
- default: &331
- 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: *58
- 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:
- - *67
- - *68
- - *325
- - *328
- 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: *329
- examples:
- default: &330
- 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: *329
- examples:
- default: *330
- 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:
- - *67
- - *68
- - *325
- - *328
- - &332
- 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:
- - *67
- - *68
- - *325
- - 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: *329
- examples:
- default: *331
- headers:
- Link: *58
- 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:
- - *67
- - *68
- - *325
- 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: *329
- examples:
- default: *330
- '201':
- description: Response
- content:
- application/json:
- schema: *329
- examples:
- default: *330
- 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:
- - *67
- - *68
- - *325
- - *332
- 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
@@ -48215,7 +47880,7 @@ paths:
description: Response
content:
application/json:
- schema: &333
+ schema: &329
title: Team Membership
description: Team Membership
type: object
@@ -48305,7 +47970,7 @@ paths:
description: Response
content:
application/json:
- schema: *333
+ schema: *329
examples:
response-if-users-membership-with-team-is-now-pending: &666
summary: Response if user's membership with team is now pending
@@ -48414,8 +48079,8 @@ paths:
parameters:
- *67
- *68
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Alternative response with repository permissions
@@ -48992,8 +48657,8 @@ paths:
parameters:
- *67
- *68
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -49040,8 +48705,8 @@ paths:
parameters:
- *67
- *68
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -49232,7 +48897,7 @@ paths:
resources:
type: object
properties:
- core: &336
+ core: &332
title: Rate Limit
type: object
properties:
@@ -49249,21 +48914,21 @@ paths:
- remaining
- reset
- used
- graphql: *336
- search: *336
- code_search: *336
- source_import: *336
- integration_manifest: *336
- code_scanning_upload: *336
- actions_runner_registration: *336
- scim: *336
- dependency_snapshots: *336
- dependency_sbom: *336
- code_scanning_autofix: *336
+ graphql: *332
+ search: *332
+ code_search: *332
+ source_import: *332
+ integration_manifest: *332
+ code_scanning_upload: *332
+ actions_runner_registration: *332
+ scim: *332
+ dependency_snapshots: *332
+ dependency_sbom: *332
+ code_scanning_autofix: *332
required:
- core
- search
- rate: *336
+ rate: *332
required:
- rate
- resources
@@ -49368,14 +49033,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#get-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
default-response:
summary: Default response
@@ -49876,7 +49541,7 @@ paths:
status: disabled
'403': *29
'404': *6
- '301': *338
+ '301': *334
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -49894,8 +49559,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#update-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -50142,10 +49807,10 @@ paths:
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
- '307': &340
+ default: *335
+ '307': &336
description: Temporary Redirect
content:
application/json:
@@ -50174,8 +49839,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#delete-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -50197,7 +49862,7 @@ paths:
value:
message: Organization members cannot delete repositories.
documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository
- '307': *340
+ '307': *336
'404': *6
'409': *51
x-github:
@@ -50221,11 +49886,11 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
- - &373
+ - &369
name: name
description: The name field of an artifact. When specified, only artifacts
with this name will be returned.
@@ -50248,7 +49913,7 @@ paths:
type: integer
artifacts:
type: array
- items: &341
+ items: &337
title: Artifact
description: An artifact
type: object
@@ -50326,7 +49991,7 @@ paths:
- expires_at
- updated_at
examples:
- default: &374
+ default: &370
value:
total_count: 2
artifacts:
@@ -50387,9 +50052,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#get-an-artifact
parameters:
- - *334
- - *335
- - &342
+ - *330
+ - *331
+ - &338
name: artifact_id
description: The unique identifier of the artifact.
in: path
@@ -50401,7 +50066,7 @@ paths:
description: Response
content:
application/json:
- schema: *341
+ schema: *337
examples:
default:
value:
@@ -50439,9 +50104,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact
parameters:
- - *334
- - *335
- - *342
+ - *330
+ - *331
+ - *338
responses:
'204':
description: Response
@@ -50465,9 +50130,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#download-an-artifact
parameters:
- - *334
- - *335
- - *342
+ - *330
+ - *331
+ - *338
- name: archive_format
in: path
required: true
@@ -50481,7 +50146,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': &532
+ '410': &530
description: Gone
content:
application/json:
@@ -50506,14 +50171,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: &343
+ schema: &339
title: Actions cache retention limit for a repository
description: GitHub Actions cache retention policy for a repository.
type: object
@@ -50546,13 +50211,13 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *343
+ schema: *339
examples:
selected_actions: *42
responses:
@@ -50581,14 +50246,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: &344
+ schema: &340
title: Actions cache storage limit for a repository
description: GitHub Actions cache storage policy for a repository.
type: object
@@ -50621,13 +50286,13 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *344
+ schema: *340
examples:
selected_actions: *44
responses:
@@ -50658,14 +50323,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *345
+ schema: *341
examples:
default:
value:
@@ -50691,11 +50356,11 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
- - &346
+ - &342
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
@@ -50729,7 +50394,7 @@ paths:
description: Response
content:
application/json:
- schema: &347
+ schema: &343
title: Repository actions caches
description: Repository actions caches
type: object
@@ -50771,7 +50436,7 @@ paths:
- total_count
- actions_caches
examples:
- default: &348
+ default: &344
value:
total_count: 1
actions_caches:
@@ -50803,23 +50468,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:
- - *334
- - *335
+ - *330
+ - *331
- name: key
description: A key for identifying the cache.
in: query
required: true
schema:
type: string
- - *346
+ - *342
responses:
'200':
description: Response
content:
application/json:
- schema: *347
+ schema: *343
examples:
- default: *348
+ default: *344
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -50839,8 +50504,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:
- - *334
- - *335
+ - *330
+ - *331
- name: cache_id
description: The unique identifier of the GitHub Actions cache.
in: path
@@ -50871,9 +50536,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run
parameters:
- - *334
- - *335
- - &349
+ - *330
+ - *331
+ - &345
name: job_id
description: The unique identifier of the job.
in: path
@@ -50885,7 +50550,7 @@ paths:
description: Response
content:
application/json:
- schema: &377
+ schema: &373
title: Job
description: Information of a job execution in a workflow run
type: object
@@ -51192,9 +50857,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run
parameters:
- - *334
- - *335
- - *349
+ - *330
+ - *331
+ - *345
responses:
'302':
description: Response
@@ -51222,9 +50887,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run
parameters:
- - *334
- - *335
- - *349
+ - *330
+ - *331
+ - *345
requestBody:
required: false
content:
@@ -51269,8 +50934,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Status response
@@ -51320,8 +50985,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -51384,8 +51049,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -51403,7 +51068,7 @@ paths:
type: integer
secrets:
type: array
- items: &379
+ items: &375
title: Actions Secret
description: Set secrets for GitHub Actions.
type: object
@@ -51423,7 +51088,7 @@ paths:
- created_at
- updated_at
examples:
- default: &380
+ default: &376
value:
total_count: 2
secrets:
@@ -51456,9 +51121,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables
parameters:
- - *334
- - *335
- - *350
+ - *330
+ - *331
+ - *346
- *19
responses:
'200':
@@ -51475,7 +51140,7 @@ paths:
type: integer
variables:
type: array
- items: &383
+ items: &379
title: Actions Variable
type: object
properties:
@@ -51505,7 +51170,7 @@ paths:
- created_at
- updated_at
examples:
- default: &384
+ default: &380
value:
total_count: 2
variables:
@@ -51538,8 +51203,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -51548,11 +51213,11 @@ paths:
schema:
type: object
properties:
- enabled: &352
+ enabled: &348
type: boolean
description: Whether GitHub Actions is enabled on the repository.
allowed_actions: *136
- selected_actions_url: *351
+ selected_actions_url: *347
sha_pinning_required: *137
required:
- enabled
@@ -51581,8 +51246,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -51593,7 +51258,7 @@ paths:
schema:
type: object
properties:
- enabled: *352
+ enabled: *348
allowed_actions: *136
sha_pinning_required: *137
required:
@@ -51625,14 +51290,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: &353
+ schema: &349
type: object
properties:
access_level:
@@ -51649,7 +51314,7 @@ paths:
required:
- access_level
examples:
- default: &354
+ default: &350
value:
access_level: organization
x-github:
@@ -51673,15 +51338,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *353
+ schema: *349
examples:
- default: *354
+ default: *350
responses:
'204':
description: Response
@@ -51705,14 +51370,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *355
+ schema: *351
examples:
default:
value:
@@ -51736,8 +51401,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Empty response for successful settings update
@@ -51747,7 +51412,7 @@ paths:
required: true
content:
application/json:
- schema: *356
+ schema: *352
examples:
default:
summary: Set retention days
@@ -51771,8 +51436,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -51780,7 +51445,7 @@ paths:
application/json:
schema: *138
examples:
- default: *357
+ default: *353
'404': *6
x-github:
enabledForGitHubApps: true
@@ -51799,8 +51464,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -51834,14 +51499,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *358
+ schema: *354
examples:
default: *139
'403': *29
@@ -51863,13 +51528,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *359
+ schema: *355
examples:
default: *139
responses:
@@ -51895,8 +51560,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -51923,8 +51588,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -51956,14 +51621,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *360
+ schema: *356
examples:
default: *146
x-github:
@@ -51986,8 +51651,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Success response
@@ -51998,7 +51663,7 @@ paths:
required: true
content:
application/json:
- schema: *361
+ schema: *357
examples:
default: *146
x-github:
@@ -52027,8 +51692,8 @@ paths:
in: query
schema:
type: string
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -52072,8 +51737,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -52081,9 +51746,9 @@ paths:
application/json:
schema:
type: array
- items: *362
+ items: *358
examples:
- default: *363
+ default: *359
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52105,8 +51770,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -52149,7 +51814,7 @@ paths:
- no-gpu
work_folder: _work
responses:
- '201': *364
+ '201': *360
'404': *6
'422': *7
'409': *51
@@ -52180,8 +51845,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'201':
description: Response
@@ -52189,7 +51854,7 @@ paths:
application/json:
schema: *155
examples:
- default: *365
+ default: *361
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52217,8 +51882,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'201':
description: Response
@@ -52226,7 +51891,7 @@ paths:
application/json:
schema: *155
examples:
- default: *366
+ default: *362
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52248,8 +51913,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
responses:
'200':
@@ -52258,7 +51923,7 @@ paths:
application/json:
schema: *153
examples:
- default: *367
+ default: *363
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -52279,8 +51944,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
responses:
'204':
@@ -52307,8 +51972,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
responses:
'200': *157
@@ -52333,8 +51998,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
requestBody:
required: true
@@ -52383,8 +52048,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
requestBody:
required: true
@@ -52434,11 +52099,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
responses:
- '200': *368
+ '200': *364
'404': *6
x-github:
githubCloudOnly: false
@@ -52465,10 +52130,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:
- - *334
- - *335
+ - *330
+ - *331
- *152
- - *369
+ - *365
responses:
'200': *157
'404': *6
@@ -52496,9 +52161,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository
parameters:
- - *334
- - *335
- - &387
+ - *330
+ - *331
+ - &383
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.
@@ -52506,7 +52171,7 @@ paths:
required: false
schema:
type: string
- - &388
+ - &384
name: branch
description: Returns workflow runs associated with a branch. Use the name
of the branch of the `push`.
@@ -52514,7 +52179,7 @@ paths:
required: false
schema:
type: string
- - &389
+ - &385
name: event
description: Returns workflow run triggered by the event you specify. For
example, `push`, `pull_request` or `issue`. For more information, see "[Events
@@ -52523,7 +52188,7 @@ paths:
required: false
schema:
type: string
- - &390
+ - &386
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
@@ -52550,7 +52215,7 @@ paths:
- pending
- *17
- *19
- - &391
+ - &387
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)."
@@ -52559,7 +52224,7 @@ paths:
schema:
type: string
format: date-time
- - &370
+ - &366
name: exclude_pull_requests
description: If `true` pull requests are omitted from the response (empty
array).
@@ -52568,13 +52233,13 @@ paths:
schema:
type: boolean
default: false
- - &392
+ - &388
name: check_suite_id
description: Returns workflow runs with the `check_suite_id` that you specify.
in: query
schema:
type: integer
- - &393
+ - &389
name: head_sha
description: Only returns workflow runs that are associated with the specified
`head_sha`.
@@ -52597,7 +52262,7 @@ paths:
type: integer
workflow_runs:
type: array
- items: &371
+ items: &367
title: Workflow Run
description: An invocation of a workflow
type: object
@@ -52745,7 +52410,7 @@ paths:
title: Simple Commit
description: A commit.
type: object
- properties: &415
+ properties: &411
id:
type: string
description: SHA for the commit
@@ -52796,7 +52461,7 @@ paths:
- name
- email
nullable: true
- required: &416
+ required: &412
- id
- tree_id
- message
@@ -52843,7 +52508,7 @@ paths:
- workflow_url
- pull_requests
examples:
- default: &394
+ default: &390
value:
total_count: 1
workflow_runs:
@@ -53079,24 +52744,24 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run
parameters:
- - *334
- - *335
- - &372
+ - *330
+ - *331
+ - &368
name: run_id
description: The unique identifier of the workflow run.
in: path
required: true
schema:
type: integer
- - *370
+ - *366
responses:
'200':
description: Response
content:
application/json:
- schema: *371
+ schema: *367
examples:
- default: &375
+ default: &371
value:
id: 30433642
name: Build
@@ -53337,9 +53002,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'204':
description: Response
@@ -53362,9 +53027,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'200':
description: Response
@@ -53483,9 +53148,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:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'201':
description: Response
@@ -53518,12 +53183,12 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
- *17
- *19
- - *373
+ - *369
responses:
'200':
description: Response
@@ -53539,9 +53204,9 @@ paths:
type: integer
artifacts:
type: array
- items: *341
+ items: *337
examples:
- default: *374
+ default: *370
headers:
Link: *58
x-github:
@@ -53565,25 +53230,25 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt
parameters:
- - *334
- - *335
- - *372
- - &376
+ - *330
+ - *331
+ - *368
+ - &372
name: attempt_number
description: The attempt number of the workflow run.
in: path
required: true
schema:
type: integer
- - *370
+ - *366
responses:
'200':
description: Response
content:
application/json:
- schema: *371
+ schema: *367
examples:
- default: *375
+ default: *371
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -53606,10 +53271,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt
parameters:
- - *334
- - *335
+ - *330
+ - *331
+ - *368
- *372
- - *376
- *17
- *19
responses:
@@ -53627,9 +53292,9 @@ paths:
type: integer
jobs:
type: array
- items: *377
+ items: *373
examples:
- default: &378
+ default: &374
value:
total_count: 1
jobs:
@@ -53742,10 +53407,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs
parameters:
- - *334
- - *335
+ - *330
+ - *331
+ - *368
- *372
- - *376
responses:
'302':
description: Response
@@ -53773,9 +53438,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'202':
description: Response
@@ -53808,9 +53473,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:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
requestBody:
required: true
content:
@@ -53877,9 +53542,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'202':
description: Response
@@ -53912,9 +53577,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
- 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
@@ -53944,9 +53609,9 @@ paths:
type: integer
jobs:
type: array
- items: *377
+ items: *373
examples:
- default: *378
+ default: *374
headers:
Link: *58
x-github:
@@ -53971,9 +53636,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'302':
description: Response
@@ -54000,9 +53665,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'204':
description: Response
@@ -54029,9 +53694,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'200':
description: Response
@@ -54091,7 +53756,7 @@ paths:
items:
type: object
properties:
- type: &498
+ type: &496
type: string
description: The type of reviewer.
enum:
@@ -54176,9 +53841,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
requestBody:
required: true
content:
@@ -54225,7 +53890,7 @@ paths:
application/json:
schema:
type: array
- items: &493
+ items: &491
title: Deployment
description: A request for a specific ref(branch,sha,tag) to be
deployed
@@ -54331,7 +53996,7 @@ paths:
- created_at
- updated_at
examples:
- default: &494
+ default: &492
value:
- url: https://api.github.com/repos/octocat/example/deployments/1
id: 1
@@ -54387,9 +54052,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
requestBody:
required: false
content:
@@ -54433,9 +54098,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
requestBody:
required: false
content:
@@ -54488,9 +54153,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage
parameters:
- - *334
- - *335
- - *372
+ - *330
+ - *331
+ - *368
responses:
'200':
description: Response
@@ -54627,8 +54292,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#list-repository-secrets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -54646,9 +54311,9 @@ paths:
type: integer
secrets:
type: array
- items: *379
+ items: *375
examples:
- default: *380
+ default: *376
headers:
Link: *58
x-github:
@@ -54673,16 +54338,16 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *381
+ schema: *377
examples:
- default: *382
+ default: *378
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -54704,17 +54369,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'200':
description: Response
content:
application/json:
- schema: *379
+ schema: *375
examples:
- default: &511
+ default: &509
value:
name: GH_TOKEN
created_at: '2019-08-10T14:59:22Z'
@@ -54740,8 +54405,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
requestBody:
required: true
@@ -54799,8 +54464,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'204':
@@ -54826,9 +54491,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#list-repository-variables
parameters:
- - *334
- - *335
- - *350
+ - *330
+ - *331
+ - *346
- *19
responses:
'200':
@@ -54845,9 +54510,9 @@ paths:
type: integer
variables:
type: array
- items: *383
+ items: *379
examples:
- default: *384
+ default: *380
headers:
Link: *58
x-github:
@@ -54870,8 +54535,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#create-a-repository-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -54923,17 +54588,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#get-a-repository-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
responses:
'200':
description: Response
content:
application/json:
- schema: *383
+ schema: *379
examples:
- default: &512
+ default: &510
value:
name: USERNAME
value: octocat
@@ -54959,8 +54624,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#update-a-repository-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
requestBody:
required: true
@@ -55003,8 +54668,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
responses:
'204':
@@ -55030,8 +54695,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#list-repository-workflows
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -55049,7 +54714,7 @@ paths:
type: integer
workflows:
type: array
- items: &385
+ items: &381
title: Workflow
description: A GitHub Actions workflow
type: object
@@ -55156,9 +54821,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#get-a-workflow
parameters:
- - *334
- - *335
- - &386
+ - *330
+ - *331
+ - &382
name: workflow_id
in: path
description: The ID of the workflow. You can also pass the workflow file name
@@ -55173,7 +54838,7 @@ paths:
description: Response
content:
application/json:
- schema: *385
+ schema: *381
examples:
default:
value:
@@ -55206,9 +54871,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#disable-a-workflow
parameters:
- - *334
- - *335
- - *386
+ - *330
+ - *331
+ - *382
responses:
'204':
description: Response
@@ -55233,9 +54898,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event
parameters:
- - *334
- - *335
- - *386
+ - *330
+ - *331
+ - *382
responses:
'204':
description: Response
@@ -55286,9 +54951,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#enable-a-workflow
parameters:
- - *334
- - *335
- - *386
+ - *330
+ - *331
+ - *382
responses:
'204':
description: Response
@@ -55315,19 +54980,19 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow
parameters:
- - *334
- - *335
+ - *330
+ - *331
+ - *382
+ - *383
+ - *384
+ - *385
- *386
+ - *17
+ - *19
- *387
+ - *366
- *388
- *389
- - *390
- - *17
- - *19
- - *391
- - *370
- - *392
- - *393
responses:
'200':
description: Response
@@ -55343,9 +55008,9 @@ paths:
type: integer
workflow_runs:
type: array
- items: *371
+ items: *367
examples:
- default: *394
+ default: *390
headers:
Link: *58
x-github:
@@ -55377,9 +55042,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/workflows#get-workflow-usage
parameters:
- - *334
- - *335
- - *386
+ - *330
+ - *331
+ - *382
responses:
'200':
description: Response
@@ -55440,8 +55105,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-activities
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *52
- *17
- *45
@@ -55605,8 +55270,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/assignees#list-assignees
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -55643,8 +55308,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: assignee
in: path
required: true
@@ -55680,8 +55345,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/attestations#create-an-attestation
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -55793,8 +55458,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/attestations#list-attestations
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *45
- *46
@@ -55851,7 +55516,7 @@ paths:
initiator:
type: string
examples:
- default: *395
+ default: *391
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -55871,8 +55536,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -55880,7 +55545,7 @@ paths:
application/json:
schema:
type: array
- items: &396
+ items: &392
title: Autolink reference
description: An autolink reference.
type: object
@@ -55934,8 +55599,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -55974,9 +55639,9 @@ paths:
description: response
content:
application/json:
- schema: *396
+ schema: *392
examples:
- default: &397
+ default: &393
value:
id: 1
key_prefix: TICKET-
@@ -56007,9 +55672,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository
parameters:
- - *334
- - *335
- - &398
+ - *330
+ - *331
+ - &394
name: autolink_id
description: The unique identifier of the autolink.
in: path
@@ -56021,9 +55686,9 @@ paths:
description: Response
content:
application/json:
- schema: *396
+ schema: *392
examples:
- default: *397
+ default: *393
'404': *6
x-github:
githubCloudOnly: false
@@ -56043,9 +55708,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository
parameters:
- - *334
- - *335
- - *398
+ - *330
+ - *331
+ - *394
responses:
'204':
description: Response
@@ -56069,8 +55734,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response if Dependabot is enabled
@@ -56118,8 +55783,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -56140,8 +55805,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -56161,8 +55826,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#list-branches
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: protected
description: Setting to `true` returns only branches protected by branch protections
or rulesets. When set to `false`, only unprotected branches are returned.
@@ -56200,7 +55865,7 @@ paths:
- url
protected:
type: boolean
- protection: &400
+ protection: &396
title: Branch Protection
description: Branch Protection
type: object
@@ -56242,7 +55907,7 @@ paths:
required:
- contexts
- checks
- enforce_admins: &403
+ enforce_admins: &399
title: Protected Branch Admin Enforced
description: Protected Branch Admin Enforced
type: object
@@ -56257,7 +55922,7 @@ paths:
required:
- url
- enabled
- required_pull_request_reviews: &405
+ required_pull_request_reviews: &401
title: Protected Branch Pull Request Review
description: Protected Branch Pull Request Review
type: object
@@ -56333,7 +55998,7 @@ paths:
required:
- dismiss_stale_reviews
- require_code_owner_reviews
- restrictions: &402
+ restrictions: &398
title: Branch Restriction Policy
description: Branch Restriction Policy
type: object
@@ -56610,9 +56275,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#get-a-branch
parameters:
- - *334
- - *335
- - &401
+ - *330
+ - *331
+ - &397
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).
@@ -56626,14 +56291,14 @@ paths:
description: Response
content:
application/json:
- schema: &411
+ schema: &407
title: Branch With Protection
description: Branch With Protection
type: object
properties:
name:
type: string
- commit: &466
+ commit: &464
title: Commit
description: Commit
type: object
@@ -56667,7 +56332,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: &399
+ properties: &395
name:
type: string
example: '"Chris Wanstrath"'
@@ -56683,7 +56348,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: *399
+ properties: *395
nullable: true
message:
type: string
@@ -56704,7 +56369,7 @@ paths:
required:
- sha
- url
- verification: &518
+ verification: &516
title: Verification
type: object
properties:
@@ -56774,7 +56439,7 @@ paths:
type: integer
files:
type: array
- items: &479
+ items: &477
title: Diff Entry
description: Diff Entry
type: object
@@ -56858,7 +56523,7 @@ paths:
- self
protected:
type: boolean
- protection: *400
+ protection: *396
protection_url:
type: string
format: uri
@@ -56965,7 +56630,7 @@ paths:
contexts: []
checks: []
protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection
- '301': *338
+ '301': *334
'404': *6
x-github:
githubCloudOnly: false
@@ -56987,15 +56652,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *400
+ schema: *396
examples:
default:
value:
@@ -57189,9 +56854,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -57446,7 +57111,7 @@ paths:
url:
type: string
format: uri
- required_status_checks: &408
+ required_status_checks: &404
title: Status Check Policy
description: Status Check Policy
type: object
@@ -57598,7 +57263,7 @@ paths:
additionalProperties: false
required:
- enabled
- restrictions: *402
+ restrictions: *398
required_conversation_resolution:
type: object
properties:
@@ -57710,9 +57375,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -57737,17 +57402,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *403
+ schema: *399
examples:
- default: &404
+ default: &400
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins
enabled: true
@@ -57769,17 +57434,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *403
+ schema: *399
examples:
- default: *404
+ default: *400
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -57798,9 +57463,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -57825,17 +57490,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *405
+ schema: *401
examples:
- default: &406
+ default: &402
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews
dismissal_restrictions:
@@ -57931,9 +57596,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -58031,9 +57696,9 @@ paths:
description: Response
content:
application/json:
- schema: *405
+ schema: *401
examples:
- default: *406
+ default: *402
'422': *15
x-github:
githubCloudOnly: false
@@ -58054,9 +57719,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -58083,17 +57748,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *403
+ schema: *399
examples:
- default: &407
+ default: &403
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures
enabled: true
@@ -58116,17 +57781,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *403
+ schema: *399
examples:
- default: *407
+ default: *403
'404': *6
x-github:
githubCloudOnly: false
@@ -58146,9 +57811,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -58173,17 +57838,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *408
+ schema: *404
examples:
- default: &409
+ default: &405
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks
strict: true
@@ -58209,9 +57874,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -58263,9 +57928,9 @@ paths:
description: Response
content:
application/json:
- schema: *408
+ schema: *404
examples:
- default: *409
+ default: *405
'404': *6
'422': *15
x-github:
@@ -58287,9 +57952,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -58313,9 +57978,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
@@ -58349,9 +58014,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -58418,9 +58083,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -58484,9 +58149,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
content:
application/json:
@@ -58552,15 +58217,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
content:
application/json:
- schema: *402
+ schema: *398
examples:
default:
value:
@@ -58651,9 +58316,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'204':
description: Response
@@ -58676,9 +58341,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
@@ -58688,7 +58353,7 @@ paths:
type: array
items: *5
examples:
- default: &410
+ default: &406
value:
- id: 1
slug: octoapp
@@ -58745,9 +58410,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -58781,7 +58446,7 @@ paths:
type: array
items: *5
examples:
- default: *410
+ default: *406
'422': *15
x-github:
githubCloudOnly: false
@@ -58802,9 +58467,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -58838,7 +58503,7 @@ paths:
type: array
items: *5
examples:
- default: *410
+ default: *406
'422': *15
x-github:
githubCloudOnly: false
@@ -58859,9 +58524,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -58895,7 +58560,7 @@ paths:
type: array
items: *5
examples:
- default: *410
+ default: *406
'422': *15
x-github:
githubCloudOnly: false
@@ -58917,9 +58582,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
@@ -58949,9 +58614,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -59010,9 +58675,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: false
content:
@@ -59071,9 +58736,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
content:
application/json:
@@ -59132,9 +58797,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
responses:
'200':
description: Response
@@ -59168,9 +58833,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -59228,9 +58893,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -59288,9 +58953,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -59350,9 +59015,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#rename-a-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
requestBody:
required: true
content:
@@ -59374,7 +59039,7 @@ paths:
description: Response
content:
application/json:
- schema: *411
+ schema: *407
examples:
default:
value:
@@ -59490,8 +59155,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#create-a-check-run
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -59770,7 +59435,7 @@ paths:
description: Response
content:
application/json:
- schema: &412
+ schema: &408
title: CheckRun
description: A check performed on the code of a given code change
type: object
@@ -59890,7 +59555,7 @@ paths:
check.
type: array
items: *79
- deployment: &729
+ deployment: &730
title: Deployment
description: A deployment created as the result of an Actions
check run from a workflow that references an environment
@@ -60170,9 +59835,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#get-a-check-run
parameters:
- - *334
- - *335
- - &413
+ - *330
+ - *331
+ - &409
name: check_run_id
description: The unique identifier of the check run.
in: path
@@ -60184,9 +59849,9 @@ paths:
description: Response
content:
application/json:
- schema: *412
+ schema: *408
examples:
- default: &414
+ default: &410
value:
id: 4
head_sha: ce587453ced02b1526dfb4cb910479d431683101
@@ -60286,9 +59951,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#update-a-check-run
parameters:
- - *334
- - *335
- - *413
+ - *330
+ - *331
+ - *409
requestBody:
required: true
content:
@@ -60528,9 +60193,9 @@ paths:
description: Response
content:
application/json:
- schema: *412
+ schema: *408
examples:
- default: *414
+ default: *410
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -60550,9 +60215,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#list-check-run-annotations
parameters:
- - *334
- - *335
- - *413
+ - *330
+ - *331
+ - *409
- *17
- *19
responses:
@@ -60647,9 +60312,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run
parameters:
- - *334
- - *335
- - *413
+ - *330
+ - *331
+ - *409
responses:
'201':
description: Response
@@ -60693,8 +60358,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#create-a-check-suite
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -60716,7 +60381,7 @@ paths:
description: Response when the suite already exists
content:
application/json:
- schema: &417
+ schema: &413
title: CheckSuite
description: A suite of checks performed on the code of a given code
change
@@ -60802,12 +60467,12 @@ paths:
type: string
format: date-time
nullable: true
- head_commit: &755
+ head_commit: &756
title: Simple Commit
description: A commit.
type: object
- properties: *415
- required: *416
+ properties: *411
+ required: *412
latest_check_runs_count:
type: integer
check_runs_url:
@@ -60835,7 +60500,7 @@ paths:
- check_runs_url
- pull_requests
examples:
- default: &418
+ default: &414
value:
id: 5
node_id: MDEwOkNoZWNrU3VpdGU1
@@ -61126,9 +60791,9 @@ paths:
description: Response when the suite was created
content:
application/json:
- schema: *417
+ schema: *413
examples:
- default: *418
+ default: *414
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -61147,8 +60812,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -61457,9 +61122,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#get-a-check-suite
parameters:
- - *334
- - *335
- - &419
+ - *330
+ - *331
+ - &415
name: check_suite_id
description: The unique identifier of the check suite.
in: path
@@ -61471,9 +61136,9 @@ paths:
description: Response
content:
application/json:
- schema: *417
+ schema: *413
examples:
- default: *418
+ default: *414
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -61496,17 +61161,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite
parameters:
- - *334
- - *335
- - *419
- - &472
+ - *330
+ - *331
+ - *415
+ - &470
name: check_name
description: Returns check runs with the specified `name`.
in: query
required: false
schema:
type: string
- - &473
+ - &471
name: status
description: Returns check runs with the specified `status`.
in: query
@@ -61545,9 +61210,9 @@ paths:
type: integer
check_runs:
type: array
- items: *412
+ items: *408
examples:
- default: &474
+ default: &472
value:
total_count: 1
check_runs:
@@ -61649,9 +61314,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite
parameters:
- - *334
- - *335
- - *419
+ - *330
+ - *331
+ - *415
responses:
'201':
description: Response
@@ -61684,21 +61349,21 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository
parameters:
- - *334
- - *335
- - *420
- - *421
+ - *330
+ - *331
+ - *416
+ - *417
- *19
- *17
- - &438
+ - &434
name: ref
description: The Git reference for the results you want to list. The `ref`
for a branch can be formatted either as `refs/heads/` or simply
``. To reference a pull request use `refs/pull//merge`.
in: query
required: false
- schema: *422
- - &439
+ schema: *418
+ - &435
name: pr
description: The number of the pull request for the results you want to list.
in: query
@@ -61723,13 +61388,13 @@ paths:
be returned.
in: query
required: false
- schema: *423
+ schema: *419
- name: severity
description: If specified, only code scanning alerts with this severity will
be returned.
in: query
required: false
- schema: *424
+ schema: *420
- name: assignees
description: |
Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`).
@@ -61753,7 +61418,7 @@ paths:
updated_at: *171
url: *172
html_url: *173
- instances_url: *425
+ instances_url: *421
state: *178
fixed_at: *174
dismissed_by:
@@ -61764,11 +61429,11 @@ paths:
required: *21
nullable: true
dismissed_at: *175
- dismissed_reason: *426
- dismissed_comment: *427
- rule: *428
- tool: *429
- most_recent_instance: *430
+ dismissed_reason: *422
+ dismissed_comment: *423
+ rule: *424
+ tool: *425
+ most_recent_instance: *426
dismissal_approved_by:
title: Simple User
description: A GitHub user.
@@ -61894,7 +61559,7 @@ paths:
classifications: []
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances
'304': *37
- '403': &431
+ '403': &427
description: Response if GitHub Advanced Security is not enabled for this
repository
content:
@@ -61921,9 +61586,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert
parameters:
- - *334
- - *335
- - &432
+ - *330
+ - *331
+ - &428
name: alert_number
in: path
description: The number that identifies an alert. You can find this at the
@@ -61937,7 +61602,7 @@ paths:
description: Response
content:
application/json:
- schema: &433
+ schema: &429
type: object
properties:
number: *169
@@ -61945,7 +61610,7 @@ paths:
updated_at: *171
url: *172
html_url: *173
- instances_url: *425
+ instances_url: *421
state: *178
fixed_at: *174
dismissed_by:
@@ -61956,8 +61621,8 @@ paths:
required: *21
nullable: true
dismissed_at: *175
- dismissed_reason: *426
- dismissed_comment: *427
+ dismissed_reason: *422
+ dismissed_comment: *423
rule:
type: object
properties:
@@ -62011,8 +61676,8 @@ paths:
type: string
description: A link to the documentation for the rule used
to detect the alert.
- tool: *429
- most_recent_instance: *430
+ tool: *425
+ most_recent_instance: *426
dismissal_approved_by:
title: Simple User
description: A GitHub user.
@@ -62111,7 +61776,7 @@ paths:
- test
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
'304': *37
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -62131,9 +61796,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
requestBody:
required: true
content:
@@ -62148,8 +61813,8 @@ paths:
enum:
- open
- dismissed
- dismissed_reason: *426
- dismissed_comment: *427
+ dismissed_reason: *422
+ dismissed_comment: *423
create_request:
type: boolean
description: If `true`, attempt to create an alert dismissal request.
@@ -62177,7 +61842,7 @@ paths:
description: Response
content:
application/json:
- schema: *433
+ schema: *429
examples:
default:
value:
@@ -62253,7 +61918,7 @@ paths:
- test
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
'400': *14
- '403': &437
+ '403': &433
description: Response if the repository is archived or if GitHub Advanced
Security is not enabled for this repository
content:
@@ -62280,15 +61945,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:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
responses:
'200':
description: Response
content:
application/json:
- schema: &434
+ schema: &430
type: object
properties:
status:
@@ -62314,13 +61979,13 @@ paths:
- description
- started_at
examples:
- default: &435
+ default: &431
value:
status: success
description: This fixes an XSS vulnerability by escaping the user
input.
started_at: '2024-02-14T12:29:18Z'
- '400': &436
+ '400': &432
description: Bad Request
content:
application/json:
@@ -62331,7 +61996,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': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -62356,29 +62021,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:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
responses:
'200':
description: OK
content:
application/json:
- schema: *434
+ schema: *430
examples:
- default: *435
+ default: *431
'202':
description: Accepted
content:
application/json:
- schema: *434
+ schema: *430
examples:
default:
value:
status: pending
description:
started_at: '2024-02-14T12:29:18Z'
- '400': *436
+ '400': *432
'403':
description: Response if the repository is archived, if GitHub Advanced
Security is not enabled for this repository or if rate limit is exceeded
@@ -62410,9 +62075,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:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
requestBody:
required: false
content:
@@ -62457,8 +62122,8 @@ paths:
value:
target_ref: refs/heads/main
sha: 178f4f6090b3fccad4a65b3e83d076a622d59652
- '400': *436
- '403': *437
+ '400': *432
+ '403': *433
'404': *6
'422':
description: Unprocessable Entity
@@ -62482,13 +62147,13 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
- *19
- *17
- - *438
- - *439
+ - *434
+ - *435
responses:
'200':
description: Response
@@ -62499,10 +62164,10 @@ paths:
items:
type: object
properties:
- ref: *422
- analysis_key: *440
- environment: *441
- category: *442
+ ref: *418
+ analysis_key: *436
+ environment: *437
+ category: *438
state:
type: string
description: State of a code scanning alert instance.
@@ -62517,7 +62182,7 @@ paths:
properties:
text:
type: string
- location: *443
+ location: *439
html_url:
type: string
classifications:
@@ -62525,7 +62190,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: *444
+ items: *440
examples:
default:
value:
@@ -62564,7 +62229,7 @@ paths:
end_column: 50
classifications:
- source
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -62598,25 +62263,25 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository
parameters:
- - *334
- - *335
- - *420
- - *421
+ - *330
+ - *331
+ - *416
+ - *417
- *19
- *17
- - *439
+ - *435
- name: ref
in: query
description: The Git reference for the analyses you want to list. The `ref`
for a branch can be formatted either as `refs/heads/` or simply
``. To reference a pull request use `refs/pull//merge`.
required: false
- schema: *422
+ schema: *418
- name: sarif_id
in: query
description: Filter analyses belonging to the same SARIF upload.
required: false
- schema: &445
+ schema: &441
type: string
description: An identifier for the upload.
example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53
@@ -62637,23 +62302,23 @@ paths:
application/json:
schema:
type: array
- items: &446
+ items: &442
type: object
properties:
- ref: *422
- commit_sha: &454
+ ref: *418
+ commit_sha: &450
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: *440
+ analysis_key: *436
environment:
type: string
description: Identifies the variable values associated with
the environment in which this analysis was performed.
- category: *442
+ category: *438
error:
type: string
example: error reading field xyz
@@ -62677,8 +62342,8 @@ paths:
description: The REST API URL of the analysis resource.
format: uri
readOnly: true
- sarif_id: *445
- tool: *429
+ sarif_id: *441
+ tool: *425
deletable:
type: boolean
warning:
@@ -62739,7 +62404,7 @@ paths:
version: 1.2.0
deletable: true
warning: ''
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -62775,8 +62440,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:
- - *334
- - *335
+ - *330
+ - *331
- name: analysis_id
in: path
description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses`
@@ -62789,7 +62454,7 @@ paths:
description: Response
content:
application/json:
- schema: *446
+ schema: *442
examples:
response:
summary: application/json response
@@ -62843,7 +62508,7 @@ paths:
properties:
- github/alertNumber: 2
- github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2
- '403': *431
+ '403': *427
'404': *6
'422':
description: Response if analysis could not be processed
@@ -62930,8 +62595,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:
- - *334
- - *335
+ - *330
+ - *331
- name: analysis_id
in: path
description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses`
@@ -62984,7 +62649,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': *437
+ '403': *433
'404': *6
'503': *112
x-github:
@@ -63006,8 +62671,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -63015,7 +62680,7 @@ paths:
application/json:
schema:
type: array
- items: &447
+ items: &443
title: CodeQL Database
description: A CodeQL database.
type: object
@@ -63126,7 +62791,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': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -63155,8 +62820,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: language
in: path
description: The language of the CodeQL database.
@@ -63168,7 +62833,7 @@ paths:
description: Response
content:
application/json:
- schema: *447
+ schema: *443
examples:
default:
value:
@@ -63200,9 +62865,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': &481
+ '302': &479
description: Found
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -63224,8 +62889,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: language
in: path
description: The language of the CodeQL database.
@@ -63235,7 +62900,7 @@ paths:
responses:
'204':
description: Response
- '403': *437
+ '403': *433
'404': *6
'503': *112
x-github:
@@ -63263,8 +62928,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -63273,7 +62938,7 @@ paths:
type: object
additionalProperties: false
properties:
- language: &448
+ language: &444
type: string
description: The language targeted by the CodeQL query
enum:
@@ -63353,7 +63018,7 @@ paths:
description: Variant analysis submitted for processing
content:
application/json:
- schema: &452
+ schema: &448
title: Variant Analysis
description: A run of a CodeQL query against one or more repositories.
type: object
@@ -63363,7 +63028,7 @@ paths:
description: The ID of the variant analysis.
controller_repo: *57
actor: *4
- query_language: *448
+ query_language: *444
query_pack_url:
type: string
description: The download url for the query pack.
@@ -63410,7 +63075,7 @@ paths:
items:
type: object
properties:
- repository: &449
+ repository: &445
title: Repository Identifier
description: Repository Identifier
type: object
@@ -63446,7 +63111,7 @@ paths:
- private
- stargazers_count
- updated_at
- analysis_status: &453
+ analysis_status: &449
type: string
description: The new status of the CodeQL variant analysis
repository task.
@@ -63478,7 +63143,7 @@ paths:
from processing. This information is only available to the user
that initiated the variant analysis.
properties:
- access_mismatch_repos: &450
+ access_mismatch_repos: &446
type: object
properties:
repository_count:
@@ -63492,7 +63157,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: *449
+ items: *445
required:
- repository_count
- repositories
@@ -63514,8 +63179,8 @@ paths:
required:
- repository_count
- repository_full_names
- no_codeql_db_repos: *450
- over_limit_repos: *450
+ no_codeql_db_repos: *446
+ over_limit_repos: *446
required:
- access_mismatch_repos
- not_found_repos
@@ -63531,7 +63196,7 @@ paths:
examples:
repositories_parameter:
summary: Response for a successful variant analysis submission
- value: &451
+ value: &447
summary: Default response
value:
id: 1
@@ -63677,10 +63342,10 @@ paths:
private: false
repository_owners:
summary: Response for a successful variant analysis submission
- value: *451
+ value: *447
repository_lists:
summary: Response for a successful variant analysis submission
- value: *451
+ value: *447
'404': *6
'422':
description: Unable to process variant analysis submission
@@ -63708,8 +63373,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:
- - *334
- - *335
+ - *330
+ - *331
- name: codeql_variant_analysis_id
in: path
description: The unique identifier of the variant analysis.
@@ -63721,9 +63386,9 @@ paths:
description: Response
content:
application/json:
- schema: *452
+ schema: *448
examples:
- default: *451
+ default: *447
'404': *6
'503': *112
x-github:
@@ -63746,7 +63411,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:
- - *334
+ - *330
- name: repo
in: path
description: The name of the controller repository.
@@ -63781,7 +63446,7 @@ paths:
type: object
properties:
repository: *57
- analysis_status: *453
+ analysis_status: *449
artifact_size_in_bytes:
type: integer
description: The size of the artifact. This is only available
@@ -63906,8 +63571,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -63992,7 +63657,7 @@ paths:
threat_model: remote
updated_at: '2023-01-19T11:21:34Z'
schedule: weekly
- '403': *431
+ '403': *427
'404': *6
'503': *112
x-github:
@@ -64013,8 +63678,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -64106,7 +63771,7 @@ paths:
value:
run_id: 42
run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42
- '403': *437
+ '403': *433
'404': *6
'409':
description: Response if there is already a validation run in progress with
@@ -64177,8 +63842,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -64186,7 +63851,7 @@ paths:
schema:
type: object
properties:
- commit_sha: *454
+ commit_sha: *450
ref:
type: string
description: |-
@@ -64244,7 +63909,7 @@ paths:
schema:
type: object
properties:
- id: *445
+ id: *441
url:
type: string
description: The REST API URL for checking the status of the upload.
@@ -64258,7 +63923,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': *437
+ '403': *433
'404': *6
'413':
description: Payload Too Large if the sarif field is too large
@@ -64281,8 +63946,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sarif_id
description: The SARIF ID obtained after uploading.
in: path
@@ -64328,7 +63993,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': *431
+ '403': *427
'404':
description: Not Found if the sarif id does not match any upload
'503': *112
@@ -64353,8 +64018,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -64435,8 +64100,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-codeowners-errors
parameters:
- - *334
- - *335
+ - *330
+ - *331
- 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
@@ -64556,8 +64221,8 @@ paths:
parameters:
- *17
- *19
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -64871,8 +64536,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -64937,7 +64602,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -64945,7 +64610,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'400': *14
'401': *25
'403': *29
@@ -64974,8 +64639,8 @@ paths:
parameters:
- *17
- *19
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -65039,8 +64704,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: location
description: The location to check for available machines. Assigned by IP
if not provided.
@@ -65079,8 +64744,8 @@ paths:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: *456
- required: *457
+ properties: *452
+ required: *453
examples:
default: &676
value:
@@ -65122,8 +64787,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ref
description: The branch or commit to check for a default devcontainer path.
If not specified, the default branch will be checked.
@@ -65207,8 +64872,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:
- - *334
- - *335
+ - *330
+ - *331
- 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
@@ -65274,8 +64939,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -65293,7 +64958,7 @@ paths:
type: integer
secrets:
type: array
- items: &461
+ items: &457
title: Codespaces Secret
description: Set repository secrets for GitHub Codespaces.
type: object
@@ -65313,7 +64978,7 @@ paths:
- created_at
- updated_at
examples:
- default: *458
+ default: *454
headers:
Link: *58
x-github:
@@ -65336,16 +65001,16 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *459
+ schema: *455
examples:
- default: *460
+ default: *456
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -65365,17 +65030,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'200':
description: Response
content:
application/json:
- schema: *461
+ schema: *457
examples:
- default: *462
+ default: *458
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -65395,8 +65060,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
requestBody:
required: true
@@ -65449,8 +65114,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'204':
@@ -65479,8 +65144,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: affiliation
description: Filter collaborators returned by their affiliation. `outside`
means all outside collaborators of an organization-owned repository. `direct`
@@ -65522,7 +65187,7 @@ paths:
title: Collaborator
description: Collaborator
type: object
- properties: &463
+ properties: &459
login:
type: string
example: octocat
@@ -65615,7 +65280,7 @@ paths:
user_view_type:
type: string
example: public
- required: &464
+ required: &460
- avatar_url
- events_url
- followers_url
@@ -65689,8 +65354,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *63
responses:
'204':
@@ -65737,8 +65402,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *63
requestBody:
required: false
@@ -65765,7 +65430,7 @@ paths:
description: Response when a new invitation is created
content:
application/json:
- schema: &531
+ schema: &529
title: Repository Invitation
description: Repository invitations let you manage who you collaborate
with.
@@ -65994,8 +65659,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *63
responses:
'204':
@@ -66027,8 +65692,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *63
responses:
'200':
@@ -66049,8 +65714,8 @@ paths:
title: Collaborator
description: Collaborator
type: object
- properties: *463
- required: *464
+ properties: *459
+ required: *460
nullable: true
required:
- permission
@@ -66105,8 +65770,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -66116,7 +65781,7 @@ paths:
application/json:
schema:
type: array
- items: &465
+ items: &461
title: Commit Comment
description: Commit Comment
type: object
@@ -66174,7 +65839,7 @@ paths:
- created_at
- updated_at
examples:
- default: &468
+ default: &466
value:
- html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1
url: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -66233,17 +65898,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#get-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'200':
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
- default: &469
+ default: &467
value:
html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1
url: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -66300,8 +65965,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#update-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -66324,7 +65989,7 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
default:
value:
@@ -66375,8 +66040,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'204':
@@ -66398,8 +66063,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -66426,9 +66091,74 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: &462
+ 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
+ example: 1
+ node_id:
+ type: string
+ example: MDg6UmVhY3Rpb24x
+ user:
+ title: Simple User
+ description: A GitHub user.
+ type: object
+ properties: *20
+ required: *21
+ nullable: true
+ content:
+ description: The reaction to use
+ example: heart
+ type: string
+ enum:
+ - "+1"
+ - "-1"
+ - laugh
+ - confused
+ - heart
+ - hooray
+ - rocket
+ - eyes
+ created_at:
+ type: string
+ format: date-time
+ example: '2016-05-20T20:09:31Z'
+ required:
+ - id
+ - node_id
+ - user
+ - content
+ - created_at
examples:
- default: *331
+ default: &533
+ 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: *58
'404': *6
@@ -66449,8 +66179,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -66483,16 +66213,40 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: &463
+ 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: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -66514,10 +66268,16 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- - *332
+ - &534
+ name: reaction_id
+ description: The unique identifier of the reaction.
+ in: path
+ required: true
+ schema:
+ type: integer
responses:
'204':
description: Response
@@ -66566,8 +66326,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#list-commits
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sha
description: 'SHA or branch to start listing commits from. Default: the repository’s
default branch (usually `main`).'
@@ -66623,7 +66383,7 @@ paths:
application/json:
schema:
type: array
- items: *466
+ items: *464
examples:
default: &583
value:
@@ -66719,9 +66479,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit
parameters:
- - *334
- - *335
- - &467
+ - *330
+ - *331
+ - &465
name: commit_sha
description: The SHA of the commit.
in: path
@@ -66793,9 +66553,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#list-commit-comments
parameters:
- - *334
- - *335
- - *467
+ - *330
+ - *331
+ - *465
- *17
- *19
responses:
@@ -66805,9 +66565,9 @@ paths:
application/json:
schema:
type: array
- items: *465
+ items: *461
examples:
- default: *468
+ default: *466
headers:
Link: *58
x-github:
@@ -66835,9 +66595,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/comments#create-a-commit-comment
parameters:
- - *334
- - *335
- - *467
+ - *330
+ - *331
+ - *465
requestBody:
required: true
content:
@@ -66872,9 +66632,9 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
- default: *469
+ default: *467
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -66902,9 +66662,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit
parameters:
- - *334
- - *335
- - *467
+ - *330
+ - *331
+ - *465
- *17
- *19
responses:
@@ -66914,7 +66674,7 @@ paths:
application/json:
schema:
type: array
- items: *470
+ items: *468
examples:
default: &575
value:
@@ -67453,11 +67213,11 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#get-a-commit
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *19
- *17
- - &471
+ - &469
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)"
@@ -67472,7 +67232,7 @@ paths:
description: Response
content:
application/json:
- schema: *466
+ schema: *464
examples:
default: &560
value:
@@ -67587,11 +67347,11 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference
parameters:
- - *334
- - *335
+ - *330
+ - *331
+ - *469
+ - *470
- *471
- - *472
- - *473
- name: filter
description: Filters check runs by their `completed_at` timestamp. `latest`
returns the most recent check runs.
@@ -67625,9 +67385,9 @@ paths:
type: integer
check_runs:
type: array
- items: *412
+ items: *408
examples:
- default: *474
+ default: *472
headers:
Link: *58
x-github:
@@ -67652,9 +67412,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference
parameters:
- - *334
- - *335
- - *471
+ - *330
+ - *331
+ - *469
- name: app_id
description: Filters check suites by GitHub App `id`.
in: query
@@ -67662,7 +67422,7 @@ paths:
schema:
type: integer
example: 1
- - *472
+ - *470
- *17
- *19
responses:
@@ -67680,7 +67440,7 @@ paths:
type: integer
check_suites:
type: array
- items: *417
+ items: *413
examples:
default:
value:
@@ -67880,9 +67640,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference
parameters:
- - *334
- - *335
- - *471
+ - *330
+ - *331
+ - *469
- *17
- *19
responses:
@@ -68080,9 +67840,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference
parameters:
- - *334
- - *335
- - *471
+ - *330
+ - *331
+ - *469
- *17
- *19
responses:
@@ -68173,7 +67933,7 @@ paths:
site_admin: false
headers:
Link: *58
- '301': *338
+ '301': *334
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68201,8 +67961,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -68231,20 +67991,20 @@ paths:
title: Code Of Conduct Simple
description: Code of Conduct Simple
type: object
- properties: *475
- required: *476
+ properties: *473
+ required: *474
nullable: true
code_of_conduct_file:
title: Community Health File
type: object
- properties: &477
+ properties: &475
url:
type: string
format: uri
html_url:
type: string
format: uri
- required: &478
+ required: &476
- url
- html_url
nullable: true
@@ -68258,26 +68018,26 @@ paths:
contributing:
title: Community Health File
type: object
- properties: *477
- required: *478
+ properties: *475
+ required: *476
nullable: true
readme:
title: Community Health File
type: object
- properties: *477
- required: *478
+ properties: *475
+ required: *476
nullable: true
issue_template:
title: Community Health File
type: object
- properties: *477
- required: *478
+ properties: *475
+ required: *476
nullable: true
pull_request_template:
title: Community Health File
type: object
- properties: *477
- required: *478
+ properties: *475
+ required: *476
nullable: true
required:
- code_of_conduct
@@ -68404,8 +68164,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/commits#compare-two-commits
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *19
- *17
- name: basehead
@@ -68448,8 +68208,8 @@ paths:
type: string
format: uri
example: https://github.com/octocat/Hello-World/compare/master...topic.patch
- base_commit: *466
- merge_base_commit: *466
+ base_commit: *464
+ merge_base_commit: *464
status:
type: string
enum:
@@ -68469,10 +68229,10 @@ paths:
example: 6
commits:
type: array
- items: *466
+ items: *464
files:
type: array
- items: *479
+ items: *477
required:
- url
- html_url
@@ -68758,8 +68518,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#get-repository-content
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: path
description: path parameter
in: path
@@ -68902,7 +68662,7 @@ paths:
- type
- url
examples:
- response-if-content-is-a-file: &480
+ response-if-content-is-a-file: &478
summary: Response if content is a file
value:
type: file
@@ -69235,7 +68995,7 @@ paths:
- url
- submodule_git_url
examples:
- response-if-content-is-a-file: *480
+ response-if-content-is-a-file: *478
response-if-content-is-a-directory:
summary: Response if content is a directory and the application/json
media type is requested
@@ -69304,7 +69064,7 @@ paths:
html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9
'404': *6
'403': *29
- '302': *481
+ '302': *479
'304': *37
x-github:
githubCloudOnly: false
@@ -69327,8 +69087,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: path
description: path parameter
in: path
@@ -69421,7 +69181,7 @@ paths:
description: Response
content:
application/json:
- schema: &482
+ schema: &480
title: File Commit
description: File Commit
type: object
@@ -69573,7 +69333,7 @@ paths:
description: Response
content:
application/json:
- schema: *482
+ schema: *480
examples:
example-for-creating-a-file:
value:
@@ -69627,7 +69387,7 @@ paths:
schema:
oneOf:
- *3
- - &513
+ - &511
description: Repository rule violation was detected
type: object
properties:
@@ -69680,8 +69440,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#delete-a-file
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: path
description: path parameter
in: path
@@ -69742,7 +69502,7 @@ paths:
description: Response
content:
application/json:
- schema: *482
+ schema: *480
examples:
default:
value:
@@ -69797,8 +69557,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-contributors
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: anon
description: Set to `1` or `true` to include anonymous contributors in results.
in: query
@@ -69921,8 +69681,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *190
- *191
- *192
@@ -69934,7 +69694,7 @@ paths:
schema:
type: string
- *194
- - *483
+ - *481
- *195
- *196
- *52
@@ -69955,7 +69715,7 @@ paths:
application/json:
schema:
type: array
- items: &487
+ items: &485
type: object
description: A Dependabot alert.
properties:
@@ -70001,7 +69761,7 @@ paths:
- unknown
- direct
- transitive
- security_advisory: *484
+ security_advisory: *482
security_vulnerability: *56
url: *172
html_url: *173
@@ -70032,8 +69792,8 @@ paths:
nullable: true
maxLength: 280
fixed_at: *174
- auto_dismissed_at: *485
- dismissal_request: *486
+ auto_dismissed_at: *483
+ dismissal_request: *484
required:
- number
- state
@@ -70263,9 +70023,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert
parameters:
- - *334
- - *335
- - &488
+ - *330
+ - *331
+ - &486
name: alert_number
in: path
description: |-
@@ -70280,7 +70040,7 @@ paths:
description: Response
content:
application/json:
- schema: *487
+ schema: *485
examples:
default:
value:
@@ -70393,9 +70153,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert
parameters:
- - *334
- - *335
- - *488
+ - *330
+ - *331
+ - *486
requestBody:
required: true
content:
@@ -70440,7 +70200,7 @@ paths:
description: Response
content:
application/json:
- schema: *487
+ schema: *485
examples:
default:
value:
@@ -70569,8 +70329,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -70588,7 +70348,7 @@ paths:
type: integer
secrets:
type: array
- items: &491
+ items: &489
title: Dependabot Secret
description: Set secrets for Dependabot.
type: object
@@ -70641,16 +70401,16 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: *489
+ schema: *487
examples:
- default: *490
+ default: *488
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -70670,15 +70430,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'200':
description: Response
content:
application/json:
- schema: *491
+ schema: *489
examples:
default:
value:
@@ -70704,8 +70464,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
requestBody:
required: true
@@ -70758,8 +70518,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *159
responses:
'204':
@@ -70782,8 +70542,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:
- - *334
- - *335
+ - *330
+ - *331
- 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
@@ -70943,8 +70703,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -71183,8 +70943,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -71259,7 +71019,7 @@ paths:
- version
- url
additionalProperties: false
- metadata: &492
+ metadata: &490
title: metadata
description: User-defined metadata to store domain-specific information
limited to 8 keys with scalar values.
@@ -71292,7 +71052,7 @@ paths:
the root of the Git repository.
example: "/src/build/package-lock.json"
additionalProperties: false
- metadata: *492
+ metadata: *490
resolved:
type: object
description: A collection of resolved package dependencies.
@@ -71305,7 +71065,7 @@ paths:
for more details.
example: pkg:/npm/%40actions/http-client@1.0.11
pattern: "^pkg"
- metadata: *492
+ metadata: *490
relationship:
type: string
description: A notation of whether a dependency is requested
@@ -71434,8 +71194,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/deployments#list-deployments
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sha
description: The SHA recorded at creation time.
in: query
@@ -71475,9 +71235,9 @@ paths:
application/json:
schema:
type: array
- items: *493
+ items: *491
examples:
- default: *494
+ default: *492
headers:
Link: *58
x-github:
@@ -71543,8 +71303,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/deployments#create-a-deployment
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -71625,7 +71385,7 @@ paths:
description: Response
content:
application/json:
- schema: *493
+ schema: *491
examples:
simple-example:
summary: Simple example
@@ -71698,9 +71458,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/deployments#get-a-deployment
parameters:
- - *334
- - *335
- - &495
+ - *330
+ - *331
+ - &493
name: deployment_id
description: deployment_id parameter
in: path
@@ -71712,7 +71472,7 @@ paths:
description: Response
content:
application/json:
- schema: *493
+ schema: *491
examples:
default:
value:
@@ -71777,9 +71537,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment
parameters:
- - *334
- - *335
- - *495
+ - *330
+ - *331
+ - *493
responses:
'204':
description: Response
@@ -71801,9 +71561,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses
parameters:
- - *334
- - *335
- - *495
+ - *330
+ - *331
+ - *493
- *17
- *19
responses:
@@ -71813,7 +71573,7 @@ paths:
application/json:
schema:
type: array
- items: &496
+ items: &494
title: Deployment Status
description: The status of a deployment.
type: object
@@ -71974,9 +71734,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status
parameters:
- - *334
- - *335
- - *495
+ - *330
+ - *331
+ - *493
requestBody:
required: true
content:
@@ -72051,9 +71811,9 @@ paths:
description: Response
content:
application/json:
- schema: *496
+ schema: *494
examples:
- default: &497
+ default: &495
value:
url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1
id: 1
@@ -72109,9 +71869,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status
parameters:
- - *334
- - *335
- - *495
+ - *330
+ - *331
+ - *493
- name: status_id
in: path
required: true
@@ -72122,9 +71882,9 @@ paths:
description: Response
content:
application/json:
- schema: *496
+ schema: *494
examples:
- default: *497
+ default: *495
'404': *6
x-github:
githubCloudOnly: false
@@ -72149,8 +71909,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -72207,8 +71967,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/environments#list-environments
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -72225,7 +71985,7 @@ paths:
type: integer
environments:
type: array
- items: &499
+ items: &497
title: Environment
description: Details of a deployment environment
type: object
@@ -72277,7 +72037,7 @@ paths:
type:
type: string
example: wait_timer
- wait_timer: &501
+ wait_timer: &499
type: integer
example: 30
description: The amount of time to delay a job after
@@ -72314,7 +72074,7 @@ paths:
items:
type: object
properties:
- type: *498
+ type: *496
reviewer:
anyOf:
- *4
@@ -72338,7 +72098,7 @@ paths:
- id
- node_id
- type
- deployment_branch_policy: &502
+ deployment_branch_policy: &500
type: object
description: The type of deployment branch policy for this
environment. To allow all branches to deploy, set to `null`.
@@ -72454,9 +72214,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/environments#get-an-environment
parameters:
- - *334
- - *335
- - &500
+ - *330
+ - *331
+ - &498
name: environment_name
in: path
required: true
@@ -72469,9 +72229,9 @@ paths:
description: Response
content:
application/json:
- schema: *499
+ schema: *497
examples:
- default: &503
+ default: &501
value:
id: 161088068
node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4
@@ -72555,9 +72315,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
requestBody:
required: false
content:
@@ -72566,7 +72326,7 @@ paths:
type: object
nullable: true
properties:
- wait_timer: *501
+ wait_timer: *499
prevent_self_review:
type: boolean
example: false
@@ -72583,13 +72343,13 @@ paths:
items:
type: object
properties:
- type: *498
+ type: *496
id:
type: integer
description: The id of the user or team who can review the
deployment
example: 4532992
- deployment_branch_policy: *502
+ deployment_branch_policy: *500
additionalProperties: false
examples:
default:
@@ -72609,9 +72369,9 @@ paths:
description: Response
content:
application/json:
- schema: *499
+ schema: *497
examples:
- default: *503
+ default: *501
'422':
description: Validation error when the environment name is invalid or when
`protected_branches` and `custom_branch_policies` in `deployment_branch_policy`
@@ -72635,9 +72395,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/environments#delete-an-environment
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
responses:
'204':
description: Default response
@@ -72662,9 +72422,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *17
- *19
responses:
@@ -72682,7 +72442,7 @@ paths:
example: 2
branch_policies:
type: array
- items: &504
+ items: &502
title: Deployment branch policy
description: Details of a deployment branch or tag policy.
type: object
@@ -72739,9 +72499,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
requestBody:
required: true
content:
@@ -72787,9 +72547,9 @@ paths:
description: Response
content:
application/json:
- schema: *504
+ schema: *502
examples:
- example-wildcard: &505
+ example-wildcard: &503
value:
id: 364662
node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI=
@@ -72831,10 +72591,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy
parameters:
- - *334
- - *335
- - *500
- - &506
+ - *330
+ - *331
+ - *498
+ - &504
name: branch_policy_id
in: path
required: true
@@ -72846,9 +72606,9 @@ paths:
description: Response
content:
application/json:
- schema: *504
+ schema: *502
examples:
- default: *505
+ default: *503
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -72867,10 +72627,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy
parameters:
- - *334
- - *335
- - *500
- - *506
+ - *330
+ - *331
+ - *498
+ - *504
requestBody:
required: true
content:
@@ -72898,9 +72658,9 @@ paths:
description: Response
content:
application/json:
- schema: *504
+ schema: *502
examples:
- default: *505
+ default: *503
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -72919,10 +72679,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy
parameters:
- - *334
- - *335
- - *500
- - *506
+ - *330
+ - *331
+ - *498
+ - *504
responses:
'204':
description: Response
@@ -72947,9 +72707,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment
parameters:
- - *500
- - *335
- - *334
+ - *498
+ - *331
+ - *330
responses:
'200':
description: List of deployment protection rules
@@ -72965,7 +72725,7 @@ paths:
example: 10
custom_deployment_protection_rules:
type: array
- items: &507
+ items: &505
title: Deployment protection rule
description: Deployment protection rule
type: object
@@ -72984,7 +72744,7 @@ paths:
example: true
description: Whether the deployment protection rule is enabled
for the environment.
- app: &508
+ app: &506
title: Custom deployment protection rule app
description: A GitHub App that is providing a custom deployment
protection rule.
@@ -73083,9 +72843,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:
- - *500
- - *335
- - *334
+ - *498
+ - *331
+ - *330
requestBody:
content:
application/json:
@@ -73106,9 +72866,9 @@ paths:
description: The enabled custom deployment protection rule
content:
application/json:
- schema: *507
+ schema: *505
examples:
- default: &509
+ default: &507
value:
id: 3
node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv
@@ -73143,9 +72903,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:
- - *500
- - *335
- - *334
+ - *498
+ - *331
+ - *330
- *19
- *17
responses:
@@ -73164,7 +72924,7 @@ paths:
example: 35
available_custom_deployment_protection_rule_integrations:
type: array
- items: *508
+ items: *506
examples:
default:
value:
@@ -73199,10 +72959,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule
parameters:
- - *334
- - *335
- - *500
- - &510
+ - *330
+ - *331
+ - *498
+ - &508
name: protection_rule_id
description: The unique identifier of the protection rule.
in: path
@@ -73214,9 +72974,9 @@ paths:
description: Response
content:
application/json:
- schema: *507
+ schema: *505
examples:
- default: *509
+ default: *507
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73237,10 +72997,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment
parameters:
- - *500
- - *335
- - *334
- - *510
+ - *498
+ - *331
+ - *330
+ - *508
responses:
'204':
description: Response
@@ -73266,9 +73026,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#list-environment-secrets
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *17
- *19
responses:
@@ -73286,9 +73046,9 @@ paths:
type: integer
secrets:
type: array
- items: *379
+ items: *375
examples:
- default: *380
+ default: *376
headers:
Link: *58
x-github:
@@ -73313,17 +73073,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
responses:
'200':
description: Response
content:
application/json:
- schema: *381
+ schema: *377
examples:
- default: *382
+ default: *378
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73345,18 +73105,18 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *159
responses:
'200':
description: Response
content:
application/json:
- schema: *379
+ schema: *375
examples:
- default: *511
+ default: *509
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73378,9 +73138,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *159
requestBody:
required: true
@@ -73438,9 +73198,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *159
responses:
'204':
@@ -73466,10 +73226,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#list-environment-variables
parameters:
- - *334
- - *335
- - *500
- - *350
+ - *330
+ - *331
+ - *498
+ - *346
- *19
responses:
'200':
@@ -73486,9 +73246,9 @@ paths:
type: integer
variables:
type: array
- items: *383
+ items: *379
examples:
- default: *384
+ default: *380
headers:
Link: *58
x-github:
@@ -73511,9 +73271,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#create-an-environment-variable
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
requestBody:
required: true
content:
@@ -73565,18 +73325,18 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#get-an-environment-variable
parameters:
- - *334
- - *335
- - *500
+ - *330
+ - *331
+ - *498
- *162
responses:
'200':
description: Response
content:
application/json:
- schema: *383
+ schema: *379
examples:
- default: *512
+ default: *510
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73597,10 +73357,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#update-an-environment-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
- - *500
+ - *498
requestBody:
required: true
content:
@@ -73642,10 +73402,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *162
- - *500
+ - *498
responses:
'204':
description: Response
@@ -73667,8 +73427,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/events#list-repository-events
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -73736,8 +73496,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/forks#list-forks
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sort
description: The sort order. `stargazers` will sort by star count.
in: query
@@ -73896,8 +73656,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/forks#create-a-fork
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -73929,9 +73689,9 @@ paths:
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
+ default: *335
'400': *14
'422': *15
'403': *29
@@ -73952,8 +73712,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/blobs#create-a-blob
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -74013,7 +73773,7 @@ paths:
schema:
oneOf:
- *120
- - *513
+ - *511
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -74038,8 +73798,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/blobs#get-a-blob
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: file_sha
in: path
required: true
@@ -74138,8 +73898,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/commits#create-a-commit
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -74248,7 +74008,7 @@ paths:
description: Response
content:
application/json:
- schema: &514
+ schema: &512
title: Git Commit
description: Low-level Git commit operations within a repository
type: object
@@ -74462,15 +74222,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/commits#get-a-commit-object
parameters:
- - *334
- - *335
- - *467
+ - *330
+ - *331
+ - *465
responses:
'200':
description: Response
content:
application/json:
- schema: *514
+ schema: *512
examples:
default:
value:
@@ -74526,9 +74286,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#list-matching-references
parameters:
- - *334
- - *335
- - &515
+ - *330
+ - *331
+ - &513
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.
@@ -74545,7 +74305,7 @@ paths:
application/json:
schema:
type: array
- items: &516
+ items: &514
title: Git Reference
description: Git references within a repository
type: object
@@ -74620,17 +74380,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#get-a-reference
parameters:
- - *334
- - *335
- - *515
+ - *330
+ - *331
+ - *513
responses:
'200':
description: Response
content:
application/json:
- schema: *516
+ schema: *514
examples:
- default: &517
+ default: &515
value:
ref: refs/heads/featureA
node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ==
@@ -74659,8 +74419,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#create-a-reference
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -74689,9 +74449,9 @@ paths:
description: Response
content:
application/json:
- schema: *516
+ schema: *514
examples:
- default: *517
+ default: *515
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA
@@ -74717,9 +74477,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#update-a-reference
parameters:
- - *334
- - *335
- - *515
+ - *330
+ - *331
+ - *513
requestBody:
required: true
content:
@@ -74748,9 +74508,9 @@ paths:
description: Response
content:
application/json:
- schema: *516
+ schema: *514
examples:
- default: *517
+ default: *515
'422': *15
'409': *51
x-github:
@@ -74768,9 +74528,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/refs#delete-a-reference
parameters:
- - *334
- - *335
- - *515
+ - *330
+ - *331
+ - *513
responses:
'204':
description: Response
@@ -74825,8 +74585,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/tags#create-a-tag-object
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -74893,7 +74653,7 @@ paths:
description: Response
content:
application/json:
- schema: &519
+ schema: &517
title: Git Tag
description: Metadata for a Git tag
type: object
@@ -74944,7 +74704,7 @@ paths:
- sha
- type
- url
- verification: *518
+ verification: *516
required:
- sha
- url
@@ -74954,7 +74714,7 @@ paths:
- tag
- message
examples:
- default: &520
+ default: &518
value:
node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw==
tag: v0.0.1
@@ -75027,8 +74787,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/tags#get-a-tag
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: tag_sha
in: path
required: true
@@ -75039,9 +74799,9 @@ paths:
description: Response
content:
application/json:
- schema: *519
+ schema: *517
examples:
- default: *520
+ default: *518
'404': *6
'409': *51
x-github:
@@ -75065,8 +74825,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/trees#create-a-tree
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -75139,7 +74899,7 @@ paths:
description: Response
content:
application/json:
- schema: &521
+ schema: &519
title: Git Tree
description: The hierarchy between files in a Git repository.
type: object
@@ -75235,8 +74995,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/git/trees#get-a-tree
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: tree_sha
description: The SHA1 value or ref (branch or tag) name of the tree.
in: path
@@ -75259,7 +75019,7 @@ paths:
description: Response
content:
application/json:
- schema: *521
+ schema: *519
examples:
default-response:
summary: Default response
@@ -75318,8 +75078,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -75329,7 +75089,7 @@ paths:
application/json:
schema:
type: array
- items: &522
+ items: &520
title: Webhook
description: Webhooks for repositories.
type: object
@@ -75383,7 +75143,7 @@ paths:
type: string
format: uri
example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries
- last_response: &763
+ last_response: &764
title: Hook Response
type: object
properties:
@@ -75457,8 +75217,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -75510,9 +75270,9 @@ paths:
description: Response
content:
application/json:
- schema: *522
+ schema: *520
examples:
- default: &523
+ default: &521
value:
type: Repository
id: 12345678
@@ -75560,17 +75320,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'200':
description: Response
content:
application/json:
- schema: *522
+ schema: *520
examples:
- default: *523
+ default: *521
'404': *6
x-github:
githubCloudOnly: false
@@ -75590,8 +75350,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
requestBody:
required: true
@@ -75637,9 +75397,9 @@ paths:
description: Response
content:
application/json:
- schema: *522
+ schema: *520
examples:
- default: *523
+ default: *521
'422': *15
'404': *6
x-github:
@@ -75660,8 +75420,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'204':
@@ -75686,8 +75446,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'200':
@@ -75715,8 +75475,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
requestBody:
required: false
@@ -75761,8 +75521,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
- *17
- *205
@@ -75794,8 +75554,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
- *16
responses:
@@ -75824,8 +75584,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
- *16
responses:
@@ -75849,8 +75609,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'204':
@@ -75876,8 +75636,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *204
responses:
'204':
@@ -75901,8 +75661,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response if immutable releases are enabled
@@ -75948,8 +75708,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#enable-immutable-releases
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204': *183
'409': *51
@@ -75969,8 +75729,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#disable-immutable-releases
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204': *183
'409': *51
@@ -76027,14 +75787,14 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
content:
application/json:
- schema: &524
+ schema: &522
title: Import
description: A repository import from an external source.
type: object
@@ -76133,7 +75893,7 @@ paths:
- html_url
- authors_url
examples:
- default: &527
+ default: &525
value:
vcs: subversion
use_lfs: true
@@ -76149,7 +75909,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': &525
+ '503': &523
description: Unavailable due to service under maintenance.
content:
application/json:
@@ -76178,8 +75938,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#start-an-import
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -76227,7 +75987,7 @@ paths:
description: Response
content:
application/json:
- schema: *524
+ schema: *522
examples:
default:
value:
@@ -76252,7 +76012,7 @@ paths:
type: string
'422': *15
'404': *6
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76280,8 +76040,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#update-an-import
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -76330,7 +76090,7 @@ paths:
description: Response
content:
application/json:
- schema: *524
+ schema: *522
examples:
example-1:
summary: Example 1
@@ -76378,7 +76138,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': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76401,12 +76161,12 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76432,8 +76192,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &697
name: since
description: A user ID. Only return users with an ID greater than this ID.
@@ -76448,7 +76208,7 @@ paths:
application/json:
schema:
type: array
- items: &526
+ items: &524
title: Porter Author
description: Porter Author
type: object
@@ -76502,7 +76262,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': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76527,8 +76287,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: author_id
in: path
required: true
@@ -76558,7 +76318,7 @@ paths:
description: Response
content:
application/json:
- schema: *526
+ schema: *524
examples:
default:
value:
@@ -76571,7 +76331,7 @@ paths:
import_url: https://api.github.com/repos/octocat/socm/import
'422': *15
'404': *6
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76595,8 +76355,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#get-large-files
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -76637,7 +76397,7 @@ paths:
path: foo/bar/3
oid: c20ad4d76fe97759aa27a0c99bff6710
size: 12582912
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76665,8 +76425,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -76693,11 +76453,11 @@ paths:
description: Response
content:
application/json:
- schema: *524
+ schema: *522
examples:
- default: *527
+ default: *525
'422': *15
- '503': *525
+ '503': *523
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -76720,8 +76480,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -76729,8 +76489,8 @@ paths:
application/json:
schema: *22
examples:
- default: *528
- '301': *338
+ default: *526
+ '301': *334
'404': *6
x-github:
githubCloudOnly: false
@@ -76750,8 +76510,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -76764,7 +76524,7 @@ paths:
properties: {}
additionalProperties: false
examples:
- default: &530
+ default: &528
value:
limit: collaborators_only
origin: repository
@@ -76789,13 +76549,13 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
application/json:
- schema: *529
+ schema: *527
examples:
default:
summary: Example request body
@@ -76809,7 +76569,7 @@ paths:
application/json:
schema: *222
examples:
- default: *530
+ default: *528
'409':
description: Response
x-github:
@@ -76831,8 +76591,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -76855,8 +76615,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -76866,7 +76626,7 @@ paths:
application/json:
schema:
type: array
- items: *531
+ items: *529
examples:
default: &690
value:
@@ -76999,8 +76759,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *226
requestBody:
required: false
@@ -77030,7 +76790,7 @@ paths:
description: Response
content:
application/json:
- schema: *531
+ schema: *529
examples:
default:
value:
@@ -77161,8 +76921,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *226
responses:
'204':
@@ -77194,8 +76954,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#list-repository-issues
parameters:
- - *334
- - *335
+ - *330
+ - *331
- 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
@@ -77416,7 +77176,7 @@ paths:
state_reason: completed
headers:
Link: *58
- '301': *338
+ '301': *334
'422': *15
'404': *6
x-github:
@@ -77445,8 +77205,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#create-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -77686,7 +77446,7 @@ paths:
'422': *15
'503': *112
'404': *6
- '410': *532
+ '410': *530
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -77714,8 +77474,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *98
- name: direction
description: Either `asc` or `desc`. Ignored without the `sort` parameter.
@@ -77736,7 +77496,7 @@ paths:
application/json:
schema:
type: array
- items: *533
+ items: *531
examples:
default: &540
value:
@@ -77796,17 +77556,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#get-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'200':
description: Response
content:
application/json:
- schema: *533
+ schema: *531
examples:
- default: &534
+ default: &532
value:
id: 1
node_id: MDEyOklzc3VlQ29tbWVudDE=
@@ -77860,8 +77620,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#update-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -77884,9 +77644,9 @@ paths:
description: Response
content:
application/json:
- schema: *533
+ schema: *531
examples:
- default: *534
+ default: *532
'422': *15
x-github:
githubCloudOnly: false
@@ -77904,8 +77664,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'204':
@@ -77926,8 +77686,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -77954,9 +77714,9 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: *462
examples:
- default: *331
+ default: *533
headers:
Link: *58
'404': *6
@@ -77977,8 +77737,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -78011,16 +77771,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'201':
description: Reaction created
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -78042,10 +77802,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- - *332
+ - *534
responses:
'204':
description: Response
@@ -78065,8 +77825,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -78427,8 +78187,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/events#get-an-issue-event
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: event_id
in: path
required: true
@@ -78631,7 +78391,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
'404': *6
- '410': *532
+ '410': *530
'403': *29
x-github:
githubCloudOnly: false
@@ -78665,8 +78425,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#get-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &539
name: issue_number
description: The number that identifies the issue.
@@ -78682,9 +78442,9 @@ paths:
schema: *74
examples:
default: *538
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
'304': *37
x-github:
githubCloudOnly: false
@@ -78709,8 +78469,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#update-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -78821,9 +78581,9 @@ paths:
'422': *15
'503': *112
'403': *29
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -78841,8 +78601,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -78887,8 +78647,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
content:
@@ -78938,8 +78698,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:
- - *334
- - *335
+ - *330
+ - *331
- *539
- name: assignee
in: path
@@ -78980,8 +78740,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#list-issue-comments
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *81
- *17
@@ -78993,13 +78753,13 @@ paths:
application/json:
schema:
type: array
- items: *533
+ items: *531
examples:
default: *540
headers:
Link: *58
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -79028,8 +78788,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/comments#create-an-issue-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -79052,16 +78812,16 @@ paths:
description: Response
content:
application/json:
- schema: *533
+ schema: *531
examples:
- default: *534
+ default: *532
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1
schema:
type: string
'403': *29
- '410': *532
+ '410': *530
'422': *15
'404': *6
x-github:
@@ -79089,8 +78849,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -79106,9 +78866,9 @@ paths:
default: *541
headers:
Link: *58
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -79136,8 +78896,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -79168,9 +78928,9 @@ paths:
example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by
schema:
type: string
- '301': *338
+ '301': *334
'403': *29
- '410': *532
+ '410': *530
'422': *15
'404': *6
x-github:
@@ -79201,8 +78961,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- name: issue_id
in: path
@@ -79218,12 +78978,12 @@ paths:
schema: *74
examples:
default: *538
- '301': *338
+ '301': *334
'400': *14
'401': *25
'403': *29
'404': *6
- '410': *532
+ '410': *530
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -79249,8 +79009,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -79266,9 +79026,9 @@ paths:
default: *541
headers:
Link: *58
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -79285,8 +79045,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/events#list-issue-events
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -80138,7 +79898,7 @@ paths:
color: red
headers:
Link: *58
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80155,8 +79915,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -80187,9 +79947,9 @@ paths:
default: false
headers:
Link: *58
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80206,8 +79966,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -80270,9 +80030,9 @@ paths:
items: *73
examples:
default: *542
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
'422': *15
x-github:
githubCloudOnly: false
@@ -80289,8 +80049,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -80354,9 +80114,9 @@ paths:
items: *73
examples:
default: *542
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
'422': *15
x-github:
githubCloudOnly: false
@@ -80373,15 +80133,15 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
responses:
'204':
description: Response
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80400,8 +80160,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- name: name
in: path
@@ -80426,9 +80186,9 @@ paths:
description: Something isn't working
color: f29513
default: true
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80448,8 +80208,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#lock-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: false
@@ -80478,7 +80238,7 @@ paths:
'204':
description: Response
'403': *29
- '410': *532
+ '410': *530
'404': *6
'422': *15
x-github:
@@ -80496,8 +80256,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/issues#unlock-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
responses:
'204':
@@ -80528,8 +80288,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
responses:
'200':
@@ -80539,9 +80299,9 @@ paths:
schema: *74
examples:
default: *538
- '301': *338
+ '301': *334
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80558,8 +80318,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -80586,13 +80346,13 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: *462
examples:
- default: *331
+ default: *533
headers:
Link: *58
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80610,8 +80370,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -80644,16 +80404,16 @@ paths:
description: Response
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'201':
description: Response
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -80675,10 +80435,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- - *332
+ - *534
responses:
'204':
description: Response
@@ -80707,8 +80467,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -80766,8 +80526,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -80784,7 +80544,7 @@ paths:
headers:
Link: *58
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80812,8 +80572,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -80850,7 +80610,7 @@ paths:
schema:
type: string
'403': *29
- '410': *532
+ '410': *530
'422': *15
'404': *6
x-github:
@@ -80870,8 +80630,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
requestBody:
required: true
@@ -80927,8 +80687,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *539
- *17
- *19
@@ -81474,7 +81234,7 @@ paths:
type: string
comments:
type: array
- items: *465
+ items: *461
- title: Timeline Assigned Issue Event
description: Timeline Assigned Issue Event
type: object
@@ -81763,7 +81523,7 @@ paths:
headers:
Link: *58
'404': *6
- '410': *532
+ '410': *530
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -81780,8 +81540,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -81857,8 +81617,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -81930,8 +81690,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &558
name: key_id
description: The unique identifier of the key.
@@ -81964,8 +81724,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *558
responses:
'204':
@@ -81986,8 +81746,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -82020,8 +81780,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#create-a-label
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -82091,8 +81851,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#get-a-label
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: name
in: path
required: true
@@ -82122,8 +81882,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#update-a-label
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: name
in: path
required: true
@@ -82188,8 +81948,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#delete-a-label
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: name
in: path
required: true
@@ -82215,8 +81975,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-languages
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -82255,9 +82015,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository
parameters:
- - *334
- - *335
- - *438
+ - *330
+ - *331
+ - *434
responses:
'200':
description: Response
@@ -82402,8 +82162,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -82468,8 +82228,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/branches/branches#merge-a-branch
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -82503,7 +82263,7 @@ paths:
description: Successful Response (The resulting merge commit)
content:
application/json:
- schema: *466
+ schema: *464
examples:
default: *560
'204':
@@ -82530,8 +82290,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#list-milestones
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: state
description: The state of the milestone. Either `open`, `closed`, or `all`.
in: query
@@ -82633,8 +82393,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#create-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -82735,8 +82495,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#get-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &563
name: milestone_number
description: The number that identifies the milestone.
@@ -82768,8 +82528,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#update-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *563
requestBody:
required: false
@@ -82826,8 +82586,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/milestones#delete-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *563
responses:
'204':
@@ -82849,8 +82609,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *563
- *17
- *19
@@ -82882,8 +82642,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *564
- *565
- *81
@@ -82923,8 +82683,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -82982,8 +82742,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -83155,8 +82915,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -83235,8 +82995,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -83335,8 +83095,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -83362,8 +83122,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -83467,8 +83227,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'201':
description: Response
@@ -83513,8 +83273,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-latest-pages-build
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -83570,8 +83330,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: build_id
in: path
required: true
@@ -83604,8 +83364,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -83710,8 +83470,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &572
name: pages_deployment_id
description: The ID of the Pages deployment. You can also give the commit
@@ -83770,8 +83530,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *572
responses:
'204': *183
@@ -83799,8 +83559,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -84058,8 +83818,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Private vulnerability reporting status
@@ -84096,8 +83856,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204': *183
'422': *14
@@ -84118,8 +83878,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204': *183
'422': *14
@@ -84141,8 +83901,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -84174,8 +83934,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -84229,8 +83989,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#list-pull-requests
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: state
description: Either `open`, `closed`, or `all` to filter by state.
in: query
@@ -84290,7 +84050,7 @@ paths:
application/json:
schema:
type: array
- items: *470
+ items: *468
examples:
default: *575
headers:
@@ -84324,8 +84084,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -85223,8 +84983,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sort
in: query
required: false
@@ -85332,8 +85092,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'200':
@@ -85417,8 +85177,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -85459,8 +85219,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
responses:
'204':
@@ -85482,8 +85242,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -85510,9 +85270,9 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: *462
examples:
- default: *331
+ default: *533
headers:
Link: *58
'404': *6
@@ -85533,8 +85293,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
requestBody:
required: true
@@ -85567,16 +85327,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'201':
description: Reaction created
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -85598,10 +85358,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *90
- - *332
+ - *534
responses:
'204':
description: Response
@@ -85644,8 +85404,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &581
name: pull_number
description: The number that identifies the pull request.
@@ -85696,8 +85456,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -85764,8 +85524,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: true
@@ -85828,7 +85588,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -85836,7 +85596,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'401': *25
'403': *29
'404': *6
@@ -85866,8 +85626,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *98
- name: direction
@@ -85924,8 +85684,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: true
@@ -86119,8 +85879,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *90
requestBody:
@@ -86230,8 +85990,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *17
- *19
@@ -86242,7 +86002,7 @@ paths:
application/json:
schema:
type: array
- items: *466
+ items: *464
examples:
default: *583
headers:
@@ -86274,8 +86034,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *17
- *19
@@ -86286,7 +86046,7 @@ paths:
application/json:
schema:
type: array
- items: *479
+ items: *477
examples:
default:
value:
@@ -86324,8 +86084,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
responses:
'204':
@@ -86349,8 +86109,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -86462,8 +86222,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
responses:
'200':
@@ -86539,8 +86299,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -86578,7 +86338,7 @@ paths:
description: Response
content:
application/json:
- schema: *470
+ schema: *468
examples:
default:
value:
@@ -87114,8 +86874,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: true
@@ -87150,7 +86910,7 @@ paths:
description: Response
content:
application/json:
- schema: *470
+ schema: *468
examples:
default:
value:
@@ -87655,8 +87415,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *17
- *19
@@ -87818,8 +87578,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -87971,8 +87731,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- &585
name: review_id
@@ -88047,8 +87807,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
requestBody:
@@ -88135,8 +87895,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
responses:
@@ -88173,8 +87933,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
- *17
@@ -88411,8 +88171,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
requestBody:
@@ -88505,8 +88265,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
- *585
requestBody:
@@ -88567,8 +88327,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *581
requestBody:
required: false
@@ -88632,8 +88392,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#get-a-repository-readme
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ref
description: 'The name of the commit/branch/tag. Default: the repository’s
default branch.'
@@ -88690,8 +88450,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: dir
description: The alternate path to look for a README file
in: path
@@ -88735,8 +88495,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#list-releases
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -88840,8 +88600,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#create-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -89024,8 +88784,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/assets#get-a-release-asset
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &592
name: asset_id
description: The unique identifier of the asset.
@@ -89075,7 +88835,7 @@ paths:
type: User
site_admin: false
'404': *6
- '302': *481
+ '302': *479
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89091,8 +88851,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/assets#update-a-release-asset
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *592
requestBody:
required: false
@@ -89139,8 +88899,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/assets#delete-a-release-asset
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *592
responses:
'204':
@@ -89165,8 +88925,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -89251,8 +89011,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#get-the-latest-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -89277,8 +89037,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: tag
description: tag parameter
in: path
@@ -89315,8 +89075,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#get-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &595
name: release_id
description: The unique identifier of the release.
@@ -89351,8 +89111,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#update-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
requestBody:
required: false
@@ -89440,8 +89200,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/releases#delete-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
responses:
'204':
@@ -89462,8 +89222,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/releases/assets#list-release-assets
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
- *17
- *19
@@ -89555,8 +89315,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:
- - *334
- - *335
+ - *330
+ - *331
- *595
- name: name
in: query
@@ -89638,8 +89398,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
- name: content
description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions).
@@ -89664,9 +89424,9 @@ paths:
application/json:
schema:
type: array
- items: *329
+ items: *462
examples:
- default: *331
+ default: *533
headers:
Link: *58
'404': *6
@@ -89687,8 +89447,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
requestBody:
required: true
@@ -89719,16 +89479,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'201':
description: Reaction created
content:
application/json:
- schema: *329
+ schema: *462
examples:
- default: *330
+ default: *463
'422': *15
x-github:
githubCloudOnly: false
@@ -89750,10 +89510,10 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *595
- - *332
+ - *534
responses:
'204':
description: Response
@@ -89777,9 +89537,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch
parameters:
- - *334
- - *335
- - *401
+ - *330
+ - *331
+ - *397
- *17
- *19
responses:
@@ -89916,8 +89676,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
- name: includes_parents
@@ -89983,8 +89743,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
description: Request body
required: true
@@ -90093,8 +89853,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *600
- *601
- *602
@@ -90129,8 +89889,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *606
responses:
'200':
@@ -90167,8 +89927,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -90208,8 +89968,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -90291,8 +90051,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -90315,8 +90075,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
- name: ruleset_id
@@ -90353,8 +90113,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -90427,8 +90187,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *612
- *613
- *614
@@ -90715,9 +90475,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
- *622
responses:
'200':
@@ -90778,9 +90538,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
requestBody:
required: true
content:
@@ -90918,9 +90678,9 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert
parameters:
- - *334
- - *335
- - *432
+ - *330
+ - *331
+ - *428
- *19
- *17
responses:
@@ -90931,7 +90691,7 @@ paths:
schema:
type: array
description: List of locations where the secret was detected
- items: &785
+ items: &786
type: object
properties:
type:
@@ -91055,8 +90815,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -91134,8 +90894,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'404':
description: Repository does not have GitHub Advanced Security or secret
@@ -91254,8 +91014,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *52
- name: sort
description: The property to sort the results by.
@@ -91324,8 +91084,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -91720,8 +91480,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -91972,8 +91732,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *645
responses:
'200':
@@ -92006,8 +91766,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *645
requestBody:
required: true
@@ -92208,8 +91968,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:
- - *334
- - *335
+ - *330
+ - *331
- *645
responses:
'202': *39
@@ -92237,17 +91997,17 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *645
responses:
'202':
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
+ default: *335
'400': *14
'422': *15
'403': *29
@@ -92273,8 +92033,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/starring#list-stargazers
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -92373,8 +92133,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Returns a weekly aggregate of the number of additions and deletions
@@ -92416,8 +92176,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -92493,8 +92253,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -92590,8 +92350,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: The array order is oldest week (index 0) to most recent week.
@@ -92745,8 +92505,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: For example, `[2, 14, 25]` indicates that there were 25 total
@@ -92789,8 +92549,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/commits/statuses#create-a-commit-status
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: sha
in: path
required: true
@@ -92898,8 +92658,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/watching#list-watchers
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -92931,8 +92691,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: if you subscribe to the repository
@@ -93006,8 +92766,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -93060,8 +92820,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -93081,8 +92841,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-tags
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -93161,8 +92921,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -93222,8 +92982,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:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -93277,8 +93037,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:
- - *334
- - *335
+ - *330
+ - *331
- name: tag_protection_id
description: The unique identifier of the tag protection.
in: path
@@ -93315,8 +93075,8 @@ paths:
url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar
operationId: repos/download-tarball-archive
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ref
in: path
required: true
@@ -93352,8 +93112,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#list-repository-teams
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *17
- *19
responses:
@@ -93385,8 +93145,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#get-all-repository-topics
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *19
- *17
responses:
@@ -93429,8 +93189,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -93484,8 +93244,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/traffic#get-repository-clones
parameters:
- - *334
- - *335
+ - *330
+ - *331
- &653
name: per
description: The time frame to display results for.
@@ -93603,8 +93363,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -93695,8 +93455,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Response
@@ -93757,8 +93517,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/metrics/traffic#get-page-views
parameters:
- - *334
- - *335
+ - *330
+ - *331
- *653
responses:
'200':
@@ -93856,8 +93616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#transfer-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: true
content:
@@ -94131,8 +93891,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response if repository is enabled with vulnerability alerts
@@ -94155,8 +93915,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -94178,8 +93938,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -94205,8 +93965,8 @@ paths:
url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip
operationId: repos/download-zipball-archive
parameters:
- - *334
- - *335
+ - *330
+ - *331
- name: ref
in: path
required: true
@@ -94298,9 +94058,9 @@ paths:
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
+ default: *335
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World
@@ -94781,7 +94541,7 @@ paths:
description: Metaproperties for Git author/committer
information.
type: object
- properties: *399
+ properties: *395
nullable: true
comment_count:
type: integer
@@ -94801,7 +94561,7 @@ paths:
url:
type: string
format: uri
- verification: *518
+ verification: *516
required:
- author
- committer
@@ -94820,7 +94580,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: *399
+ properties: *395
nullable: true
parents:
type: array
@@ -97017,246 +96777,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:
- - *660
- - *325
- - *328
- - 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: *329
- examples:
- default: *331
- headers:
- Link: *58
- 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:
- - *660
- - *325
- - *328
- 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: *329
- examples:
- default: *330
- 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:
- - *660
- - *325
- - 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: *329
- examples:
- default: *331
- headers:
- Link: *58
- 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:
- - *660
- - *325
- 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: *329
- examples:
- default: *330
- 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)
@@ -97482,7 +97002,7 @@ paths:
description: Response
content:
application/json:
- schema: *333
+ schema: *329
examples:
response-if-user-is-a-team-maintainer: *665
'404': *6
@@ -97543,7 +97063,7 @@ paths:
description: Response
content:
application/json:
- schema: *333
+ schema: *329
examples:
response-if-users-membership-with-team-is-now-pending: *666
'403':
@@ -97650,8 +97170,8 @@ paths:
url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy
parameters:
- *660
- - *334
- - *335
+ - *330
+ - *331
responses:
'200':
description: Alternative response with extra repository information
@@ -97809,8 +97329,8 @@ paths:
url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy
parameters:
- *660
- - *334
- - *335
+ - *330
+ - *331
requestBody:
required: false
content:
@@ -97861,8 +97381,8 @@ paths:
url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy
parameters:
- *660
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -98634,7 +98154,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -98642,7 +98162,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'401': *25
'403': *29
'404': *6
@@ -98726,7 +98246,7 @@ paths:
- visibility
- selected_repositories_url
examples:
- default: *458
+ default: *454
headers:
Link: *58
x-github:
@@ -99100,7 +98620,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'304': *37
'500': *111
'401': *25
@@ -99158,7 +98678,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'401': *25
'403': *29
'404': *6
@@ -99421,13 +98941,13 @@ paths:
nullable: true
owner: *4
billable_owner: *4
- repository: *337
+ repository: *333
machine:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: *456
- required: *457
+ properties: *452
+ required: *453
nullable: true
devcontainer_path:
description: Path to devcontainer.json from repo root used to
@@ -100209,7 +99729,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'304': *37
'500': *111
'400': *14
@@ -100249,7 +99769,7 @@ paths:
application/json:
schema: *232
examples:
- default: *455
+ default: *451
'500': *111
'401': *25
'403': *29
@@ -101397,7 +100917,7 @@ paths:
required: true
content:
application/json:
- schema: *529
+ schema: *527
examples:
default:
value:
@@ -103826,9 +103346,9 @@ paths:
description: Response
content:
application/json:
- schema: *337
+ schema: *333
examples:
- default: *339
+ default: *335
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World
@@ -103866,7 +103386,7 @@ paths:
application/json:
schema:
type: array
- items: *531
+ items: *529
examples:
default: *690
headers:
@@ -104133,7 +103653,7 @@ paths:
- title
- created_at
examples:
- default: &721
+ default: &722
value:
- id: 2
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -104295,7 +103815,7 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user
parameters:
- - &722
+ - &723
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
@@ -104324,7 +103844,7 @@ paths:
application/vnd.github.v3.star+json:
schema:
type: array
- items: &723
+ items: &724
title: Starred Repository
description: Starred Repository
type: object
@@ -104480,8 +104000,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:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response if this repository is starred by you
@@ -104509,8 +104029,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -104534,8 +104054,8 @@ paths:
description: API method documentation
url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user
parameters:
- - *334
- - *335
+ - *330
+ - *331
responses:
'204':
description: Response
@@ -105215,7 +104735,7 @@ paths:
initiator:
type: string
examples:
- default: *395
+ default: *391
'201':
description: Response
content:
@@ -105746,7 +105266,7 @@ paths:
application/json:
schema: *22
examples:
- default: *528
+ default: *526
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -106744,6 +106264,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:
+ - *263
+ - *63
+ - *717
+ - 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
+ - *45
+ - *46
+ - *17
+ responses:
+ '200':
+ description: Response
+ content:
+ application/json:
+ schema:
+ type: array
+ items: *271
+ examples:
+ default: *272
+ headers:
+ Link: *58
+ '304': *37
+ '403': *29
+ '401': *25
+ '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
@@ -106979,7 +106552,7 @@ paths:
- *114
- *116
- *115
- - *717
+ - *718
- *117
responses:
'200':
@@ -107110,7 +106683,7 @@ paths:
parameters:
- *63
- *114
- - *718
+ - *719
- *115
responses:
'200':
@@ -107209,9 +106782,9 @@ paths:
- *114
- *116
- *115
- - *719
- - *117
- *720
+ - *117
+ - *721
responses:
'200':
description: Response when getting a billing usage summary
@@ -107379,7 +106952,7 @@ paths:
type: array
items: *693
examples:
- default: *721
+ default: *722
headers:
Link: *58
x-github:
@@ -107404,7 +106977,7 @@ paths:
url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user
parameters:
- *63
- - *722
+ - *723
- *52
- *17
- *19
@@ -107416,7 +106989,7 @@ paths:
schema:
anyOf:
- type: array
- items: *723
+ items: *724
- type: array
items: *70
examples:
@@ -107579,7 +107152,7 @@ x-webhooks:
type: string
enum:
- disabled
- enterprise: &724
+ enterprise: &725
title: Enterprise
description: |-
An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
@@ -107637,7 +107210,7 @@ x-webhooks:
- created_at
- updated_at
- avatar_url
- installation: &725
+ installation: &726
title: Simple Installation
description: |-
The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
@@ -107656,7 +107229,7 @@ x-webhooks:
required:
- id
- node_id
- organization: &726
+ organization: &727
title: Organization Simple
description: |-
A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
@@ -107716,13 +107289,13 @@ x-webhooks:
- public_members_url
- avatar_url
- description
- repository: &727
+ repository: &728
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: &757
+ properties: &758
id:
description: Unique identifier of the repository
example: 42
@@ -108405,7 +107978,7 @@ x-webhooks:
type: boolean
description: Whether anonymous git access is enabled for this
repository
- required: &758
+ required: &759
- archive_url
- assignees_url
- blobs_url
@@ -108556,10 +108129,10 @@ x-webhooks:
type: string
enum:
- enabled
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -108635,11 +108208,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- rule: &728
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ rule: &729
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)
@@ -108862,11 +108435,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- rule: *728
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ rule: *729
sender: *4
required:
- action
@@ -109049,11 +108622,11 @@ x-webhooks:
- everyone
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- rule: *728
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ rule: *729
sender: *4
required:
- action
@@ -109137,7 +108710,7 @@ x-webhooks:
type: string
enum:
- completed
- check_run: &730
+ check_run: &731
title: CheckRun
description: A check performed on the code of a given code change
type: object
@@ -109228,7 +108801,7 @@ x-webhooks:
- skipped
- timed_out
- action_required
- deployment: *729
+ deployment: *730
details_url:
example: https://example.com
type: string
@@ -109313,10 +108886,10 @@ x-webhooks:
- output
- app
- pull_requests
- installation: *725
- enterprise: *724
- organization: *726
- repository: *727
+ installation: *726
+ enterprise: *725
+ organization: *727
+ repository: *728
sender: *4
required:
- check_run
@@ -109709,11 +109282,11 @@ x-webhooks:
type: string
enum:
- created
- check_run: *730
- installation: *725
- enterprise: *724
- organization: *726
- repository: *727
+ check_run: *731
+ installation: *726
+ enterprise: *725
+ organization: *727
+ repository: *728
sender: *4
required:
- check_run
@@ -110109,11 +109682,11 @@ x-webhooks:
type: string
enum:
- requested_action
- check_run: *730
- installation: *725
- enterprise: *724
- organization: *726
- repository: *727
+ check_run: *731
+ installation: *726
+ enterprise: *725
+ organization: *727
+ repository: *728
requested_action:
description: The action requested by the user.
type: object
@@ -110518,11 +110091,11 @@ x-webhooks:
type: string
enum:
- rerequested
- check_run: *730
- installation: *725
- enterprise: *724
- organization: *726
- repository: *727
+ check_run: *731
+ installation: *726
+ enterprise: *725
+ organization: *727
+ repository: *728
sender: *4
required:
- check_run
@@ -111499,10 +111072,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -112196,10 +111769,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -112887,10 +112460,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -113056,7 +112629,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -113201,20 +112774,20 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: &731
+ commit_oid: &732
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: *724
- installation: *725
- organization: *726
- ref: &732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: &733
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: *727
+ repository: *728
sender: *4
required:
- action
@@ -113379,7 +112952,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -113609,12 +113182,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *731
- enterprise: *724
- installation: *725
- organization: *726
- ref: *732
- repository: *727
+ commit_oid: *732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: *733
+ repository: *728
sender: *4
required:
- action
@@ -113709,7 +113282,7 @@ x-webhooks:
nullable: true
dismissed_by:
nullable: true
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -113880,12 +113453,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *731
- enterprise: *724
- installation: *725
- organization: *726
- ref: *732
- repository: *727
+ commit_oid: *732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: *733
+ repository: *728
sender: *4
required:
- action
@@ -114051,7 +113624,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -114217,12 +113790,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *731
- enterprise: *724
- installation: *725
- organization: *726
- ref: *732
- repository: *727
+ commit_oid: *732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: *733
+ repository: *728
sender: *4
required:
- action
@@ -114321,7 +113894,7 @@ x-webhooks:
dismissed_by:
type: object
nullable: true
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -114496,16 +114069,16 @@ x-webhooks:
triggered by the `sender` and this value will be empty.
type: string
nullable: true
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
ref:
description: The Git reference of the code scanning alert. When
the action is `reopened_by_user` or `closed_by_user`, the event
was triggered by the `sender` and this value will be empty.
type: string
nullable: true
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -114602,7 +114175,7 @@ x-webhooks:
nullable: true
dismissed_by:
nullable: true
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -114742,12 +114315,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *731
- enterprise: *724
- installation: *725
- organization: *726
- ref: *732
- repository: *727
+ commit_oid: *732
+ enterprise: *725
+ installation: *726
+ organization: *727
+ ref: *733
+ repository: *728
sender: *4
required:
- action
@@ -114913,7 +114486,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *427
+ dismissed_comment: *423
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -115058,10 +114631,10 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -115316,10 +114889,10 @@ x-webhooks:
- updated_at
- author_association
- body
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -115399,18 +114972,18 @@ x-webhooks:
description: The repository's current description.
type: string
nullable: true
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
master_branch:
description: The name of the repository's default branch (usually
`main`).
type: string
- organization: *726
- pusher_type: &733
+ organization: *727
+ pusher_type: &734
description: The pusher type for the event. Can be either `user`
or a deploy key.
type: string
- ref: &734
+ ref: &735
description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference)
resource.
type: string
@@ -115420,7 +114993,7 @@ x-webhooks:
enum:
- tag
- branch
- repository: *727
+ repository: *728
sender: *4
required:
- ref
@@ -115503,9 +115076,9 @@ x-webhooks:
enum:
- created
definition: *274
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -115590,9 +115163,9 @@ x-webhooks:
description: The name of the property that was deleted.
required:
- property_name
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -115670,9 +115243,9 @@ x-webhooks:
enum:
- promote_to_enterprise
definition: *274
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -115750,9 +115323,9 @@ x-webhooks:
enum:
- updated
definition: *274
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -115829,10 +115402,10 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *724
- installation: *725
- repository: *727
- organization: *726
+ enterprise: *725
+ installation: *726
+ repository: *728
+ organization: *727
sender: *4
new_property_values:
type: array
@@ -115917,18 +115490,18 @@ x-webhooks:
title: delete event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
- pusher_type: *733
- ref: *734
+ enterprise: *725
+ installation: *726
+ organization: *727
+ pusher_type: *734
+ ref: *735
ref_type:
description: The type of Git ref object deleted in the repository.
type: string
enum:
- tag
- branch
- repository: *727
+ repository: *728
sender: *4
required:
- ref
@@ -116012,11 +115585,11 @@ x-webhooks:
type: string
enum:
- auto_dismissed
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116100,11 +115673,11 @@ x-webhooks:
type: string
enum:
- auto_reopened
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116188,11 +115761,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116274,11 +115847,11 @@ x-webhooks:
type: string
enum:
- dismissed
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116360,11 +115933,11 @@ x-webhooks:
type: string
enum:
- fixed
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116447,11 +116020,11 @@ x-webhooks:
type: string
enum:
- reintroduced
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116533,11 +116106,11 @@ x-webhooks:
type: string
enum:
- reopened
- alert: *487
- installation: *725
- organization: *726
- enterprise: *724
- repository: *727
+ alert: *485
+ installation: *726
+ organization: *727
+ enterprise: *725
+ repository: *728
sender: *4
required:
- action
@@ -116614,9 +116187,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- key: &735
+ enterprise: *725
+ installation: *726
+ key: &736
description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key)
resource.
type: object
@@ -116652,8 +116225,8 @@ x-webhooks:
- verified
- created_at
- read_only
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -116730,11 +116303,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- key: *735
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ key: *736
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -117295,12 +116868,12 @@ x-webhooks:
- updated_at
- statuses_url
- repository_url
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: &739
+ workflow: &740
title: Workflow
type: object
nullable: true
@@ -118026,13 +117599,13 @@ x-webhooks:
description: The URL to review the deployment protection rule.
type: string
format: uri
- deployment: *493
+ deployment: *491
pull_requests:
type: array
items: *579
- repository: *727
- organization: *726
- installation: *725
+ repository: *728
+ organization: *727
+ installation: *726
sender: *4
responses:
'200':
@@ -118103,7 +117676,7 @@ x-webhooks:
type: string
enum:
- approved
- approver: &736
+ approver: &737
type: object
properties:
avatar_url:
@@ -118146,11 +117719,11 @@ x-webhooks:
type: string
comment:
type: string
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- reviewers: &737
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ reviewers: &738
type: array
items:
type: object
@@ -118229,7 +117802,7 @@ x-webhooks:
sender: *4
since:
type: string
- workflow_job_run: &738
+ workflow_job_run: &739
type: object
properties:
conclusion:
@@ -118960,18 +118533,18 @@ x-webhooks:
type: string
enum:
- rejected
- approver: *736
+ approver: *737
comment:
type: string
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- reviewers: *737
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ reviewers: *738
sender: *4
since:
type: string
- workflow_job_run: *738
+ workflow_job_run: *739
workflow_job_runs:
type: array
items:
@@ -119675,13 +119248,13 @@ x-webhooks:
type: string
enum:
- requested
- enterprise: *724
+ enterprise: *725
environment:
type: string
- installation: *725
- organization: *726
- repository: *727
- requestor: &744
+ installation: *726
+ organization: *727
+ repository: *728
+ requestor: &745
title: User
type: object
nullable: true
@@ -121580,12 +121153,12 @@ x-webhooks:
- updated_at
- deployment_url
- repository_url
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: *739
+ workflow: *740
workflow_run:
title: Deployment Workflow Run
type: object
@@ -122265,7 +121838,7 @@ x-webhooks:
type: string
enum:
- answered
- answer: &742
+ answer: &743
type: object
properties:
author_association:
@@ -122422,11 +121995,11 @@ x-webhooks:
- created_at
- updated_at
- body
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -122553,11 +122126,11 @@ x-webhooks:
- from
required:
- category
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -122640,11 +122213,11 @@ x-webhooks:
type: string
enum:
- closed
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -122726,7 +122299,7 @@ x-webhooks:
type: string
enum:
- created
- comment: &741
+ comment: &742
type: object
properties:
author_association:
@@ -122883,11 +122456,11 @@ x-webhooks:
- updated_at
- body
- reactions
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -122970,12 +122543,12 @@ x-webhooks:
type: string
enum:
- deleted
- comment: *741
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ comment: *742
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123070,12 +122643,12 @@ x-webhooks:
- from
required:
- body
- comment: *741
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ comment: *742
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123159,11 +122732,11 @@ x-webhooks:
type: string
enum:
- created
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123245,11 +122818,11 @@ x-webhooks:
type: string
enum:
- deleted
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123349,11 +122922,11 @@ x-webhooks:
type: string
required:
- from
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123435,10 +123008,10 @@ x-webhooks:
type: string
enum:
- labeled
- discussion: *740
- enterprise: *724
- installation: *725
- label: &743
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ label: &744
title: Label
type: object
properties:
@@ -123470,8 +123043,8 @@ x-webhooks:
- color
- default
- description
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123554,11 +123127,11 @@ x-webhooks:
type: string
enum:
- locked
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123640,11 +123213,11 @@ x-webhooks:
type: string
enum:
- pinned
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123726,11 +123299,11 @@ x-webhooks:
type: string
enum:
- reopened
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123815,16 +123388,16 @@ x-webhooks:
changes:
type: object
properties:
- new_discussion: *740
- new_repository: *727
+ new_discussion: *741
+ new_repository: *728
required:
- new_discussion
- new_repository
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123907,10 +123480,10 @@ x-webhooks:
type: string
enum:
- unanswered
- discussion: *740
- old_answer: *742
- organization: *726
- repository: *727
+ discussion: *741
+ old_answer: *743
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -123992,12 +123565,12 @@ x-webhooks:
type: string
enum:
- unlabeled
- discussion: *740
- enterprise: *724
- installation: *725
- label: *743
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -124080,11 +123653,11 @@ x-webhooks:
type: string
enum:
- unlocked
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -124166,11 +123739,11 @@ x-webhooks:
type: string
enum:
- unpinned
- discussion: *740
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ discussion: *741
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -124243,7 +123816,7 @@ x-webhooks:
description: A user forks a repository.
type: object
properties:
- enterprise: *724
+ enterprise: *725
forkee:
description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository)
resource.
@@ -124903,9 +124476,9 @@ x-webhooks:
type: integer
watchers_count:
type: integer
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- forkee
@@ -125051,9 +124624,9 @@ x-webhooks:
title: gollum event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pages:
description: The pages that were updated.
type: array
@@ -125090,7 +124663,7 @@ x-webhooks:
- action
- sha
- html_url
- repository: *727
+ repository: *728
sender: *4
required:
- pages
@@ -125166,10 +124739,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: &745
+ organization: *727
+ repositories: &746
description: An array of repository objects that the installation
can access.
type: array
@@ -125195,8 +124768,8 @@ x-webhooks:
- name
- full_name
- private
- repository: *727
- requester: *744
+ repository: *728
+ requester: *745
sender: *4
required:
- action
@@ -125271,11 +124844,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: *745
- repository: *727
+ organization: *727
+ repositories: *746
+ repository: *728
requester:
nullable: true
sender: *4
@@ -125351,11 +124924,11 @@ x-webhooks:
type: string
enum:
- new_permissions_accepted
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: *745
- repository: *727
+ organization: *727
+ repositories: *746
+ repository: *728
requester:
nullable: true
sender: *4
@@ -125431,10 +125004,10 @@ x-webhooks:
type: string
enum:
- added
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories_added: &746
+ organization: *727
+ repositories_added: &747
description: An array of repository objects, which were added to
the installation.
type: array
@@ -125480,15 +125053,15 @@ x-webhooks:
private:
description: Whether the repository is private or public.
type: boolean
- repository: *727
- repository_selection: &747
+ repository: *728
+ repository_selection: &748
description: Describe whether all repositories have been selected
or there's a selection involved
type: string
enum:
- all
- selected
- requester: *744
+ requester: *745
sender: *4
required:
- action
@@ -125567,10 +125140,10 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories_added: *746
+ organization: *727
+ repositories_added: *747
repositories_removed:
description: An array of repository objects, which were removed
from the installation.
@@ -125597,9 +125170,9 @@ x-webhooks:
- name
- full_name
- private
- repository: *727
- repository_selection: *747
- requester: *744
+ repository: *728
+ repository_selection: *748
+ requester: *745
sender: *4
required:
- action
@@ -125678,11 +125251,11 @@ x-webhooks:
type: string
enum:
- suspend
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: *745
- repository: *727
+ organization: *727
+ repositories: *746
+ repository: *728
requester:
nullable: true
sender: *4
@@ -125860,10 +125433,10 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
target_type:
type: string
@@ -125942,11 +125515,11 @@ x-webhooks:
type: string
enum:
- unsuspend
- enterprise: *724
+ enterprise: *725
installation: *22
- organization: *726
- repositories: *745
- repository: *727
+ organization: *727
+ repositories: *746
+ repository: *728
requester:
nullable: true
sender: *4
@@ -126198,8 +125771,8 @@ x-webhooks:
- performed_via_github_app
- body
- reactions
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -127343,8 +126916,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -127424,7 +126997,7 @@ x-webhooks:
type: string
enum:
- deleted
- comment: &748
+ comment: &749
title: issue comment
description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment)
itself.
@@ -127589,8 +127162,8 @@ x-webhooks:
- performed_via_github_app
- body
- reactions
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -128732,8 +128305,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -128813,7 +128386,7 @@ x-webhooks:
type: string
enum:
- edited
- changes: &777
+ changes: &778
description: The changes to the comment.
type: object
properties:
@@ -128825,9 +128398,9 @@ x-webhooks:
type: string
required:
- from
- comment: *748
- enterprise: *724
- installation: *725
+ comment: *749
+ enterprise: *725
+ installation: *726
issue:
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -129970,8 +129543,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130061,9 +129634,9 @@ x-webhooks:
type: number
blocking_issue: *74
blocking_issue_repo: *70
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130152,9 +129725,9 @@ x-webhooks:
type: number
blocking_issue: *74
blocking_issue_repo: *70
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130242,9 +129815,9 @@ x-webhooks:
description: The ID of the blocking issue.
type: number
blocking_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130333,9 +129906,9 @@ x-webhooks:
description: The ID of the blocking issue.
type: number
blocking_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -130415,10 +129988,10 @@ x-webhooks:
type: string
enum:
- assigned
- assignee: *744
- enterprise: *724
- installation: *725
- issue: &751
+ assignee: *745
+ enterprise: *725
+ installation: *726
+ issue: &752
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
itself.
@@ -131328,8 +130901,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -131409,8 +130982,8 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
itself.
@@ -132460,8 +132033,8 @@ x-webhooks:
required:
- state
- closed_at
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -132540,8 +132113,8 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -133446,8 +133019,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -133526,8 +133099,8 @@ x-webhooks:
type: string
enum:
- demilestoned
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -134433,7 +134006,7 @@ x-webhooks:
format: uri
user_view_type:
type: string
- milestone: &749
+ milestone: &750
title: Milestone
description: A collection of related issues and pull requests.
type: object
@@ -134571,8 +134144,8 @@ x-webhooks:
- updated_at
- due_on
- closed_at
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -134671,8 +134244,8 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -135582,9 +135155,9 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- label: *743
- organization: *726
- repository: *727
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -135664,8 +135237,8 @@ x-webhooks:
type: string
enum:
- labeled
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -136574,9 +136147,9 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- label: *743
- organization: *726
- repository: *727
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -136656,8 +136229,8 @@ x-webhooks:
type: string
enum:
- locked
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -137567,8 +137140,8 @@ x-webhooks:
format: uri
user_view_type:
type: string
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -137647,8 +137220,8 @@ x-webhooks:
type: string
enum:
- milestoned
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -138552,9 +138125,9 @@ x-webhooks:
format: uri
user_view_type:
type: string
- milestone: *749
- organization: *726
- repository: *727
+ milestone: *750
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -139988,8 +139561,8 @@ x-webhooks:
required:
- old_issue
- old_repository
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -140898,8 +140471,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -140979,9 +140552,9 @@ x-webhooks:
type: string
enum:
- pinned
- enterprise: *724
- installation: *725
- issue: &750
+ enterprise: *725
+ installation: *726
+ issue: &751
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
itself.
@@ -141884,8 +141457,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -141964,8 +141537,8 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -142874,8 +142447,8 @@ x-webhooks:
user_view_type:
type: string
type: *227
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144329,11 +143902,11 @@ x-webhooks:
required:
- new_issue
- new_repository
- enterprise: *724
- installation: *725
- issue: *750
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ issue: *751
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144413,12 +143986,12 @@ x-webhooks:
type: string
enum:
- typed
- enterprise: *724
- installation: *725
- issue: *751
+ enterprise: *725
+ installation: *726
+ issue: *752
type: *227
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144499,7 +144072,7 @@ x-webhooks:
type: string
enum:
- unassigned
- assignee: &780
+ assignee: &781
title: User
type: object
nullable: true
@@ -144569,11 +144142,11 @@ x-webhooks:
required:
- login
- id
- enterprise: *724
- installation: *725
- issue: *751
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ issue: *752
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144652,12 +144225,12 @@ x-webhooks:
type: string
enum:
- unlabeled
- enterprise: *724
- installation: *725
- issue: *751
- label: *743
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ issue: *752
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -144737,8 +144310,8 @@ x-webhooks:
type: string
enum:
- unlocked
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
issue:
title: Issue
description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue)
@@ -145646,8 +145219,8 @@ x-webhooks:
format: uri
user_view_type:
type: string
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -145727,11 +145300,11 @@ x-webhooks:
type: string
enum:
- unpinned
- enterprise: *724
- installation: *725
- issue: *750
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ issue: *751
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -145810,12 +145383,12 @@ x-webhooks:
type: string
enum:
- untyped
- enterprise: *724
- installation: *725
- issue: *751
+ enterprise: *725
+ installation: *726
+ issue: *752
type: *227
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -145895,11 +145468,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- label: *743
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -145977,11 +145550,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- label: *743
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -146091,11 +145664,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- label: *743
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ label: *744
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -146177,9 +145750,9 @@ x-webhooks:
- cancelled
effective_date:
type: string
- enterprise: *724
- installation: *725
- marketplace_purchase: &752
+ enterprise: *725
+ installation: *726
+ marketplace_purchase: &753
title: Marketplace Purchase
type: object
required:
@@ -146262,8 +145835,8 @@ x-webhooks:
type: integer
unit_count:
type: integer
- organization: *726
- previous_marketplace_purchase: &753
+ organization: *727
+ previous_marketplace_purchase: &754
title: Marketplace Purchase
type: object
properties:
@@ -146343,7 +145916,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -146423,10 +145996,10 @@ x-webhooks:
- changed
effective_date:
type: string
- enterprise: *724
- installation: *725
- marketplace_purchase: *752
- organization: *726
+ enterprise: *725
+ installation: *726
+ marketplace_purchase: *753
+ organization: *727
previous_marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -146509,7 +146082,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -146591,10 +146164,10 @@ x-webhooks:
- pending_change
effective_date:
type: string
- enterprise: *724
- installation: *725
- marketplace_purchase: *752
- organization: *726
+ enterprise: *725
+ installation: *726
+ marketplace_purchase: *753
+ organization: *727
previous_marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -146676,7 +146249,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -146757,8 +146330,8 @@ x-webhooks:
- pending_change_cancelled
effective_date:
type: string
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -146840,9 +146413,9 @@ x-webhooks:
type: integer
unit_count:
type: integer
- organization: *726
- previous_marketplace_purchase: *753
- repository: *727
+ organization: *727
+ previous_marketplace_purchase: *754
+ repository: *728
sender: *4
required:
- action
@@ -146922,12 +146495,12 @@ x-webhooks:
- purchased
effective_date:
type: string
- enterprise: *724
- installation: *725
- marketplace_purchase: *752
- organization: *726
- previous_marketplace_purchase: *753
- repository: *727
+ enterprise: *725
+ installation: *726
+ marketplace_purchase: *753
+ organization: *727
+ previous_marketplace_purchase: *754
+ repository: *728
sender: *4
required:
- action
@@ -147029,11 +146602,11 @@ x-webhooks:
type: string
required:
- to
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147133,11 +146706,11 @@ x-webhooks:
to:
type: string
nullable: true
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147216,11 +146789,11 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147298,11 +146871,11 @@ x-webhooks:
type: string
enum:
- added
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
scope:
description: The scope of the membership. Currently, can only be
`team`.
@@ -147378,7 +146951,7 @@ x-webhooks:
required:
- login
- id
- team: &754
+ team: &755
title: Team
description: Groups of organization members that gives permissions
on specified repositories.
@@ -147601,11 +147174,11 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *724
- installation: *725
- member: *744
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ member: *745
+ organization: *727
+ repository: *728
scope:
description: The scope of the membership. Currently, can only be
`team`.
@@ -147682,7 +147255,7 @@ x-webhooks:
required:
- login
- id
- team: *754
+ team: *755
required:
- action
- scope
@@ -147764,8 +147337,8 @@ x-webhooks:
type: string
enum:
- checks_requested
- installation: *725
- merge_group: &756
+ installation: *726
+ merge_group: &757
type: object
title: Merge Group
description: A group of pull requests that the merge queue has grouped
@@ -147784,15 +147357,15 @@ x-webhooks:
description: The full ref of the branch the merge group will
be merged into.
type: string
- head_commit: *755
+ head_commit: *756
required:
- head_sha
- head_ref
- base_sha
- base_ref
- head_commit
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147878,10 +147451,10 @@ x-webhooks:
- merged
- invalidated
- dequeued
- installation: *725
- merge_group: *756
- organization: *726
- repository: *727
+ installation: *726
+ merge_group: *757
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -147954,7 +147527,7 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
+ enterprise: *725
hook:
description: 'The deleted webhook. This will contain different keys
based on the type of webhook it is: repository, organization,
@@ -148063,16 +147636,16 @@ x-webhooks:
hook_id:
description: The id of the modified webhook.
type: integer
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *757
- required: *758
+ properties: *758
+ required: *759
nullable: true
sender: *4
required:
@@ -148153,11 +147726,11 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *724
- installation: *725
- milestone: *749
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ milestone: *750
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148236,9 +147809,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- milestone: &759
+ enterprise: *725
+ installation: *726
+ milestone: &760
title: Milestone
description: A collection of related issues and pull requests.
type: object
@@ -148375,8 +147948,8 @@ x-webhooks:
- updated_at
- due_on
- closed_at
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148455,11 +148028,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- milestone: *749
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ milestone: *750
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148569,11 +148142,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- milestone: *749
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ milestone: *750
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148653,11 +148226,11 @@ x-webhooks:
type: string
enum:
- opened
- enterprise: *724
- installation: *725
- milestone: *759
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ milestone: *760
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148736,11 +148309,11 @@ x-webhooks:
type: string
enum:
- blocked
- blocked_user: *744
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ blocked_user: *745
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148819,11 +148392,11 @@ x-webhooks:
type: string
enum:
- unblocked
- blocked_user: *744
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ blocked_user: *745
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -148902,9 +148475,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- membership: &760
+ enterprise: *725
+ installation: *726
+ membership: &761
title: Membership
description: The membership between the user and the organization.
Not present when the action is `member_invited`.
@@ -149011,8 +148584,8 @@ x-webhooks:
- role
- organization_url
- user
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -149090,11 +148663,11 @@ x-webhooks:
type: string
enum:
- member_added
- enterprise: *724
- installation: *725
- membership: *760
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ membership: *761
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -149173,8 +148746,8 @@ x-webhooks:
type: string
enum:
- member_invited
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
invitation:
description: The invitation for the user or email if the action
is `member_invited`.
@@ -149290,10 +148863,10 @@ x-webhooks:
- inviter
- team_count
- invitation_teams_url
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
- user: *744
+ user: *745
required:
- action
- invitation
@@ -149371,11 +148944,11 @@ x-webhooks:
type: string
enum:
- member_removed
- enterprise: *724
- installation: *725
- membership: *760
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ membership: *761
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -149462,11 +149035,11 @@ x-webhooks:
properties:
from:
type: string
- enterprise: *724
- installation: *725
- membership: *760
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ membership: *761
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -149542,9 +149115,9 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
package:
description: Information about the package.
type: object
@@ -150043,7 +149616,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: &761
+ items: &762
title: Ruby Gems metadata
type: object
properties:
@@ -150138,7 +149711,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -150214,9 +149787,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
package:
description: Information about the package.
type: object
@@ -150569,7 +150142,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: *761
+ items: *762
source_url:
type: string
format: uri
@@ -150639,7 +150212,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -150816,12 +150389,12 @@ x-webhooks:
- duration
- created_at
- updated_at
- enterprise: *724
+ enterprise: *725
id:
type: integer
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- id
@@ -150898,7 +150471,7 @@ x-webhooks:
type: string
enum:
- approved
- personal_access_token_request: &762
+ personal_access_token_request: &763
title: Personal Access Token Request
description: Details of a Personal Access Token Request.
type: object
@@ -151044,10 +150617,10 @@ x-webhooks:
- token_expired
- token_expires_at
- token_last_used_at
- enterprise: *724
- organization: *726
+ enterprise: *725
+ organization: *727
sender: *4
- installation: *725
+ installation: *726
required:
- action
- personal_access_token_request
@@ -151124,11 +150697,11 @@ x-webhooks:
type: string
enum:
- cancelled
- personal_access_token_request: *762
- enterprise: *724
- organization: *726
+ personal_access_token_request: *763
+ enterprise: *725
+ organization: *727
sender: *4
- installation: *725
+ installation: *726
required:
- action
- personal_access_token_request
@@ -151204,11 +150777,11 @@ x-webhooks:
type: string
enum:
- created
- personal_access_token_request: *762
- enterprise: *724
- organization: *726
+ personal_access_token_request: *763
+ enterprise: *725
+ organization: *727
sender: *4
- installation: *725
+ installation: *726
required:
- action
- personal_access_token_request
@@ -151283,11 +150856,11 @@ x-webhooks:
type: string
enum:
- denied
- personal_access_token_request: *762
- organization: *726
- enterprise: *724
+ personal_access_token_request: *763
+ organization: *727
+ enterprise: *725
sender: *4
- installation: *725
+ installation: *726
required:
- action
- personal_access_token_request
@@ -151392,7 +150965,7 @@ x-webhooks:
id:
description: Unique identifier of the webhook.
type: integer
- last_response: *763
+ last_response: *764
name:
description: The type of webhook. The only valid value is 'web'.
type: string
@@ -151424,8 +150997,8 @@ x-webhooks:
hook_id:
description: The ID of the webhook that triggered the ping.
type: integer
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
zen:
description: Random string of GitHub zen.
@@ -151670,10 +151243,10 @@ x-webhooks:
- from
required:
- note
- enterprise: *724
- installation: *725
- organization: *726
- project_card: &764
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_card: &765
title: Project Card
type: object
properties:
@@ -151792,7 +151365,7 @@ x-webhooks:
- creator
- created_at
- updated_at
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -151873,11 +151446,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- project_card: *764
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_card: *765
+ repository: *728
sender: *4
required:
- action
@@ -151957,9 +151530,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
project_card:
title: Project Card
type: object
@@ -152087,8 +151660,8 @@ x-webhooks:
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *757
- required: *758
+ properties: *758
+ required: *759
nullable: true
sender: *4
required:
@@ -152182,11 +151755,11 @@ x-webhooks:
- from
required:
- note
- enterprise: *724
- installation: *725
- organization: *726
- project_card: *764
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_card: *765
+ repository: *728
sender: *4
required:
- action
@@ -152280,9 +151853,9 @@ x-webhooks:
- from
required:
- column_id
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
project_card:
allOf:
- title: Project Card
@@ -152472,7 +152045,7 @@ x-webhooks:
type: string
required:
- after_id
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -152552,10 +152125,10 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *724
- installation: *725
- organization: *726
- project: &766
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: &767
title: Project
type: object
properties:
@@ -152679,7 +152252,7 @@ x-webhooks:
- creator
- created_at
- updated_at
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -152759,10 +152332,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- project_column: &765
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_column: &766
title: Project Column
type: object
properties:
@@ -152801,7 +152374,7 @@ x-webhooks:
- name
- created_at
- updated_at
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -152880,18 +152453,18 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- project_column: *765
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_column: *766
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *757
- required: *758
+ properties: *758
+ required: *759
nullable: true
sender: *4
required:
@@ -152981,11 +152554,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- project_column: *765
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_column: *766
+ repository: *728
sender: *4
required:
- action
@@ -153065,11 +152638,11 @@ x-webhooks:
type: string
enum:
- moved
- enterprise: *724
- installation: *725
- organization: *726
- project_column: *765
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project_column: *766
+ repository: *728
sender: *4
required:
- action
@@ -153149,11 +152722,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- project: *766
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: *767
+ repository: *728
sender: *4
required:
- action
@@ -153233,18 +152806,18 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- project: *766
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: *767
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *757
- required: *758
+ properties: *758
+ required: *759
nullable: true
sender: *4
required:
@@ -153346,11 +152919,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- project: *766
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: *767
+ repository: *728
sender: *4
required:
- action
@@ -153429,11 +153002,11 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *724
- installation: *725
- organization: *726
- project: *766
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ project: *767
+ repository: *728
sender: *4
required:
- action
@@ -153514,8 +153087,8 @@ x-webhooks:
type: string
enum:
- closed
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -153597,8 +153170,8 @@ x-webhooks:
type: string
enum:
- created
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -153680,8 +153253,8 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -153799,8 +153372,8 @@ x-webhooks:
type: string
to:
type: string
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -153884,7 +153457,7 @@ x-webhooks:
type: string
enum:
- archived
- changes: &770
+ changes: &771
type: object
properties:
archived_at:
@@ -153898,9 +153471,9 @@ x-webhooks:
type: string
nullable: true
format: date-time
- installation: *725
- organization: *726
- projects_v2_item: &767
+ installation: *726
+ organization: *727
+ projects_v2_item: &768
title: Projects v2 Item
description: An item belonging to a project
type: object
@@ -154035,9 +153608,9 @@ x-webhooks:
nullable: true
to:
type: string
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154119,9 +153692,9 @@ x-webhooks:
type: string
enum:
- created
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154202,9 +153775,9 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154310,7 +153883,7 @@ x-webhooks:
oneOf:
- type: string
- type: integer
- - &768
+ - &769
title: Projects v2 Single Select Option
description: An option for a single select field
type: object
@@ -154332,7 +153905,7 @@ x-webhooks:
required:
- id
- name
- - &769
+ - &770
title: Projects v2 Iteration Setting
description: An iteration setting for an iteration field
type: object
@@ -154366,8 +153939,8 @@ x-webhooks:
oneOf:
- type: string
- type: integer
- - *768
- *769
+ - *770
required:
- field_value
- type: object
@@ -154383,9 +153956,9 @@ x-webhooks:
nullable: true
required:
- body
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154480,9 +154053,9 @@ x-webhooks:
to:
type: string
nullable: true
- installation: *725
- organization: *726
- projects_v2_item: *767
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154565,10 +154138,10 @@ x-webhooks:
type: string
enum:
- restored
- changes: *770
- installation: *725
- organization: *726
- projects_v2_item: *767
+ changes: *771
+ installation: *726
+ organization: *727
+ projects_v2_item: *768
sender: *4
required:
- action
@@ -154650,8 +154223,8 @@ x-webhooks:
type: string
enum:
- reopened
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
projects_v2: *261
sender: *4
required:
@@ -154733,14 +154306,14 @@ x-webhooks:
type: string
enum:
- created
- installation: *725
- organization: *726
- projects_v2_status_update: &773
+ installation: *726
+ organization: *727
+ projects_v2_status_update: &774
title: Projects v2 Status Update
description: An status update belonging to a project
type: object
- properties: *771
- required: *772
+ properties: *772
+ required: *773
sender: *4
required:
- action
@@ -154821,9 +154394,9 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *725
- organization: *726
- projects_v2_status_update: *773
+ installation: *726
+ organization: *727
+ projects_v2_status_update: *774
sender: *4
required:
- action
@@ -154959,9 +154532,9 @@ x-webhooks:
type: string
format: date
nullable: true
- installation: *725
- organization: *726
- projects_v2_status_update: *773
+ installation: *726
+ organization: *727
+ projects_v2_status_update: *774
sender: *4
required:
- action
@@ -155032,10 +154605,10 @@ x-webhooks:
title: public event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- repository
@@ -155112,13 +154685,13 @@ x-webhooks:
type: string
enum:
- assigned
- assignee: *744
- enterprise: *724
- installation: *725
- number: &774
+ assignee: *745
+ enterprise: *725
+ installation: *726
+ number: &775
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -157401,7 +156974,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -157483,11 +157056,11 @@ x-webhooks:
type: string
enum:
- auto_merge_disabled
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -159765,7 +159338,7 @@ x-webhooks:
- draft
reason:
type: string
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -159847,11 +159420,11 @@ x-webhooks:
type: string
enum:
- auto_merge_enabled
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -162129,7 +161702,7 @@ x-webhooks:
- draft
reason:
type: string
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -162211,11 +161784,11 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: &775
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: &776
allOf:
- *579
- type: object
@@ -162279,7 +161852,7 @@ x-webhooks:
Please use `squash_merge_commit_title` instead.**
type: boolean
default: false
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -162360,12 +161933,12 @@ x-webhooks:
type: string
enum:
- converted_to_draft
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -162445,11 +162018,11 @@ x-webhooks:
type: string
enum:
- demilestoned
- enterprise: *724
+ enterprise: *725
milestone: *561
- number: *774
- organization: *726
- pull_request: &776
+ number: *775
+ organization: *727
+ pull_request: &777
title: Pull Request
type: object
properties:
@@ -164712,7 +164285,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -164791,11 +164364,11 @@ x-webhooks:
type: string
enum:
- dequeued
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -167077,7 +166650,7 @@ x-webhooks:
- BRANCH_PROTECTIONS
- GIT_TREE_INVALID
- INVALID_MERGE_COMMIT
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -167201,12 +166774,12 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -167286,11 +166859,11 @@ x-webhooks:
type: string
enum:
- enqueued
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -169557,7 +169130,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -169637,11 +169210,11 @@ x-webhooks:
type: string
enum:
- labeled
- enterprise: *724
- installation: *725
- label: *743
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ label: *744
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -171923,7 +171496,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -172004,10 +171577,10 @@ x-webhooks:
type: string
enum:
- locked
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -174287,7 +173860,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -174367,12 +173940,12 @@ x-webhooks:
type: string
enum:
- milestoned
- enterprise: *724
+ enterprise: *725
milestone: *561
- number: *774
- organization: *726
- pull_request: *776
- repository: *727
+ number: *775
+ organization: *727
+ pull_request: *777
+ repository: *728
sender: *4
required:
- action
@@ -174451,12 +174024,12 @@ x-webhooks:
type: string
enum:
- opened
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -174537,12 +174110,12 @@ x-webhooks:
type: string
enum:
- ready_for_review
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -174622,12 +174195,12 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
- pull_request: *775
- repository: *727
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
+ pull_request: *776
+ repository: *728
sender: *4
required:
- action
@@ -174993,9 +174566,9 @@ x-webhooks:
- start_side
- side
- reactions
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
type: object
properties:
@@ -177165,7 +176738,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -177245,7 +176818,7 @@ x-webhooks:
type: string
enum:
- deleted
- comment: &778
+ comment: &779
title: Pull Request Review Comment
description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request)
itself.
@@ -177530,9 +177103,9 @@ x-webhooks:
- start_side
- side
- reactions
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
type: object
properties:
@@ -179690,7 +179263,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -179770,11 +179343,11 @@ x-webhooks:
type: string
enum:
- edited
- changes: *777
- comment: *778
- enterprise: *724
- installation: *725
- organization: *726
+ changes: *778
+ comment: *779
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
type: object
properties:
@@ -181935,7 +181508,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -182016,9 +181589,9 @@ x-webhooks:
type: string
enum:
- dismissed
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -184191,7 +183764,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
+ repository: *728
review:
description: The review that was affected.
type: object
@@ -184438,9 +184011,9 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -186494,8 +186067,8 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
- review: &779
+ repository: *728
+ review: &780
description: The review that was affected.
type: object
properties:
@@ -186728,12 +186301,12 @@ x-webhooks:
type: string
enum:
- review_request_removed
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -189016,7 +188589,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
requested_reviewer:
title: User
type: object
@@ -189100,12 +188673,12 @@ x-webhooks:
type: string
enum:
- review_request_removed
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -191395,7 +190968,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
requested_team:
title: Team
description: Groups of organization members that gives permissions
@@ -191587,12 +191160,12 @@ x-webhooks:
type: string
enum:
- review_requested
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -193877,7 +193450,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
requested_reviewer:
title: User
type: object
@@ -193962,12 +193535,12 @@ x-webhooks:
type: string
enum:
- review_requested
- enterprise: *724
- installation: *725
+ enterprise: *725
+ installation: *726
number:
description: The pull request number.
type: integer
- organization: *726
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -196243,7 +195816,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
requested_team:
title: Team
description: Groups of organization members that gives permissions
@@ -196424,9 +195997,9 @@ x-webhooks:
type: string
enum:
- submitted
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -198601,8 +198174,8 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
- review: *779
+ repository: *728
+ review: *780
sender: *4
required:
- action
@@ -198682,9 +198255,9 @@ x-webhooks:
type: string
enum:
- resolved
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -200754,7 +200327,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
thread:
type: object
@@ -201141,9 +200714,9 @@ x-webhooks:
type: string
enum:
- unresolved
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
pull_request:
title: Simple Pull Request
type: object
@@ -203199,7 +202772,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *727
+ repository: *728
sender: *4
thread:
type: object
@@ -203589,10 +203162,10 @@ x-webhooks:
type: string
before:
type: string
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -205863,7 +205436,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -205945,11 +205518,11 @@ x-webhooks:
type: string
enum:
- unassigned
- assignee: *780
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
+ assignee: *781
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -208232,7 +207805,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -208311,11 +207884,11 @@ x-webhooks:
type: string
enum:
- unlabeled
- enterprise: *724
- installation: *725
- label: *743
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ label: *744
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -210588,7 +210161,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -210669,10 +210242,10 @@ x-webhooks:
type: string
enum:
- unlocked
- enterprise: *724
- installation: *725
- number: *774
- organization: *726
+ enterprise: *725
+ installation: *726
+ number: *775
+ organization: *727
pull_request:
title: Pull Request
type: object
@@ -212937,7 +212510,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -213137,7 +212710,7 @@ x-webhooks:
deleted:
description: Whether this push deleted the `ref`.
type: boolean
- enterprise: *724
+ enterprise: *725
forced:
description: Whether this push was a force push of the `ref`.
type: boolean
@@ -213229,8 +212802,8 @@ x-webhooks:
- url
- author
- committer
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
pusher:
title: Committer
description: Metaproperties for Git author/committer information.
@@ -213805,9 +213378,9 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
registry_package:
type: object
properties:
@@ -214253,7 +213826,7 @@ x-webhooks:
type: string
rubygems_metadata:
type: array
- items: *761
+ items: *762
summary:
type: string
tag_name:
@@ -214307,7 +213880,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -214385,9 +213958,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
registry_package:
type: object
properties:
@@ -214695,7 +214268,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: *761
+ items: *762
summary:
type: string
tag_name:
@@ -214744,7 +214317,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -214821,10 +214394,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- release: &781
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: &782
title: Release
description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release)
object.
@@ -215142,7 +214715,7 @@ x-webhooks:
- updated_at
- zipball_url
- body
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -215219,11 +214792,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- release: *781
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: *782
+ repository: *728
sender: *4
required:
- action
@@ -215340,11 +214913,11 @@ x-webhooks:
type: boolean
required:
- to
- enterprise: *724
- installation: *725
- organization: *726
- release: *781
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: *782
+ repository: *728
sender: *4
required:
- action
@@ -215422,9 +214995,9 @@ x-webhooks:
type: string
enum:
- prereleased
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
release:
title: Release
description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release)
@@ -215746,7 +215319,7 @@ x-webhooks:
type: string
nullable: true
format: uri
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -215822,10 +215395,10 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
- release: &782
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: &783
title: Release
description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release)
object.
@@ -216144,7 +215717,7 @@ x-webhooks:
type: string
nullable: true
format: uri
- repository: *727
+ repository: *728
sender: *4
required:
- action
@@ -216220,11 +215793,11 @@ x-webhooks:
type: string
enum:
- released
- enterprise: *724
- installation: *725
- organization: *726
- release: *781
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: *782
+ repository: *728
sender: *4
required:
- action
@@ -216300,11 +215873,11 @@ x-webhooks:
type: string
enum:
- unpublished
- enterprise: *724
- installation: *725
- organization: *726
- release: *782
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ release: *783
+ repository: *728
sender: *4
required:
- action
@@ -216380,10 +215953,10 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_advisory: *643
sender: *4
required:
@@ -216460,10 +216033,10 @@ x-webhooks:
type: string
enum:
- reported
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_advisory: *643
sender: *4
required:
@@ -216540,10 +216113,10 @@ x-webhooks:
type: string
enum:
- archived
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216620,10 +216193,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216701,10 +216274,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216788,10 +216361,10 @@ x-webhooks:
additionalProperties: true
description: The `client_payload` that was specified in the `POST
/repos/{owner}/{repo}/dispatches` request body.
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216903,10 +216476,10 @@ x-webhooks:
nullable: true
items:
type: string
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -216978,10 +216551,10 @@ x-webhooks:
title: repository_import event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
status:
type: string
@@ -217062,10 +216635,10 @@ x-webhooks:
type: string
enum:
- privatized
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217142,10 +216715,10 @@ x-webhooks:
type: string
enum:
- publicized
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217239,10 +216812,10 @@ x-webhooks:
- name
required:
- repository
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217322,10 +216895,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_ruleset: *307
sender: *4
required:
@@ -217404,10 +216977,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_ruleset: *307
sender: *4
required:
@@ -217486,10 +217059,10 @@ x-webhooks:
type: string
enum:
- edited
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
repository_ruleset: *307
changes:
type: object
@@ -217794,10 +217367,10 @@ x-webhooks:
- from
required:
- owner
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217875,10 +217448,10 @@ x-webhooks:
type: string
enum:
- unarchived
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -217956,7 +217529,7 @@ x-webhooks:
type: string
enum:
- create
- alert: &783
+ alert: &784
title: Repository Vulnerability Alert Alert
description: The security alert of the vulnerable dependency.
type: object
@@ -218077,10 +217650,10 @@ x-webhooks:
type: string
enum:
- open
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218286,10 +217859,10 @@ x-webhooks:
type: string
enum:
- dismissed
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218367,11 +217940,11 @@ x-webhooks:
type: string
enum:
- reopen
- alert: *783
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *784
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218570,10 +218143,10 @@ x-webhooks:
enum:
- fixed
- open
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218651,7 +218224,7 @@ x-webhooks:
type: string
enum:
- assigned
- alert: &784
+ alert: &785
type: object
properties:
number: *169
@@ -218770,10 +218343,10 @@ x-webhooks:
required: *21
nullable: true
assignee: *4
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218851,11 +218424,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -218936,11 +218509,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *784
- installation: *725
- location: *785
- organization: *726
- repository: *727
+ alert: *785
+ installation: *726
+ location: *786
+ organization: *727
+ repository: *728
sender: *4
required:
- location
@@ -219178,11 +218751,11 @@ x-webhooks:
type: string
enum:
- publicly_leaked
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219260,11 +218833,11 @@ x-webhooks:
type: string
enum:
- reopened
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219342,11 +218915,11 @@ x-webhooks:
type: string
enum:
- resolved
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219424,12 +218997,12 @@ x-webhooks:
type: string
enum:
- unassigned
- alert: *784
+ alert: *785
assignee: *4
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219507,11 +219080,11 @@ x-webhooks:
type: string
enum:
- validated
- alert: *784
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ alert: *785
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -219637,10 +219210,10 @@ x-webhooks:
- organization
- enterprise
nullable: true
- repository: *727
- enterprise: *724
- installation: *725
- organization: *726
+ repository: *728
+ enterprise: *725
+ installation: *726
+ organization: *727
sender: *4
required:
- action
@@ -219718,11 +219291,11 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- security_advisory: &786
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ security_advisory: &787
description: The details of the security advisory, including summary,
description, and severity.
type: object
@@ -219905,11 +219478,11 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
- security_advisory: *786
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
+ security_advisory: *787
sender: *4
required:
- action
@@ -219982,10 +219555,10 @@ x-webhooks:
type: string
enum:
- withdrawn
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
security_advisory:
description: The details of the security advisory, including summary,
description, and severity.
@@ -220170,10 +219743,10 @@ x-webhooks:
type: object
properties:
security_and_analysis: *280
- enterprise: *724
- installation: *725
- organization: *726
- repository: *337
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *333
sender: *4
required:
- changes
@@ -220251,12 +219824,12 @@ x-webhooks:
type: string
enum:
- cancelled
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: &787
+ sponsorship: &788
type: object
properties:
created_at:
@@ -220557,12 +220130,12 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- sponsorship
@@ -220650,12 +220223,12 @@ x-webhooks:
type: string
required:
- from
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- changes
@@ -220732,17 +220305,17 @@ x-webhooks:
type: string
enum:
- pending_cancellation
- effective_date: &788
+ effective_date: &789
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: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- sponsorship
@@ -220816,7 +220389,7 @@ x-webhooks:
type: string
enum:
- pending_tier_change
- changes: &789
+ changes: &790
type: object
properties:
tier:
@@ -220860,13 +220433,13 @@ x-webhooks:
- from
required:
- tier
- effective_date: *788
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ effective_date: *789
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- changes
@@ -220943,13 +220516,13 @@ x-webhooks:
type: string
enum:
- tier_changed
- changes: *789
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ changes: *790
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- sponsorship: *787
+ sponsorship: *788
required:
- action
- changes
@@ -221023,10 +220596,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
starred_at:
description: 'The time the star was created. This is a timestamp
@@ -221109,10 +220682,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
starred_at:
description: 'The time the star was created. This is a timestamp
@@ -221532,15 +221105,15 @@ x-webhooks:
status.
type: string
nullable: true
- enterprise: *724
+ enterprise: *725
id:
description: The unique identifier of the status.
type: integer
- installation: *725
+ installation: *726
name:
type: string
- organization: *726
- repository: *727
+ organization: *727
+ repository: *728
sender: *4
sha:
description: The Commit SHA.
@@ -221655,9 +221228,9 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -221747,9 +221320,9 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -221839,9 +221412,9 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -221931,9 +221504,9 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *74
- installation: *725
- organization: *726
- repository: *727
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -222010,12 +221583,12 @@ x-webhooks:
title: team_add event
type: object
properties:
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- team: &790
+ team: &791
title: Team
description: Groups of organization members that gives permissions
on specified repositories.
@@ -222238,9 +221811,9 @@ x-webhooks:
type: string
enum:
- added_to_repository
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -222698,7 +222271,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- team
@@ -222774,9 +222347,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -223234,7 +222807,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- team
@@ -223311,9 +222884,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -223771,7 +223344,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- team
@@ -223915,9 +223488,9 @@ x-webhooks:
- from
required:
- permissions
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -224375,7 +223948,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- changes
@@ -224453,9 +224026,9 @@ x-webhooks:
type: string
enum:
- removed_from_repository
- enterprise: *724
- installation: *725
- organization: *726
+ enterprise: *725
+ installation: *726
+ organization: *727
repository:
title: Repository
description: A git repository
@@ -224913,7 +224486,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *790
+ team: *791
required:
- action
- team
@@ -224989,10 +224562,10 @@ x-webhooks:
type: string
enum:
- started
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
required:
- action
@@ -225065,16 +224638,16 @@ x-webhooks:
title: workflow_dispatch event
type: object
properties:
- enterprise: *724
+ enterprise: *725
inputs:
type: object
nullable: true
additionalProperties: true
- installation: *725
- organization: *726
+ installation: *726
+ organization: *727
ref:
type: string
- repository: *727
+ repository: *728
sender: *4
workflow:
type: string
@@ -225156,10 +224729,10 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
workflow_job:
allOf:
@@ -225396,7 +224969,7 @@ x-webhooks:
type: string
required:
- conclusion
- deployment: *493
+ deployment: *491
required:
- action
- repository
@@ -225475,10 +225048,10 @@ x-webhooks:
type: string
enum:
- in_progress
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
workflow_job:
allOf:
@@ -225738,7 +225311,7 @@ x-webhooks:
required:
- status
- steps
- deployment: *493
+ deployment: *491
required:
- action
- repository
@@ -225817,10 +225390,10 @@ x-webhooks:
type: string
enum:
- queued
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
workflow_job:
type: object
@@ -225955,7 +225528,7 @@ x-webhooks:
- workflow_name
- head_branch
- created_at
- deployment: *493
+ deployment: *491
required:
- action
- repository
@@ -226034,10 +225607,10 @@ x-webhooks:
type: string
enum:
- waiting
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
workflow_job:
type: object
@@ -226173,7 +225746,7 @@ x-webhooks:
- workflow_name
- head_branch
- created_at
- deployment: *493
+ deployment: *491
required:
- action
- repository
@@ -226253,12 +225826,12 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: *739
+ workflow: *740
workflow_run:
title: Workflow Run
type: object
@@ -227257,12 +226830,12 @@ x-webhooks:
type: string
enum:
- in_progress
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: *739
+ workflow: *740
workflow_run:
title: Workflow Run
type: object
@@ -228246,12 +227819,12 @@ x-webhooks:
type: string
enum:
- requested
- enterprise: *724
- installation: *725
- organization: *726
- repository: *727
+ enterprise: *725
+ installation: *726
+ organization: *727
+ repository: *728
sender: *4
- workflow: *739
+ workflow: *740
workflow_run:
title: Workflow Run
type: object
diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json
index f98a62623..0af53747a 100644
--- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json
+++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json
@@ -129796,7 +129796,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"
],
@@ -129958,7 +129958,7 @@
},
"responses": {
"200": {
- "description": "Artifact deployment record stored successfully.",
+ "description": "Deployment records created or updated successfully.\n",
"content": {
"application/json": {
"schema": {
@@ -222407,19 +222407,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.",
@@ -222428,6 +222437,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": {
@@ -222438,120 +222503,1208 @@
"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"
- ],
- "example": "organization"
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
},
- "value_type": {
+ "content_type": {
+ "title": "Projects v2 Item Content Type",
+ "description": "The type of content tracked in a project item",
"type": "string",
- "example": "single_select",
"enum": [
- "string",
- "single_select",
- "multi_select",
- "true_false",
- "url"
- ],
- "description": "The type of the value for the property"
+ "Issue",
+ "PullRequest",
+ "DraftIssue"
+ ]
},
- "required": {
- "type": "boolean",
- "description": "Whether the property is required."
+ "content": {
+ "type": "object",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
},
- "default_value": {
- "oneOf": [
- {
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
"type": "string"
},
- {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
}
- ],
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
"nullable": true,
- "description": "Default value of the property"
+ "description": "The time when the item was archived."
},
- "description": {
+ "item_url": {
"type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
"nullable": true,
- "description": "Short description of the property"
+ "description": "The API URL of this item."
},
- "allowed_values": {
+ "fields": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "additionalProperties": true
},
- "nullable": true,
- "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",
- "nullable": true,
- "enum": [
- "org_actors",
- "org_and_repo_actors"
- ],
- "example": "org_actors",
- "description": "Who can edit the values of the property"
+ "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"
+ ],
+ "example": "organization"
+ },
+ "value_type": {
+ "type": "string",
+ "example": "single_select",
+ "enum": [
+ "string",
+ "single_select",
+ "multi_select",
+ "true_false",
+ "url"
+ ],
+ "description": "The type of the value for the property"
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Whether the property is required."
+ },
+ "default_value": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ ],
+ "nullable": true,
+ "description": "Default value of the property"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "description": "Short description of the property"
+ },
+ "allowed_values": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "nullable": true,
+ "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",
+ "nullable": true,
+ "enum": [
+ "org_actors",
+ "org_and_repo_actors"
+ ],
+ "example": "org_actors",
+ "description": "Who can edit the values of the property"
+ }
+ },
+ "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"
+ }
+ ]
}
}
}
@@ -252815,17 +253968,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": [
{
@@ -252845,2129 +253998,380 @@
"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",
+ "example": [
+ {
+ "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"
+ }
+ ],
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "group_id",
+ "group_name",
+ "updated_at"
+ ],
+ "properties": {
+ "group_id": {
+ "description": "The internal ID of the group",
+ "example": 1,
+ "type": "integer"
+ },
+ "group_name": {
+ "description": "The display name of the group",
+ "example": "group-azuread-test",
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "The time of the last update for this group",
+ "example": "2019-06-03 22:27:15:000 -700",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "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",
+ "example": 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",
+ "example": 1,
+ "type": "integer"
+ },
+ "group_name": {
+ "description": "The display name for the group",
+ "example": "group-azuread-test",
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "The date when the group was last updated_at",
+ "example": "2021-01-03 22:27:15:000 -700",
+ "type": "string"
+ },
+ "teams": {
+ "description": "An array of teams linked to this group",
+ "example": [
+ {
+ "team_id": 1,
+ "team_name": "team-test"
+ },
+ {
+ "team_id": 2,
+ "team_name": "team-test2"
+ }
+ ],
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "team_id",
+ "team_name"
+ ],
+ "properties": {
+ "team_id": {
+ "description": "The id for a team",
+ "example": 1,
+ "type": "integer"
+ },
+ "team_name": {
+ "description": "The name of the team",
+ "example": "team-test",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "members": {
+ "description": "An array of external members linked to this group",
+ "example": [
+ {
+ "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"
+ }
+ ],
+ "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",
+ "example": 1,
+ "type": "integer"
+ },
+ "member_login": {
+ "description": "The handle/login for the user",
+ "example": "mona-lisa_eocsaxrs",
+ "type": "string"
+ },
+ "member_name": {
+ "description": "The user display name/profile name",
+ "example": "Mona Lisa",
+ "type": "string"
+ },
+ "member_email": {
+ "description": "An email attached to a user",
+ "example": "mona_lisa@github.com",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": [
- {
- "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"
- }
- ],
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "group_id",
- "group_name",
- "updated_at"
- ],
- "properties": {
- "group_id": {
- "description": "The internal ID of the group",
- "example": 1,
- "type": "integer"
- },
- "group_name": {
- "description": "The display name of the group",
- "example": "group-azuread-test",
- "type": "string"
- },
- "updated_at": {
- "description": "The time of the last update for this group",
- "example": "2019-06-03 22:27:15:000 -700",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "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",
- "example": 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",
- "example": 1,
- "type": "integer"
- },
- "group_name": {
- "description": "The display name for the group",
- "example": "group-azuread-test",
- "type": "string"
- },
- "updated_at": {
- "description": "The date when the group was last updated_at",
- "example": "2021-01-03 22:27:15:000 -700",
- "type": "string"
- },
- "teams": {
- "description": "An array of teams linked to this group",
- "example": [
- {
- "team_id": 1,
- "team_name": "team-test"
- },
- {
- "team_id": 2,
- "team_name": "team-test2"
- }
- ],
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "team_id",
- "team_name"
- ],
- "properties": {
- "team_id": {
- "description": "The id for a team",
- "example": 1,
- "type": "integer"
- },
- "team_name": {
- "description": "The name of the team",
- "example": "team-test",
- "type": "string"
- }
- }
- }
- },
- "members": {
- "description": "An array of external members linked to this group",
- "example": [
- {
- "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"
- }
- ],
- "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",
- "example": 1,
- "type": "integer"
- },
- "member_login": {
- "description": "The handle/login for the user",
- "example": "mona-lisa_eocsaxrs",
- "type": "string"
- },
- "member_name": {
- "description": "The user display name/profile name",
- "example": "Mona Lisa",
- "type": "string"
- },
- "member_email": {
- "description": "An email attached to a user",
- "example": "mona_lisa@github.com",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "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"
}
},
{
@@ -601832,1188 +601236,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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)",
@@ -713587,433 +711809,1185 @@
}
]
}
- }
- }
- }
- },
- "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.",
- "nullable": true,
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "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",
- "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
- "description": "The API URL of the project that contains this item."
- },
- "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",
- "additionalProperties": true,
- "nullable": true,
- "description": "The content of the item, which varies by content type."
- },
- "creator": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "description": "The time when the item was created."
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "description": "The time when the item was last updated."
- },
- "archived_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "nullable": true,
- "description": "The time when the item was archived."
- },
- "item_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
- "nullable": true,
- "description": "The API URL of this item."
- },
- "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.",
+ "nullable": true,
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "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",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
+ },
+ "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",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
+ },
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
+ "type": "string"
+ },
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "nullable": true,
+ "description": "The time when the item was archived."
+ },
+ "item_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
+ "nullable": true,
+ "description": "The API URL of this item."
+ },
+ "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",
@@ -714765,7 +713739,7 @@
]
}
},
- "number_field": {
+ "date_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -715517,7 +714491,7 @@
]
}
},
- "date_field": {
+ "single_select_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -716269,7 +715243,7 @@
]
}
},
- "single_select_field": {
+ "iteration_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -717020,8 +715994,571 @@
}
]
}
- },
- "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",
+ "nullable": true
+ },
+ {
+ "type": "integer",
+ "nullable": true
+ },
+ {
+ "type": "array",
+ "nullable": true,
+ "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",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
+ },
+ "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",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
+ },
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
+ "type": "string"
+ },
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "nullable": true,
+ "description": "The time when the item was archived."
+ },
+ "item_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
+ "nullable": true,
+ "description": "The API URL of this item."
+ },
+ "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",
@@ -717775,34 +717312,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": {
@@ -717829,155 +717351,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",
- "nullable": true
- },
- {
- "type": "integer",
- "nullable": true
- },
- {
- "type": "array",
- "nullable": true,
- "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": {
@@ -718002,8 +717377,8 @@
}
}
},
- "401": {
- "description": "Requires authentication",
+ "404": {
+ "description": "Resource not found",
"content": {
"application/json": {
"schema": {
@@ -718031,7 +717406,7 @@
},
"x-github": {
"githubCloudOnly": false,
- "enabledForGitHubApps": true,
+ "enabledForGitHubApps": false,
"category": "projects",
"subcategory": "items"
}
diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml
index 8083f5d1e..de485af58 100644
--- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml
+++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml
@@ -13108,7 +13108,7 @@ paths:
description: The GitHub URL of the alert resource.
format: uri
readOnly: true
- instances_url: &540
+ instances_url: &536
type: string
description: The REST API URL for fetching the list of instances
for an alert.
@@ -13143,7 +13143,7 @@ paths:
format: date-time
readOnly: true
nullable: true
- dismissed_reason: &541
+ dismissed_reason: &537
type: string
description: "**Required when the state is dismissed.** The
reason for dismissing or closing the alert."
@@ -13152,13 +13152,13 @@ paths:
- false positive
- won't fix
- used in tests
- dismissed_comment: &542
+ dismissed_comment: &538
type: string
description: The dismissal comment associated with the dismissal
of the alert.
nullable: true
maxLength: 280
- rule: &543
+ rule: &539
type: object
properties:
id:
@@ -13211,7 +13211,7 @@ paths:
type: string
description: A link to the documentation for the rule used
to detect the alert.
- tool: &544
+ tool: &540
type: object
properties:
name: *111
@@ -13221,26 +13221,26 @@ paths:
description: The version of the tool used to generate the
code scanning analysis.
guid: *112
- most_recent_instance: &545
+ most_recent_instance: &541
type: object
properties:
- ref: &538
+ ref: &534
type: string
description: |-
The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,
`refs/heads/` or simply ``.
- analysis_key: &555
+ analysis_key: &551
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: &556
+ environment: &552
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: &557
+ category: &553
type: string
description: Identifies the configuration under which the
analysis was executed. Used to distinguish between multiple
@@ -13254,7 +13254,7 @@ paths:
properties:
text:
type: string
- location: &558
+ location: &554
type: object
description: Describe a region within a file for the alert.
properties:
@@ -13275,7 +13275,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: &559
+ items: &555
type: string
description: A classification of the file. For example
to identify it as generated.
@@ -16938,7 +16938,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
- - &598
+ - &596
name: has
in: query
description: |-
@@ -17051,7 +17051,7 @@ paths:
- unknown
- direct
- transitive
- security_advisory: &599
+ security_advisory: &597
type: object
description: Details for the GitHub Security Advisory.
readOnly: true
@@ -17283,14 +17283,14 @@ paths:
nullable: true
maxLength: 280
fixed_at: *137
- auto_dismissed_at: &600
+ auto_dismissed_at: &598
type: string
description: 'The time that the alert was auto-dismissed in
ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.'
format: date-time
readOnly: true
nullable: true
- dismissal_request: &601
+ dismissal_request: &599
title: Dependabot alert dismissal request
description: Information about an active dismissal request for
this Dependabot alert.
@@ -25003,7 +25003,7 @@ paths:
properties:
action:
type: string
- discussion: &877
+ discussion: &878
title: Discussion
description: A Discussion in a repository.
type: object
@@ -25885,7 +25885,7 @@ paths:
action:
type: string
issue: *220
- comment: &658
+ comment: &656
title: Issue Comment
description: Comments provide a way for people to collaborate
on an issue.
@@ -30559,14 +30559,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:
- - &466
+ - &462
name: owner
description: The account owner of the repository. The name is not case sensitive.
in: path
required: true
schema:
type: string
- - &467
+ - &463
name: repo
description: The name of the repository without the `.git` extension. The
name is not case sensitive.
@@ -30628,7 +30628,7 @@ paths:
'404': *6
'403': *29
'304': *37
- '301': &472
+ '301': &468
description: Moved permanently
content:
application/json:
@@ -33130,7 +33130,7 @@ paths:
type: integer
repository_cache_usages:
type: array
- items: &479
+ items: &475
title: Actions Cache Usage by repository
description: GitHub Actions Cache Usage by repository.
type: object
@@ -36286,7 +36286,7 @@ paths:
description: Response
content:
application/json:
- schema: &499
+ schema: &495
title: ActionsPublicKey
description: The public key used for setting Actions Secrets.
type: object
@@ -36315,7 +36315,7 @@ paths:
- key_id
- key
examples:
- default: &500
+ default: &496
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -36728,7 +36728,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables
parameters:
- *87
- - &484
+ - &480
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)."
@@ -37463,7 +37463,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
@@ -37595,7 +37599,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:
@@ -38348,7 +38354,7 @@ paths:
initiator:
type: string
examples:
- default: &513
+ default: &509
value:
attestations:
- bundle:
@@ -39265,7 +39271,7 @@ paths:
be returned.
in: query
required: false
- schema: &539
+ schema: &535
type: string
description: Severity of a code scanning alert.
enum:
@@ -40319,7 +40325,7 @@ paths:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: &571
+ properties: &567
name:
type: string
description: The name of the machine.
@@ -40361,7 +40367,7 @@ paths:
- ready
- in_progress
nullable: true
- required: &572
+ required: &568
- name
- display_name
- operating_system
@@ -41229,7 +41235,7 @@ paths:
- updated_at
- visibility
examples:
- default: &573
+ default: &569
value:
total_count: 2
secrets:
@@ -41267,7 +41273,7 @@ paths:
description: Response
content:
application/json:
- schema: &574
+ schema: &570
title: CodespacesPublicKey
description: The public key used for setting Codespaces secrets.
type: object
@@ -41296,7 +41302,7 @@ paths:
- key_id
- key
examples:
- default: &575
+ default: &571
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -41328,7 +41334,7 @@ paths:
application/json:
schema: *327
examples:
- default: &577
+ default: &573
value:
name: GH_TOKEN
created_at: '2019-08-10T14:59:22Z'
@@ -43187,7 +43193,7 @@ paths:
description: Response
content:
application/json:
- schema: &604
+ schema: &602
title: DependabotPublicKey
description: The public key used for setting Dependabot Secrets.
type: object
@@ -43204,7 +43210,7 @@ paths:
- key_id
- key
examples:
- default: &605
+ default: &603
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -43534,7 +43540,7 @@ paths:
subcategory: alert-dismissal-requests
parameters:
- *87
- - &613
+ - &611
name: reviewer
description: Filter alert dismissal requests by the handle of the GitHub user
who reviewed the dismissal request.
@@ -43542,7 +43548,7 @@ paths:
required: false
schema:
type: string
- - &614
+ - &612
name: requester
description: Filter alert dismissal requests by the handle of the GitHub user
who requested the dismissal.
@@ -43550,7 +43556,7 @@ paths:
required: false
schema:
type: string
- - &615
+ - &613
name: time_period
description: |-
The time period to filter by.
@@ -43566,7 +43572,7 @@ paths:
- week
- month
default: month
- - &616
+ - &614
name: request_status
description: Filter alert dismissal requests by status. When specified, only
requests with this status will be returned.
@@ -43591,7 +43597,7 @@ paths:
application/json:
schema:
type: array
- items: &617
+ items: &615
title: Code scanning alert dismissal request
description: Alert dismisal request made by a user asking to dismiss
a code scanning alert.
@@ -43747,7 +43753,7 @@ paths:
format: uri
example: https://github.com/octo-org/smile/code-scanning/alerts/1
examples:
- default: &618
+ default: &616
value:
- id: 21
number: 42
@@ -43865,7 +43871,7 @@ paths:
application/json:
schema:
type: array
- items: &619
+ items: &617
title: Dependabot alert dismissal request
description: Alert dismissal request made by a user asking to dismiss
a Dependabot alert.
@@ -43982,7 +43988,7 @@ paths:
format: uri
example: https://github.com/octo-org/smile/security/dependabot/1
examples:
- default: &620
+ default: &618
value:
- id: 21
number: 42
@@ -44084,7 +44090,7 @@ paths:
application/json:
schema:
type: array
- items: &621
+ items: &619
title: Secret scanning alert dismissal request
description: A dismissal request made by a user asking to close
a secret scanning alert in this repository.
@@ -44205,7 +44211,7 @@ paths:
format: uri
example: https://github.com/octo-org/smile/security/secret-scanning/17
examples:
- default: &622
+ default: &620
value:
- id: 21
number: 42
@@ -44550,7 +44556,7 @@ paths:
description: Response
content:
application/json:
- schema: &463
+ schema: &459
title: ExternalGroup
description: Information about an external group's usage and its members
type: object
@@ -44631,7 +44637,7 @@ paths:
example: mona_lisa@github.com
type: string
examples:
- default: &464
+ default: &460
value:
group_id: '123'
group_name: Octocat admins
@@ -44686,7 +44692,7 @@ paths:
description: Response
content:
application/json:
- schema: &461
+ schema: &457
title: ExternalGroups
description: A list of external groups available to be connected to
a team
@@ -44723,7 +44729,7 @@ paths:
example: 2019-06-03 22:27:15:000 -700
type: string
examples:
- default: &462
+ default: &458
value:
groups:
- group_id: '123'
@@ -46025,7 +46031,7 @@ paths:
application/json:
schema: *22
examples:
- default: &653
+ default: &651
value:
id: 1
account:
@@ -46250,7 +46256,7 @@ paths:
required: true
content:
application/json:
- schema: &654
+ schema: &652
title: Interaction Restrictions
description: Limit interactions to a specific type of user for a specified
duration
@@ -47111,7 +47117,7 @@ paths:
application/json:
schema: *376
examples:
- default: &570
+ default: &566
value:
id: 1
name: monalisa-octocat-hello-world-g4wpq6h95q
@@ -51519,7 +51525,7 @@ paths:
title: Projects v2 Status Update
description: An status update belonging to a project
type: object
- properties: &913
+ properties: &914
id:
type: number
description: The unique identifier of the status update.
@@ -51567,7 +51573,7 @@ paths:
example: The project is off to a great start!
type: string
nullable: true
- required: &914
+ required: &915
- id
- node_id
- created_at
@@ -51781,7 +51787,7 @@ paths:
content:
oneOf:
- *220
- - &585
+ - &583
title: Pull Request Simple
description: Pull Request Simple
type: object
@@ -53930,6 +53936,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:
+ - *405
+ - *87
+ - &856
+ 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
+ - *108
+ - *109
+ - *17
+ responses:
+ '200':
+ description: Response
+ content:
+ application/json:
+ schema:
+ type: array
+ items: *413
+ examples:
+ default: *414
+ headers:
+ Link: *47
+ '304': *37
+ '403': *29
+ '401': *25
+ '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
@@ -54650,7 +54716,7 @@ paths:
description: Response
content:
application/json:
- schema: &471
+ schema: &467
title: Full Repository
description: Full Repository
type: object
@@ -55043,7 +55109,7 @@ paths:
title: Code Of Conduct Simple
description: Code of Conduct Simple
type: object
- properties: &590
+ properties: &588
url:
type: string
format: uri
@@ -55059,7 +55125,7 @@ paths:
nullable: true
format: uri
example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md
- required: &591
+ required: &589
- url
- key
- name
@@ -55148,7 +55214,7 @@ paths:
- network_count
- subscribers_count
examples:
- default: &473
+ default: &469
value:
id: 1296269
node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5
@@ -58024,7 +58090,7 @@ paths:
description: Response
content:
application/json:
- schema: &468
+ schema: &464
title: GroupMapping
description: External Groups to be mapped to a team for membership
type: object
@@ -58070,7 +58136,7 @@ paths:
type: string
nullable: true
examples:
- default: &469
+ default: &465
value:
groups:
- group_id: '123'
@@ -59679,407 +59745,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:
- - *87
- - *215
- - *453
- - *456
- - 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: &457
- 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
- example: 1
- node_id:
- type: string
- example: MDg6UmVhY3Rpb24x
- user:
- title: Simple User
- description: A GitHub user.
- type: object
- properties: *20
- required: *21
- nullable: true
- content:
- description: The reaction to use
- example: heart
- type: string
- enum:
- - "+1"
- - "-1"
- - laugh
- - confused
- - heart
- - hooray
- - rocket
- - eyes
- created_at:
- type: string
- format: date-time
- example: '2016-05-20T20:09:31Z'
- required:
- - id
- - node_id
- - user
- - content
- - created_at
- examples:
- default: &459
- 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: *47
- 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:
- - *87
- - *215
- - *453
- - *456
- 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: *457
- examples:
- default: &458
- 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: *457
- examples:
- default: *458
- 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:
- - *87
- - *215
- - *453
- - *456
- - &460
- 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:
- - *87
- - *215
- - *453
- - 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: *457
- examples:
- default: *459
- headers:
- Link: *47
- 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:
- - *87
- - *215
- - *453
- 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: *457
- examples:
- default: *458
- '201':
- description: Response
- content:
- application/json:
- schema: *457
- examples:
- default: *458
- 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:
- - *87
- - *215
- - *453
- - *460
- 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
@@ -60101,9 +59766,9 @@ paths:
description: Response
content:
application/json:
- schema: *461
+ schema: *457
examples:
- default: *462
+ default: *458
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -60146,9 +59811,9 @@ paths:
description: Response
content:
application/json:
- schema: *463
+ schema: *459
examples:
- default: *464
+ default: *460
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -60289,7 +59954,7 @@ paths:
description: Response
content:
application/json:
- schema: &465
+ schema: &461
title: Team Membership
description: Team Membership
type: object
@@ -60379,7 +60044,7 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
response-if-users-membership-with-team-is-now-pending: &805
summary: Response if user's membership with team is now pending
@@ -60488,8 +60153,8 @@ paths:
parameters:
- *87
- *215
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Alternative response with repository permissions
@@ -61066,8 +60731,8 @@ paths:
parameters:
- *87
- *215
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -61114,8 +60779,8 @@ paths:
parameters:
- *87
- *215
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -61148,9 +60813,9 @@ paths:
description: Response
content:
application/json:
- schema: *468
+ schema: *464
examples:
- default: *469
+ default: *465
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -61216,7 +60881,7 @@ paths:
description: Response
content:
application/json:
- schema: *468
+ schema: *464
examples:
default:
value:
@@ -61415,7 +61080,7 @@ paths:
resources:
type: object
properties:
- core: &470
+ core: &466
title: Rate Limit
type: object
properties:
@@ -61432,21 +61097,21 @@ paths:
- remaining
- reset
- used
- graphql: *470
- search: *470
- code_search: *470
- source_import: *470
- integration_manifest: *470
- code_scanning_upload: *470
- actions_runner_registration: *470
- scim: *470
- dependency_snapshots: *470
- dependency_sbom: *470
- code_scanning_autofix: *470
+ graphql: *466
+ search: *466
+ code_search: *466
+ source_import: *466
+ integration_manifest: *466
+ code_scanning_upload: *466
+ actions_runner_registration: *466
+ scim: *466
+ dependency_snapshots: *466
+ dependency_sbom: *466
+ code_scanning_autofix: *466
required:
- core
- search
- rate: *470
+ rate: *466
required:
- rate
- resources
@@ -61551,14 +61216,14 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
default-response:
summary: Default response
@@ -62063,7 +61728,7 @@ paths:
status: disabled
'403': *29
'404': *6
- '301': *472
+ '301': *468
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -62081,8 +61746,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -62339,10 +62004,10 @@ paths:
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
- '307': &474
+ default: *469
+ '307': &470
description: Temporary Redirect
content:
application/json:
@@ -62371,8 +62036,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -62394,7 +62059,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': *474
+ '307': *470
'404': *6
'409': *118
x-github:
@@ -62418,11 +62083,11 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
- - &491
+ - &487
name: name
description: The name field of an artifact. When specified, only artifacts
with this name will be returned.
@@ -62445,7 +62110,7 @@ paths:
type: integer
artifacts:
type: array
- items: &475
+ items: &471
title: Artifact
description: An artifact
type: object
@@ -62523,7 +62188,7 @@ paths:
- expires_at
- updated_at
examples:
- default: &492
+ default: &488
value:
total_count: 2
artifacts:
@@ -62584,9 +62249,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact
parameters:
- - *466
- - *467
- - &476
+ - *462
+ - *463
+ - &472
name: artifact_id
description: The unique identifier of the artifact.
in: path
@@ -62598,7 +62263,7 @@ paths:
description: Response
content:
application/json:
- schema: *475
+ schema: *471
examples:
default:
value:
@@ -62636,9 +62301,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact
parameters:
- - *466
- - *467
- - *476
+ - *462
+ - *463
+ - *472
responses:
'204':
description: Response
@@ -62662,9 +62327,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact
parameters:
- - *466
- - *467
- - *476
+ - *462
+ - *463
+ - *472
- name: archive_format
in: path
required: true
@@ -62678,7 +62343,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': &657
+ '410': &655
description: Gone
content:
application/json:
@@ -62703,14 +62368,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: &477
+ schema: &473
title: Actions cache retention limit for a repository
description: GitHub Actions cache retention policy for a repository.
type: object
@@ -62743,13 +62408,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
application/json:
- schema: *477
+ schema: *473
examples:
selected_actions: *44
responses:
@@ -62778,14 +62443,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: &478
+ schema: &474
title: Actions cache storage limit for a repository
description: GitHub Actions cache storage policy for a repository.
type: object
@@ -62818,13 +62483,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
application/json:
- schema: *478
+ schema: *474
examples:
selected_actions: *46
responses:
@@ -62855,14 +62520,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *479
+ schema: *475
examples:
default:
value:
@@ -62888,11 +62553,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:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
- - &480
+ - &476
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
@@ -62926,7 +62591,7 @@ paths:
description: Response
content:
application/json:
- schema: &481
+ schema: &477
title: Repository actions caches
description: Repository actions caches
type: object
@@ -62968,7 +62633,7 @@ paths:
- total_count
- actions_caches
examples:
- default: &482
+ default: &478
value:
total_count: 1
actions_caches:
@@ -63000,23 +62665,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:
- - *466
- - *467
+ - *462
+ - *463
- name: key
description: A key for identifying the cache.
in: query
required: true
schema:
type: string
- - *480
+ - *476
responses:
'200':
description: Response
content:
application/json:
- schema: *481
+ schema: *477
examples:
- default: *482
+ default: *478
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -63036,8 +62701,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:
- - *466
- - *467
+ - *462
+ - *463
- name: cache_id
description: The unique identifier of the GitHub Actions cache.
in: path
@@ -63068,9 +62733,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:
- - *466
- - *467
- - &483
+ - *462
+ - *463
+ - &479
name: job_id
description: The unique identifier of the job.
in: path
@@ -63082,7 +62747,7 @@ paths:
description: Response
content:
application/json:
- schema: &495
+ schema: &491
title: Job
description: Information of a job execution in a workflow run
type: object
@@ -63389,9 +63054,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:
- - *466
- - *467
- - *483
+ - *462
+ - *463
+ - *479
responses:
'302':
description: Response
@@ -63419,9 +63084,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:
- - *466
- - *467
- - *483
+ - *462
+ - *463
+ - *479
requestBody:
required: false
content:
@@ -63466,8 +63131,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Status response
@@ -63517,8 +63182,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -63581,8 +63246,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -63600,7 +63265,7 @@ paths:
type: integer
secrets:
type: array
- items: &497
+ items: &493
title: Actions Secret
description: Set secrets for GitHub Actions.
type: object
@@ -63620,7 +63285,7 @@ paths:
- created_at
- updated_at
examples:
- default: &498
+ default: &494
value:
total_count: 2
secrets:
@@ -63653,9 +63318,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables
parameters:
- - *466
- - *467
- - *484
+ - *462
+ - *463
+ - *480
- *19
responses:
'200':
@@ -63672,7 +63337,7 @@ paths:
type: integer
variables:
type: array
- items: &501
+ items: &497
title: Actions Variable
type: object
properties:
@@ -63702,7 +63367,7 @@ paths:
- created_at
- updated_at
examples:
- default: &502
+ default: &498
value:
total_count: 2
variables:
@@ -63735,8 +63400,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -63745,7 +63410,7 @@ paths:
schema:
type: object
properties:
- enabled: &485
+ enabled: &481
type: boolean
description: Whether GitHub Actions is enabled on the repository.
allowed_actions: *60
@@ -63780,8 +63445,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -63792,7 +63457,7 @@ paths:
schema:
type: object
properties:
- enabled: *485
+ enabled: *481
allowed_actions: *60
sha_pinning_required: *61
required:
@@ -63825,14 +63490,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: &486
+ schema: &482
type: object
properties:
access_level:
@@ -63850,7 +63515,7 @@ paths:
required:
- access_level
examples:
- default: &487
+ default: &483
value:
access_level: organization
x-github:
@@ -63875,15 +63540,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
application/json:
- schema: *486
+ schema: *482
examples:
- default: *487
+ default: *483
responses:
'204':
description: Response
@@ -63907,8 +63572,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -63938,8 +63603,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Empty response for successful settings update
@@ -63973,8 +63638,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64001,8 +63666,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -64036,8 +63701,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64065,8 +63730,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -64097,8 +63762,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64129,8 +63794,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -64162,8 +63827,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64192,8 +63857,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Success response
@@ -64233,8 +63898,8 @@ paths:
in: query
schema:
type: string
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -64278,8 +63943,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64311,8 +63976,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -64386,8 +64051,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'201':
description: Response
@@ -64423,8 +64088,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'201':
description: Response
@@ -64454,8 +64119,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
responses:
'200':
@@ -64485,8 +64150,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
responses:
'204':
@@ -64513,8 +64178,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
responses:
'200': *81
@@ -64539,8 +64204,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
requestBody:
required: true
@@ -64589,8 +64254,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
requestBody:
required: true
@@ -64640,8 +64305,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
responses:
'200': *290
@@ -64671,8 +64336,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
- *291
responses:
@@ -64702,9 +64367,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:
- - *466
- - *467
- - &505
+ - *462
+ - *463
+ - &501
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.
@@ -64712,7 +64377,7 @@ paths:
required: false
schema:
type: string
- - &506
+ - &502
name: branch
description: Returns workflow runs associated with a branch. Use the name
of the branch of the `push`.
@@ -64720,7 +64385,7 @@ paths:
required: false
schema:
type: string
- - &507
+ - &503
name: event
description: Returns workflow run triggered by the event you specify. For
example, `push`, `pull_request` or `issue`. For more information, see "[Events
@@ -64729,7 +64394,7 @@ paths:
required: false
schema:
type: string
- - &508
+ - &504
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
@@ -64756,7 +64421,7 @@ paths:
- pending
- *17
- *19
- - &509
+ - &505
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)."
@@ -64765,7 +64430,7 @@ paths:
schema:
type: string
format: date-time
- - &488
+ - &484
name: exclude_pull_requests
description: If `true` pull requests are omitted from the response (empty
array).
@@ -64774,13 +64439,13 @@ paths:
schema:
type: boolean
default: false
- - &510
+ - &506
name: check_suite_id
description: Returns workflow runs with the `check_suite_id` that you specify.
in: query
schema:
type: integer
- - &511
+ - &507
name: head_sha
description: Only returns workflow runs that are associated with the specified
`head_sha`.
@@ -64803,7 +64468,7 @@ paths:
type: integer
workflow_runs:
type: array
- items: &489
+ items: &485
title: Workflow Run
description: An invocation of a workflow
type: object
@@ -64951,7 +64616,7 @@ paths:
title: Simple Commit
description: A commit.
type: object
- properties: &533
+ properties: &529
id:
type: string
description: SHA for the commit
@@ -65002,7 +64667,7 @@ paths:
- name
- email
nullable: true
- required: &534
+ required: &530
- id
- tree_id
- message
@@ -65049,7 +64714,7 @@ paths:
- workflow_url
- pull_requests
examples:
- default: &512
+ default: &508
value:
total_count: 1
workflow_runs:
@@ -65285,24 +64950,24 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run
parameters:
- - *466
- - *467
- - &490
+ - *462
+ - *463
+ - &486
name: run_id
description: The unique identifier of the workflow run.
in: path
required: true
schema:
type: integer
- - *488
+ - *484
responses:
'200':
description: Response
content:
application/json:
- schema: *489
+ schema: *485
examples:
- default: &493
+ default: &489
value:
id: 30433642
name: Build
@@ -65543,9 +65208,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'204':
description: Response
@@ -65568,9 +65233,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'200':
description: Response
@@ -65689,9 +65354,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'201':
description: Response
@@ -65724,12 +65389,12 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
- *17
- *19
- - *491
+ - *487
responses:
'200':
description: Response
@@ -65745,9 +65410,9 @@ paths:
type: integer
artifacts:
type: array
- items: *475
+ items: *471
examples:
- default: *492
+ default: *488
headers:
Link: *47
x-github:
@@ -65771,25 +65436,25 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt
parameters:
- - *466
- - *467
- - *490
- - &494
+ - *462
+ - *463
+ - *486
+ - &490
name: attempt_number
description: The attempt number of the workflow run.
in: path
required: true
schema:
type: integer
- - *488
+ - *484
responses:
'200':
description: Response
content:
application/json:
- schema: *489
+ schema: *485
examples:
- default: *493
+ default: *489
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -65812,10 +65477,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:
- - *466
- - *467
+ - *462
+ - *463
+ - *486
- *490
- - *494
- *17
- *19
responses:
@@ -65833,9 +65498,9 @@ paths:
type: integer
jobs:
type: array
- items: *495
+ items: *491
examples:
- default: &496
+ default: &492
value:
total_count: 1
jobs:
@@ -65948,10 +65613,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs
parameters:
- - *466
- - *467
+ - *462
+ - *463
+ - *486
- *490
- - *494
responses:
'302':
description: Response
@@ -65979,9 +65644,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'202':
description: Response
@@ -66014,9 +65679,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
requestBody:
required: true
content:
@@ -66083,9 +65748,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'202':
description: Response
@@ -66118,9 +65783,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
- 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
@@ -66150,9 +65815,9 @@ paths:
type: integer
jobs:
type: array
- items: *495
+ items: *491
examples:
- default: *496
+ default: *492
headers:
Link: *47
x-github:
@@ -66177,9 +65842,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'302':
description: Response
@@ -66206,9 +65871,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'204':
description: Response
@@ -66235,9 +65900,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'200':
description: Response
@@ -66297,7 +65962,7 @@ paths:
items:
type: object
properties:
- type: &623
+ type: &621
type: string
description: The type of reviewer.
enum:
@@ -66382,9 +66047,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
requestBody:
required: true
content:
@@ -66431,7 +66096,7 @@ paths:
application/json:
schema:
type: array
- items: &608
+ items: &606
title: Deployment
description: A request for a specific ref(branch,sha,tag) to be
deployed
@@ -66537,7 +66202,7 @@ paths:
- created_at
- updated_at
examples:
- default: &609
+ default: &607
value:
- url: https://api.github.com/repos/octocat/example/deployments/1
id: 1
@@ -66593,9 +66258,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
requestBody:
required: false
content:
@@ -66639,9 +66304,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
requestBody:
required: false
content:
@@ -66695,9 +66360,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'200':
description: Response
@@ -66834,8 +66499,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -66853,9 +66518,9 @@ paths:
type: integer
secrets:
type: array
- items: *497
+ items: *493
examples:
- default: *498
+ default: *494
headers:
Link: *47
x-github:
@@ -66880,16 +66545,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *499
+ schema: *495
examples:
- default: *500
+ default: *496
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -66911,17 +66576,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'200':
description: Response
content:
application/json:
- schema: *497
+ schema: *493
examples:
- default: &636
+ default: &634
value:
name: GH_TOKEN
created_at: '2019-08-10T14:59:22Z'
@@ -66947,8 +66612,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
requestBody:
required: true
@@ -67006,8 +66671,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'204':
@@ -67033,9 +66698,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables
parameters:
- - *466
- - *467
- - *484
+ - *462
+ - *463
+ - *480
- *19
responses:
'200':
@@ -67052,9 +66717,9 @@ paths:
type: integer
variables:
type: array
- items: *501
+ items: *497
examples:
- default: *502
+ default: *498
headers:
Link: *47
x-github:
@@ -67077,8 +66742,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -67130,17 +66795,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
responses:
'200':
description: Response
content:
application/json:
- schema: *501
+ schema: *497
examples:
- default: &637
+ default: &635
value:
name: USERNAME
value: octocat
@@ -67166,8 +66831,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
requestBody:
required: true
@@ -67210,8 +66875,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
responses:
'204':
@@ -67237,8 +66902,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -67256,7 +66921,7 @@ paths:
type: integer
workflows:
type: array
- items: &503
+ items: &499
title: Workflow
description: A GitHub Actions workflow
type: object
@@ -67363,9 +67028,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow
parameters:
- - *466
- - *467
- - &504
+ - *462
+ - *463
+ - &500
name: workflow_id
in: path
description: The ID of the workflow. You can also pass the workflow file name
@@ -67380,7 +67045,7 @@ paths:
description: Response
content:
application/json:
- schema: *503
+ schema: *499
examples:
default:
value:
@@ -67413,9 +67078,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow
parameters:
- - *466
- - *467
- - *504
+ - *462
+ - *463
+ - *500
responses:
'204':
description: Response
@@ -67440,9 +67105,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event
parameters:
- - *466
- - *467
- - *504
+ - *462
+ - *463
+ - *500
responses:
'204':
description: Response
@@ -67493,9 +67158,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow
parameters:
- - *466
- - *467
- - *504
+ - *462
+ - *463
+ - *500
responses:
'204':
description: Response
@@ -67522,19 +67187,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:
- - *466
- - *467
+ - *462
+ - *463
+ - *500
+ - *501
+ - *502
+ - *503
- *504
+ - *17
+ - *19
- *505
+ - *484
- *506
- *507
- - *508
- - *17
- - *19
- - *509
- - *488
- - *510
- - *511
responses:
'200':
description: Response
@@ -67550,9 +67215,9 @@ paths:
type: integer
workflow_runs:
type: array
- items: *489
+ items: *485
examples:
- default: *512
+ default: *508
headers:
Link: *47
x-github:
@@ -67585,9 +67250,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage
parameters:
- - *466
- - *467
- - *504
+ - *462
+ - *463
+ - *500
responses:
'200':
description: Response
@@ -67648,8 +67313,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *110
- *17
- *108
@@ -67813,8 +67478,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -67851,8 +67516,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:
- - *466
- - *467
+ - *462
+ - *463
- name: assignee
in: path
required: true
@@ -67888,8 +67553,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -68001,8 +67666,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *108
- *109
@@ -68059,7 +67724,7 @@ paths:
initiator:
type: string
examples:
- default: *513
+ default: *509
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68079,8 +67744,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -68088,7 +67753,7 @@ paths:
application/json:
schema:
type: array
- items: &514
+ items: &510
title: Autolink reference
description: An autolink reference.
type: object
@@ -68142,8 +67807,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -68182,9 +67847,9 @@ paths:
description: response
content:
application/json:
- schema: *514
+ schema: *510
examples:
- default: &515
+ default: &511
value:
id: 1
key_prefix: TICKET-
@@ -68215,9 +67880,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:
- - *466
- - *467
- - &516
+ - *462
+ - *463
+ - &512
name: autolink_id
description: The unique identifier of the autolink.
in: path
@@ -68229,9 +67894,9 @@ paths:
description: Response
content:
application/json:
- schema: *514
+ schema: *510
examples:
- default: *515
+ default: *511
'404': *6
x-github:
githubCloudOnly: false
@@ -68251,9 +67916,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:
- - *466
- - *467
- - *516
+ - *462
+ - *463
+ - *512
responses:
'204':
description: Response
@@ -68277,8 +67942,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response if Dependabot is enabled
@@ -68326,8 +67991,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -68348,8 +68013,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -68369,8 +68034,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: protected
description: Setting to `true` returns only branches protected by branch protections
or rulesets. When set to `false`, only unprotected branches are returned.
@@ -68408,7 +68073,7 @@ paths:
- url
protected:
type: boolean
- protection: &518
+ protection: &514
title: Branch Protection
description: Branch Protection
type: object
@@ -68450,7 +68115,7 @@ paths:
required:
- contexts
- checks
- enforce_admins: &521
+ enforce_admins: &517
title: Protected Branch Admin Enforced
description: Protected Branch Admin Enforced
type: object
@@ -68465,7 +68130,7 @@ paths:
required:
- url
- enabled
- required_pull_request_reviews: &523
+ required_pull_request_reviews: &519
title: Protected Branch Pull Request Review
description: Protected Branch Pull Request Review
type: object
@@ -68541,7 +68206,7 @@ paths:
required:
- dismiss_stale_reviews
- require_code_owner_reviews
- restrictions: &520
+ restrictions: &516
title: Branch Restriction Policy
description: Branch Restriction Policy
type: object
@@ -68818,9 +68483,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch
parameters:
- - *466
- - *467
- - &519
+ - *462
+ - *463
+ - &515
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).
@@ -68834,14 +68499,14 @@ paths:
description: Response
content:
application/json:
- schema: &529
+ schema: &525
title: Branch With Protection
description: Branch With Protection
type: object
properties:
name:
type: string
- commit: &581
+ commit: &579
title: Commit
description: Commit
type: object
@@ -68875,7 +68540,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: &517
+ properties: &513
name:
type: string
example: '"Chris Wanstrath"'
@@ -68891,7 +68556,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: *517
+ properties: *513
nullable: true
message:
type: string
@@ -68912,7 +68577,7 @@ paths:
required:
- sha
- url
- verification: &643
+ verification: &641
title: Verification
type: object
properties:
@@ -68982,7 +68647,7 @@ paths:
type: integer
files:
type: array
- items: &594
+ items: &592
title: Diff Entry
description: Diff Entry
type: object
@@ -69066,7 +68731,7 @@ paths:
- self
protected:
type: boolean
- protection: *518
+ protection: *514
protection_url:
type: string
format: uri
@@ -69173,7 +68838,7 @@ paths:
contexts: []
checks: []
protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection
- '301': *472
+ '301': *468
'404': *6
x-github:
githubCloudOnly: false
@@ -69195,15 +68860,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *518
+ schema: *514
examples:
default:
value:
@@ -69397,9 +69062,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -69654,7 +69319,7 @@ paths:
url:
type: string
format: uri
- required_status_checks: &526
+ required_status_checks: &522
title: Status Check Policy
description: Status Check Policy
type: object
@@ -69806,7 +69471,7 @@ paths:
additionalProperties: false
required:
- enabled
- restrictions: *520
+ restrictions: *516
required_conversation_resolution:
type: object
properties:
@@ -69918,9 +69583,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -69945,17 +69610,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *521
+ schema: *517
examples:
- default: &522
+ default: &518
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins
enabled: true
@@ -69977,17 +69642,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *521
+ schema: *517
examples:
- default: *522
+ default: *518
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -70006,9 +69671,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70033,17 +69698,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *523
+ schema: *519
examples:
- default: &524
+ default: &520
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews
dismissal_restrictions:
@@ -70139,9 +69804,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -70239,9 +69904,9 @@ paths:
description: Response
content:
application/json:
- schema: *523
+ schema: *519
examples:
- default: *524
+ default: *520
'422': *15
x-github:
githubCloudOnly: false
@@ -70262,9 +69927,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70291,17 +69956,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *521
+ schema: *517
examples:
- default: &525
+ default: &521
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures
enabled: true
@@ -70324,17 +69989,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *521
+ schema: *517
examples:
- default: *525
+ default: *521
'404': *6
x-github:
githubCloudOnly: false
@@ -70354,9 +70019,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70381,17 +70046,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *526
+ schema: *522
examples:
- default: &527
+ default: &523
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks
strict: true
@@ -70417,9 +70082,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -70471,9 +70136,9 @@ paths:
description: Response
content:
application/json:
- schema: *526
+ schema: *522
examples:
- default: *527
+ default: *523
'404': *6
'422': *15
x-github:
@@ -70495,9 +70160,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70521,9 +70186,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
@@ -70557,9 +70222,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -70626,9 +70291,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -70692,9 +70357,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
content:
application/json:
@@ -70760,15 +70425,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *520
+ schema: *516
examples:
default:
value:
@@ -70859,9 +70524,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70884,9 +70549,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:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
@@ -70896,7 +70561,7 @@ paths:
type: array
items: *5
examples:
- default: &528
+ default: &524
value:
- id: 1
slug: octoapp
@@ -70953,9 +70618,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -70989,7 +70654,7 @@ paths:
type: array
items: *5
examples:
- default: *528
+ default: *524
'422': *15
x-github:
githubCloudOnly: false
@@ -71010,9 +70675,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71046,7 +70711,7 @@ paths:
type: array
items: *5
examples:
- default: *528
+ default: *524
'422': *15
x-github:
githubCloudOnly: false
@@ -71067,9 +70732,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71103,7 +70768,7 @@ paths:
type: array
items: *5
examples:
- default: *528
+ default: *524
'422': *15
x-github:
githubCloudOnly: false
@@ -71125,9 +70790,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:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
@@ -71157,9 +70822,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -71218,9 +70883,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -71279,9 +70944,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
content:
application/json:
@@ -71340,9 +71005,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:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
@@ -71376,9 +71041,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71436,9 +71101,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71496,9 +71161,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71558,9 +71223,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71582,7 +71247,7 @@ paths:
description: Response
content:
application/json:
- schema: *529
+ schema: *525
examples:
default:
value:
@@ -71696,8 +71361,8 @@ paths:
category: repos
subcategory: bypass-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *103
- *104
- *105
@@ -71733,8 +71398,8 @@ paths:
category: repos
subcategory: bypass-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: bypass_request_number
in: path
required: true
@@ -71807,8 +71472,8 @@ paths:
category: secret-scanning
subcategory: delegated-bypass
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *103
- *104
- *105
@@ -71848,8 +71513,8 @@ paths:
category: secret-scanning
subcategory: delegated-bypass
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: bypass_request_number
in: path
required: true
@@ -71919,8 +71584,8 @@ paths:
category: secret-scanning
subcategory: delegated-bypass
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: bypass_request_number
in: path
required: true
@@ -71991,8 +71656,8 @@ paths:
category: secret-scanning
subcategory: delegated-bypass
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: bypass_response_id
in: path
required: true
@@ -72025,8 +71690,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -72305,7 +71970,7 @@ paths:
description: Response
content:
application/json:
- schema: &530
+ schema: &526
title: CheckRun
description: A check performed on the code of a given code change
type: object
@@ -72425,7 +72090,7 @@ paths:
check.
type: array
items: *225
- deployment: &866
+ deployment: &867
title: Deployment
description: A deployment created as the result of an Actions
check run from a workflow that references an environment
@@ -72705,9 +72370,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run
parameters:
- - *466
- - *467
- - &531
+ - *462
+ - *463
+ - &527
name: check_run_id
description: The unique identifier of the check run.
in: path
@@ -72719,9 +72384,9 @@ paths:
description: Response
content:
application/json:
- schema: *530
+ schema: *526
examples:
- default: &532
+ default: &528
value:
id: 4
head_sha: ce587453ced02b1526dfb4cb910479d431683101
@@ -72821,9 +72486,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run
parameters:
- - *466
- - *467
- - *531
+ - *462
+ - *463
+ - *527
requestBody:
required: true
content:
@@ -73063,9 +72728,9 @@ paths:
description: Response
content:
application/json:
- schema: *530
+ schema: *526
examples:
- default: *532
+ default: *528
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73085,9 +72750,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations
parameters:
- - *466
- - *467
- - *531
+ - *462
+ - *463
+ - *527
- *17
- *19
responses:
@@ -73182,9 +72847,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run
parameters:
- - *466
- - *467
- - *531
+ - *462
+ - *463
+ - *527
responses:
'201':
description: Response
@@ -73228,8 +72893,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -73251,7 +72916,7 @@ paths:
description: Response when the suite already exists
content:
application/json:
- schema: &535
+ schema: &531
title: CheckSuite
description: A suite of checks performed on the code of a given code
change
@@ -73337,12 +73002,12 @@ paths:
type: string
format: date-time
nullable: true
- head_commit: &897
+ head_commit: &898
title: Simple Commit
description: A commit.
type: object
- properties: *533
- required: *534
+ properties: *529
+ required: *530
latest_check_runs_count:
type: integer
check_runs_url:
@@ -73370,7 +73035,7 @@ paths:
- check_runs_url
- pull_requests
examples:
- default: &536
+ default: &532
value:
id: 5
node_id: MDEwOkNoZWNrU3VpdGU1
@@ -73661,9 +73326,9 @@ paths:
description: Response when the suite was created
content:
application/json:
- schema: *535
+ schema: *531
examples:
- default: *536
+ default: *532
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73682,8 +73347,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -73992,9 +73657,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite
parameters:
- - *466
- - *467
- - &537
+ - *462
+ - *463
+ - &533
name: check_suite_id
description: The unique identifier of the check suite.
in: path
@@ -74006,9 +73671,9 @@ paths:
description: Response
content:
application/json:
- schema: *535
+ schema: *531
examples:
- default: *536
+ default: *532
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -74031,17 +73696,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:
- - *466
- - *467
- - *537
- - &587
+ - *462
+ - *463
+ - *533
+ - &585
name: check_name
description: Returns check runs with the specified `name`.
in: query
required: false
schema:
type: string
- - &588
+ - &586
name: status
description: Returns check runs with the specified `status`.
in: query
@@ -74080,9 +73745,9 @@ paths:
type: integer
check_runs:
type: array
- items: *530
+ items: *526
examples:
- default: &589
+ default: &587
value:
total_count: 1
check_runs:
@@ -74184,9 +73849,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite
parameters:
- - *466
- - *467
- - *537
+ - *462
+ - *463
+ - *533
responses:
'201':
description: Response
@@ -74219,21 +73884,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:
- - *466
- - *467
+ - *462
+ - *463
- *316
- *317
- *19
- *17
- - &553
+ - &549
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: *538
- - &554
+ schema: *534
+ - &550
name: pr
description: The number of the pull request for the results you want to list.
in: query
@@ -74264,7 +73929,7 @@ paths:
be returned.
in: query
required: false
- schema: *539
+ schema: *535
- name: assignees
description: |
Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`).
@@ -74288,7 +73953,7 @@ paths:
updated_at: *135
url: *132
html_url: *133
- instances_url: *540
+ instances_url: *536
state: *113
fixed_at: *137
dismissed_by:
@@ -74299,11 +73964,11 @@ paths:
required: *21
nullable: true
dismissed_at: *136
- dismissed_reason: *541
- dismissed_comment: *542
- rule: *543
- tool: *544
- most_recent_instance: *545
+ dismissed_reason: *537
+ dismissed_comment: *538
+ rule: *539
+ tool: *540
+ most_recent_instance: *541
dismissal_approved_by:
title: Simple User
description: A GitHub user.
@@ -74429,7 +74094,7 @@ paths:
classifications: []
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances
'304': *37
- '403': &546
+ '403': &542
description: Response if GitHub Advanced Security is not enabled for this
repository
content:
@@ -74456,9 +74121,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:
- - *466
- - *467
- - &547
+ - *462
+ - *463
+ - &543
name: alert_number
in: path
description: The number that identifies an alert. You can find this at the
@@ -74472,7 +74137,7 @@ paths:
description: Response
content:
application/json:
- schema: &548
+ schema: &544
type: object
properties:
number: *127
@@ -74480,7 +74145,7 @@ paths:
updated_at: *135
url: *132
html_url: *133
- instances_url: *540
+ instances_url: *536
state: *113
fixed_at: *137
dismissed_by:
@@ -74491,8 +74156,8 @@ paths:
required: *21
nullable: true
dismissed_at: *136
- dismissed_reason: *541
- dismissed_comment: *542
+ dismissed_reason: *537
+ dismissed_comment: *538
rule:
type: object
properties:
@@ -74546,8 +74211,8 @@ paths:
type: string
description: A link to the documentation for the rule used
to detect the alert.
- tool: *544
- most_recent_instance: *545
+ tool: *540
+ most_recent_instance: *541
dismissal_approved_by:
title: Simple User
description: A GitHub user.
@@ -74646,7 +74311,7 @@ paths:
- test
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
'304': *37
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -74666,9 +74331,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
requestBody:
required: true
content:
@@ -74683,8 +74348,8 @@ paths:
enum:
- open
- dismissed
- dismissed_reason: *541
- dismissed_comment: *542
+ dismissed_reason: *537
+ dismissed_comment: *538
create_request:
type: boolean
description: If `true`, attempt to create an alert dismissal request.
@@ -74712,7 +74377,7 @@ paths:
description: Response
content:
application/json:
- schema: *548
+ schema: *544
examples:
default:
value:
@@ -74788,7 +74453,7 @@ paths:
- test
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
'400': *14
- '403': &552
+ '403': &548
description: Response if the repository is archived or if GitHub Advanced
Security is not enabled for this repository
content:
@@ -74815,15 +74480,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
responses:
'200':
description: Response
content:
application/json:
- schema: &549
+ schema: &545
type: object
properties:
status:
@@ -74849,13 +74514,13 @@ paths:
- description
- started_at
examples:
- default: &550
+ default: &546
value:
status: success
description: This fixes an XSS vulnerability by escaping the user
input.
started_at: '2024-02-14T12:29:18Z'
- '400': &551
+ '400': &547
description: Bad Request
content:
application/json:
@@ -74866,7 +74531,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': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -74891,29 +74556,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
responses:
'200':
description: OK
content:
application/json:
- schema: *549
+ schema: *545
examples:
- default: *550
+ default: *546
'202':
description: Accepted
content:
application/json:
- schema: *549
+ schema: *545
examples:
default:
value:
status: pending
description:
started_at: '2024-02-14T12:29:18Z'
- '400': *551
+ '400': *547
'403':
description: Response if the repository is archived, if GitHub Advanced
Security is not enabled for this repository or if rate limit is exceeded
@@ -74945,9 +74610,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
requestBody:
required: false
content:
@@ -74992,8 +74657,8 @@ paths:
value:
target_ref: refs/heads/main
sha: 178f4f6090b3fccad4a65b3e83d076a622d59652
- '400': *551
- '403': *552
+ '400': *547
+ '403': *548
'404': *6
'422':
description: Unprocessable Entity
@@ -75017,13 +74682,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
- *19
- *17
- - *553
- - *554
+ - *549
+ - *550
responses:
'200':
description: Response
@@ -75034,10 +74699,10 @@ paths:
items:
type: object
properties:
- ref: *538
- analysis_key: *555
- environment: *556
- category: *557
+ ref: *534
+ analysis_key: *551
+ environment: *552
+ category: *553
state:
type: string
description: State of a code scanning alert instance.
@@ -75052,7 +74717,7 @@ paths:
properties:
text:
type: string
- location: *558
+ location: *554
html_url:
type: string
classifications:
@@ -75060,7 +74725,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: *559
+ items: *555
examples:
default:
value:
@@ -75099,7 +74764,7 @@ paths:
end_column: 50
classifications:
- source
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -75133,25 +74798,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:
- - *466
- - *467
+ - *462
+ - *463
- *316
- *317
- *19
- *17
- - *554
+ - *550
- 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: *538
+ schema: *534
- name: sarif_id
in: query
description: Filter analyses belonging to the same SARIF upload.
required: false
- schema: &560
+ schema: &556
type: string
description: An identifier for the upload.
example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53
@@ -75172,23 +74837,23 @@ paths:
application/json:
schema:
type: array
- items: &561
+ items: &557
type: object
properties:
- ref: *538
- commit_sha: &569
+ ref: *534
+ commit_sha: &565
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: *555
+ analysis_key: *551
environment:
type: string
description: Identifies the variable values associated with
the environment in which this analysis was performed.
- category: *557
+ category: *553
error:
type: string
example: error reading field xyz
@@ -75212,8 +74877,8 @@ paths:
description: The REST API URL of the analysis resource.
format: uri
readOnly: true
- sarif_id: *560
- tool: *544
+ sarif_id: *556
+ tool: *540
deletable:
type: boolean
warning:
@@ -75274,7 +74939,7 @@ paths:
version: 1.2.0
deletable: true
warning: ''
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -75310,8 +74975,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:
- - *466
- - *467
+ - *462
+ - *463
- name: analysis_id
in: path
description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses`
@@ -75324,7 +74989,7 @@ paths:
description: Response
content:
application/json:
- schema: *561
+ schema: *557
examples:
response:
summary: application/json response
@@ -75378,7 +75043,7 @@ paths:
properties:
- github/alertNumber: 2
- github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2
- '403': *546
+ '403': *542
'404': *6
'422':
description: Response if analysis could not be processed
@@ -75465,8 +75130,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:
- - *466
- - *467
+ - *462
+ - *463
- name: analysis_id
in: path
description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses`
@@ -75519,7 +75184,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': *552
+ '403': *548
'404': *6
'503': *195
x-github:
@@ -75541,8 +75206,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -75550,7 +75215,7 @@ paths:
application/json:
schema:
type: array
- items: &562
+ items: &558
title: CodeQL Database
description: A CodeQL database.
type: object
@@ -75661,7 +75326,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': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -75690,8 +75355,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:
- - *466
- - *467
+ - *462
+ - *463
- name: language
in: path
description: The language of the CodeQL database.
@@ -75703,7 +75368,7 @@ paths:
description: Response
content:
application/json:
- schema: *562
+ schema: *558
examples:
default:
value:
@@ -75735,9 +75400,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': &596
+ '302': &594
description: Found
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -75759,8 +75424,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: language
in: path
description: The language of the CodeQL database.
@@ -75770,7 +75435,7 @@ paths:
responses:
'204':
description: Response
- '403': *552
+ '403': *548
'404': *6
'503': *195
x-github:
@@ -75798,8 +75463,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -75808,7 +75473,7 @@ paths:
type: object
additionalProperties: false
properties:
- language: &563
+ language: &559
type: string
description: The language targeted by the CodeQL query
enum:
@@ -75888,7 +75553,7 @@ paths:
description: Variant analysis submitted for processing
content:
application/json:
- schema: &567
+ schema: &563
title: Variant Analysis
description: A run of a CodeQL query against one or more repositories.
type: object
@@ -75898,7 +75563,7 @@ paths:
description: The ID of the variant analysis.
controller_repo: *119
actor: *4
- query_language: *563
+ query_language: *559
query_pack_url:
type: string
description: The download url for the query pack.
@@ -75945,7 +75610,7 @@ paths:
items:
type: object
properties:
- repository: &564
+ repository: &560
title: Repository Identifier
description: Repository Identifier
type: object
@@ -75981,7 +75646,7 @@ paths:
- private
- stargazers_count
- updated_at
- analysis_status: &568
+ analysis_status: &564
type: string
description: The new status of the CodeQL variant analysis
repository task.
@@ -76013,7 +75678,7 @@ paths:
from processing. This information is only available to the user
that initiated the variant analysis.
properties:
- access_mismatch_repos: &565
+ access_mismatch_repos: &561
type: object
properties:
repository_count:
@@ -76027,7 +75692,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: *564
+ items: *560
required:
- repository_count
- repositories
@@ -76049,8 +75714,8 @@ paths:
required:
- repository_count
- repository_full_names
- no_codeql_db_repos: *565
- over_limit_repos: *565
+ no_codeql_db_repos: *561
+ over_limit_repos: *561
required:
- access_mismatch_repos
- not_found_repos
@@ -76066,7 +75731,7 @@ paths:
examples:
repositories_parameter:
summary: Response for a successful variant analysis submission
- value: &566
+ value: &562
summary: Default response
value:
id: 1
@@ -76212,10 +75877,10 @@ paths:
private: false
repository_owners:
summary: Response for a successful variant analysis submission
- value: *566
+ value: *562
repository_lists:
summary: Response for a successful variant analysis submission
- value: *566
+ value: *562
'404': *6
'422':
description: Unable to process variant analysis submission
@@ -76243,8 +75908,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:
- - *466
- - *467
+ - *462
+ - *463
- name: codeql_variant_analysis_id
in: path
description: The unique identifier of the variant analysis.
@@ -76256,9 +75921,9 @@ paths:
description: Response
content:
application/json:
- schema: *567
+ schema: *563
examples:
- default: *566
+ default: *562
'404': *6
'503': *195
x-github:
@@ -76281,7 +75946,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:
- - *466
+ - *462
- name: repo
in: path
description: The name of the controller repository.
@@ -76316,7 +75981,7 @@ paths:
type: object
properties:
repository: *119
- analysis_status: *568
+ analysis_status: *564
artifact_size_in_bytes:
type: integer
description: The size of the artifact. This is only available
@@ -76441,8 +76106,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -76527,7 +76192,7 @@ paths:
threat_model: remote
updated_at: '2023-01-19T11:21:34Z'
schedule: weekly
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -76548,8 +76213,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -76641,7 +76306,7 @@ paths:
value:
run_id: 42
run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42
- '403': *552
+ '403': *548
'404': *6
'409':
description: Response if there is already a validation run in progress with
@@ -76712,8 +76377,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -76721,7 +76386,7 @@ paths:
schema:
type: object
properties:
- commit_sha: *569
+ commit_sha: *565
ref:
type: string
description: |-
@@ -76779,7 +76444,7 @@ paths:
schema:
type: object
properties:
- id: *560
+ id: *556
url:
type: string
description: The REST API URL for checking the status of the upload.
@@ -76793,7 +76458,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': *552
+ '403': *548
'404': *6
'413':
description: Payload Too Large if the sarif field is too large
@@ -76816,8 +76481,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:
- - *466
- - *467
+ - *462
+ - *463
- name: sarif_id
description: The SARIF ID obtained after uploading.
in: path
@@ -76863,7 +76528,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': *546
+ '403': *542
'404':
description: Not Found if the sarif id does not match any upload
'503': *195
@@ -76888,8 +76553,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -76970,8 +76635,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors
parameters:
- - *466
- - *467
+ - *462
+ - *463
- 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
@@ -77091,8 +76756,8 @@ paths:
parameters:
- *17
- *19
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -77406,8 +77071,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -77472,7 +77137,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -77480,7 +77145,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'400': *14
'401': *25
'403': *29
@@ -77509,8 +77174,8 @@ paths:
parameters:
- *17
- *19
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -77574,8 +77239,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:
- - *466
- - *467
+ - *462
+ - *463
- name: location
description: The location to check for available machines. Assigned by IP
if not provided.
@@ -77614,8 +77279,8 @@ paths:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: *571
- required: *572
+ properties: *567
+ required: *568
examples:
default: &815
value:
@@ -77657,8 +77322,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ref
description: The branch or commit to check for a default devcontainer path.
If not specified, the default branch will be checked.
@@ -77742,8 +77407,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:
- - *466
- - *467
+ - *462
+ - *463
- 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
@@ -77809,8 +77474,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -77828,7 +77493,7 @@ paths:
type: integer
secrets:
type: array
- items: &576
+ items: &572
title: Codespaces Secret
description: Set repository secrets for GitHub Codespaces.
type: object
@@ -77848,7 +77513,7 @@ paths:
- created_at
- updated_at
examples:
- default: *573
+ default: *569
headers:
Link: *47
x-github:
@@ -77871,16 +77536,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *574
+ schema: *570
examples:
- default: *575
+ default: *571
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -77900,17 +77565,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'200':
description: Response
content:
application/json:
- schema: *576
+ schema: *572
examples:
- default: *577
+ default: *573
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -77930,8 +77595,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:
- - *466
- - *467
+ - *462
+ - *463
- *293
requestBody:
required: true
@@ -77984,8 +77649,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'204':
@@ -78014,8 +77679,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: affiliation
description: Filter collaborators returned by their affiliation. `outside`
means all outside collaborators of an organization-owned repository. `direct`
@@ -78057,7 +77722,7 @@ paths:
title: Collaborator
description: Collaborator
type: object
- properties: &578
+ properties: &574
login:
type: string
example: octocat
@@ -78150,7 +77815,7 @@ paths:
user_view_type:
type: string
example: public
- required: &579
+ required: &575
- avatar_url
- events_url
- followers_url
@@ -78224,8 +77889,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:
- - *466
- - *467
+ - *462
+ - *463
- *142
responses:
'204':
@@ -78272,8 +77937,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *142
requestBody:
required: false
@@ -78300,7 +77965,7 @@ paths:
description: Response when a new invitation is created
content:
application/json:
- schema: &656
+ schema: &654
title: Repository Invitation
description: Repository invitations let you manage who you collaborate
with.
@@ -78529,8 +78194,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *142
responses:
'204':
@@ -78562,8 +78227,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *142
responses:
'200':
@@ -78584,8 +78249,8 @@ paths:
title: Collaborator
description: Collaborator
type: object
- properties: *578
- required: *579
+ properties: *574
+ required: *575
nullable: true
required:
- permission
@@ -78640,8 +78305,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -78651,7 +78316,7 @@ paths:
application/json:
schema:
type: array
- items: &580
+ items: &576
title: Commit Comment
description: Commit Comment
type: object
@@ -78709,7 +78374,7 @@ paths:
- created_at
- updated_at
examples:
- default: &583
+ default: &581
value:
- html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1
url: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -78768,17 +78433,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'200':
description: Response
content:
application/json:
- schema: *580
+ schema: *576
examples:
- default: &584
+ default: &582
value:
html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1
url: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -78835,8 +78500,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -78859,7 +78524,7 @@ paths:
description: Response
content:
application/json:
- schema: *580
+ schema: *576
examples:
default:
value:
@@ -78910,8 +78575,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'204':
@@ -78933,8 +78598,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -78961,9 +78626,74 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: &577
+ 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
+ example: 1
+ node_id:
+ type: string
+ example: MDg6UmVhY3Rpb24x
+ user:
+ title: Simple User
+ description: A GitHub user.
+ type: object
+ properties: *20
+ required: *21
+ nullable: true
+ content:
+ description: The reaction to use
+ example: heart
+ type: string
+ enum:
+ - "+1"
+ - "-1"
+ - laugh
+ - confused
+ - heart
+ - hooray
+ - rocket
+ - eyes
+ created_at:
+ type: string
+ format: date-time
+ example: '2016-05-20T20:09:31Z'
+ required:
+ - id
+ - node_id
+ - user
+ - content
+ - created_at
examples:
- default: *459
+ default: &658
+ 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: *47
'404': *6
@@ -78984,8 +78714,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -79018,16 +78748,40 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: &578
+ 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: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -79049,10 +78803,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- - *460
+ - &659
+ name: reaction_id
+ description: The unique identifier of the reaction.
+ in: path
+ required: true
+ schema:
+ type: integer
responses:
'204':
description: Response
@@ -79101,8 +78861,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sha
description: 'SHA or branch to start listing commits from. Default: the repository’s
default branch (usually `main`).'
@@ -79158,7 +78918,7 @@ paths:
application/json:
schema:
type: array
- items: *581
+ items: *579
examples:
default: &708
value:
@@ -79254,9 +79014,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit
parameters:
- - *466
- - *467
- - &582
+ - *462
+ - *463
+ - &580
name: commit_sha
description: The SHA of the commit.
in: path
@@ -79328,9 +79088,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments
parameters:
- - *466
- - *467
- - *582
+ - *462
+ - *463
+ - *580
- *17
- *19
responses:
@@ -79340,9 +79100,9 @@ paths:
application/json:
schema:
type: array
- items: *580
+ items: *576
examples:
- default: *583
+ default: *581
headers:
Link: *47
x-github:
@@ -79370,9 +79130,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment
parameters:
- - *466
- - *467
- - *582
+ - *462
+ - *463
+ - *580
requestBody:
required: true
content:
@@ -79407,9 +79167,9 @@ paths:
description: Response
content:
application/json:
- schema: *580
+ schema: *576
examples:
- default: *584
+ default: *582
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -79437,9 +79197,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:
- - *466
- - *467
- - *582
+ - *462
+ - *463
+ - *580
- *17
- *19
responses:
@@ -79449,7 +79209,7 @@ paths:
application/json:
schema:
type: array
- items: *585
+ items: *583
examples:
default: &700
value:
@@ -79988,11 +79748,11 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *19
- *17
- - &586
+ - &584
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)"
@@ -80007,7 +79767,7 @@ paths:
description: Response
content:
application/json:
- schema: *581
+ schema: *579
examples:
default: &685
value:
@@ -80122,11 +79882,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:
- - *466
- - *467
+ - *462
+ - *463
+ - *584
+ - *585
- *586
- - *587
- - *588
- name: filter
description: Filters check runs by their `completed_at` timestamp. `latest`
returns the most recent check runs.
@@ -80160,9 +79920,9 @@ paths:
type: integer
check_runs:
type: array
- items: *530
+ items: *526
examples:
- default: *589
+ default: *587
headers:
Link: *47
x-github:
@@ -80187,9 +79947,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:
- - *466
- - *467
- - *586
+ - *462
+ - *463
+ - *584
- name: app_id
description: Filters check suites by GitHub App `id`.
in: query
@@ -80197,7 +79957,7 @@ paths:
schema:
type: integer
example: 1
- - *587
+ - *585
- *17
- *19
responses:
@@ -80215,7 +79975,7 @@ paths:
type: integer
check_suites:
type: array
- items: *535
+ items: *531
examples:
default:
value:
@@ -80415,9 +80175,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:
- - *466
- - *467
- - *586
+ - *462
+ - *463
+ - *584
- *17
- *19
responses:
@@ -80615,9 +80375,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference
parameters:
- - *466
- - *467
- - *586
+ - *462
+ - *463
+ - *584
- *17
- *19
responses:
@@ -80708,7 +80468,7 @@ paths:
site_admin: false
headers:
Link: *47
- '301': *472
+ '301': *468
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80736,8 +80496,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -80766,20 +80526,20 @@ paths:
title: Code Of Conduct Simple
description: Code of Conduct Simple
type: object
- properties: *590
- required: *591
+ properties: *588
+ required: *589
nullable: true
code_of_conduct_file:
title: Community Health File
type: object
- properties: &592
+ properties: &590
url:
type: string
format: uri
html_url:
type: string
format: uri
- required: &593
+ required: &591
- url
- html_url
nullable: true
@@ -80793,26 +80553,26 @@ paths:
contributing:
title: Community Health File
type: object
- properties: *592
- required: *593
+ properties: *590
+ required: *591
nullable: true
readme:
title: Community Health File
type: object
- properties: *592
- required: *593
+ properties: *590
+ required: *591
nullable: true
issue_template:
title: Community Health File
type: object
- properties: *592
- required: *593
+ properties: *590
+ required: *591
nullable: true
pull_request_template:
title: Community Health File
type: object
- properties: *592
- required: *593
+ properties: *590
+ required: *591
nullable: true
required:
- code_of_conduct
@@ -80939,8 +80699,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *19
- *17
- name: basehead
@@ -80983,8 +80743,8 @@ paths:
type: string
format: uri
example: https://github.com/octocat/Hello-World/compare/master...topic.patch
- base_commit: *581
- merge_base_commit: *581
+ base_commit: *579
+ merge_base_commit: *579
status:
type: string
enum:
@@ -81004,10 +80764,10 @@ paths:
example: 6
commits:
type: array
- items: *581
+ items: *579
files:
type: array
- items: *594
+ items: *592
required:
- url
- html_url
@@ -81293,8 +81053,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: path
description: path parameter
in: path
@@ -81437,7 +81197,7 @@ paths:
- type
- url
examples:
- response-if-content-is-a-file: &595
+ response-if-content-is-a-file: &593
summary: Response if content is a file
value:
type: file
@@ -81770,7 +81530,7 @@ paths:
- url
- submodule_git_url
examples:
- response-if-content-is-a-file: *595
+ response-if-content-is-a-file: *593
response-if-content-is-a-directory:
summary: Response if content is a directory and the application/json
media type is requested
@@ -81839,7 +81599,7 @@ paths:
html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9
'404': *6
'403': *29
- '302': *596
+ '302': *594
'304': *37
x-github:
githubCloudOnly: false
@@ -81862,8 +81622,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: path
description: path parameter
in: path
@@ -81956,7 +81716,7 @@ paths:
description: Response
content:
application/json:
- schema: &597
+ schema: &595
title: File Commit
description: File Commit
type: object
@@ -82108,7 +81868,7 @@ paths:
description: Response
content:
application/json:
- schema: *597
+ schema: *595
examples:
example-for-creating-a-file:
value:
@@ -82162,7 +81922,7 @@ paths:
schema:
oneOf:
- *3
- - &638
+ - &636
description: Repository rule violation was detected
type: object
properties:
@@ -82215,8 +81975,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: path
description: path parameter
in: path
@@ -82277,7 +82037,7 @@ paths:
description: Response
content:
application/json:
- schema: *597
+ schema: *595
examples:
default:
value:
@@ -82332,8 +82092,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: anon
description: Set to `1` or `true` to include anonymous contributors in results.
in: query
@@ -82456,8 +82216,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *332
- *333
- *334
@@ -82469,7 +82229,7 @@ paths:
schema:
type: string
- *336
- - *598
+ - *596
- *337
- *338
- *110
@@ -82490,7 +82250,7 @@ paths:
application/json:
schema:
type: array
- items: &602
+ items: &600
type: object
description: A Dependabot alert.
properties:
@@ -82536,7 +82296,7 @@ paths:
- unknown
- direct
- transitive
- security_advisory: *599
+ security_advisory: *597
security_vulnerability: *131
url: *132
html_url: *133
@@ -82567,8 +82327,8 @@ paths:
nullable: true
maxLength: 280
fixed_at: *137
- auto_dismissed_at: *600
- dismissal_request: *601
+ auto_dismissed_at: *598
+ dismissal_request: *599
required:
- number
- state
@@ -82798,9 +82558,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert
parameters:
- - *466
- - *467
- - &603
+ - *462
+ - *463
+ - &601
name: alert_number
in: path
description: |-
@@ -82815,7 +82575,7 @@ paths:
description: Response
content:
application/json:
- schema: *602
+ schema: *600
examples:
default:
value:
@@ -82928,9 +82688,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert
parameters:
- - *466
- - *467
- - *603
+ - *462
+ - *463
+ - *601
requestBody:
required: true
content:
@@ -82975,7 +82735,7 @@ paths:
description: Response
content:
application/json:
- schema: *602
+ schema: *600
examples:
default:
value:
@@ -83104,8 +82864,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -83123,7 +82883,7 @@ paths:
type: integer
secrets:
type: array
- items: &606
+ items: &604
title: Dependabot Secret
description: Set secrets for Dependabot.
type: object
@@ -83176,16 +82936,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *604
+ schema: *602
examples:
- default: *605
+ default: *603
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -83205,15 +82965,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'200':
description: Response
content:
application/json:
- schema: *606
+ schema: *604
examples:
default:
value:
@@ -83239,8 +82999,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
requestBody:
required: true
@@ -83293,8 +83053,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'204':
@@ -83317,8 +83077,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:
- - *466
- - *467
+ - *462
+ - *463
- 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
@@ -83478,8 +83238,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -83718,8 +83478,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -83794,7 +83554,7 @@ paths:
- version
- url
additionalProperties: false
- metadata: &607
+ metadata: &605
title: metadata
description: User-defined metadata to store domain-specific information
limited to 8 keys with scalar values.
@@ -83827,7 +83587,7 @@ paths:
the root of the Git repository.
example: "/src/build/package-lock.json"
additionalProperties: false
- metadata: *607
+ metadata: *605
resolved:
type: object
description: A collection of resolved package dependencies.
@@ -83840,7 +83600,7 @@ paths:
for more details.
example: pkg:/npm/%40actions/http-client@1.0.11
pattern: "^pkg"
- metadata: *607
+ metadata: *605
relationship:
type: string
description: A notation of whether a dependency is requested
@@ -83969,8 +83729,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sha
description: The SHA recorded at creation time.
in: query
@@ -84010,9 +83770,9 @@ paths:
application/json:
schema:
type: array
- items: *608
+ items: *606
examples:
- default: *609
+ default: *607
headers:
Link: *47
x-github:
@@ -84078,8 +83838,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -84160,7 +83920,7 @@ paths:
description: Response
content:
application/json:
- schema: *608
+ schema: *606
examples:
simple-example:
summary: Simple example
@@ -84233,9 +83993,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment
parameters:
- - *466
- - *467
- - &610
+ - *462
+ - *463
+ - &608
name: deployment_id
description: deployment_id parameter
in: path
@@ -84247,7 +84007,7 @@ paths:
description: Response
content:
application/json:
- schema: *608
+ schema: *606
examples:
default:
value:
@@ -84312,9 +84072,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment
parameters:
- - *466
- - *467
- - *610
+ - *462
+ - *463
+ - *608
responses:
'204':
description: Response
@@ -84336,9 +84096,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses
parameters:
- - *466
- - *467
- - *610
+ - *462
+ - *463
+ - *608
- *17
- *19
responses:
@@ -84348,7 +84108,7 @@ paths:
application/json:
schema:
type: array
- items: &611
+ items: &609
title: Deployment Status
description: The status of a deployment.
type: object
@@ -84509,9 +84269,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status
parameters:
- - *466
- - *467
- - *610
+ - *462
+ - *463
+ - *608
requestBody:
required: true
content:
@@ -84586,9 +84346,9 @@ paths:
description: Response
content:
application/json:
- schema: *611
+ schema: *609
examples:
- default: &612
+ default: &610
value:
url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1
id: 1
@@ -84644,9 +84404,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status
parameters:
- - *466
- - *467
- - *610
+ - *462
+ - *463
+ - *608
- name: status_id
in: path
required: true
@@ -84657,9 +84417,9 @@ paths:
description: Response
content:
application/json:
- schema: *611
+ schema: *609
examples:
- default: *612
+ default: *610
'404': *6
x-github:
githubCloudOnly: false
@@ -84686,12 +84446,12 @@ paths:
category: code-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
+ - *611
+ - *612
- *613
- *614
- - *615
- - *616
- *17
- *19
responses:
@@ -84701,9 +84461,9 @@ paths:
application/json:
schema:
type: array
- items: *617
+ items: *615
examples:
- default: *618
+ default: *616
'404': *6
'403': *29
'500': *40
@@ -84727,8 +84487,8 @@ paths:
category: code-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -84740,7 +84500,7 @@ paths:
description: A single dismissal request.
content:
application/json:
- schema: *617
+ schema: *615
examples:
default:
value:
@@ -84796,8 +84556,8 @@ paths:
category: code-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -84856,12 +84616,12 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
+ - *611
+ - *612
- *613
- *614
- - *615
- - *616
- *17
- *19
responses:
@@ -84871,9 +84631,9 @@ paths:
application/json:
schema:
type: array
- items: *619
+ items: *617
examples:
- default: *620
+ default: *618
'404': *6
'403': *29
'500': *40
@@ -84897,8 +84657,8 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -84910,7 +84670,7 @@ paths:
description: A single dismissal request.
content:
application/json:
- schema: *619
+ schema: *617
examples:
default:
value:
@@ -84961,8 +84721,8 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85000,7 +84760,7 @@ paths:
description: The created dismissal request.
content:
application/json:
- schema: *619
+ schema: *617
examples:
default:
value:
@@ -85051,8 +84811,8 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85123,8 +84883,8 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85157,8 +84917,8 @@ paths:
category: secret-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *103
- *104
- *105
@@ -85172,9 +84932,9 @@ paths:
application/json:
schema:
type: array
- items: *621
+ items: *619
examples:
- default: *622
+ default: *620
'404': *6
'403': *29
'500': *40
@@ -85199,8 +84959,8 @@ paths:
category: secret-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85212,7 +84972,7 @@ paths:
description: A single dismissal request.
content:
application/json:
- schema: *621
+ schema: *619
examples:
default:
value:
@@ -85270,8 +85030,8 @@ paths:
category: secret-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85340,8 +85100,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -85398,8 +85158,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -85416,7 +85176,7 @@ paths:
type: integer
environments:
type: array
- items: &624
+ items: &622
title: Environment
description: Details of a deployment environment
type: object
@@ -85468,7 +85228,7 @@ paths:
type:
type: string
example: wait_timer
- wait_timer: &626
+ wait_timer: &624
type: integer
example: 30
description: The amount of time to delay a job after
@@ -85505,7 +85265,7 @@ paths:
items:
type: object
properties:
- type: *623
+ type: *621
reviewer:
anyOf:
- *4
@@ -85529,7 +85289,7 @@ paths:
- id
- node_id
- type
- deployment_branch_policy: &627
+ deployment_branch_policy: &625
type: object
description: The type of deployment branch policy for this
environment. To allow all branches to deploy, set to `null`.
@@ -85645,9 +85405,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment
parameters:
- - *466
- - *467
- - &625
+ - *462
+ - *463
+ - &623
name: environment_name
in: path
required: true
@@ -85660,9 +85420,9 @@ paths:
description: Response
content:
application/json:
- schema: *624
+ schema: *622
examples:
- default: &628
+ default: &626
value:
id: 161088068
node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4
@@ -85746,9 +85506,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
requestBody:
required: false
content:
@@ -85757,7 +85517,7 @@ paths:
type: object
nullable: true
properties:
- wait_timer: *626
+ wait_timer: *624
prevent_self_review:
type: boolean
example: false
@@ -85774,13 +85534,13 @@ paths:
items:
type: object
properties:
- type: *623
+ type: *621
id:
type: integer
description: The id of the user or team who can review the
deployment
example: 4532992
- deployment_branch_policy: *627
+ deployment_branch_policy: *625
additionalProperties: false
examples:
default:
@@ -85800,9 +85560,9 @@ paths:
description: Response
content:
application/json:
- schema: *624
+ schema: *622
examples:
- default: *628
+ default: *626
'422':
description: Validation error when the environment name is invalid or when
`protected_branches` and `custom_branch_policies` in `deployment_branch_policy`
@@ -85826,9 +85586,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
responses:
'204':
description: Default response
@@ -85853,9 +85613,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *17
- *19
responses:
@@ -85873,7 +85633,7 @@ paths:
example: 2
branch_policies:
type: array
- items: &629
+ items: &627
title: Deployment branch policy
description: Details of a deployment branch or tag policy.
type: object
@@ -85930,9 +85690,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
requestBody:
required: true
content:
@@ -85978,9 +85738,9 @@ paths:
description: Response
content:
application/json:
- schema: *629
+ schema: *627
examples:
- example-wildcard: &630
+ example-wildcard: &628
value:
id: 364662
node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI=
@@ -86022,10 +85782,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy
parameters:
- - *466
- - *467
- - *625
- - &631
+ - *462
+ - *463
+ - *623
+ - &629
name: branch_policy_id
in: path
required: true
@@ -86037,9 +85797,9 @@ paths:
description: Response
content:
application/json:
- schema: *629
+ schema: *627
examples:
- default: *630
+ default: *628
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86058,10 +85818,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy
parameters:
- - *466
- - *467
- - *625
- - *631
+ - *462
+ - *463
+ - *623
+ - *629
requestBody:
required: true
content:
@@ -86089,9 +85849,9 @@ paths:
description: Response
content:
application/json:
- schema: *629
+ schema: *627
examples:
- default: *630
+ default: *628
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86110,10 +85870,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy
parameters:
- - *466
- - *467
- - *625
- - *631
+ - *462
+ - *463
+ - *623
+ - *629
responses:
'204':
description: Response
@@ -86138,9 +85898,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:
- - *625
- - *467
- - *466
+ - *623
+ - *463
+ - *462
responses:
'200':
description: List of deployment protection rules
@@ -86156,7 +85916,7 @@ paths:
example: 10
custom_deployment_protection_rules:
type: array
- items: &632
+ items: &630
title: Deployment protection rule
description: Deployment protection rule
type: object
@@ -86175,7 +85935,7 @@ paths:
example: true
description: Whether the deployment protection rule is enabled
for the environment.
- app: &633
+ app: &631
title: Custom deployment protection rule app
description: A GitHub App that is providing a custom deployment
protection rule.
@@ -86274,9 +86034,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:
- - *625
- - *467
- - *466
+ - *623
+ - *463
+ - *462
requestBody:
content:
application/json:
@@ -86297,9 +86057,9 @@ paths:
description: The enabled custom deployment protection rule
content:
application/json:
- schema: *632
+ schema: *630
examples:
- default: &634
+ default: &632
value:
id: 3
node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv
@@ -86334,9 +86094,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:
- - *625
- - *467
- - *466
+ - *623
+ - *463
+ - *462
- *19
- *17
responses:
@@ -86355,7 +86115,7 @@ paths:
example: 35
available_custom_deployment_protection_rule_integrations:
type: array
- items: *633
+ items: *631
examples:
default:
value:
@@ -86390,10 +86150,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:
- - *466
- - *467
- - *625
- - &635
+ - *462
+ - *463
+ - *623
+ - &633
name: protection_rule_id
description: The unique identifier of the protection rule.
in: path
@@ -86405,9 +86165,9 @@ paths:
description: Response
content:
application/json:
- schema: *632
+ schema: *630
examples:
- default: *634
+ default: *632
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86428,10 +86188,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:
- - *625
- - *467
- - *466
- - *635
+ - *623
+ - *463
+ - *462
+ - *633
responses:
'204':
description: Response
@@ -86457,9 +86217,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *17
- *19
responses:
@@ -86477,9 +86237,9 @@ paths:
type: integer
secrets:
type: array
- items: *497
+ items: *493
examples:
- default: *498
+ default: *494
headers:
Link: *47
x-github:
@@ -86504,17 +86264,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
responses:
'200':
description: Response
content:
application/json:
- schema: *499
+ schema: *495
examples:
- default: *500
+ default: *496
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86536,18 +86296,18 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *293
responses:
'200':
description: Response
content:
application/json:
- schema: *497
+ schema: *493
examples:
- default: *636
+ default: *634
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86569,9 +86329,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *293
requestBody:
required: true
@@ -86629,9 +86389,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *293
responses:
'204':
@@ -86657,10 +86417,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables
parameters:
- - *466
- - *467
- - *625
- - *484
+ - *462
+ - *463
+ - *623
+ - *480
- *19
responses:
'200':
@@ -86677,9 +86437,9 @@ paths:
type: integer
variables:
type: array
- items: *501
+ items: *497
examples:
- default: *502
+ default: *498
headers:
Link: *47
x-github:
@@ -86702,9 +86462,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
requestBody:
required: true
content:
@@ -86756,18 +86516,18 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *296
responses:
'200':
description: Response
content:
application/json:
- schema: *501
+ schema: *497
examples:
- default: *637
+ default: *635
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86788,10 +86548,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
- - *625
+ - *623
requestBody:
required: true
content:
@@ -86833,10 +86593,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
- - *625
+ - *623
responses:
'204':
description: Response
@@ -86858,8 +86618,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -86927,8 +86687,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sort
description: The sort order. `stargazers` will sort by star count.
in: query
@@ -87087,8 +86847,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -87120,9 +86880,9 @@ paths:
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
+ default: *469
'400': *14
'422': *15
'403': *29
@@ -87143,8 +86903,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -87204,7 +86964,7 @@ paths:
schema:
oneOf:
- *258
- - *638
+ - *636
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -87229,8 +86989,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: file_sha
in: path
required: true
@@ -87329,8 +87089,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -87439,7 +87199,7 @@ paths:
description: Response
content:
application/json:
- schema: &639
+ schema: &637
title: Git Commit
description: Low-level Git commit operations within a repository
type: object
@@ -87653,15 +87413,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object
parameters:
- - *466
- - *467
- - *582
+ - *462
+ - *463
+ - *580
responses:
'200':
description: Response
content:
application/json:
- schema: *639
+ schema: *637
examples:
default:
value:
@@ -87717,9 +87477,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references
parameters:
- - *466
- - *467
- - &640
+ - *462
+ - *463
+ - &638
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.
@@ -87736,7 +87496,7 @@ paths:
application/json:
schema:
type: array
- items: &641
+ items: &639
title: Git Reference
description: Git references within a repository
type: object
@@ -87811,17 +87571,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference
parameters:
- - *466
- - *467
- - *640
+ - *462
+ - *463
+ - *638
responses:
'200':
description: Response
content:
application/json:
- schema: *641
+ schema: *639
examples:
- default: &642
+ default: &640
value:
ref: refs/heads/featureA
node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ==
@@ -87850,8 +87610,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -87880,9 +87640,9 @@ paths:
description: Response
content:
application/json:
- schema: *641
+ schema: *639
examples:
- default: *642
+ default: *640
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA
@@ -87908,9 +87668,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference
parameters:
- - *466
- - *467
- - *640
+ - *462
+ - *463
+ - *638
requestBody:
required: true
content:
@@ -87939,9 +87699,9 @@ paths:
description: Response
content:
application/json:
- schema: *641
+ schema: *639
examples:
- default: *642
+ default: *640
'422': *15
'409': *118
x-github:
@@ -87959,9 +87719,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference
parameters:
- - *466
- - *467
- - *640
+ - *462
+ - *463
+ - *638
responses:
'204':
description: Response
@@ -88016,8 +87776,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -88084,7 +87844,7 @@ paths:
description: Response
content:
application/json:
- schema: &644
+ schema: &642
title: Git Tag
description: Metadata for a Git tag
type: object
@@ -88135,7 +87895,7 @@ paths:
- sha
- type
- url
- verification: *643
+ verification: *641
required:
- sha
- url
@@ -88145,7 +87905,7 @@ paths:
- tag
- message
examples:
- default: &645
+ default: &643
value:
node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw==
tag: v0.0.1
@@ -88218,8 +87978,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: tag_sha
in: path
required: true
@@ -88230,9 +87990,9 @@ paths:
description: Response
content:
application/json:
- schema: *644
+ schema: *642
examples:
- default: *645
+ default: *643
'404': *6
'409': *118
x-github:
@@ -88256,8 +88016,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -88330,7 +88090,7 @@ paths:
description: Response
content:
application/json:
- schema: &646
+ schema: &644
title: Git Tree
description: The hierarchy between files in a Git repository.
type: object
@@ -88426,8 +88186,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: tree_sha
description: The SHA1 value or ref (branch or tag) name of the tree.
in: path
@@ -88450,7 +88210,7 @@ paths:
description: Response
content:
application/json:
- schema: *646
+ schema: *644
examples:
default-response:
summary: Default response
@@ -88509,8 +88269,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -88520,7 +88280,7 @@ paths:
application/json:
schema:
type: array
- items: &647
+ items: &645
title: Webhook
description: Webhooks for repositories.
type: object
@@ -88574,7 +88334,7 @@ paths:
type: string
format: uri
example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries
- last_response: &905
+ last_response: &906
title: Hook Response
type: object
properties:
@@ -88648,8 +88408,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -88701,9 +88461,9 @@ paths:
description: Response
content:
application/json:
- schema: *647
+ schema: *645
examples:
- default: &648
+ default: &646
value:
type: Repository
id: 12345678
@@ -88751,17 +88511,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'200':
description: Response
content:
application/json:
- schema: *647
+ schema: *645
examples:
- default: *648
+ default: *646
'404': *6
x-github:
githubCloudOnly: false
@@ -88781,8 +88541,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
requestBody:
required: true
@@ -88828,9 +88588,9 @@ paths:
description: Response
content:
application/json:
- schema: *647
+ schema: *645
examples:
- default: *648
+ default: *646
'422': *15
'404': *6
x-github:
@@ -88851,8 +88611,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'204':
@@ -88877,8 +88637,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:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'200':
@@ -88906,8 +88666,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:
- - *466
- - *467
+ - *462
+ - *463
- *348
requestBody:
required: false
@@ -88952,8 +88712,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
- *17
- *349
@@ -88985,8 +88745,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:
- - *466
- - *467
+ - *462
+ - *463
- *348
- *16
responses:
@@ -89015,8 +88775,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:
- - *466
- - *467
+ - *462
+ - *463
- *348
- *16
responses:
@@ -89040,8 +88800,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'204':
@@ -89067,8 +88827,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'204':
@@ -89092,8 +88852,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response if immutable releases are enabled
@@ -89139,8 +88899,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204': *154
'409': *118
@@ -89160,8 +88920,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204': *154
'409': *118
@@ -89218,14 +88978,14 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: &649
+ schema: &647
title: Import
description: A repository import from an external source.
type: object
@@ -89324,7 +89084,7 @@ paths:
- html_url
- authors_url
examples:
- default: &652
+ default: &650
value:
vcs: subversion
use_lfs: true
@@ -89340,7 +89100,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': &650
+ '503': &648
description: Unavailable due to service under maintenance.
content:
application/json:
@@ -89369,8 +89129,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -89418,7 +89178,7 @@ paths:
description: Response
content:
application/json:
- schema: *649
+ schema: *647
examples:
default:
value:
@@ -89443,7 +89203,7 @@ paths:
type: string
'422': *15
'404': *6
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89471,8 +89231,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -89521,7 +89281,7 @@ paths:
description: Response
content:
application/json:
- schema: *649
+ schema: *647
examples:
example-1:
summary: Example 1
@@ -89569,7 +89329,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': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89592,12 +89352,12 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89623,8 +89383,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &836
name: since
description: A user ID. Only return users with an ID greater than this ID.
@@ -89639,7 +89399,7 @@ paths:
application/json:
schema:
type: array
- items: &651
+ items: &649
title: Porter Author
description: Porter Author
type: object
@@ -89693,7 +89453,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': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89718,8 +89478,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: author_id
in: path
required: true
@@ -89749,7 +89509,7 @@ paths:
description: Response
content:
application/json:
- schema: *651
+ schema: *649
examples:
default:
value:
@@ -89762,7 +89522,7 @@ paths:
import_url: https://api.github.com/repos/octocat/socm/import
'422': *15
'404': *6
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89786,8 +89546,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -89828,7 +89588,7 @@ paths:
path: foo/bar/3
oid: c20ad4d76fe97759aa27a0c99bff6710
size: 12582912
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89856,8 +89616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -89884,11 +89644,11 @@ paths:
description: Response
content:
application/json:
- schema: *649
+ schema: *647
examples:
- default: *652
+ default: *650
'422': *15
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89911,8 +89671,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -89920,8 +89680,8 @@ paths:
application/json:
schema: *22
examples:
- default: *653
- '301': *472
+ default: *651
+ '301': *468
'404': *6
x-github:
githubCloudOnly: false
@@ -89941,8 +89701,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -89955,7 +89715,7 @@ paths:
properties: {}
additionalProperties: false
examples:
- default: &655
+ default: &653
value:
limit: collaborators_only
origin: repository
@@ -89980,13 +89740,13 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
application/json:
- schema: *654
+ schema: *652
examples:
default:
summary: Example request body
@@ -90000,7 +89760,7 @@ paths:
application/json:
schema: *366
examples:
- default: *655
+ default: *653
'409':
description: Response
x-github:
@@ -90022,8 +89782,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -90046,8 +89806,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -90057,7 +89817,7 @@ paths:
application/json:
schema:
type: array
- items: *656
+ items: *654
examples:
default: &829
value:
@@ -90190,8 +89950,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *370
requestBody:
required: false
@@ -90221,7 +89981,7 @@ paths:
description: Response
content:
application/json:
- schema: *656
+ schema: *654
examples:
default:
value:
@@ -90352,8 +90112,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *370
responses:
'204':
@@ -90385,8 +90145,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues
parameters:
- - *466
- - *467
+ - *462
+ - *463
- 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
@@ -90607,7 +90367,7 @@ paths:
state_reason: completed
headers:
Link: *47
- '301': *472
+ '301': *468
'422': *15
'404': *6
x-github:
@@ -90636,8 +90396,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -90877,7 +90637,7 @@ paths:
'422': *15
'503': *195
'404': *6
- '410': *657
+ '410': *655
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -90905,8 +90665,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *244
- name: direction
description: Either `asc` or `desc`. Ignored without the `sort` parameter.
@@ -90927,7 +90687,7 @@ paths:
application/json:
schema:
type: array
- items: *658
+ items: *656
examples:
default: &665
value:
@@ -90987,17 +90747,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'200':
description: Response
content:
application/json:
- schema: *658
+ schema: *656
examples:
- default: &659
+ default: &657
value:
id: 1
node_id: MDEyOklzc3VlQ29tbWVudDE=
@@ -91051,8 +90811,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -91075,9 +90835,9 @@ paths:
description: Response
content:
application/json:
- schema: *658
+ schema: *656
examples:
- default: *659
+ default: *657
'422': *15
x-github:
githubCloudOnly: false
@@ -91095,8 +90855,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'204':
@@ -91117,8 +90877,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -91145,9 +90905,9 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: *577
examples:
- default: *459
+ default: *658
headers:
Link: *47
'404': *6
@@ -91168,8 +90928,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -91202,16 +90962,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'201':
description: Reaction created
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -91233,10 +90993,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- - *460
+ - *659
responses:
'204':
description: Response
@@ -91256,8 +91016,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -91618,8 +91378,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: event_id
in: path
required: true
@@ -91822,7 +91582,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
'404': *6
- '410': *657
+ '410': *655
'403': *29
x-github:
githubCloudOnly: false
@@ -91856,8 +91616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &664
name: issue_number
description: The number that identifies the issue.
@@ -91873,9 +91633,9 @@ paths:
schema: *220
examples:
default: *663
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
'304': *37
x-github:
githubCloudOnly: false
@@ -91900,8 +91660,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -92012,9 +91772,9 @@ paths:
'422': *15
'503': *195
'403': *29
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -92032,8 +91792,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -92078,8 +91838,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
content:
@@ -92129,8 +91889,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
- name: assignee
in: path
@@ -92171,8 +91931,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *227
- *17
@@ -92184,13 +91944,13 @@ paths:
application/json:
schema:
type: array
- items: *658
+ items: *656
examples:
default: *665
headers:
Link: *47
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -92219,8 +91979,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -92243,16 +92003,16 @@ paths:
description: Response
content:
application/json:
- schema: *658
+ schema: *656
examples:
- default: *659
+ default: *657
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1
schema:
type: string
'403': *29
- '410': *657
+ '410': *655
'422': *15
'404': *6
x-github:
@@ -92280,8 +92040,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -92297,9 +92057,9 @@ paths:
default: *666
headers:
Link: *47
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -92327,8 +92087,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -92359,9 +92119,9 @@ paths:
example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by
schema:
type: string
- '301': *472
+ '301': *468
'403': *29
- '410': *657
+ '410': *655
'422': *15
'404': *6
x-github:
@@ -92392,8 +92152,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
- name: issue_id
in: path
@@ -92409,12 +92169,12 @@ paths:
schema: *220
examples:
default: *663
- '301': *472
+ '301': *468
'400': *14
'401': *25
'403': *29
'404': *6
- '410': *657
+ '410': *655
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -92440,8 +92200,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -92457,9 +92217,9 @@ paths:
default: *666
headers:
Link: *47
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -92476,8 +92236,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -93329,7 +93089,7 @@ paths:
color: red
headers:
Link: *47
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93346,8 +93106,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -93378,9 +93138,9 @@ paths:
default: false
headers:
Link: *47
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93397,8 +93157,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -93461,9 +93221,9 @@ paths:
items: *219
examples:
default: *667
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
'422': *15
x-github:
githubCloudOnly: false
@@ -93480,8 +93240,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -93545,9 +93305,9 @@ paths:
items: *219
examples:
default: *667
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
'422': *15
x-github:
githubCloudOnly: false
@@ -93564,15 +93324,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
responses:
'204':
description: Response
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93591,8 +93351,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- name: name
in: path
@@ -93617,9 +93377,9 @@ paths:
description: Something isn't working
color: f29513
default: true
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93639,8 +93399,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -93669,7 +93429,7 @@ paths:
'204':
description: Response
'403': *29
- '410': *657
+ '410': *655
'404': *6
'422': *15
x-github:
@@ -93687,8 +93447,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
responses:
'204':
@@ -93719,8 +93479,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
responses:
'200':
@@ -93730,9 +93490,9 @@ paths:
schema: *220
examples:
default: *663
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93749,8 +93509,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -93777,13 +93537,13 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: *577
examples:
- default: *459
+ default: *658
headers:
Link: *47
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93801,8 +93561,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -93835,16 +93595,16 @@ paths:
description: Response
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'201':
description: Response
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -93866,10 +93626,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- - *460
+ - *659
responses:
'204':
description: Response
@@ -93898,8 +93658,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -93957,8 +93717,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -93975,7 +93735,7 @@ paths:
headers:
Link: *47
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -94003,8 +93763,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -94041,7 +93801,7 @@ paths:
schema:
type: string
'403': *29
- '410': *657
+ '410': *655
'422': *15
'404': *6
x-github:
@@ -94061,8 +93821,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -94118,8 +93878,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -94665,7 +94425,7 @@ paths:
type: string
comments:
type: array
- items: *580
+ items: *576
- title: Timeline Assigned Issue Event
description: Timeline Assigned Issue Event
type: object
@@ -94954,7 +94714,7 @@ paths:
headers:
Link: *47
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -94971,8 +94731,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -95048,8 +94808,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95121,8 +94881,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &683
name: key_id
description: The unique identifier of the key.
@@ -95155,8 +94915,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *683
responses:
'204':
@@ -95177,8 +94937,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -95211,8 +94971,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95282,8 +95042,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: name
in: path
required: true
@@ -95313,8 +95073,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: name
in: path
required: true
@@ -95379,8 +95139,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: name
in: path
required: true
@@ -95406,8 +95166,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -95443,8 +95203,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'202': *39
'403':
@@ -95472,8 +95232,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -95499,9 +95259,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository
parameters:
- - *466
- - *467
- - *553
+ - *462
+ - *463
+ - *549
responses:
'200':
description: Response
@@ -95646,8 +95406,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95712,8 +95472,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95747,7 +95507,7 @@ paths:
description: Successful Response (The resulting merge commit)
content:
application/json:
- schema: *581
+ schema: *579
examples:
default: *685
'204':
@@ -95774,8 +95534,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: state
description: The state of the milestone. Either `open`, `closed`, or `all`.
in: query
@@ -95877,8 +95637,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95979,8 +95739,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &688
name: milestone_number
description: The number that identifies the milestone.
@@ -96012,8 +95772,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *688
requestBody:
required: false
@@ -96070,8 +95830,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *688
responses:
'204':
@@ -96093,8 +95853,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:
- - *466
- - *467
+ - *462
+ - *463
- *688
- *17
- *19
@@ -96126,8 +95886,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:
- - *466
- - *467
+ - *462
+ - *463
- *689
- *690
- *227
@@ -96167,8 +95927,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -96226,8 +95986,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -96399,8 +96159,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -96479,8 +96239,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -96587,8 +96347,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -96614,8 +96374,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -96719,8 +96479,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'201':
description: Response
@@ -96765,8 +96525,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -96822,8 +96582,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: build_id
in: path
required: true
@@ -96856,8 +96616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -96962,8 +96722,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:
- - *466
- - *467
+ - *462
+ - *463
- &697
name: pages_deployment_id
description: The ID of the Pages deployment. You can also give the commit
@@ -97022,8 +96782,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *697
responses:
'204': *154
@@ -97051,8 +96811,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -97310,8 +97070,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Private vulnerability reporting status
@@ -97348,8 +97108,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204': *154
'422': *14
@@ -97370,8 +97130,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204': *154
'422': *14
@@ -97393,8 +97153,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -97426,8 +97186,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -97481,8 +97241,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: state
description: Either `open`, `closed`, or `all` to filter by state.
in: query
@@ -97542,7 +97302,7 @@ paths:
application/json:
schema:
type: array
- items: *585
+ items: *583
examples:
default: *700
headers:
@@ -97576,8 +97336,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -98475,8 +98235,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sort
in: query
required: false
@@ -98584,8 +98344,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'200':
@@ -98669,8 +98429,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -98711,8 +98471,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'204':
@@ -98734,8 +98494,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -98762,9 +98522,9 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: *577
examples:
- default: *459
+ default: *658
headers:
Link: *47
'404': *6
@@ -98785,8 +98545,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -98819,16 +98579,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'201':
description: Reaction created
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -98850,10 +98610,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- - *460
+ - *659
responses:
'204':
description: Response
@@ -98896,8 +98656,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &706
name: pull_number
description: The number that identifies the pull request.
@@ -98948,8 +98708,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -99016,8 +98776,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: true
@@ -99080,7 +98840,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -99088,7 +98848,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'401': *25
'403': *29
'404': *6
@@ -99118,8 +98878,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *244
- name: direction
@@ -99176,8 +98936,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: true
@@ -99371,8 +99131,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *236
requestBody:
@@ -99482,8 +99242,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *17
- *19
@@ -99494,7 +99254,7 @@ paths:
application/json:
schema:
type: array
- items: *581
+ items: *579
examples:
default: *708
headers:
@@ -99526,8 +99286,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *17
- *19
@@ -99538,7 +99298,7 @@ paths:
application/json:
schema:
type: array
- items: *594
+ items: *592
examples:
default:
value:
@@ -99576,8 +99336,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
responses:
'204':
@@ -99601,8 +99361,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -99714,8 +99474,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
responses:
'200':
@@ -99791,8 +99551,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -99830,7 +99590,7 @@ paths:
description: Response
content:
application/json:
- schema: *585
+ schema: *583
examples:
default:
value:
@@ -100366,8 +100126,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: true
@@ -100402,7 +100162,7 @@ paths:
description: Response
content:
application/json:
- schema: *585
+ schema: *583
examples:
default:
value:
@@ -100907,8 +100667,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *17
- *19
@@ -101070,8 +100830,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -101223,8 +100983,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- &710
name: review_id
@@ -101299,8 +101059,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
requestBody:
@@ -101387,8 +101147,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
responses:
@@ -101425,8 +101185,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
- *17
@@ -101663,8 +101423,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
requestBody:
@@ -101757,8 +101517,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
requestBody:
@@ -101819,8 +101579,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -101884,8 +101644,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ref
description: 'The name of the commit/branch/tag. Default: the repository’s
default branch.'
@@ -101942,8 +101702,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:
- - *466
- - *467
+ - *462
+ - *463
- name: dir
description: The alternate path to look for a README file
in: path
@@ -101987,8 +101747,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -102092,8 +101852,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -102276,8 +102036,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &717
name: asset_id
description: The unique identifier of the asset.
@@ -102327,7 +102087,7 @@ paths:
type: User
site_admin: false
'404': *6
- '302': *596
+ '302': *594
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -102343,8 +102103,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *717
requestBody:
required: false
@@ -102391,8 +102151,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *717
responses:
'204':
@@ -102417,8 +102177,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -102503,8 +102263,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -102529,8 +102289,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: tag
description: tag parameter
in: path
@@ -102567,8 +102327,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &720
name: release_id
description: The unique identifier of the release.
@@ -102603,8 +102363,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
requestBody:
required: false
@@ -102692,8 +102452,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
responses:
'204':
@@ -102714,8 +102474,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
- *17
- *19
@@ -102808,8 +102568,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:
- - *466
- - *467
+ - *462
+ - *463
- *720
- name: name
in: query
@@ -102891,8 +102651,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -102917,9 +102677,9 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: *577
examples:
- default: *459
+ default: *658
headers:
Link: *47
'404': *6
@@ -102940,8 +102700,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
requestBody:
required: true
@@ -102972,16 +102732,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'201':
description: Reaction created
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -103003,10 +102763,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
- - *460
+ - *659
responses:
'204':
description: Response
@@ -103030,9 +102790,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
- *17
- *19
responses:
@@ -103169,8 +102929,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
- name: includes_parents
@@ -103236,8 +102996,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
description: Request body
required: true
@@ -103346,8 +103106,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *725
- *105
- *726
@@ -103382,8 +103142,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *730
responses:
'200':
@@ -103420,8 +103180,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -103461,8 +103221,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -103544,8 +103304,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -103568,8 +103328,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
- name: ruleset_id
@@ -103606,8 +103366,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -103680,8 +103440,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:
- - *466
- - *467
+ - *462
+ - *463
- *427
- *428
- *429
@@ -103968,9 +103728,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
- *435
responses:
'200':
@@ -104031,9 +103791,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
requestBody:
required: true
content:
@@ -104171,9 +103931,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
- *19
- *17
responses:
@@ -104184,7 +103944,7 @@ paths:
schema:
type: array
description: List of locations where the secret was detected
- items: &927
+ items: &928
type: object
properties:
type:
@@ -104308,8 +104068,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -104387,8 +104147,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'404':
description: Repository does not have GitHub Advanced Security or secret
@@ -104507,8 +104267,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *110
- name: sort
description: The property to sort the results by.
@@ -104577,8 +104337,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -104973,8 +104733,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -105225,8 +104985,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:
- - *466
- - *467
+ - *462
+ - *463
- *758
responses:
'200':
@@ -105259,8 +105019,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:
- - *466
- - *467
+ - *462
+ - *463
- *758
requestBody:
required: true
@@ -105461,8 +105221,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:
- - *466
- - *467
+ - *462
+ - *463
- *758
responses:
'202': *39
@@ -105490,17 +105250,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:
- - *466
- - *467
+ - *462
+ - *463
- *758
responses:
'202':
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
+ default: *469
'400': *14
'422': *15
'403': *29
@@ -105526,8 +105286,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -105626,8 +105386,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Returns a weekly aggregate of the number of additions and deletions
@@ -105669,8 +105429,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -105746,8 +105506,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -105843,8 +105603,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: The array order is oldest week (index 0) to most recent week.
@@ -105998,8 +105758,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: For example, `[2, 14, 25]` indicates that there were 25 total
@@ -106042,8 +105802,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sha
in: path
required: true
@@ -106151,8 +105911,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -106184,8 +105944,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: if you subscribe to the repository
@@ -106259,8 +106019,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -106313,8 +106073,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -106334,8 +106094,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -106414,8 +106174,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -106475,8 +106235,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -106530,8 +106290,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:
- - *466
- - *467
+ - *462
+ - *463
- name: tag_protection_id
description: The unique identifier of the tag protection.
in: path
@@ -106568,8 +106328,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar
operationId: repos/download-tarball-archive
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ref
in: path
required: true
@@ -106605,8 +106365,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -106638,8 +106398,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *19
- *17
responses:
@@ -106682,8 +106442,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -106737,8 +106497,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &766
name: per
description: The time frame to display results for.
@@ -106856,8 +106616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -106948,8 +106708,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -107010,8 +106770,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *766
responses:
'200':
@@ -107109,8 +106869,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -107384,8 +107144,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response if repository is enabled with vulnerability alerts
@@ -107408,8 +107168,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -107431,8 +107191,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -107458,8 +107218,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip
operationId: repos/download-zipball-archive
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ref
in: path
required: true
@@ -107551,9 +107311,9 @@ paths:
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
+ default: *469
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World
@@ -110025,7 +109785,7 @@ paths:
description: Metaproperties for Git author/committer
information.
type: object
- properties: *517
+ properties: *513
nullable: true
comment_count:
type: integer
@@ -110045,7 +109805,7 @@ paths:
url:
type: string
format: uri
- verification: *643
+ verification: *641
required:
- author
- committer
@@ -110064,7 +109824,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: *517
+ properties: *513
nullable: true
parents:
type: array
@@ -112266,246 +112026,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:
- - *799
- - *453
- - *456
- - 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: *457
- examples:
- default: *459
- headers:
- Link: *47
- 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:
- - *799
- - *453
- - *456
- 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: *457
- examples:
- default: *458
- 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:
- - *799
- - *453
- - 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: *457
- examples:
- default: *459
- headers:
- Link: *47
- 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:
- - *799
- - *453
- 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: *457
- examples:
- default: *458
- 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)
@@ -112731,7 +112251,7 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
response-if-user-is-a-team-maintainer: *804
'404': *6
@@ -112792,7 +112312,7 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
response-if-users-membership-with-team-is-now-pending: *805
'403':
@@ -112899,8 +112419,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy
parameters:
- *799
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Alternative response with extra repository information
@@ -113058,8 +112578,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy
parameters:
- *799
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -113110,8 +112630,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy
parameters:
- *799
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -113146,9 +112666,9 @@ paths:
description: Response
content:
application/json:
- schema: *468
+ schema: *464
examples:
- default: *469
+ default: *465
'403': *29
'404': *6
x-github:
@@ -113232,7 +112752,7 @@ paths:
description: Response
content:
application/json:
- schema: *468
+ schema: *464
examples:
default:
value:
@@ -114010,7 +113530,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -114018,7 +113538,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'401': *25
'403': *29
'404': *6
@@ -114102,7 +113622,7 @@ paths:
- visibility
- selected_repositories_url
examples:
- default: *573
+ default: *569
headers:
Link: *47
x-github:
@@ -114476,7 +113996,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'304': *37
'500': *40
'401': *25
@@ -114534,7 +114054,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'401': *25
'403': *29
'404': *6
@@ -114797,13 +114317,13 @@ paths:
nullable: true
owner: *4
billable_owner: *4
- repository: *471
+ repository: *467
machine:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: *571
- required: *572
+ properties: *567
+ required: *568
nullable: true
devcontainer_path:
description: Path to devcontainer.json from repo root used to
@@ -115585,7 +115105,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'304': *37
'500': *40
'400': *14
@@ -115625,7 +115145,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'500': *40
'401': *25
'403': *29
@@ -116773,7 +116293,7 @@ paths:
required: true
content:
application/json:
- schema: *654
+ schema: *652
examples:
default:
value:
@@ -119202,9 +118722,9 @@ paths:
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
+ default: *469
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World
@@ -119242,7 +118762,7 @@ paths:
application/json:
schema:
type: array
- items: *656
+ items: *654
examples:
default: *829
headers:
@@ -119509,7 +119029,7 @@ paths:
- title
- created_at
examples:
- default: &856
+ default: &857
value:
- id: 2
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -119671,7 +119191,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:
- - &857
+ - &858
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
@@ -119700,7 +119220,7 @@ paths:
application/vnd.github.v3.star+json:
schema:
type: array
- items: &858
+ items: &859
title: Starred Repository
description: Starred Repository
type: object
@@ -119856,8 +119376,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response if this repository is starred by you
@@ -119885,8 +119405,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -119910,8 +119430,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -120591,7 +120111,7 @@ paths:
initiator:
type: string
examples:
- default: *513
+ default: *509
'201':
description: Response
content:
@@ -121122,7 +120642,7 @@ paths:
application/json:
schema: *22
examples:
- default: *653
+ default: *651
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -122120,6 +121640,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:
+ - *405
+ - *142
+ - *856
+ - 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
+ - *108
+ - *109
+ - *17
+ responses:
+ '200':
+ description: Response
+ content:
+ application/json:
+ schema:
+ type: array
+ items: *413
+ examples:
+ default: *414
+ headers:
+ Link: *47
+ '304': *37
+ '403': *29
+ '401': *25
+ '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
@@ -122393,7 +121966,7 @@ paths:
type: array
items: *832
examples:
- default: *856
+ default: *857
headers:
Link: *47
x-github:
@@ -122418,7 +121991,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user
parameters:
- *142
- - *857
+ - *858
- *110
- *17
- *19
@@ -122430,7 +122003,7 @@ paths:
schema:
anyOf:
- type: array
- items: *858
+ items: *859
- type: array
items: *78
examples:
@@ -122593,7 +122166,7 @@ x-webhooks:
type: string
enum:
- disabled
- enterprise: &859
+ enterprise: &860
title: Enterprise
description: |-
An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
@@ -122651,7 +122224,7 @@ x-webhooks:
- created_at
- updated_at
- avatar_url
- installation: &860
+ installation: &861
title: Simple Installation
description: |-
The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
@@ -122670,7 +122243,7 @@ x-webhooks:
required:
- id
- node_id
- organization: &861
+ organization: &862
title: Organization Simple
description: |-
A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
@@ -122730,13 +122303,13 @@ x-webhooks:
- public_members_url
- avatar_url
- description
- repository: &862
+ repository: &863
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: &899
+ properties: &900
id:
description: Unique identifier of the repository
example: 42
@@ -123419,7 +122992,7 @@ x-webhooks:
type: boolean
description: Whether anonymous git access is enabled for this
repository
- required: &900
+ required: &901
- archive_url
- assignees_url
- blobs_url
@@ -123570,10 +123143,10 @@ x-webhooks:
type: string
enum:
- enabled
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -123649,11 +123222,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- rule: &863
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ rule: &864
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)
@@ -123876,11 +123449,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- rule: *863
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ rule: *864
sender: *4
required:
- action
@@ -124063,11 +123636,11 @@ x-webhooks:
- everyone
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- rule: *863
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ rule: *864
sender: *4
required:
- action
@@ -124140,7 +123713,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &883
+ schema: &884
title: Exemption request cancellation event
type: object
properties:
@@ -124148,11 +123721,11 @@ x-webhooks:
type: string
enum:
- cancelled
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: &864
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: &865
title: Exemption Request
description: A request from a user to be exempted from a set of
rules.
@@ -124421,7 +123994,7 @@ x-webhooks:
type: array
description: The responses to the exemption request.
nullable: true
- items: &865
+ items: &866
title: Exemption response
description: A response to an exemption request by a delegated
bypasser.
@@ -124531,7 +124104,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &884
+ schema: &885
title: Exemption request completed event
type: object
properties:
@@ -124539,11 +124112,11 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: *864
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: *865
sender: *4
required:
- action
@@ -124615,7 +124188,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &881
+ schema: &882
title: Exemption request created event
type: object
properties:
@@ -124623,11 +124196,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: *864
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: *865
sender: *4
required:
- action
@@ -124699,7 +124272,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &885
+ schema: &886
title: Exemption response dismissed event
type: object
properties:
@@ -124707,12 +124280,12 @@ x-webhooks:
type: string
enum:
- response_dismissed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: *864
- exemption_response: *865
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: *865
+ exemption_response: *866
sender: *4
required:
- action
@@ -124786,7 +124359,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &882
+ schema: &883
title: Exemption response submitted event
type: object
properties:
@@ -124794,12 +124367,12 @@ x-webhooks:
type: string
enum:
- response_submitted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: *864
- exemption_response: *865
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: *865
+ exemption_response: *866
sender: *4
required:
- action
@@ -124883,7 +124456,7 @@ x-webhooks:
type: string
enum:
- completed
- check_run: &867
+ check_run: &868
title: CheckRun
description: A check performed on the code of a given code change
type: object
@@ -124974,7 +124547,7 @@ x-webhooks:
- skipped
- timed_out
- action_required
- deployment: *866
+ deployment: *867
details_url:
example: https://example.com
type: string
@@ -125059,10 +124632,10 @@ x-webhooks:
- output
- app
- pull_requests
- installation: *860
- enterprise: *859
- organization: *861
- repository: *862
+ installation: *861
+ enterprise: *860
+ organization: *862
+ repository: *863
sender: *4
required:
- check_run
@@ -125455,11 +125028,11 @@ x-webhooks:
type: string
enum:
- created
- check_run: *867
- installation: *860
- enterprise: *859
- organization: *861
- repository: *862
+ check_run: *868
+ installation: *861
+ enterprise: *860
+ organization: *862
+ repository: *863
sender: *4
required:
- check_run
@@ -125855,11 +125428,11 @@ x-webhooks:
type: string
enum:
- requested_action
- check_run: *867
- installation: *860
- enterprise: *859
- organization: *861
- repository: *862
+ check_run: *868
+ installation: *861
+ enterprise: *860
+ organization: *862
+ repository: *863
requested_action:
description: The action requested by the user.
type: object
@@ -126264,11 +125837,11 @@ x-webhooks:
type: string
enum:
- rerequested
- check_run: *867
- installation: *860
- enterprise: *859
- organization: *861
- repository: *862
+ check_run: *868
+ installation: *861
+ enterprise: *860
+ organization: *862
+ repository: *863
sender: *4
required:
- check_run
@@ -127245,10 +126818,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -127942,10 +127515,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -128633,10 +128206,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -128802,7 +128375,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -128947,20 +128520,20 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: &868
+ commit_oid: &869
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: *859
- installation: *860
- organization: *861
- ref: &869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: &870
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: *862
+ repository: *863
sender: *4
required:
- action
@@ -129125,7 +128698,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -129355,12 +128928,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *868
- enterprise: *859
- installation: *860
- organization: *861
- ref: *869
- repository: *862
+ commit_oid: *869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: *870
+ repository: *863
sender: *4
required:
- action
@@ -129455,7 +129028,7 @@ x-webhooks:
nullable: true
dismissed_by:
nullable: true
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -129626,12 +129199,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *868
- enterprise: *859
- installation: *860
- organization: *861
- ref: *869
- repository: *862
+ commit_oid: *869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: *870
+ repository: *863
sender: *4
required:
- action
@@ -129797,7 +129370,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -129963,12 +129536,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *868
- enterprise: *859
- installation: *860
- organization: *861
- ref: *869
- repository: *862
+ commit_oid: *869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: *870
+ repository: *863
sender: *4
required:
- action
@@ -130067,7 +129640,7 @@ x-webhooks:
dismissed_by:
type: object
nullable: true
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -130242,16 +129815,16 @@ x-webhooks:
triggered by the `sender` and this value will be empty.
type: string
nullable: true
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
ref:
description: The Git reference of the code scanning alert. When
the action is `reopened_by_user` or `closed_by_user`, the event
was triggered by the `sender` and this value will be empty.
type: string
nullable: true
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -130348,7 +129921,7 @@ x-webhooks:
nullable: true
dismissed_by:
nullable: true
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -130488,12 +130061,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *868
- enterprise: *859
- installation: *860
- organization: *861
- ref: *869
- repository: *862
+ commit_oid: *869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: *870
+ repository: *863
sender: *4
required:
- action
@@ -130659,7 +130232,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -130804,10 +130377,10 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -131062,10 +130635,10 @@ x-webhooks:
- updated_at
- author_association
- body
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -131145,18 +130718,18 @@ x-webhooks:
description: The repository's current description.
type: string
nullable: true
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
master_branch:
description: The name of the repository's default branch (usually
`main`).
type: string
- organization: *861
- pusher_type: &870
+ organization: *862
+ pusher_type: &871
description: The pusher type for the event. Can be either `user`
or a deploy key.
type: string
- ref: &871
+ ref: &872
description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference)
resource.
type: string
@@ -131166,7 +130739,7 @@ x-webhooks:
enum:
- tag
- branch
- repository: *862
+ repository: *863
sender: *4
required:
- ref
@@ -131249,9 +130822,9 @@ x-webhooks:
enum:
- created
definition: *156
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -131336,9 +130909,9 @@ x-webhooks:
description: The name of the property that was deleted.
required:
- property_name
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -131416,9 +130989,9 @@ x-webhooks:
enum:
- promote_to_enterprise
definition: *156
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -131496,9 +131069,9 @@ x-webhooks:
enum:
- updated
definition: *156
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -131575,10 +131148,10 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- repository: *862
- organization: *861
+ enterprise: *860
+ installation: *861
+ repository: *863
+ organization: *862
sender: *4
new_property_values:
type: array
@@ -131663,18 +131236,18 @@ x-webhooks:
title: delete event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
- pusher_type: *870
- ref: *871
+ enterprise: *860
+ installation: *861
+ organization: *862
+ pusher_type: *871
+ ref: *872
ref_type:
description: The type of Git ref object deleted in the repository.
type: string
enum:
- tag
- branch
- repository: *862
+ repository: *863
sender: *4
required:
- ref
@@ -131758,11 +131331,11 @@ x-webhooks:
type: string
enum:
- auto_dismissed
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -131846,11 +131419,11 @@ x-webhooks:
type: string
enum:
- auto_reopened
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -131934,11 +131507,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132020,11 +131593,11 @@ x-webhooks:
type: string
enum:
- dismissed
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132106,11 +131679,11 @@ x-webhooks:
type: string
enum:
- fixed
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132193,11 +131766,11 @@ x-webhooks:
type: string
enum:
- reintroduced
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132279,11 +131852,11 @@ x-webhooks:
type: string
enum:
- reopened
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132360,9 +131933,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- key: &872
+ enterprise: *860
+ installation: *861
+ key: &873
description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key)
resource.
type: object
@@ -132398,8 +131971,8 @@ x-webhooks:
- verified
- created_at
- read_only
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -132476,11 +132049,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- key: *872
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ key: *873
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -133041,12 +132614,12 @@ x-webhooks:
- updated_at
- statuses_url
- repository_url
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: &876
+ workflow: &877
title: Workflow
type: object
nullable: true
@@ -133772,13 +133345,13 @@ x-webhooks:
description: The URL to review the deployment protection rule.
type: string
format: uri
- deployment: *608
+ deployment: *606
pull_requests:
type: array
items: *704
- repository: *862
- organization: *861
- installation: *860
+ repository: *863
+ organization: *862
+ installation: *861
sender: *4
responses:
'200':
@@ -133849,7 +133422,7 @@ x-webhooks:
type: string
enum:
- approved
- approver: &873
+ approver: &874
type: object
properties:
avatar_url:
@@ -133892,11 +133465,11 @@ x-webhooks:
type: string
comment:
type: string
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- reviewers: &874
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ reviewers: &875
type: array
items:
type: object
@@ -133975,7 +133548,7 @@ x-webhooks:
sender: *4
since:
type: string
- workflow_job_run: &875
+ workflow_job_run: &876
type: object
properties:
conclusion:
@@ -134706,18 +134279,18 @@ x-webhooks:
type: string
enum:
- rejected
- approver: *873
+ approver: *874
comment:
type: string
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- reviewers: *874
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ reviewers: *875
sender: *4
since:
type: string
- workflow_job_run: *875
+ workflow_job_run: *876
workflow_job_runs:
type: array
items:
@@ -135421,13 +134994,13 @@ x-webhooks:
type: string
enum:
- requested
- enterprise: *859
+ enterprise: *860
environment:
type: string
- installation: *860
- organization: *861
- repository: *862
- requestor: &886
+ installation: *861
+ organization: *862
+ repository: *863
+ requestor: &887
title: User
type: object
nullable: true
@@ -137326,12 +136899,12 @@ x-webhooks:
- updated_at
- deployment_url
- repository_url
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: *876
+ workflow: *877
workflow_run:
title: Deployment Workflow Run
type: object
@@ -138011,7 +137584,7 @@ x-webhooks:
type: string
enum:
- answered
- answer: &879
+ answer: &880
type: object
properties:
author_association:
@@ -138168,11 +137741,11 @@ x-webhooks:
- created_at
- updated_at
- body
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138299,11 +137872,11 @@ x-webhooks:
- from
required:
- category
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138386,11 +137959,11 @@ x-webhooks:
type: string
enum:
- closed
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138472,7 +138045,7 @@ x-webhooks:
type: string
enum:
- created
- comment: &878
+ comment: &879
type: object
properties:
author_association:
@@ -138629,11 +138202,11 @@ x-webhooks:
- updated_at
- body
- reactions
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138716,12 +138289,12 @@ x-webhooks:
type: string
enum:
- deleted
- comment: *878
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ comment: *879
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138816,12 +138389,12 @@ x-webhooks:
- from
required:
- body
- comment: *878
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ comment: *879
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138905,11 +138478,11 @@ x-webhooks:
type: string
enum:
- created
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138991,11 +138564,11 @@ x-webhooks:
type: string
enum:
- deleted
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139095,11 +138668,11 @@ x-webhooks:
type: string
required:
- from
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139181,10 +138754,10 @@ x-webhooks:
type: string
enum:
- labeled
- discussion: *877
- enterprise: *859
- installation: *860
- label: &880
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ label: &881
title: Label
type: object
properties:
@@ -139216,8 +138789,8 @@ x-webhooks:
- color
- default
- description
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139300,11 +138873,11 @@ x-webhooks:
type: string
enum:
- locked
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139386,11 +138959,11 @@ x-webhooks:
type: string
enum:
- pinned
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139472,11 +139045,11 @@ x-webhooks:
type: string
enum:
- reopened
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139561,16 +139134,16 @@ x-webhooks:
changes:
type: object
properties:
- new_discussion: *877
- new_repository: *862
+ new_discussion: *878
+ new_repository: *863
required:
- new_discussion
- new_repository
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139653,10 +139226,10 @@ x-webhooks:
type: string
enum:
- unanswered
- discussion: *877
- old_answer: *879
- organization: *861
- repository: *862
+ discussion: *878
+ old_answer: *880
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139738,12 +139311,12 @@ x-webhooks:
type: string
enum:
- unlabeled
- discussion: *877
- enterprise: *859
- installation: *860
- label: *880
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139826,11 +139399,11 @@ x-webhooks:
type: string
enum:
- unlocked
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139904,236 +139477,47 @@ x-webhooks:
required: true
content:
application/json:
- schema:
- title: discussion unpinned event
- type: object
- properties:
- action:
- type: string
- enum:
- - unpinned
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- 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: *881
- 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: *882
- 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: *883
+ schema:
+ title: discussion unpinned event
+ type: object
+ properties:
+ action:
+ type: string
+ enum:
+ - unpinned
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ 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
@@ -140147,7 +139531,7 @@ x-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
@@ -140174,7 +139558,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *881
+ schema: *882
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140182,21 +139566,21 @@ x-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
@@ -140210,7 +139594,7 @@ x-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
@@ -140237,7 +139621,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *882
+ schema: *883
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140245,24 +139629,21 @@ x-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
@@ -140276,7 +139657,7 @@ x-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
@@ -140303,7 +139684,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *883
+ schema: *884
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140311,24 +139692,21 @@ x-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
@@ -140342,7 +139720,7 @@ x-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
@@ -140369,7 +139747,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *884
+ schema: *882
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140377,24 +139755,21 @@ x-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
@@ -140408,7 +139783,7 @@ x-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
@@ -140435,7 +139810,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *881
+ schema: *883
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140443,12 +139818,12 @@ x-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.
@@ -140457,8 +139832,8 @@ x-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:
@@ -140501,7 +139876,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *885
+ schema: *884
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140514,7 +139889,7 @@ x-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.
@@ -140523,8 +139898,8 @@ x-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:
@@ -140567,7 +139942,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *882
+ schema: *885
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140580,83 +139955,19 @@ x-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: *883
- 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
@@ -140697,7 +140008,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *884
+ schema: *882
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140705,23 +140016,24 @@ x-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
@@ -140762,7 +140074,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *881
+ schema: *886
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140770,23 +140082,24 @@ x-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
@@ -140827,7 +140140,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *885
+ schema: *883
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140835,12 +140148,12 @@ x-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.
@@ -140848,9 +140161,138 @@ x-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: *884
+ 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: *885
+ 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:
@@ -140906,6 +140348,137 @@ x-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: *886
+ 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: *883
+ 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: |-
@@ -140960,7 +140533,7 @@ x-webhooks:
description: A user forks a repository.
type: object
properties:
- enterprise: *859
+ enterprise: *860
forkee:
description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository)
resource.
@@ -141620,9 +141193,9 @@ x-webhooks:
type: integer
watchers_count:
type: integer
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- forkee
@@ -141768,9 +141341,9 @@ x-webhooks:
title: gollum event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pages:
description: The pages that were updated.
type: array
@@ -141807,7 +141380,7 @@ x-webhooks:
- action
- sha
- html_url
- repository: *862
+ repository: *863
sender: *4
required:
- pages
@@ -141883,10 +141456,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: &887
+ organization: *862
+ repositories: &888
description: An array of repository objects that the installation
can access.
type: array
@@ -141912,8 +141485,8 @@ x-webhooks:
- name
- full_name
- private
- repository: *862
- requester: *886
+ repository: *863
+ requester: *887
sender: *4
required:
- action
@@ -141988,11 +141561,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: *887
- repository: *862
+ organization: *862
+ repositories: *888
+ repository: *863
requester:
nullable: true
sender: *4
@@ -142068,11 +141641,11 @@ x-webhooks:
type: string
enum:
- new_permissions_accepted
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: *887
- repository: *862
+ organization: *862
+ repositories: *888
+ repository: *863
requester:
nullable: true
sender: *4
@@ -142148,10 +141721,10 @@ x-webhooks:
type: string
enum:
- added
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories_added: &888
+ organization: *862
+ repositories_added: &889
description: An array of repository objects, which were added to
the installation.
type: array
@@ -142197,15 +141770,15 @@ x-webhooks:
private:
description: Whether the repository is private or public.
type: boolean
- repository: *862
- repository_selection: &889
+ repository: *863
+ repository_selection: &890
description: Describe whether all repositories have been selected
or there's a selection involved
type: string
enum:
- all
- selected
- requester: *886
+ requester: *887
sender: *4
required:
- action
@@ -142284,10 +141857,10 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories_added: *888
+ organization: *862
+ repositories_added: *889
repositories_removed:
description: An array of repository objects, which were removed
from the installation.
@@ -142314,9 +141887,9 @@ x-webhooks:
- name
- full_name
- private
- repository: *862
- repository_selection: *889
- requester: *886
+ repository: *863
+ repository_selection: *890
+ requester: *887
sender: *4
required:
- action
@@ -142395,11 +141968,11 @@ x-webhooks:
type: string
enum:
- suspend
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: *887
- repository: *862
+ organization: *862
+ repositories: *888
+ repository: *863
requester:
nullable: true
sender: *4
@@ -142578,10 +142151,10 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
target_type:
type: string
@@ -142660,11 +142233,11 @@ x-webhooks:
type: string
enum:
- unsuspend
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: *887
- repository: *862
+ organization: *862
+ repositories: *888
+ repository: *863
requester:
nullable: true
sender: *4
@@ -142916,8 +142489,8 @@ x-webhooks:
- performed_via_github_app
- body
- reactions
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -144061,8 +143634,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -144142,7 +143715,7 @@ x-webhooks:
type: string
enum:
- deleted
- comment: &890
+ comment: &891
title: issue comment
description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment)
itself.
@@ -144307,8 +143880,8 @@ x-webhooks:
- performed_via_github_app
- body
- reactions
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -145450,8 +145023,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -145531,7 +145104,7 @@ x-webhooks:
type: string
enum:
- edited
- changes: &919
+ changes: &920
description: The changes to the comment.
type: object
properties:
@@ -145543,9 +145116,9 @@ x-webhooks:
type: string
required:
- from
- comment: *890
- enterprise: *859
- installation: *860
+ comment: *891
+ enterprise: *860
+ installation: *861
issue:
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -146688,8 +146261,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -146779,9 +146352,9 @@ x-webhooks:
type: number
blocking_issue: *220
blocking_issue_repo: *78
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -146870,9 +146443,9 @@ x-webhooks:
type: number
blocking_issue: *220
blocking_issue_repo: *78
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -146960,9 +146533,9 @@ x-webhooks:
description: The ID of the blocking issue.
type: number
blocking_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -147051,9 +146624,9 @@ x-webhooks:
description: The ID of the blocking issue.
type: number
blocking_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -147133,10 +146706,10 @@ x-webhooks:
type: string
enum:
- assigned
- assignee: *886
- enterprise: *859
- installation: *860
- issue: &893
+ assignee: *887
+ enterprise: *860
+ installation: *861
+ issue: &894
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
itself.
@@ -148046,8 +147619,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -148127,8 +147700,8 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
itself.
@@ -149178,8 +148751,8 @@ x-webhooks:
required:
- state
- closed_at
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -149258,8 +148831,8 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -150164,8 +149737,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -150244,8 +149817,8 @@ x-webhooks:
type: string
enum:
- demilestoned
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -151151,7 +150724,7 @@ x-webhooks:
format: uri
user_view_type:
type: string
- milestone: &891
+ milestone: &892
title: Milestone
description: A collection of related issues and pull requests.
type: object
@@ -151289,8 +150862,8 @@ x-webhooks:
- updated_at
- due_on
- closed_at
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -151389,8 +150962,8 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -152300,9 +151873,9 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- label: *880
- organization: *861
- repository: *862
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -152382,8 +151955,8 @@ x-webhooks:
type: string
enum:
- labeled
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -153292,9 +152865,9 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- label: *880
- organization: *861
- repository: *862
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -153374,8 +152947,8 @@ x-webhooks:
type: string
enum:
- locked
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -154285,8 +153858,8 @@ x-webhooks:
format: uri
user_view_type:
type: string
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -154365,8 +153938,8 @@ x-webhooks:
type: string
enum:
- milestoned
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -155270,9 +154843,9 @@ x-webhooks:
format: uri
user_view_type:
type: string
- milestone: *891
- organization: *861
- repository: *862
+ milestone: *892
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -156706,8 +156279,8 @@ x-webhooks:
required:
- old_issue
- old_repository
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -157616,8 +157189,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -157697,9 +157270,9 @@ x-webhooks:
type: string
enum:
- pinned
- enterprise: *859
- installation: *860
- issue: &892
+ enterprise: *860
+ installation: *861
+ issue: &893
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
itself.
@@ -158602,8 +158175,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -158682,8 +158255,8 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -159592,8 +159165,8 @@ x-webhooks:
user_view_type:
type: string
type: *371
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161047,11 +160620,11 @@ x-webhooks:
required:
- new_issue
- new_repository
- enterprise: *859
- installation: *860
- issue: *892
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ issue: *893
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161131,12 +160704,12 @@ x-webhooks:
type: string
enum:
- typed
- enterprise: *859
- installation: *860
- issue: *893
+ enterprise: *860
+ installation: *861
+ issue: *894
type: *371
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161217,7 +160790,7 @@ x-webhooks:
type: string
enum:
- unassigned
- assignee: &922
+ assignee: &923
title: User
type: object
nullable: true
@@ -161287,11 +160860,11 @@ x-webhooks:
required:
- login
- id
- enterprise: *859
- installation: *860
- issue: *893
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ issue: *894
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161370,12 +160943,12 @@ x-webhooks:
type: string
enum:
- unlabeled
- enterprise: *859
- installation: *860
- issue: *893
- label: *880
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ issue: *894
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161455,8 +161028,8 @@ x-webhooks:
type: string
enum:
- unlocked
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -162364,8 +161937,8 @@ x-webhooks:
format: uri
user_view_type:
type: string
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162445,11 +162018,11 @@ x-webhooks:
type: string
enum:
- unpinned
- enterprise: *859
- installation: *860
- issue: *892
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ issue: *893
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162528,12 +162101,12 @@ x-webhooks:
type: string
enum:
- untyped
- enterprise: *859
- installation: *860
- issue: *893
+ enterprise: *860
+ installation: *861
+ issue: *894
type: *371
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162613,11 +162186,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- label: *880
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162695,11 +162268,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- label: *880
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162809,11 +162382,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- label: *880
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162895,9 +162468,9 @@ x-webhooks:
- cancelled
effective_date:
type: string
- enterprise: *859
- installation: *860
- marketplace_purchase: &894
+ enterprise: *860
+ installation: *861
+ marketplace_purchase: &895
title: Marketplace Purchase
type: object
required:
@@ -162980,8 +162553,8 @@ x-webhooks:
type: integer
unit_count:
type: integer
- organization: *861
- previous_marketplace_purchase: &895
+ organization: *862
+ previous_marketplace_purchase: &896
title: Marketplace Purchase
type: object
properties:
@@ -163061,7 +162634,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -163141,10 +162714,10 @@ x-webhooks:
- changed
effective_date:
type: string
- enterprise: *859
- installation: *860
- marketplace_purchase: *894
- organization: *861
+ enterprise: *860
+ installation: *861
+ marketplace_purchase: *895
+ organization: *862
previous_marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -163227,7 +162800,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -163309,10 +162882,10 @@ x-webhooks:
- pending_change
effective_date:
type: string
- enterprise: *859
- installation: *860
- marketplace_purchase: *894
- organization: *861
+ enterprise: *860
+ installation: *861
+ marketplace_purchase: *895
+ organization: *862
previous_marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -163394,7 +162967,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -163475,8 +163048,8 @@ x-webhooks:
- pending_change_cancelled
effective_date:
type: string
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -163558,9 +163131,9 @@ x-webhooks:
type: integer
unit_count:
type: integer
- organization: *861
- previous_marketplace_purchase: *895
- repository: *862
+ organization: *862
+ previous_marketplace_purchase: *896
+ repository: *863
sender: *4
required:
- action
@@ -163640,12 +163213,12 @@ x-webhooks:
- purchased
effective_date:
type: string
- enterprise: *859
- installation: *860
- marketplace_purchase: *894
- organization: *861
- previous_marketplace_purchase: *895
- repository: *862
+ enterprise: *860
+ installation: *861
+ marketplace_purchase: *895
+ organization: *862
+ previous_marketplace_purchase: *896
+ repository: *863
sender: *4
required:
- action
@@ -163747,11 +163320,11 @@ x-webhooks:
type: string
required:
- to
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -163851,11 +163424,11 @@ x-webhooks:
to:
type: string
nullable: true
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -163934,11 +163507,11 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -164016,11 +163589,11 @@ x-webhooks:
type: string
enum:
- added
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
scope:
description: The scope of the membership. Currently, can only be
`team`.
@@ -164096,7 +163669,7 @@ x-webhooks:
required:
- login
- id
- team: &896
+ team: &897
title: Team
description: Groups of organization members that gives permissions
on specified repositories.
@@ -164319,11 +163892,11 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
scope:
description: The scope of the membership. Currently, can only be
`team`.
@@ -164400,7 +163973,7 @@ x-webhooks:
required:
- login
- id
- team: *896
+ team: *897
required:
- action
- scope
@@ -164482,8 +164055,8 @@ x-webhooks:
type: string
enum:
- checks_requested
- installation: *860
- merge_group: &898
+ installation: *861
+ merge_group: &899
type: object
title: Merge Group
description: A group of pull requests that the merge queue has grouped
@@ -164502,15 +164075,15 @@ x-webhooks:
description: The full ref of the branch the merge group will
be merged into.
type: string
- head_commit: *897
+ head_commit: *898
required:
- head_sha
- head_ref
- base_sha
- base_ref
- head_commit
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -164596,10 +164169,10 @@ x-webhooks:
- merged
- invalidated
- dequeued
- installation: *860
- merge_group: *898
- organization: *861
- repository: *862
+ installation: *861
+ merge_group: *899
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -164672,7 +164245,7 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
+ enterprise: *860
hook:
description: 'The deleted webhook. This will contain different keys
based on the type of webhook it is: repository, organization,
@@ -164781,16 +164354,16 @@ x-webhooks:
hook_id:
description: The id of the modified webhook.
type: integer
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *899
- required: *900
+ properties: *900
+ required: *901
nullable: true
sender: *4
required:
@@ -164871,11 +164444,11 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *859
- installation: *860
- milestone: *891
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ milestone: *892
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -164954,9 +164527,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- milestone: &901
+ enterprise: *860
+ installation: *861
+ milestone: &902
title: Milestone
description: A collection of related issues and pull requests.
type: object
@@ -165093,8 +164666,8 @@ x-webhooks:
- updated_at
- due_on
- closed_at
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165173,11 +164746,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- milestone: *891
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ milestone: *892
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165287,11 +164860,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- milestone: *891
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ milestone: *892
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165371,11 +164944,11 @@ x-webhooks:
type: string
enum:
- opened
- enterprise: *859
- installation: *860
- milestone: *901
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ milestone: *902
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165454,11 +165027,11 @@ x-webhooks:
type: string
enum:
- blocked
- blocked_user: *886
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ blocked_user: *887
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165537,11 +165110,11 @@ x-webhooks:
type: string
enum:
- unblocked
- blocked_user: *886
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ blocked_user: *887
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165617,7 +165190,7 @@ x-webhooks:
enum:
- created
definition: *150
- enterprise: *859
+ enterprise: *860
sender: *4
required:
- action
@@ -165697,8 +165270,8 @@ x-webhooks:
description: The name of the property that was deleted.
required:
- property_name
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
sender: *4
required:
- action
@@ -165771,8 +165344,8 @@ x-webhooks:
enum:
- updated
definition: *150
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
sender: *4
required:
- action
@@ -165844,9 +165417,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
new_property_values:
type: array
@@ -165934,9 +165507,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- membership: &902
+ enterprise: *860
+ installation: *861
+ membership: &903
title: Membership
description: The membership between the user and the organization.
Not present when the action is `member_invited`.
@@ -166043,8 +165616,8 @@ x-webhooks:
- role
- organization_url
- user
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -166122,11 +165695,11 @@ x-webhooks:
type: string
enum:
- member_added
- enterprise: *859
- installation: *860
- membership: *902
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ membership: *903
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -166205,8 +165778,8 @@ x-webhooks:
type: string
enum:
- member_invited
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
invitation:
description: The invitation for the user or email if the action
is `member_invited`.
@@ -166322,10 +165895,10 @@ x-webhooks:
- inviter
- team_count
- invitation_teams_url
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
- user: *886
+ user: *887
required:
- action
- invitation
@@ -166403,11 +165976,11 @@ x-webhooks:
type: string
enum:
- member_removed
- enterprise: *859
- installation: *860
- membership: *902
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ membership: *903
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -166494,11 +166067,11 @@ x-webhooks:
properties:
from:
type: string
- enterprise: *859
- installation: *860
- membership: *902
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ membership: *903
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -166574,9 +166147,9 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
package:
description: Information about the package.
type: object
@@ -167075,7 +166648,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: &903
+ items: &904
title: Ruby Gems metadata
type: object
properties:
@@ -167170,7 +166743,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -167246,9 +166819,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
package:
description: Information about the package.
type: object
@@ -167601,7 +167174,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: *903
+ items: *904
source_url:
type: string
format: uri
@@ -167671,7 +167244,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -167848,12 +167421,12 @@ x-webhooks:
- duration
- created_at
- updated_at
- enterprise: *859
+ enterprise: *860
id:
type: integer
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- id
@@ -167930,7 +167503,7 @@ x-webhooks:
type: string
enum:
- approved
- personal_access_token_request: &904
+ personal_access_token_request: &905
title: Personal Access Token Request
description: Details of a Personal Access Token Request.
type: object
@@ -168076,10 +167649,10 @@ x-webhooks:
- token_expired
- token_expires_at
- token_last_used_at
- enterprise: *859
- organization: *861
+ enterprise: *860
+ organization: *862
sender: *4
- installation: *860
+ installation: *861
required:
- action
- personal_access_token_request
@@ -168156,11 +167729,11 @@ x-webhooks:
type: string
enum:
- cancelled
- personal_access_token_request: *904
- enterprise: *859
- organization: *861
+ personal_access_token_request: *905
+ enterprise: *860
+ organization: *862
sender: *4
- installation: *860
+ installation: *861
required:
- action
- personal_access_token_request
@@ -168236,11 +167809,11 @@ x-webhooks:
type: string
enum:
- created
- personal_access_token_request: *904
- enterprise: *859
- organization: *861
+ personal_access_token_request: *905
+ enterprise: *860
+ organization: *862
sender: *4
- installation: *860
+ installation: *861
required:
- action
- personal_access_token_request
@@ -168315,11 +167888,11 @@ x-webhooks:
type: string
enum:
- denied
- personal_access_token_request: *904
- organization: *861
- enterprise: *859
+ personal_access_token_request: *905
+ organization: *862
+ enterprise: *860
sender: *4
- installation: *860
+ installation: *861
required:
- action
- personal_access_token_request
@@ -168424,7 +167997,7 @@ x-webhooks:
id:
description: Unique identifier of the webhook.
type: integer
- last_response: *905
+ last_response: *906
name:
description: The type of webhook. The only valid value is 'web'.
type: string
@@ -168456,8 +168029,8 @@ x-webhooks:
hook_id:
description: The ID of the webhook that triggered the ping.
type: integer
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
zen:
description: Random string of GitHub zen.
@@ -168702,10 +168275,10 @@ x-webhooks:
- from
required:
- note
- enterprise: *859
- installation: *860
- organization: *861
- project_card: &906
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_card: &907
title: Project Card
type: object
properties:
@@ -168824,7 +168397,7 @@ x-webhooks:
- creator
- created_at
- updated_at
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -168905,11 +168478,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- project_card: *906
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_card: *907
+ repository: *863
sender: *4
required:
- action
@@ -168989,9 +168562,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
project_card:
title: Project Card
type: object
@@ -169119,8 +168692,8 @@ x-webhooks:
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *899
- required: *900
+ properties: *900
+ required: *901
nullable: true
sender: *4
required:
@@ -169214,11 +168787,11 @@ x-webhooks:
- from
required:
- note
- enterprise: *859
- installation: *860
- organization: *861
- project_card: *906
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_card: *907
+ repository: *863
sender: *4
required:
- action
@@ -169312,9 +168885,9 @@ x-webhooks:
- from
required:
- column_id
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
project_card:
allOf:
- title: Project Card
@@ -169504,7 +169077,7 @@ x-webhooks:
type: string
required:
- after_id
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -169584,10 +169157,10 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *859
- installation: *860
- organization: *861
- project: &908
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: &909
title: Project
type: object
properties:
@@ -169711,7 +169284,7 @@ x-webhooks:
- creator
- created_at
- updated_at
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -169791,10 +169364,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- project_column: &907
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_column: &908
title: Project Column
type: object
properties:
@@ -169833,7 +169406,7 @@ x-webhooks:
- name
- created_at
- updated_at
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -169912,18 +169485,18 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- project_column: *907
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_column: *908
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *899
- required: *900
+ properties: *900
+ required: *901
nullable: true
sender: *4
required:
@@ -170013,11 +169586,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- project_column: *907
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_column: *908
+ repository: *863
sender: *4
required:
- action
@@ -170097,11 +169670,11 @@ x-webhooks:
type: string
enum:
- moved
- enterprise: *859
- installation: *860
- organization: *861
- project_column: *907
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_column: *908
+ repository: *863
sender: *4
required:
- action
@@ -170181,11 +169754,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- project: *908
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: *909
+ repository: *863
sender: *4
required:
- action
@@ -170265,18 +169838,18 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- project: *908
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: *909
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *899
- required: *900
+ properties: *900
+ required: *901
nullable: true
sender: *4
required:
@@ -170378,11 +169951,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- project: *908
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: *909
+ repository: *863
sender: *4
required:
- action
@@ -170461,11 +170034,11 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *859
- installation: *860
- organization: *861
- project: *908
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: *909
+ repository: *863
sender: *4
required:
- action
@@ -170546,8 +170119,8 @@ x-webhooks:
type: string
enum:
- closed
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -170629,8 +170202,8 @@ x-webhooks:
type: string
enum:
- created
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -170712,8 +170285,8 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -170831,8 +170404,8 @@ x-webhooks:
type: string
to:
type: string
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -170916,7 +170489,7 @@ x-webhooks:
type: string
enum:
- archived
- changes: &912
+ changes: &913
type: object
properties:
archived_at:
@@ -170930,9 +170503,9 @@ x-webhooks:
type: string
nullable: true
format: date-time
- installation: *860
- organization: *861
- projects_v2_item: &909
+ installation: *861
+ organization: *862
+ projects_v2_item: &910
title: Projects v2 Item
description: An item belonging to a project
type: object
@@ -171067,9 +170640,9 @@ x-webhooks:
nullable: true
to:
type: string
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171151,9 +170724,9 @@ x-webhooks:
type: string
enum:
- created
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171234,9 +170807,9 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171342,7 +170915,7 @@ x-webhooks:
oneOf:
- type: string
- type: integer
- - &910
+ - &911
title: Projects v2 Single Select Option
description: An option for a single select field
type: object
@@ -171364,7 +170937,7 @@ x-webhooks:
required:
- id
- name
- - &911
+ - &912
title: Projects v2 Iteration Setting
description: An iteration setting for an iteration field
type: object
@@ -171398,8 +170971,8 @@ x-webhooks:
oneOf:
- type: string
- type: integer
- - *910
- *911
+ - *912
required:
- field_value
- type: object
@@ -171415,9 +170988,9 @@ x-webhooks:
nullable: true
required:
- body
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171512,9 +171085,9 @@ x-webhooks:
to:
type: string
nullable: true
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171597,10 +171170,10 @@ x-webhooks:
type: string
enum:
- restored
- changes: *912
- installation: *860
- organization: *861
- projects_v2_item: *909
+ changes: *913
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171682,8 +171255,8 @@ x-webhooks:
type: string
enum:
- reopened
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -171765,14 +171338,14 @@ x-webhooks:
type: string
enum:
- created
- installation: *860
- organization: *861
- projects_v2_status_update: &915
+ installation: *861
+ organization: *862
+ projects_v2_status_update: &916
title: Projects v2 Status Update
description: An status update belonging to a project
type: object
- properties: *913
- required: *914
+ properties: *914
+ required: *915
sender: *4
required:
- action
@@ -171853,9 +171426,9 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *860
- organization: *861
- projects_v2_status_update: *915
+ installation: *861
+ organization: *862
+ projects_v2_status_update: *916
sender: *4
required:
- action
@@ -171991,9 +171564,9 @@ x-webhooks:
type: string
format: date
nullable: true
- installation: *860
- organization: *861
- projects_v2_status_update: *915
+ installation: *861
+ organization: *862
+ projects_v2_status_update: *916
sender: *4
required:
- action
@@ -172064,10 +171637,10 @@ x-webhooks:
title: public event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- repository
@@ -172144,13 +171717,13 @@ x-webhooks:
type: string
enum:
- assigned
- assignee: *886
- enterprise: *859
- installation: *860
- number: &916
+ assignee: *887
+ enterprise: *860
+ installation: *861
+ number: &917
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -174433,7 +174006,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -174515,11 +174088,11 @@ x-webhooks:
type: string
enum:
- auto_merge_disabled
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -176797,7 +176370,7 @@ x-webhooks:
- draft
reason:
type: string
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -176879,11 +176452,11 @@ x-webhooks:
type: string
enum:
- auto_merge_enabled
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -179161,7 +178734,7 @@ x-webhooks:
- draft
reason:
type: string
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -179243,11 +178816,11 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: &917
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: &918
allOf:
- *704
- type: object
@@ -179311,7 +178884,7 @@ x-webhooks:
Please use `squash_merge_commit_title` instead.**
type: boolean
default: false
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -179392,12 +178965,12 @@ x-webhooks:
type: string
enum:
- converted_to_draft
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -179477,11 +179050,11 @@ x-webhooks:
type: string
enum:
- demilestoned
- enterprise: *859
+ enterprise: *860
milestone: *686
- number: *916
- organization: *861
- pull_request: &918
+ number: *917
+ organization: *862
+ pull_request: &919
title: Pull Request
type: object
properties:
@@ -181744,7 +181317,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -181823,11 +181396,11 @@ x-webhooks:
type: string
enum:
- dequeued
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -184109,7 +183682,7 @@ x-webhooks:
- BRANCH_PROTECTIONS
- GIT_TREE_INVALID
- INVALID_MERGE_COMMIT
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -184233,12 +183806,12 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -184318,11 +183891,11 @@ x-webhooks:
type: string
enum:
- enqueued
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -186589,7 +186162,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -186669,11 +186242,11 @@ x-webhooks:
type: string
enum:
- labeled
- enterprise: *859
- installation: *860
- label: *880
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ label: *881
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -188955,7 +188528,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -189036,10 +188609,10 @@ x-webhooks:
type: string
enum:
- locked
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -191319,7 +190892,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -191399,12 +190972,12 @@ x-webhooks:
type: string
enum:
- milestoned
- enterprise: *859
+ enterprise: *860
milestone: *686
- number: *916
- organization: *861
- pull_request: *918
- repository: *862
+ number: *917
+ organization: *862
+ pull_request: *919
+ repository: *863
sender: *4
required:
- action
@@ -191483,12 +191056,12 @@ x-webhooks:
type: string
enum:
- opened
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -191569,12 +191142,12 @@ x-webhooks:
type: string
enum:
- ready_for_review
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -191654,12 +191227,12 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -192025,9 +191598,9 @@ x-webhooks:
- start_side
- side
- reactions
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
type: object
properties:
@@ -194197,7 +193770,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -194277,7 +193850,7 @@ x-webhooks:
type: string
enum:
- deleted
- comment: &920
+ comment: &921
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.
@@ -194562,9 +194135,9 @@ x-webhooks:
- start_side
- side
- reactions
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
type: object
properties:
@@ -196722,7 +196295,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -196802,11 +196375,11 @@ x-webhooks:
type: string
enum:
- edited
- changes: *919
- comment: *920
- enterprise: *859
- installation: *860
- organization: *861
+ changes: *920
+ comment: *921
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
type: object
properties:
@@ -198967,7 +198540,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -199048,9 +198621,9 @@ x-webhooks:
type: string
enum:
- dismissed
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -201223,7 +200796,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
+ repository: *863
review:
description: The review that was affected.
type: object
@@ -201470,9 +201043,9 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -203526,8 +203099,8 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
- review: &921
+ repository: *863
+ review: &922
description: The review that was affected.
type: object
properties:
@@ -203760,12 +203333,12 @@ x-webhooks:
type: string
enum:
- review_request_removed
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -206048,7 +205621,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
requested_reviewer:
title: User
type: object
@@ -206132,12 +205705,12 @@ x-webhooks:
type: string
enum:
- review_request_removed
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -208427,7 +208000,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
requested_team:
title: Team
description: Groups of organization members that gives permissions
@@ -208619,12 +208192,12 @@ x-webhooks:
type: string
enum:
- review_requested
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -210909,7 +210482,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
requested_reviewer:
title: User
type: object
@@ -210994,12 +210567,12 @@ x-webhooks:
type: string
enum:
- review_requested
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -213275,7 +212848,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
requested_team:
title: Team
description: Groups of organization members that gives permissions
@@ -213456,9 +213029,9 @@ x-webhooks:
type: string
enum:
- submitted
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -215633,8 +215206,8 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
- review: *921
+ repository: *863
+ review: *922
sender: *4
required:
- action
@@ -215714,9 +215287,9 @@ x-webhooks:
type: string
enum:
- resolved
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -217786,7 +217359,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
thread:
type: object
@@ -218173,9 +217746,9 @@ x-webhooks:
type: string
enum:
- unresolved
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -220231,7 +219804,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
thread:
type: object
@@ -220621,10 +220194,10 @@ x-webhooks:
type: string
before:
type: string
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -222895,7 +222468,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -222977,11 +222550,11 @@ x-webhooks:
type: string
enum:
- unassigned
- assignee: *922
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
+ assignee: *923
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -225264,7 +224837,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -225343,11 +224916,11 @@ x-webhooks:
type: string
enum:
- unlabeled
- enterprise: *859
- installation: *860
- label: *880
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ label: *881
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -227620,7 +227193,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -227701,10 +227274,10 @@ x-webhooks:
type: string
enum:
- unlocked
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -229969,7 +229542,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -230169,7 +229742,7 @@ x-webhooks:
deleted:
description: Whether this push deleted the `ref`.
type: boolean
- enterprise: *859
+ enterprise: *860
forced:
description: Whether this push was a force push of the `ref`.
type: boolean
@@ -230261,8 +229834,8 @@ x-webhooks:
- url
- author
- committer
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
pusher:
title: Committer
description: Metaproperties for Git author/committer information.
@@ -230837,9 +230410,9 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
registry_package:
type: object
properties:
@@ -231285,7 +230858,7 @@ x-webhooks:
type: string
rubygems_metadata:
type: array
- items: *903
+ items: *904
summary:
type: string
tag_name:
@@ -231339,7 +230912,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -231417,9 +230990,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
registry_package:
type: object
properties:
@@ -231727,7 +231300,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: *903
+ items: *904
summary:
type: string
tag_name:
@@ -231776,7 +231349,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -231853,10 +231426,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- release: &923
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: &924
title: Release
description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release)
object.
@@ -232174,7 +231747,7 @@ x-webhooks:
- updated_at
- zipball_url
- body
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -232251,11 +231824,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- release: *923
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: *924
+ repository: *863
sender: *4
required:
- action
@@ -232372,11 +231945,11 @@ x-webhooks:
type: boolean
required:
- to
- enterprise: *859
- installation: *860
- organization: *861
- release: *923
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: *924
+ repository: *863
sender: *4
required:
- action
@@ -232454,9 +232027,9 @@ x-webhooks:
type: string
enum:
- prereleased
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
release:
title: Release
description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release)
@@ -232778,7 +232351,7 @@ x-webhooks:
type: string
nullable: true
format: uri
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -232854,10 +232427,10 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
- release: &924
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: &925
title: Release
description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release)
object.
@@ -233176,7 +232749,7 @@ x-webhooks:
type: string
nullable: true
format: uri
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -233252,11 +232825,11 @@ x-webhooks:
type: string
enum:
- released
- enterprise: *859
- installation: *860
- organization: *861
- release: *923
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: *924
+ repository: *863
sender: *4
required:
- action
@@ -233332,11 +232905,11 @@ x-webhooks:
type: string
enum:
- unpublished
- enterprise: *859
- installation: *860
- organization: *861
- release: *924
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: *925
+ repository: *863
sender: *4
required:
- action
@@ -233412,10 +232985,10 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_advisory: *756
sender: *4
required:
@@ -233492,10 +233065,10 @@ x-webhooks:
type: string
enum:
- reported
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_advisory: *756
sender: *4
required:
@@ -233572,10 +233145,10 @@ x-webhooks:
type: string
enum:
- archived
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -233652,10 +233225,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -233733,10 +233306,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -233820,10 +233393,10 @@ x-webhooks:
additionalProperties: true
description: The `client_payload` that was specified in the `POST
/repos/{owner}/{repo}/dispatches` request body.
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -233935,10 +233508,10 @@ x-webhooks:
nullable: true
items:
type: string
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234010,10 +233583,10 @@ x-webhooks:
title: repository_import event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
status:
type: string
@@ -234094,10 +233667,10 @@ x-webhooks:
type: string
enum:
- privatized
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234174,10 +233747,10 @@ x-webhooks:
type: string
enum:
- publicized
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234271,10 +233844,10 @@ x-webhooks:
- name
required:
- repository
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234354,10 +233927,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_ruleset: *190
sender: *4
required:
@@ -234436,10 +234009,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_ruleset: *190
sender: *4
required:
@@ -234518,10 +234091,10 @@ x-webhooks:
type: string
enum:
- edited
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_ruleset: *190
changes:
type: object
@@ -234826,10 +234399,10 @@ x-webhooks:
- from
required:
- owner
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234907,10 +234480,10 @@ x-webhooks:
type: string
enum:
- unarchived
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234988,7 +234561,7 @@ x-webhooks:
type: string
enum:
- create
- alert: &925
+ alert: &926
title: Repository Vulnerability Alert Alert
description: The security alert of the vulnerable dependency.
type: object
@@ -235109,10 +234682,10 @@ x-webhooks:
type: string
enum:
- open
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235318,10 +234891,10 @@ x-webhooks:
type: string
enum:
- dismissed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235399,11 +234972,11 @@ x-webhooks:
type: string
enum:
- reopen
- alert: *925
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *926
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235602,10 +235175,10 @@ x-webhooks:
enum:
- fixed
- open
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235683,7 +235256,7 @@ x-webhooks:
type: string
enum:
- assigned
- alert: &926
+ alert: &927
type: object
properties:
number: *127
@@ -235802,10 +235375,10 @@ x-webhooks:
required: *21
nullable: true
assignee: *4
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235883,11 +235456,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235968,11 +235541,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *926
- installation: *860
- location: *927
- organization: *861
- repository: *862
+ alert: *927
+ installation: *861
+ location: *928
+ organization: *862
+ repository: *863
sender: *4
required:
- location
@@ -236210,11 +235783,11 @@ x-webhooks:
type: string
enum:
- publicly_leaked
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236292,11 +235865,11 @@ x-webhooks:
type: string
enum:
- reopened
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236374,11 +235947,11 @@ x-webhooks:
type: string
enum:
- resolved
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236456,12 +236029,12 @@ x-webhooks:
type: string
enum:
- unassigned
- alert: *926
+ alert: *927
assignee: *4
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236539,11 +236112,11 @@ x-webhooks:
type: string
enum:
- validated
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236669,10 +236242,10 @@ x-webhooks:
- organization
- enterprise
nullable: true
- repository: *862
- enterprise: *859
- installation: *860
- organization: *861
+ repository: *863
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -236750,11 +236323,11 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- security_advisory: &928
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ security_advisory: &929
description: The details of the security advisory, including summary,
description, and severity.
type: object
@@ -236937,11 +236510,11 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- security_advisory: *928
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ security_advisory: *929
sender: *4
required:
- action
@@ -237014,10 +236587,10 @@ x-webhooks:
type: string
enum:
- withdrawn
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
security_advisory:
description: The details of the security advisory, including summary,
description, and severity.
@@ -237202,10 +236775,10 @@ x-webhooks:
type: object
properties:
security_and_analysis: *419
- enterprise: *859
- installation: *860
- organization: *861
- repository: *471
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *467
sender: *4
required:
- changes
@@ -237283,12 +236856,12 @@ x-webhooks:
type: string
enum:
- cancelled
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: &929
+ sponsorship: &930
type: object
properties:
created_at:
@@ -237589,12 +237162,12 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- sponsorship
@@ -237682,12 +237255,12 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- changes
@@ -237764,17 +237337,17 @@ x-webhooks:
type: string
enum:
- pending_cancellation
- effective_date: &930
+ effective_date: &931
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: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- sponsorship
@@ -237848,7 +237421,7 @@ x-webhooks:
type: string
enum:
- pending_tier_change
- changes: &931
+ changes: &932
type: object
properties:
tier:
@@ -237892,13 +237465,13 @@ x-webhooks:
- from
required:
- tier
- effective_date: *930
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ effective_date: *931
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- changes
@@ -237975,13 +237548,13 @@ x-webhooks:
type: string
enum:
- tier_changed
- changes: *931
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ changes: *932
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- changes
@@ -238055,10 +237628,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
starred_at:
description: 'The time the star was created. This is a timestamp
@@ -238141,10 +237714,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
starred_at:
description: 'The time the star was created. This is a timestamp
@@ -238564,15 +238137,15 @@ x-webhooks:
status.
type: string
nullable: true
- enterprise: *859
+ enterprise: *860
id:
description: The unique identifier of the status.
type: integer
- installation: *860
+ installation: *861
name:
type: string
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
sha:
description: The Commit SHA.
@@ -238687,9 +238260,9 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -238779,9 +238352,9 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -238871,9 +238444,9 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -238963,9 +238536,9 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -239042,12 +238615,12 @@ x-webhooks:
title: team_add event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- team: &932
+ team: &933
title: Team
description: Groups of organization members that gives permissions
on specified repositories.
@@ -239270,9 +238843,9 @@ x-webhooks:
type: string
enum:
- added_to_repository
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -239730,7 +239303,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- team
@@ -239806,9 +239379,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -240266,7 +239839,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- team
@@ -240343,9 +239916,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -240803,7 +240376,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- team
@@ -240947,9 +240520,9 @@ x-webhooks:
- from
required:
- permissions
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -241407,7 +240980,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- changes
@@ -241485,9 +241058,9 @@ x-webhooks:
type: string
enum:
- removed_from_repository
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -241945,7 +241518,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- team
@@ -242021,10 +241594,10 @@ x-webhooks:
type: string
enum:
- started
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -242097,16 +241670,16 @@ x-webhooks:
title: workflow_dispatch event
type: object
properties:
- enterprise: *859
+ enterprise: *860
inputs:
type: object
nullable: true
additionalProperties: true
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
ref:
type: string
- repository: *862
+ repository: *863
sender: *4
workflow:
type: string
@@ -242188,10 +241761,10 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
workflow_job:
allOf:
@@ -242428,7 +242001,7 @@ x-webhooks:
type: string
required:
- conclusion
- deployment: *608
+ deployment: *606
required:
- action
- repository
@@ -242507,10 +242080,10 @@ x-webhooks:
type: string
enum:
- in_progress
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
workflow_job:
allOf:
@@ -242770,7 +242343,7 @@ x-webhooks:
required:
- status
- steps
- deployment: *608
+ deployment: *606
required:
- action
- repository
@@ -242849,10 +242422,10 @@ x-webhooks:
type: string
enum:
- queued
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
workflow_job:
type: object
@@ -242987,7 +242560,7 @@ x-webhooks:
- workflow_name
- head_branch
- created_at
- deployment: *608
+ deployment: *606
required:
- action
- repository
@@ -243066,10 +242639,10 @@ x-webhooks:
type: string
enum:
- waiting
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
workflow_job:
type: object
@@ -243205,7 +242778,7 @@ x-webhooks:
- workflow_name
- head_branch
- created_at
- deployment: *608
+ deployment: *606
required:
- action
- repository
@@ -243285,12 +242858,12 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: *876
+ workflow: *877
workflow_run:
title: Workflow Run
type: object
@@ -244289,12 +243862,12 @@ x-webhooks:
type: string
enum:
- in_progress
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: *876
+ workflow: *877
workflow_run:
title: Workflow Run
type: object
@@ -245278,12 +244851,12 @@ x-webhooks:
type: string
enum:
- requested
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: *876
+ workflow: *877
workflow_run:
title: Workflow Run
type: object
diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json
index f98a62623..0af53747a 100644
--- a/descriptions/ghec/dereferenced/ghec.deref.json
+++ b/descriptions/ghec/dereferenced/ghec.deref.json
@@ -129796,7 +129796,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"
],
@@ -129958,7 +129958,7 @@
},
"responses": {
"200": {
- "description": "Artifact deployment record stored successfully.",
+ "description": "Deployment records created or updated successfully.\n",
"content": {
"application/json": {
"schema": {
@@ -222407,19 +222407,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.",
@@ -222428,6 +222437,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": {
@@ -222438,120 +222503,1208 @@
"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"
- ],
- "example": "organization"
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
},
- "value_type": {
+ "content_type": {
+ "title": "Projects v2 Item Content Type",
+ "description": "The type of content tracked in a project item",
"type": "string",
- "example": "single_select",
"enum": [
- "string",
- "single_select",
- "multi_select",
- "true_false",
- "url"
- ],
- "description": "The type of the value for the property"
+ "Issue",
+ "PullRequest",
+ "DraftIssue"
+ ]
},
- "required": {
- "type": "boolean",
- "description": "Whether the property is required."
+ "content": {
+ "type": "object",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
},
- "default_value": {
- "oneOf": [
- {
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
"type": "string"
},
- {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
}
- ],
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
"nullable": true,
- "description": "Default value of the property"
+ "description": "The time when the item was archived."
},
- "description": {
+ "item_url": {
"type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
"nullable": true,
- "description": "Short description of the property"
+ "description": "The API URL of this item."
},
- "allowed_values": {
+ "fields": {
"type": "array",
"items": {
- "type": "string"
+ "type": "object",
+ "additionalProperties": true
},
- "nullable": true,
- "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",
- "nullable": true,
- "enum": [
- "org_actors",
- "org_and_repo_actors"
- ],
- "example": "org_actors",
- "description": "Who can edit the values of the property"
+ "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"
+ ],
+ "example": "organization"
+ },
+ "value_type": {
+ "type": "string",
+ "example": "single_select",
+ "enum": [
+ "string",
+ "single_select",
+ "multi_select",
+ "true_false",
+ "url"
+ ],
+ "description": "The type of the value for the property"
+ },
+ "required": {
+ "type": "boolean",
+ "description": "Whether the property is required."
+ },
+ "default_value": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ ],
+ "nullable": true,
+ "description": "Default value of the property"
+ },
+ "description": {
+ "type": "string",
+ "nullable": true,
+ "description": "Short description of the property"
+ },
+ "allowed_values": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "nullable": true,
+ "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",
+ "nullable": true,
+ "enum": [
+ "org_actors",
+ "org_and_repo_actors"
+ ],
+ "example": "org_actors",
+ "description": "Who can edit the values of the property"
+ }
+ },
+ "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"
+ }
+ ]
}
}
}
@@ -252815,17 +253968,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": [
{
@@ -252845,2129 +253998,380 @@
"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",
+ "example": [
+ {
+ "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"
+ }
+ ],
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "group_id",
+ "group_name",
+ "updated_at"
+ ],
+ "properties": {
+ "group_id": {
+ "description": "The internal ID of the group",
+ "example": 1,
+ "type": "integer"
+ },
+ "group_name": {
+ "description": "The display name of the group",
+ "example": "group-azuread-test",
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "The time of the last update for this group",
+ "example": "2019-06-03 22:27:15:000 -700",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "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",
+ "example": 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",
+ "example": 1,
+ "type": "integer"
+ },
+ "group_name": {
+ "description": "The display name for the group",
+ "example": "group-azuread-test",
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "The date when the group was last updated_at",
+ "example": "2021-01-03 22:27:15:000 -700",
+ "type": "string"
+ },
+ "teams": {
+ "description": "An array of teams linked to this group",
+ "example": [
+ {
+ "team_id": 1,
+ "team_name": "team-test"
+ },
+ {
+ "team_id": 2,
+ "team_name": "team-test2"
+ }
+ ],
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "team_id",
+ "team_name"
+ ],
+ "properties": {
+ "team_id": {
+ "description": "The id for a team",
+ "example": 1,
+ "type": "integer"
+ },
+ "team_name": {
+ "description": "The name of the team",
+ "example": "team-test",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "members": {
+ "description": "An array of external members linked to this group",
+ "example": [
+ {
+ "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"
+ }
+ ],
+ "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",
+ "example": 1,
+ "type": "integer"
+ },
+ "member_login": {
+ "description": "The handle/login for the user",
+ "example": "mona-lisa_eocsaxrs",
+ "type": "string"
+ },
+ "member_name": {
+ "description": "The user display name/profile name",
+ "example": "Mona Lisa",
+ "type": "string"
+ },
+ "member_email": {
+ "description": "An email attached to a user",
+ "example": "mona_lisa@github.com",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": [
- {
- "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"
- }
- ],
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "group_id",
- "group_name",
- "updated_at"
- ],
- "properties": {
- "group_id": {
- "description": "The internal ID of the group",
- "example": 1,
- "type": "integer"
- },
- "group_name": {
- "description": "The display name of the group",
- "example": "group-azuread-test",
- "type": "string"
- },
- "updated_at": {
- "description": "The time of the last update for this group",
- "example": "2019-06-03 22:27:15:000 -700",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "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",
- "example": 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",
- "example": 1,
- "type": "integer"
- },
- "group_name": {
- "description": "The display name for the group",
- "example": "group-azuread-test",
- "type": "string"
- },
- "updated_at": {
- "description": "The date when the group was last updated_at",
- "example": "2021-01-03 22:27:15:000 -700",
- "type": "string"
- },
- "teams": {
- "description": "An array of teams linked to this group",
- "example": [
- {
- "team_id": 1,
- "team_name": "team-test"
- },
- {
- "team_id": 2,
- "team_name": "team-test2"
- }
- ],
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "team_id",
- "team_name"
- ],
- "properties": {
- "team_id": {
- "description": "The id for a team",
- "example": 1,
- "type": "integer"
- },
- "team_name": {
- "description": "The name of the team",
- "example": "team-test",
- "type": "string"
- }
- }
- }
- },
- "members": {
- "description": "An array of external members linked to this group",
- "example": [
- {
- "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"
- }
- ],
- "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",
- "example": 1,
- "type": "integer"
- },
- "member_login": {
- "description": "The handle/login for the user",
- "example": "mona-lisa_eocsaxrs",
- "type": "string"
- },
- "member_name": {
- "description": "The user display name/profile name",
- "example": "Mona Lisa",
- "type": "string"
- },
- "member_email": {
- "description": "An email attached to a user",
- "example": "mona_lisa@github.com",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "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"
}
},
{
@@ -601832,1188 +601236,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "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)",
@@ -713587,433 +711809,1185 @@
}
]
}
- }
- }
- }
- },
- "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.",
- "nullable": true,
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "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",
- "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
- "description": "The API URL of the project that contains this item."
- },
- "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",
- "additionalProperties": true,
- "nullable": true,
- "description": "The content of the item, which varies by content type."
- },
- "creator": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "format": "int64",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- },
- "user_view_type": {
- "type": "string",
- "example": "public"
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "description": "The time when the item was created."
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "description": "The time when the item was last updated."
- },
- "archived_at": {
- "type": "string",
- "format": "date-time",
- "example": "2022-04-28T12:00:00Z",
- "nullable": true,
- "description": "The time when the item was archived."
- },
- "item_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
- "nullable": true,
- "description": "The API URL of this item."
- },
- "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.",
+ "nullable": true,
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "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",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
+ },
+ "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",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
+ },
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
+ "type": "string"
+ },
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "nullable": true,
+ "description": "The time when the item was archived."
+ },
+ "item_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
+ "nullable": true,
+ "description": "The API URL of this item."
+ },
+ "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",
@@ -714765,7 +713739,7 @@
]
}
},
- "number_field": {
+ "date_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -715517,7 +714491,7 @@
]
}
},
- "date_field": {
+ "single_select_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -716269,7 +715243,7 @@
]
}
},
- "single_select_field": {
+ "iteration_field": {
"value": {
"id": 13,
"node_id": "PVTI_lAAFAQ0",
@@ -717020,8 +715994,571 @@
}
]
}
- },
- "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",
+ "nullable": true
+ },
+ {
+ "type": "integer",
+ "nullable": true
+ },
+ {
+ "type": "array",
+ "nullable": true,
+ "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",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/3",
+ "description": "The API URL of the project that contains this item."
+ },
+ "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",
+ "additionalProperties": true,
+ "nullable": true,
+ "description": "The content of the item, which varies by content type."
+ },
+ "creator": {
+ "title": "Simple User",
+ "description": "A GitHub user.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "nullable": true,
+ "type": "string"
+ },
+ "email": {
+ "nullable": true,
+ "type": "string"
+ },
+ "login": {
+ "type": "string",
+ "example": "octocat"
+ },
+ "id": {
+ "type": "integer",
+ "format": "int64",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDQ6VXNlcjE="
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/images/error/octocat_happy.gif"
+ },
+ "gravatar_id": {
+ "type": "string",
+ "example": "41d064eb2195891e12d0413f63227ea7",
+ "nullable": true
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://github.com/octocat"
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/followers"
+ },
+ "following_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/following{/other_user}"
+ },
+ "gists_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ },
+ "starred_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/subscriptions"
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/orgs"
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/repos"
+ },
+ "events_url": {
+ "type": "string",
+ "example": "https://api.github.com/users/octocat/events{/privacy}"
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/octocat/received_events"
+ },
+ "type": {
+ "type": "string",
+ "example": "User"
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "example": "\"2020-07-09T00:17:55Z\""
+ },
+ "user_view_type": {
+ "type": "string",
+ "example": "public"
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was created."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "description": "The time when the item was last updated."
+ },
+ "archived_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2022-04-28T12:00:00Z",
+ "nullable": true,
+ "description": "The time when the item was archived."
+ },
+ "item_url": {
+ "type": "string",
+ "format": "uri",
+ "example": "https://api.github.com/users/monalisa/2/projectsV2/items/3",
+ "nullable": true,
+ "description": "The API URL of this item."
+ },
+ "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",
@@ -717775,34 +717312,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": {
@@ -717829,155 +717351,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",
- "nullable": true
- },
- {
- "type": "integer",
- "nullable": true
- },
- {
- "type": "array",
- "nullable": true,
- "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": {
@@ -718002,8 +717377,8 @@
}
}
},
- "401": {
- "description": "Requires authentication",
+ "404": {
+ "description": "Resource not found",
"content": {
"application/json": {
"schema": {
@@ -718031,7 +717406,7 @@
},
"x-github": {
"githubCloudOnly": false,
- "enabledForGitHubApps": true,
+ "enabledForGitHubApps": false,
"category": "projects",
"subcategory": "items"
}
diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml
index 8083f5d1e..de485af58 100644
--- a/descriptions/ghec/dereferenced/ghec.deref.yaml
+++ b/descriptions/ghec/dereferenced/ghec.deref.yaml
@@ -13108,7 +13108,7 @@ paths:
description: The GitHub URL of the alert resource.
format: uri
readOnly: true
- instances_url: &540
+ instances_url: &536
type: string
description: The REST API URL for fetching the list of instances
for an alert.
@@ -13143,7 +13143,7 @@ paths:
format: date-time
readOnly: true
nullable: true
- dismissed_reason: &541
+ dismissed_reason: &537
type: string
description: "**Required when the state is dismissed.** The
reason for dismissing or closing the alert."
@@ -13152,13 +13152,13 @@ paths:
- false positive
- won't fix
- used in tests
- dismissed_comment: &542
+ dismissed_comment: &538
type: string
description: The dismissal comment associated with the dismissal
of the alert.
nullable: true
maxLength: 280
- rule: &543
+ rule: &539
type: object
properties:
id:
@@ -13211,7 +13211,7 @@ paths:
type: string
description: A link to the documentation for the rule used
to detect the alert.
- tool: &544
+ tool: &540
type: object
properties:
name: *111
@@ -13221,26 +13221,26 @@ paths:
description: The version of the tool used to generate the
code scanning analysis.
guid: *112
- most_recent_instance: &545
+ most_recent_instance: &541
type: object
properties:
- ref: &538
+ ref: &534
type: string
description: |-
The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,
`refs/heads/` or simply ``.
- analysis_key: &555
+ analysis_key: &551
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: &556
+ environment: &552
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: &557
+ category: &553
type: string
description: Identifies the configuration under which the
analysis was executed. Used to distinguish between multiple
@@ -13254,7 +13254,7 @@ paths:
properties:
text:
type: string
- location: &558
+ location: &554
type: object
description: Describe a region within a file for the alert.
properties:
@@ -13275,7 +13275,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: &559
+ items: &555
type: string
description: A classification of the file. For example
to identify it as generated.
@@ -16938,7 +16938,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
- - &598
+ - &596
name: has
in: query
description: |-
@@ -17051,7 +17051,7 @@ paths:
- unknown
- direct
- transitive
- security_advisory: &599
+ security_advisory: &597
type: object
description: Details for the GitHub Security Advisory.
readOnly: true
@@ -17283,14 +17283,14 @@ paths:
nullable: true
maxLength: 280
fixed_at: *137
- auto_dismissed_at: &600
+ auto_dismissed_at: &598
type: string
description: 'The time that the alert was auto-dismissed in
ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.'
format: date-time
readOnly: true
nullable: true
- dismissal_request: &601
+ dismissal_request: &599
title: Dependabot alert dismissal request
description: Information about an active dismissal request for
this Dependabot alert.
@@ -25003,7 +25003,7 @@ paths:
properties:
action:
type: string
- discussion: &877
+ discussion: &878
title: Discussion
description: A Discussion in a repository.
type: object
@@ -25885,7 +25885,7 @@ paths:
action:
type: string
issue: *220
- comment: &658
+ comment: &656
title: Issue Comment
description: Comments provide a way for people to collaborate
on an issue.
@@ -30559,14 +30559,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:
- - &466
+ - &462
name: owner
description: The account owner of the repository. The name is not case sensitive.
in: path
required: true
schema:
type: string
- - &467
+ - &463
name: repo
description: The name of the repository without the `.git` extension. The
name is not case sensitive.
@@ -30628,7 +30628,7 @@ paths:
'404': *6
'403': *29
'304': *37
- '301': &472
+ '301': &468
description: Moved permanently
content:
application/json:
@@ -33130,7 +33130,7 @@ paths:
type: integer
repository_cache_usages:
type: array
- items: &479
+ items: &475
title: Actions Cache Usage by repository
description: GitHub Actions Cache Usage by repository.
type: object
@@ -36286,7 +36286,7 @@ paths:
description: Response
content:
application/json:
- schema: &499
+ schema: &495
title: ActionsPublicKey
description: The public key used for setting Actions Secrets.
type: object
@@ -36315,7 +36315,7 @@ paths:
- key_id
- key
examples:
- default: &500
+ default: &496
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -36728,7 +36728,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables
parameters:
- *87
- - &484
+ - &480
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)."
@@ -37463,7 +37463,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
@@ -37595,7 +37599,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:
@@ -38348,7 +38354,7 @@ paths:
initiator:
type: string
examples:
- default: &513
+ default: &509
value:
attestations:
- bundle:
@@ -39265,7 +39271,7 @@ paths:
be returned.
in: query
required: false
- schema: &539
+ schema: &535
type: string
description: Severity of a code scanning alert.
enum:
@@ -40319,7 +40325,7 @@ paths:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: &571
+ properties: &567
name:
type: string
description: The name of the machine.
@@ -40361,7 +40367,7 @@ paths:
- ready
- in_progress
nullable: true
- required: &572
+ required: &568
- name
- display_name
- operating_system
@@ -41229,7 +41235,7 @@ paths:
- updated_at
- visibility
examples:
- default: &573
+ default: &569
value:
total_count: 2
secrets:
@@ -41267,7 +41273,7 @@ paths:
description: Response
content:
application/json:
- schema: &574
+ schema: &570
title: CodespacesPublicKey
description: The public key used for setting Codespaces secrets.
type: object
@@ -41296,7 +41302,7 @@ paths:
- key_id
- key
examples:
- default: &575
+ default: &571
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -41328,7 +41334,7 @@ paths:
application/json:
schema: *327
examples:
- default: &577
+ default: &573
value:
name: GH_TOKEN
created_at: '2019-08-10T14:59:22Z'
@@ -43187,7 +43193,7 @@ paths:
description: Response
content:
application/json:
- schema: &604
+ schema: &602
title: DependabotPublicKey
description: The public key used for setting Dependabot Secrets.
type: object
@@ -43204,7 +43210,7 @@ paths:
- key_id
- key
examples:
- default: &605
+ default: &603
value:
key_id: '012345678912345678'
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -43534,7 +43540,7 @@ paths:
subcategory: alert-dismissal-requests
parameters:
- *87
- - &613
+ - &611
name: reviewer
description: Filter alert dismissal requests by the handle of the GitHub user
who reviewed the dismissal request.
@@ -43542,7 +43548,7 @@ paths:
required: false
schema:
type: string
- - &614
+ - &612
name: requester
description: Filter alert dismissal requests by the handle of the GitHub user
who requested the dismissal.
@@ -43550,7 +43556,7 @@ paths:
required: false
schema:
type: string
- - &615
+ - &613
name: time_period
description: |-
The time period to filter by.
@@ -43566,7 +43572,7 @@ paths:
- week
- month
default: month
- - &616
+ - &614
name: request_status
description: Filter alert dismissal requests by status. When specified, only
requests with this status will be returned.
@@ -43591,7 +43597,7 @@ paths:
application/json:
schema:
type: array
- items: &617
+ items: &615
title: Code scanning alert dismissal request
description: Alert dismisal request made by a user asking to dismiss
a code scanning alert.
@@ -43747,7 +43753,7 @@ paths:
format: uri
example: https://github.com/octo-org/smile/code-scanning/alerts/1
examples:
- default: &618
+ default: &616
value:
- id: 21
number: 42
@@ -43865,7 +43871,7 @@ paths:
application/json:
schema:
type: array
- items: &619
+ items: &617
title: Dependabot alert dismissal request
description: Alert dismissal request made by a user asking to dismiss
a Dependabot alert.
@@ -43982,7 +43988,7 @@ paths:
format: uri
example: https://github.com/octo-org/smile/security/dependabot/1
examples:
- default: &620
+ default: &618
value:
- id: 21
number: 42
@@ -44084,7 +44090,7 @@ paths:
application/json:
schema:
type: array
- items: &621
+ items: &619
title: Secret scanning alert dismissal request
description: A dismissal request made by a user asking to close
a secret scanning alert in this repository.
@@ -44205,7 +44211,7 @@ paths:
format: uri
example: https://github.com/octo-org/smile/security/secret-scanning/17
examples:
- default: &622
+ default: &620
value:
- id: 21
number: 42
@@ -44550,7 +44556,7 @@ paths:
description: Response
content:
application/json:
- schema: &463
+ schema: &459
title: ExternalGroup
description: Information about an external group's usage and its members
type: object
@@ -44631,7 +44637,7 @@ paths:
example: mona_lisa@github.com
type: string
examples:
- default: &464
+ default: &460
value:
group_id: '123'
group_name: Octocat admins
@@ -44686,7 +44692,7 @@ paths:
description: Response
content:
application/json:
- schema: &461
+ schema: &457
title: ExternalGroups
description: A list of external groups available to be connected to
a team
@@ -44723,7 +44729,7 @@ paths:
example: 2019-06-03 22:27:15:000 -700
type: string
examples:
- default: &462
+ default: &458
value:
groups:
- group_id: '123'
@@ -46025,7 +46031,7 @@ paths:
application/json:
schema: *22
examples:
- default: &653
+ default: &651
value:
id: 1
account:
@@ -46250,7 +46256,7 @@ paths:
required: true
content:
application/json:
- schema: &654
+ schema: &652
title: Interaction Restrictions
description: Limit interactions to a specific type of user for a specified
duration
@@ -47111,7 +47117,7 @@ paths:
application/json:
schema: *376
examples:
- default: &570
+ default: &566
value:
id: 1
name: monalisa-octocat-hello-world-g4wpq6h95q
@@ -51519,7 +51525,7 @@ paths:
title: Projects v2 Status Update
description: An status update belonging to a project
type: object
- properties: &913
+ properties: &914
id:
type: number
description: The unique identifier of the status update.
@@ -51567,7 +51573,7 @@ paths:
example: The project is off to a great start!
type: string
nullable: true
- required: &914
+ required: &915
- id
- node_id
- created_at
@@ -51781,7 +51787,7 @@ paths:
content:
oneOf:
- *220
- - &585
+ - &583
title: Pull Request Simple
description: Pull Request Simple
type: object
@@ -53930,6 +53936,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:
+ - *405
+ - *87
+ - &856
+ 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
+ - *108
+ - *109
+ - *17
+ responses:
+ '200':
+ description: Response
+ content:
+ application/json:
+ schema:
+ type: array
+ items: *413
+ examples:
+ default: *414
+ headers:
+ Link: *47
+ '304': *37
+ '403': *29
+ '401': *25
+ '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
@@ -54650,7 +54716,7 @@ paths:
description: Response
content:
application/json:
- schema: &471
+ schema: &467
title: Full Repository
description: Full Repository
type: object
@@ -55043,7 +55109,7 @@ paths:
title: Code Of Conduct Simple
description: Code of Conduct Simple
type: object
- properties: &590
+ properties: &588
url:
type: string
format: uri
@@ -55059,7 +55125,7 @@ paths:
nullable: true
format: uri
example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md
- required: &591
+ required: &589
- url
- key
- name
@@ -55148,7 +55214,7 @@ paths:
- network_count
- subscribers_count
examples:
- default: &473
+ default: &469
value:
id: 1296269
node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5
@@ -58024,7 +58090,7 @@ paths:
description: Response
content:
application/json:
- schema: &468
+ schema: &464
title: GroupMapping
description: External Groups to be mapped to a team for membership
type: object
@@ -58070,7 +58136,7 @@ paths:
type: string
nullable: true
examples:
- default: &469
+ default: &465
value:
groups:
- group_id: '123'
@@ -59679,407 +59745,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:
- - *87
- - *215
- - *453
- - *456
- - 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: &457
- 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
- example: 1
- node_id:
- type: string
- example: MDg6UmVhY3Rpb24x
- user:
- title: Simple User
- description: A GitHub user.
- type: object
- properties: *20
- required: *21
- nullable: true
- content:
- description: The reaction to use
- example: heart
- type: string
- enum:
- - "+1"
- - "-1"
- - laugh
- - confused
- - heart
- - hooray
- - rocket
- - eyes
- created_at:
- type: string
- format: date-time
- example: '2016-05-20T20:09:31Z'
- required:
- - id
- - node_id
- - user
- - content
- - created_at
- examples:
- default: &459
- 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: *47
- 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:
- - *87
- - *215
- - *453
- - *456
- 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: *457
- examples:
- default: &458
- 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: *457
- examples:
- default: *458
- 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:
- - *87
- - *215
- - *453
- - *456
- - &460
- 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:
- - *87
- - *215
- - *453
- - 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: *457
- examples:
- default: *459
- headers:
- Link: *47
- 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:
- - *87
- - *215
- - *453
- 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: *457
- examples:
- default: *458
- '201':
- description: Response
- content:
- application/json:
- schema: *457
- examples:
- default: *458
- 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:
- - *87
- - *215
- - *453
- - *460
- 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
@@ -60101,9 +59766,9 @@ paths:
description: Response
content:
application/json:
- schema: *461
+ schema: *457
examples:
- default: *462
+ default: *458
x-github:
githubCloudOnly: true
enabledForGitHubApps: true
@@ -60146,9 +59811,9 @@ paths:
description: Response
content:
application/json:
- schema: *463
+ schema: *459
examples:
- default: *464
+ default: *460
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -60289,7 +59954,7 @@ paths:
description: Response
content:
application/json:
- schema: &465
+ schema: &461
title: Team Membership
description: Team Membership
type: object
@@ -60379,7 +60044,7 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
response-if-users-membership-with-team-is-now-pending: &805
summary: Response if user's membership with team is now pending
@@ -60488,8 +60153,8 @@ paths:
parameters:
- *87
- *215
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Alternative response with repository permissions
@@ -61066,8 +60731,8 @@ paths:
parameters:
- *87
- *215
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -61114,8 +60779,8 @@ paths:
parameters:
- *87
- *215
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -61148,9 +60813,9 @@ paths:
description: Response
content:
application/json:
- schema: *468
+ schema: *464
examples:
- default: *469
+ default: *465
x-github:
githubCloudOnly: true
enabledForGitHubApps: false
@@ -61216,7 +60881,7 @@ paths:
description: Response
content:
application/json:
- schema: *468
+ schema: *464
examples:
default:
value:
@@ -61415,7 +61080,7 @@ paths:
resources:
type: object
properties:
- core: &470
+ core: &466
title: Rate Limit
type: object
properties:
@@ -61432,21 +61097,21 @@ paths:
- remaining
- reset
- used
- graphql: *470
- search: *470
- code_search: *470
- source_import: *470
- integration_manifest: *470
- code_scanning_upload: *470
- actions_runner_registration: *470
- scim: *470
- dependency_snapshots: *470
- dependency_sbom: *470
- code_scanning_autofix: *470
+ graphql: *466
+ search: *466
+ code_search: *466
+ source_import: *466
+ integration_manifest: *466
+ code_scanning_upload: *466
+ actions_runner_registration: *466
+ scim: *466
+ dependency_snapshots: *466
+ dependency_sbom: *466
+ code_scanning_autofix: *466
required:
- core
- search
- rate: *470
+ rate: *466
required:
- rate
- resources
@@ -61551,14 +61216,14 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
default-response:
summary: Default response
@@ -62063,7 +61728,7 @@ paths:
status: disabled
'403': *29
'404': *6
- '301': *472
+ '301': *468
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -62081,8 +61746,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -62339,10 +62004,10 @@ paths:
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
- '307': &474
+ default: *469
+ '307': &470
description: Temporary Redirect
content:
application/json:
@@ -62371,8 +62036,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -62394,7 +62059,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': *474
+ '307': *470
'404': *6
'409': *118
x-github:
@@ -62418,11 +62083,11 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
- - &491
+ - &487
name: name
description: The name field of an artifact. When specified, only artifacts
with this name will be returned.
@@ -62445,7 +62110,7 @@ paths:
type: integer
artifacts:
type: array
- items: &475
+ items: &471
title: Artifact
description: An artifact
type: object
@@ -62523,7 +62188,7 @@ paths:
- expires_at
- updated_at
examples:
- default: &492
+ default: &488
value:
total_count: 2
artifacts:
@@ -62584,9 +62249,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact
parameters:
- - *466
- - *467
- - &476
+ - *462
+ - *463
+ - &472
name: artifact_id
description: The unique identifier of the artifact.
in: path
@@ -62598,7 +62263,7 @@ paths:
description: Response
content:
application/json:
- schema: *475
+ schema: *471
examples:
default:
value:
@@ -62636,9 +62301,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact
parameters:
- - *466
- - *467
- - *476
+ - *462
+ - *463
+ - *472
responses:
'204':
description: Response
@@ -62662,9 +62327,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact
parameters:
- - *466
- - *467
- - *476
+ - *462
+ - *463
+ - *472
- name: archive_format
in: path
required: true
@@ -62678,7 +62343,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': &657
+ '410': &655
description: Gone
content:
application/json:
@@ -62703,14 +62368,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: &477
+ schema: &473
title: Actions cache retention limit for a repository
description: GitHub Actions cache retention policy for a repository.
type: object
@@ -62743,13 +62408,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
application/json:
- schema: *477
+ schema: *473
examples:
selected_actions: *44
responses:
@@ -62778,14 +62443,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: &478
+ schema: &474
title: Actions cache storage limit for a repository
description: GitHub Actions cache storage policy for a repository.
type: object
@@ -62818,13 +62483,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
application/json:
- schema: *478
+ schema: *474
examples:
selected_actions: *46
responses:
@@ -62855,14 +62520,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *479
+ schema: *475
examples:
default:
value:
@@ -62888,11 +62553,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:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
- - &480
+ - &476
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
@@ -62926,7 +62591,7 @@ paths:
description: Response
content:
application/json:
- schema: &481
+ schema: &477
title: Repository actions caches
description: Repository actions caches
type: object
@@ -62968,7 +62633,7 @@ paths:
- total_count
- actions_caches
examples:
- default: &482
+ default: &478
value:
total_count: 1
actions_caches:
@@ -63000,23 +62665,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:
- - *466
- - *467
+ - *462
+ - *463
- name: key
description: A key for identifying the cache.
in: query
required: true
schema:
type: string
- - *480
+ - *476
responses:
'200':
description: Response
content:
application/json:
- schema: *481
+ schema: *477
examples:
- default: *482
+ default: *478
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -63036,8 +62701,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:
- - *466
- - *467
+ - *462
+ - *463
- name: cache_id
description: The unique identifier of the GitHub Actions cache.
in: path
@@ -63068,9 +62733,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:
- - *466
- - *467
- - &483
+ - *462
+ - *463
+ - &479
name: job_id
description: The unique identifier of the job.
in: path
@@ -63082,7 +62747,7 @@ paths:
description: Response
content:
application/json:
- schema: &495
+ schema: &491
title: Job
description: Information of a job execution in a workflow run
type: object
@@ -63389,9 +63054,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:
- - *466
- - *467
- - *483
+ - *462
+ - *463
+ - *479
responses:
'302':
description: Response
@@ -63419,9 +63084,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:
- - *466
- - *467
- - *483
+ - *462
+ - *463
+ - *479
requestBody:
required: false
content:
@@ -63466,8 +63131,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Status response
@@ -63517,8 +63182,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -63581,8 +63246,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -63600,7 +63265,7 @@ paths:
type: integer
secrets:
type: array
- items: &497
+ items: &493
title: Actions Secret
description: Set secrets for GitHub Actions.
type: object
@@ -63620,7 +63285,7 @@ paths:
- created_at
- updated_at
examples:
- default: &498
+ default: &494
value:
total_count: 2
secrets:
@@ -63653,9 +63318,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables
parameters:
- - *466
- - *467
- - *484
+ - *462
+ - *463
+ - *480
- *19
responses:
'200':
@@ -63672,7 +63337,7 @@ paths:
type: integer
variables:
type: array
- items: &501
+ items: &497
title: Actions Variable
type: object
properties:
@@ -63702,7 +63367,7 @@ paths:
- created_at
- updated_at
examples:
- default: &502
+ default: &498
value:
total_count: 2
variables:
@@ -63735,8 +63400,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -63745,7 +63410,7 @@ paths:
schema:
type: object
properties:
- enabled: &485
+ enabled: &481
type: boolean
description: Whether GitHub Actions is enabled on the repository.
allowed_actions: *60
@@ -63780,8 +63445,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -63792,7 +63457,7 @@ paths:
schema:
type: object
properties:
- enabled: *485
+ enabled: *481
allowed_actions: *60
sha_pinning_required: *61
required:
@@ -63825,14 +63490,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: &486
+ schema: &482
type: object
properties:
access_level:
@@ -63850,7 +63515,7 @@ paths:
required:
- access_level
examples:
- default: &487
+ default: &483
value:
access_level: organization
x-github:
@@ -63875,15 +63540,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
application/json:
- schema: *486
+ schema: *482
examples:
- default: *487
+ default: *483
responses:
'204':
description: Response
@@ -63907,8 +63572,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -63938,8 +63603,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Empty response for successful settings update
@@ -63973,8 +63638,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64001,8 +63666,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -64036,8 +63701,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64065,8 +63730,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -64097,8 +63762,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64129,8 +63794,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -64162,8 +63827,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64192,8 +63857,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Success response
@@ -64233,8 +63898,8 @@ paths:
in: query
schema:
type: string
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -64278,8 +63943,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -64311,8 +63976,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -64386,8 +64051,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'201':
description: Response
@@ -64423,8 +64088,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'201':
description: Response
@@ -64454,8 +64119,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
responses:
'200':
@@ -64485,8 +64150,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
responses:
'204':
@@ -64513,8 +64178,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
responses:
'200': *81
@@ -64539,8 +64204,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
requestBody:
required: true
@@ -64589,8 +64254,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
requestBody:
required: true
@@ -64640,8 +64305,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
responses:
'200': *290
@@ -64671,8 +64336,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:
- - *466
- - *467
+ - *462
+ - *463
- *75
- *291
responses:
@@ -64702,9 +64367,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:
- - *466
- - *467
- - &505
+ - *462
+ - *463
+ - &501
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.
@@ -64712,7 +64377,7 @@ paths:
required: false
schema:
type: string
- - &506
+ - &502
name: branch
description: Returns workflow runs associated with a branch. Use the name
of the branch of the `push`.
@@ -64720,7 +64385,7 @@ paths:
required: false
schema:
type: string
- - &507
+ - &503
name: event
description: Returns workflow run triggered by the event you specify. For
example, `push`, `pull_request` or `issue`. For more information, see "[Events
@@ -64729,7 +64394,7 @@ paths:
required: false
schema:
type: string
- - &508
+ - &504
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
@@ -64756,7 +64421,7 @@ paths:
- pending
- *17
- *19
- - &509
+ - &505
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)."
@@ -64765,7 +64430,7 @@ paths:
schema:
type: string
format: date-time
- - &488
+ - &484
name: exclude_pull_requests
description: If `true` pull requests are omitted from the response (empty
array).
@@ -64774,13 +64439,13 @@ paths:
schema:
type: boolean
default: false
- - &510
+ - &506
name: check_suite_id
description: Returns workflow runs with the `check_suite_id` that you specify.
in: query
schema:
type: integer
- - &511
+ - &507
name: head_sha
description: Only returns workflow runs that are associated with the specified
`head_sha`.
@@ -64803,7 +64468,7 @@ paths:
type: integer
workflow_runs:
type: array
- items: &489
+ items: &485
title: Workflow Run
description: An invocation of a workflow
type: object
@@ -64951,7 +64616,7 @@ paths:
title: Simple Commit
description: A commit.
type: object
- properties: &533
+ properties: &529
id:
type: string
description: SHA for the commit
@@ -65002,7 +64667,7 @@ paths:
- name
- email
nullable: true
- required: &534
+ required: &530
- id
- tree_id
- message
@@ -65049,7 +64714,7 @@ paths:
- workflow_url
- pull_requests
examples:
- default: &512
+ default: &508
value:
total_count: 1
workflow_runs:
@@ -65285,24 +64950,24 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run
parameters:
- - *466
- - *467
- - &490
+ - *462
+ - *463
+ - &486
name: run_id
description: The unique identifier of the workflow run.
in: path
required: true
schema:
type: integer
- - *488
+ - *484
responses:
'200':
description: Response
content:
application/json:
- schema: *489
+ schema: *485
examples:
- default: &493
+ default: &489
value:
id: 30433642
name: Build
@@ -65543,9 +65208,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'204':
description: Response
@@ -65568,9 +65233,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'200':
description: Response
@@ -65689,9 +65354,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'201':
description: Response
@@ -65724,12 +65389,12 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
- *17
- *19
- - *491
+ - *487
responses:
'200':
description: Response
@@ -65745,9 +65410,9 @@ paths:
type: integer
artifacts:
type: array
- items: *475
+ items: *471
examples:
- default: *492
+ default: *488
headers:
Link: *47
x-github:
@@ -65771,25 +65436,25 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt
parameters:
- - *466
- - *467
- - *490
- - &494
+ - *462
+ - *463
+ - *486
+ - &490
name: attempt_number
description: The attempt number of the workflow run.
in: path
required: true
schema:
type: integer
- - *488
+ - *484
responses:
'200':
description: Response
content:
application/json:
- schema: *489
+ schema: *485
examples:
- default: *493
+ default: *489
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -65812,10 +65477,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:
- - *466
- - *467
+ - *462
+ - *463
+ - *486
- *490
- - *494
- *17
- *19
responses:
@@ -65833,9 +65498,9 @@ paths:
type: integer
jobs:
type: array
- items: *495
+ items: *491
examples:
- default: &496
+ default: &492
value:
total_count: 1
jobs:
@@ -65948,10 +65613,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs
parameters:
- - *466
- - *467
+ - *462
+ - *463
+ - *486
- *490
- - *494
responses:
'302':
description: Response
@@ -65979,9 +65644,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'202':
description: Response
@@ -66014,9 +65679,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
requestBody:
required: true
content:
@@ -66083,9 +65748,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'202':
description: Response
@@ -66118,9 +65783,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
- 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
@@ -66150,9 +65815,9 @@ paths:
type: integer
jobs:
type: array
- items: *495
+ items: *491
examples:
- default: *496
+ default: *492
headers:
Link: *47
x-github:
@@ -66177,9 +65842,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'302':
description: Response
@@ -66206,9 +65871,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'204':
description: Response
@@ -66235,9 +65900,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'200':
description: Response
@@ -66297,7 +65962,7 @@ paths:
items:
type: object
properties:
- type: &623
+ type: &621
type: string
description: The type of reviewer.
enum:
@@ -66382,9 +66047,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
requestBody:
required: true
content:
@@ -66431,7 +66096,7 @@ paths:
application/json:
schema:
type: array
- items: &608
+ items: &606
title: Deployment
description: A request for a specific ref(branch,sha,tag) to be
deployed
@@ -66537,7 +66202,7 @@ paths:
- created_at
- updated_at
examples:
- default: &609
+ default: &607
value:
- url: https://api.github.com/repos/octocat/example/deployments/1
id: 1
@@ -66593,9 +66258,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
requestBody:
required: false
content:
@@ -66639,9 +66304,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:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
requestBody:
required: false
content:
@@ -66695,9 +66360,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage
parameters:
- - *466
- - *467
- - *490
+ - *462
+ - *463
+ - *486
responses:
'200':
description: Response
@@ -66834,8 +66499,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -66853,9 +66518,9 @@ paths:
type: integer
secrets:
type: array
- items: *497
+ items: *493
examples:
- default: *498
+ default: *494
headers:
Link: *47
x-github:
@@ -66880,16 +66545,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *499
+ schema: *495
examples:
- default: *500
+ default: *496
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -66911,17 +66576,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'200':
description: Response
content:
application/json:
- schema: *497
+ schema: *493
examples:
- default: &636
+ default: &634
value:
name: GH_TOKEN
created_at: '2019-08-10T14:59:22Z'
@@ -66947,8 +66612,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
requestBody:
required: true
@@ -67006,8 +66671,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'204':
@@ -67033,9 +66698,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables
parameters:
- - *466
- - *467
- - *484
+ - *462
+ - *463
+ - *480
- *19
responses:
'200':
@@ -67052,9 +66717,9 @@ paths:
type: integer
variables:
type: array
- items: *501
+ items: *497
examples:
- default: *502
+ default: *498
headers:
Link: *47
x-github:
@@ -67077,8 +66742,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -67130,17 +66795,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
responses:
'200':
description: Response
content:
application/json:
- schema: *501
+ schema: *497
examples:
- default: &637
+ default: &635
value:
name: USERNAME
value: octocat
@@ -67166,8 +66831,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
requestBody:
required: true
@@ -67210,8 +66875,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
responses:
'204':
@@ -67237,8 +66902,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -67256,7 +66921,7 @@ paths:
type: integer
workflows:
type: array
- items: &503
+ items: &499
title: Workflow
description: A GitHub Actions workflow
type: object
@@ -67363,9 +67028,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow
parameters:
- - *466
- - *467
- - &504
+ - *462
+ - *463
+ - &500
name: workflow_id
in: path
description: The ID of the workflow. You can also pass the workflow file name
@@ -67380,7 +67045,7 @@ paths:
description: Response
content:
application/json:
- schema: *503
+ schema: *499
examples:
default:
value:
@@ -67413,9 +67078,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow
parameters:
- - *466
- - *467
- - *504
+ - *462
+ - *463
+ - *500
responses:
'204':
description: Response
@@ -67440,9 +67105,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event
parameters:
- - *466
- - *467
- - *504
+ - *462
+ - *463
+ - *500
responses:
'204':
description: Response
@@ -67493,9 +67158,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow
parameters:
- - *466
- - *467
- - *504
+ - *462
+ - *463
+ - *500
responses:
'204':
description: Response
@@ -67522,19 +67187,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:
- - *466
- - *467
+ - *462
+ - *463
+ - *500
+ - *501
+ - *502
+ - *503
- *504
+ - *17
+ - *19
- *505
+ - *484
- *506
- *507
- - *508
- - *17
- - *19
- - *509
- - *488
- - *510
- - *511
responses:
'200':
description: Response
@@ -67550,9 +67215,9 @@ paths:
type: integer
workflow_runs:
type: array
- items: *489
+ items: *485
examples:
- default: *512
+ default: *508
headers:
Link: *47
x-github:
@@ -67585,9 +67250,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage
parameters:
- - *466
- - *467
- - *504
+ - *462
+ - *463
+ - *500
responses:
'200':
description: Response
@@ -67648,8 +67313,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *110
- *17
- *108
@@ -67813,8 +67478,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -67851,8 +67516,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:
- - *466
- - *467
+ - *462
+ - *463
- name: assignee
in: path
required: true
@@ -67888,8 +67553,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -68001,8 +67666,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *108
- *109
@@ -68059,7 +67724,7 @@ paths:
initiator:
type: string
examples:
- default: *513
+ default: *509
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68079,8 +67744,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -68088,7 +67753,7 @@ paths:
application/json:
schema:
type: array
- items: &514
+ items: &510
title: Autolink reference
description: An autolink reference.
type: object
@@ -68142,8 +67807,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -68182,9 +67847,9 @@ paths:
description: response
content:
application/json:
- schema: *514
+ schema: *510
examples:
- default: &515
+ default: &511
value:
id: 1
key_prefix: TICKET-
@@ -68215,9 +67880,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:
- - *466
- - *467
- - &516
+ - *462
+ - *463
+ - &512
name: autolink_id
description: The unique identifier of the autolink.
in: path
@@ -68229,9 +67894,9 @@ paths:
description: Response
content:
application/json:
- schema: *514
+ schema: *510
examples:
- default: *515
+ default: *511
'404': *6
x-github:
githubCloudOnly: false
@@ -68251,9 +67916,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:
- - *466
- - *467
- - *516
+ - *462
+ - *463
+ - *512
responses:
'204':
description: Response
@@ -68277,8 +67942,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response if Dependabot is enabled
@@ -68326,8 +67991,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -68348,8 +68013,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -68369,8 +68034,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: protected
description: Setting to `true` returns only branches protected by branch protections
or rulesets. When set to `false`, only unprotected branches are returned.
@@ -68408,7 +68073,7 @@ paths:
- url
protected:
type: boolean
- protection: &518
+ protection: &514
title: Branch Protection
description: Branch Protection
type: object
@@ -68450,7 +68115,7 @@ paths:
required:
- contexts
- checks
- enforce_admins: &521
+ enforce_admins: &517
title: Protected Branch Admin Enforced
description: Protected Branch Admin Enforced
type: object
@@ -68465,7 +68130,7 @@ paths:
required:
- url
- enabled
- required_pull_request_reviews: &523
+ required_pull_request_reviews: &519
title: Protected Branch Pull Request Review
description: Protected Branch Pull Request Review
type: object
@@ -68541,7 +68206,7 @@ paths:
required:
- dismiss_stale_reviews
- require_code_owner_reviews
- restrictions: &520
+ restrictions: &516
title: Branch Restriction Policy
description: Branch Restriction Policy
type: object
@@ -68818,9 +68483,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch
parameters:
- - *466
- - *467
- - &519
+ - *462
+ - *463
+ - &515
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).
@@ -68834,14 +68499,14 @@ paths:
description: Response
content:
application/json:
- schema: &529
+ schema: &525
title: Branch With Protection
description: Branch With Protection
type: object
properties:
name:
type: string
- commit: &581
+ commit: &579
title: Commit
description: Commit
type: object
@@ -68875,7 +68540,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: &517
+ properties: &513
name:
type: string
example: '"Chris Wanstrath"'
@@ -68891,7 +68556,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: *517
+ properties: *513
nullable: true
message:
type: string
@@ -68912,7 +68577,7 @@ paths:
required:
- sha
- url
- verification: &643
+ verification: &641
title: Verification
type: object
properties:
@@ -68982,7 +68647,7 @@ paths:
type: integer
files:
type: array
- items: &594
+ items: &592
title: Diff Entry
description: Diff Entry
type: object
@@ -69066,7 +68731,7 @@ paths:
- self
protected:
type: boolean
- protection: *518
+ protection: *514
protection_url:
type: string
format: uri
@@ -69173,7 +68838,7 @@ paths:
contexts: []
checks: []
protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection
- '301': *472
+ '301': *468
'404': *6
x-github:
githubCloudOnly: false
@@ -69195,15 +68860,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *518
+ schema: *514
examples:
default:
value:
@@ -69397,9 +69062,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -69654,7 +69319,7 @@ paths:
url:
type: string
format: uri
- required_status_checks: &526
+ required_status_checks: &522
title: Status Check Policy
description: Status Check Policy
type: object
@@ -69806,7 +69471,7 @@ paths:
additionalProperties: false
required:
- enabled
- restrictions: *520
+ restrictions: *516
required_conversation_resolution:
type: object
properties:
@@ -69918,9 +69583,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -69945,17 +69610,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *521
+ schema: *517
examples:
- default: &522
+ default: &518
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins
enabled: true
@@ -69977,17 +69642,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *521
+ schema: *517
examples:
- default: *522
+ default: *518
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -70006,9 +69671,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70033,17 +69698,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *523
+ schema: *519
examples:
- default: &524
+ default: &520
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews
dismissal_restrictions:
@@ -70139,9 +69804,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -70239,9 +69904,9 @@ paths:
description: Response
content:
application/json:
- schema: *523
+ schema: *519
examples:
- default: *524
+ default: *520
'422': *15
x-github:
githubCloudOnly: false
@@ -70262,9 +69927,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70291,17 +69956,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *521
+ schema: *517
examples:
- default: &525
+ default: &521
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures
enabled: true
@@ -70324,17 +69989,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *521
+ schema: *517
examples:
- default: *525
+ default: *521
'404': *6
x-github:
githubCloudOnly: false
@@ -70354,9 +70019,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70381,17 +70046,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *526
+ schema: *522
examples:
- default: &527
+ default: &523
value:
url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks
strict: true
@@ -70417,9 +70082,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -70471,9 +70136,9 @@ paths:
description: Response
content:
application/json:
- schema: *526
+ schema: *522
examples:
- default: *527
+ default: *523
'404': *6
'422': *15
x-github:
@@ -70495,9 +70160,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70521,9 +70186,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
@@ -70557,9 +70222,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -70626,9 +70291,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -70692,9 +70357,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
content:
application/json:
@@ -70760,15 +70425,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
content:
application/json:
- schema: *520
+ schema: *516
examples:
default:
value:
@@ -70859,9 +70524,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'204':
description: Response
@@ -70884,9 +70549,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:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
@@ -70896,7 +70561,7 @@ paths:
type: array
items: *5
examples:
- default: &528
+ default: &524
value:
- id: 1
slug: octoapp
@@ -70953,9 +70618,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -70989,7 +70654,7 @@ paths:
type: array
items: *5
examples:
- default: *528
+ default: *524
'422': *15
x-github:
githubCloudOnly: false
@@ -71010,9 +70675,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71046,7 +70711,7 @@ paths:
type: array
items: *5
examples:
- default: *528
+ default: *524
'422': *15
x-github:
githubCloudOnly: false
@@ -71067,9 +70732,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71103,7 +70768,7 @@ paths:
type: array
items: *5
examples:
- default: *528
+ default: *524
'422': *15
x-github:
githubCloudOnly: false
@@ -71125,9 +70790,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:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
@@ -71157,9 +70822,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -71218,9 +70883,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: false
content:
@@ -71279,9 +70944,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
content:
application/json:
@@ -71340,9 +71005,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:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
responses:
'200':
description: Response
@@ -71376,9 +71041,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71436,9 +71101,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71496,9 +71161,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71558,9 +71223,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
requestBody:
required: true
content:
@@ -71582,7 +71247,7 @@ paths:
description: Response
content:
application/json:
- schema: *529
+ schema: *525
examples:
default:
value:
@@ -71696,8 +71361,8 @@ paths:
category: repos
subcategory: bypass-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *103
- *104
- *105
@@ -71733,8 +71398,8 @@ paths:
category: repos
subcategory: bypass-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: bypass_request_number
in: path
required: true
@@ -71807,8 +71472,8 @@ paths:
category: secret-scanning
subcategory: delegated-bypass
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *103
- *104
- *105
@@ -71848,8 +71513,8 @@ paths:
category: secret-scanning
subcategory: delegated-bypass
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: bypass_request_number
in: path
required: true
@@ -71919,8 +71584,8 @@ paths:
category: secret-scanning
subcategory: delegated-bypass
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: bypass_request_number
in: path
required: true
@@ -71991,8 +71656,8 @@ paths:
category: secret-scanning
subcategory: delegated-bypass
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: bypass_response_id
in: path
required: true
@@ -72025,8 +71690,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -72305,7 +71970,7 @@ paths:
description: Response
content:
application/json:
- schema: &530
+ schema: &526
title: CheckRun
description: A check performed on the code of a given code change
type: object
@@ -72425,7 +72090,7 @@ paths:
check.
type: array
items: *225
- deployment: &866
+ deployment: &867
title: Deployment
description: A deployment created as the result of an Actions
check run from a workflow that references an environment
@@ -72705,9 +72370,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run
parameters:
- - *466
- - *467
- - &531
+ - *462
+ - *463
+ - &527
name: check_run_id
description: The unique identifier of the check run.
in: path
@@ -72719,9 +72384,9 @@ paths:
description: Response
content:
application/json:
- schema: *530
+ schema: *526
examples:
- default: &532
+ default: &528
value:
id: 4
head_sha: ce587453ced02b1526dfb4cb910479d431683101
@@ -72821,9 +72486,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run
parameters:
- - *466
- - *467
- - *531
+ - *462
+ - *463
+ - *527
requestBody:
required: true
content:
@@ -73063,9 +72728,9 @@ paths:
description: Response
content:
application/json:
- schema: *530
+ schema: *526
examples:
- default: *532
+ default: *528
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73085,9 +72750,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations
parameters:
- - *466
- - *467
- - *531
+ - *462
+ - *463
+ - *527
- *17
- *19
responses:
@@ -73182,9 +72847,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run
parameters:
- - *466
- - *467
- - *531
+ - *462
+ - *463
+ - *527
responses:
'201':
description: Response
@@ -73228,8 +72893,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -73251,7 +72916,7 @@ paths:
description: Response when the suite already exists
content:
application/json:
- schema: &535
+ schema: &531
title: CheckSuite
description: A suite of checks performed on the code of a given code
change
@@ -73337,12 +73002,12 @@ paths:
type: string
format: date-time
nullable: true
- head_commit: &897
+ head_commit: &898
title: Simple Commit
description: A commit.
type: object
- properties: *533
- required: *534
+ properties: *529
+ required: *530
latest_check_runs_count:
type: integer
check_runs_url:
@@ -73370,7 +73035,7 @@ paths:
- check_runs_url
- pull_requests
examples:
- default: &536
+ default: &532
value:
id: 5
node_id: MDEwOkNoZWNrU3VpdGU1
@@ -73661,9 +73326,9 @@ paths:
description: Response when the suite was created
content:
application/json:
- schema: *535
+ schema: *531
examples:
- default: *536
+ default: *532
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -73682,8 +73347,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -73992,9 +73657,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite
parameters:
- - *466
- - *467
- - &537
+ - *462
+ - *463
+ - &533
name: check_suite_id
description: The unique identifier of the check suite.
in: path
@@ -74006,9 +73671,9 @@ paths:
description: Response
content:
application/json:
- schema: *535
+ schema: *531
examples:
- default: *536
+ default: *532
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -74031,17 +73696,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:
- - *466
- - *467
- - *537
- - &587
+ - *462
+ - *463
+ - *533
+ - &585
name: check_name
description: Returns check runs with the specified `name`.
in: query
required: false
schema:
type: string
- - &588
+ - &586
name: status
description: Returns check runs with the specified `status`.
in: query
@@ -74080,9 +73745,9 @@ paths:
type: integer
check_runs:
type: array
- items: *530
+ items: *526
examples:
- default: &589
+ default: &587
value:
total_count: 1
check_runs:
@@ -74184,9 +73849,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite
parameters:
- - *466
- - *467
- - *537
+ - *462
+ - *463
+ - *533
responses:
'201':
description: Response
@@ -74219,21 +73884,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:
- - *466
- - *467
+ - *462
+ - *463
- *316
- *317
- *19
- *17
- - &553
+ - &549
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: *538
- - &554
+ schema: *534
+ - &550
name: pr
description: The number of the pull request for the results you want to list.
in: query
@@ -74264,7 +73929,7 @@ paths:
be returned.
in: query
required: false
- schema: *539
+ schema: *535
- name: assignees
description: |
Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`).
@@ -74288,7 +73953,7 @@ paths:
updated_at: *135
url: *132
html_url: *133
- instances_url: *540
+ instances_url: *536
state: *113
fixed_at: *137
dismissed_by:
@@ -74299,11 +73964,11 @@ paths:
required: *21
nullable: true
dismissed_at: *136
- dismissed_reason: *541
- dismissed_comment: *542
- rule: *543
- tool: *544
- most_recent_instance: *545
+ dismissed_reason: *537
+ dismissed_comment: *538
+ rule: *539
+ tool: *540
+ most_recent_instance: *541
dismissal_approved_by:
title: Simple User
description: A GitHub user.
@@ -74429,7 +74094,7 @@ paths:
classifications: []
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances
'304': *37
- '403': &546
+ '403': &542
description: Response if GitHub Advanced Security is not enabled for this
repository
content:
@@ -74456,9 +74121,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:
- - *466
- - *467
- - &547
+ - *462
+ - *463
+ - &543
name: alert_number
in: path
description: The number that identifies an alert. You can find this at the
@@ -74472,7 +74137,7 @@ paths:
description: Response
content:
application/json:
- schema: &548
+ schema: &544
type: object
properties:
number: *127
@@ -74480,7 +74145,7 @@ paths:
updated_at: *135
url: *132
html_url: *133
- instances_url: *540
+ instances_url: *536
state: *113
fixed_at: *137
dismissed_by:
@@ -74491,8 +74156,8 @@ paths:
required: *21
nullable: true
dismissed_at: *136
- dismissed_reason: *541
- dismissed_comment: *542
+ dismissed_reason: *537
+ dismissed_comment: *538
rule:
type: object
properties:
@@ -74546,8 +74211,8 @@ paths:
type: string
description: A link to the documentation for the rule used
to detect the alert.
- tool: *544
- most_recent_instance: *545
+ tool: *540
+ most_recent_instance: *541
dismissal_approved_by:
title: Simple User
description: A GitHub user.
@@ -74646,7 +74311,7 @@ paths:
- test
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
'304': *37
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -74666,9 +74331,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
requestBody:
required: true
content:
@@ -74683,8 +74348,8 @@ paths:
enum:
- open
- dismissed
- dismissed_reason: *541
- dismissed_comment: *542
+ dismissed_reason: *537
+ dismissed_comment: *538
create_request:
type: boolean
description: If `true`, attempt to create an alert dismissal request.
@@ -74712,7 +74377,7 @@ paths:
description: Response
content:
application/json:
- schema: *548
+ schema: *544
examples:
default:
value:
@@ -74788,7 +74453,7 @@ paths:
- test
instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances
'400': *14
- '403': &552
+ '403': &548
description: Response if the repository is archived or if GitHub Advanced
Security is not enabled for this repository
content:
@@ -74815,15 +74480,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
responses:
'200':
description: Response
content:
application/json:
- schema: &549
+ schema: &545
type: object
properties:
status:
@@ -74849,13 +74514,13 @@ paths:
- description
- started_at
examples:
- default: &550
+ default: &546
value:
status: success
description: This fixes an XSS vulnerability by escaping the user
input.
started_at: '2024-02-14T12:29:18Z'
- '400': &551
+ '400': &547
description: Bad Request
content:
application/json:
@@ -74866,7 +74531,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': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -74891,29 +74556,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
responses:
'200':
description: OK
content:
application/json:
- schema: *549
+ schema: *545
examples:
- default: *550
+ default: *546
'202':
description: Accepted
content:
application/json:
- schema: *549
+ schema: *545
examples:
default:
value:
status: pending
description:
started_at: '2024-02-14T12:29:18Z'
- '400': *551
+ '400': *547
'403':
description: Response if the repository is archived, if GitHub Advanced
Security is not enabled for this repository or if rate limit is exceeded
@@ -74945,9 +74610,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
requestBody:
required: false
content:
@@ -74992,8 +74657,8 @@ paths:
value:
target_ref: refs/heads/main
sha: 178f4f6090b3fccad4a65b3e83d076a622d59652
- '400': *551
- '403': *552
+ '400': *547
+ '403': *548
'404': *6
'422':
description: Unprocessable Entity
@@ -75017,13 +74682,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
- *19
- *17
- - *553
- - *554
+ - *549
+ - *550
responses:
'200':
description: Response
@@ -75034,10 +74699,10 @@ paths:
items:
type: object
properties:
- ref: *538
- analysis_key: *555
- environment: *556
- category: *557
+ ref: *534
+ analysis_key: *551
+ environment: *552
+ category: *553
state:
type: string
description: State of a code scanning alert instance.
@@ -75052,7 +74717,7 @@ paths:
properties:
text:
type: string
- location: *558
+ location: *554
html_url:
type: string
classifications:
@@ -75060,7 +74725,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: *559
+ items: *555
examples:
default:
value:
@@ -75099,7 +74764,7 @@ paths:
end_column: 50
classifications:
- source
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -75133,25 +74798,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:
- - *466
- - *467
+ - *462
+ - *463
- *316
- *317
- *19
- *17
- - *554
+ - *550
- 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: *538
+ schema: *534
- name: sarif_id
in: query
description: Filter analyses belonging to the same SARIF upload.
required: false
- schema: &560
+ schema: &556
type: string
description: An identifier for the upload.
example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53
@@ -75172,23 +74837,23 @@ paths:
application/json:
schema:
type: array
- items: &561
+ items: &557
type: object
properties:
- ref: *538
- commit_sha: &569
+ ref: *534
+ commit_sha: &565
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: *555
+ analysis_key: *551
environment:
type: string
description: Identifies the variable values associated with
the environment in which this analysis was performed.
- category: *557
+ category: *553
error:
type: string
example: error reading field xyz
@@ -75212,8 +74877,8 @@ paths:
description: The REST API URL of the analysis resource.
format: uri
readOnly: true
- sarif_id: *560
- tool: *544
+ sarif_id: *556
+ tool: *540
deletable:
type: boolean
warning:
@@ -75274,7 +74939,7 @@ paths:
version: 1.2.0
deletable: true
warning: ''
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -75310,8 +74975,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:
- - *466
- - *467
+ - *462
+ - *463
- name: analysis_id
in: path
description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses`
@@ -75324,7 +74989,7 @@ paths:
description: Response
content:
application/json:
- schema: *561
+ schema: *557
examples:
response:
summary: application/json response
@@ -75378,7 +75043,7 @@ paths:
properties:
- github/alertNumber: 2
- github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2
- '403': *546
+ '403': *542
'404': *6
'422':
description: Response if analysis could not be processed
@@ -75465,8 +75130,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:
- - *466
- - *467
+ - *462
+ - *463
- name: analysis_id
in: path
description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses`
@@ -75519,7 +75184,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': *552
+ '403': *548
'404': *6
'503': *195
x-github:
@@ -75541,8 +75206,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -75550,7 +75215,7 @@ paths:
application/json:
schema:
type: array
- items: &562
+ items: &558
title: CodeQL Database
description: A CodeQL database.
type: object
@@ -75661,7 +75326,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': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -75690,8 +75355,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:
- - *466
- - *467
+ - *462
+ - *463
- name: language
in: path
description: The language of the CodeQL database.
@@ -75703,7 +75368,7 @@ paths:
description: Response
content:
application/json:
- schema: *562
+ schema: *558
examples:
default:
value:
@@ -75735,9 +75400,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': &596
+ '302': &594
description: Found
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -75759,8 +75424,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: language
in: path
description: The language of the CodeQL database.
@@ -75770,7 +75435,7 @@ paths:
responses:
'204':
description: Response
- '403': *552
+ '403': *548
'404': *6
'503': *195
x-github:
@@ -75798,8 +75463,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -75808,7 +75473,7 @@ paths:
type: object
additionalProperties: false
properties:
- language: &563
+ language: &559
type: string
description: The language targeted by the CodeQL query
enum:
@@ -75888,7 +75553,7 @@ paths:
description: Variant analysis submitted for processing
content:
application/json:
- schema: &567
+ schema: &563
title: Variant Analysis
description: A run of a CodeQL query against one or more repositories.
type: object
@@ -75898,7 +75563,7 @@ paths:
description: The ID of the variant analysis.
controller_repo: *119
actor: *4
- query_language: *563
+ query_language: *559
query_pack_url:
type: string
description: The download url for the query pack.
@@ -75945,7 +75610,7 @@ paths:
items:
type: object
properties:
- repository: &564
+ repository: &560
title: Repository Identifier
description: Repository Identifier
type: object
@@ -75981,7 +75646,7 @@ paths:
- private
- stargazers_count
- updated_at
- analysis_status: &568
+ analysis_status: &564
type: string
description: The new status of the CodeQL variant analysis
repository task.
@@ -76013,7 +75678,7 @@ paths:
from processing. This information is only available to the user
that initiated the variant analysis.
properties:
- access_mismatch_repos: &565
+ access_mismatch_repos: &561
type: object
properties:
repository_count:
@@ -76027,7 +75692,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: *564
+ items: *560
required:
- repository_count
- repositories
@@ -76049,8 +75714,8 @@ paths:
required:
- repository_count
- repository_full_names
- no_codeql_db_repos: *565
- over_limit_repos: *565
+ no_codeql_db_repos: *561
+ over_limit_repos: *561
required:
- access_mismatch_repos
- not_found_repos
@@ -76066,7 +75731,7 @@ paths:
examples:
repositories_parameter:
summary: Response for a successful variant analysis submission
- value: &566
+ value: &562
summary: Default response
value:
id: 1
@@ -76212,10 +75877,10 @@ paths:
private: false
repository_owners:
summary: Response for a successful variant analysis submission
- value: *566
+ value: *562
repository_lists:
summary: Response for a successful variant analysis submission
- value: *566
+ value: *562
'404': *6
'422':
description: Unable to process variant analysis submission
@@ -76243,8 +75908,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:
- - *466
- - *467
+ - *462
+ - *463
- name: codeql_variant_analysis_id
in: path
description: The unique identifier of the variant analysis.
@@ -76256,9 +75921,9 @@ paths:
description: Response
content:
application/json:
- schema: *567
+ schema: *563
examples:
- default: *566
+ default: *562
'404': *6
'503': *195
x-github:
@@ -76281,7 +75946,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:
- - *466
+ - *462
- name: repo
in: path
description: The name of the controller repository.
@@ -76316,7 +75981,7 @@ paths:
type: object
properties:
repository: *119
- analysis_status: *568
+ analysis_status: *564
artifact_size_in_bytes:
type: integer
description: The size of the artifact. This is only available
@@ -76441,8 +76106,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -76527,7 +76192,7 @@ paths:
threat_model: remote
updated_at: '2023-01-19T11:21:34Z'
schedule: weekly
- '403': *546
+ '403': *542
'404': *6
'503': *195
x-github:
@@ -76548,8 +76213,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -76641,7 +76306,7 @@ paths:
value:
run_id: 42
run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42
- '403': *552
+ '403': *548
'404': *6
'409':
description: Response if there is already a validation run in progress with
@@ -76712,8 +76377,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -76721,7 +76386,7 @@ paths:
schema:
type: object
properties:
- commit_sha: *569
+ commit_sha: *565
ref:
type: string
description: |-
@@ -76779,7 +76444,7 @@ paths:
schema:
type: object
properties:
- id: *560
+ id: *556
url:
type: string
description: The REST API URL for checking the status of the upload.
@@ -76793,7 +76458,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': *552
+ '403': *548
'404': *6
'413':
description: Payload Too Large if the sarif field is too large
@@ -76816,8 +76481,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:
- - *466
- - *467
+ - *462
+ - *463
- name: sarif_id
description: The SARIF ID obtained after uploading.
in: path
@@ -76863,7 +76528,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': *546
+ '403': *542
'404':
description: Not Found if the sarif id does not match any upload
'503': *195
@@ -76888,8 +76553,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -76970,8 +76635,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors
parameters:
- - *466
- - *467
+ - *462
+ - *463
- 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
@@ -77091,8 +76756,8 @@ paths:
parameters:
- *17
- *19
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -77406,8 +77071,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -77472,7 +77137,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -77480,7 +77145,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'400': *14
'401': *25
'403': *29
@@ -77509,8 +77174,8 @@ paths:
parameters:
- *17
- *19
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -77574,8 +77239,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:
- - *466
- - *467
+ - *462
+ - *463
- name: location
description: The location to check for available machines. Assigned by IP
if not provided.
@@ -77614,8 +77279,8 @@ paths:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: *571
- required: *572
+ properties: *567
+ required: *568
examples:
default: &815
value:
@@ -77657,8 +77322,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ref
description: The branch or commit to check for a default devcontainer path.
If not specified, the default branch will be checked.
@@ -77742,8 +77407,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:
- - *466
- - *467
+ - *462
+ - *463
- 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
@@ -77809,8 +77474,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -77828,7 +77493,7 @@ paths:
type: integer
secrets:
type: array
- items: &576
+ items: &572
title: Codespaces Secret
description: Set repository secrets for GitHub Codespaces.
type: object
@@ -77848,7 +77513,7 @@ paths:
- created_at
- updated_at
examples:
- default: *573
+ default: *569
headers:
Link: *47
x-github:
@@ -77871,16 +77536,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *574
+ schema: *570
examples:
- default: *575
+ default: *571
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -77900,17 +77565,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'200':
description: Response
content:
application/json:
- schema: *576
+ schema: *572
examples:
- default: *577
+ default: *573
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -77930,8 +77595,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:
- - *466
- - *467
+ - *462
+ - *463
- *293
requestBody:
required: true
@@ -77984,8 +77649,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'204':
@@ -78014,8 +77679,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: affiliation
description: Filter collaborators returned by their affiliation. `outside`
means all outside collaborators of an organization-owned repository. `direct`
@@ -78057,7 +77722,7 @@ paths:
title: Collaborator
description: Collaborator
type: object
- properties: &578
+ properties: &574
login:
type: string
example: octocat
@@ -78150,7 +77815,7 @@ paths:
user_view_type:
type: string
example: public
- required: &579
+ required: &575
- avatar_url
- events_url
- followers_url
@@ -78224,8 +77889,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:
- - *466
- - *467
+ - *462
+ - *463
- *142
responses:
'204':
@@ -78272,8 +77937,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *142
requestBody:
required: false
@@ -78300,7 +77965,7 @@ paths:
description: Response when a new invitation is created
content:
application/json:
- schema: &656
+ schema: &654
title: Repository Invitation
description: Repository invitations let you manage who you collaborate
with.
@@ -78529,8 +78194,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *142
responses:
'204':
@@ -78562,8 +78227,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *142
responses:
'200':
@@ -78584,8 +78249,8 @@ paths:
title: Collaborator
description: Collaborator
type: object
- properties: *578
- required: *579
+ properties: *574
+ required: *575
nullable: true
required:
- permission
@@ -78640,8 +78305,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -78651,7 +78316,7 @@ paths:
application/json:
schema:
type: array
- items: &580
+ items: &576
title: Commit Comment
description: Commit Comment
type: object
@@ -78709,7 +78374,7 @@ paths:
- created_at
- updated_at
examples:
- default: &583
+ default: &581
value:
- html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1
url: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -78768,17 +78433,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'200':
description: Response
content:
application/json:
- schema: *580
+ schema: *576
examples:
- default: &584
+ default: &582
value:
html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1
url: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -78835,8 +78500,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -78859,7 +78524,7 @@ paths:
description: Response
content:
application/json:
- schema: *580
+ schema: *576
examples:
default:
value:
@@ -78910,8 +78575,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'204':
@@ -78933,8 +78598,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -78961,9 +78626,74 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: &577
+ 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
+ example: 1
+ node_id:
+ type: string
+ example: MDg6UmVhY3Rpb24x
+ user:
+ title: Simple User
+ description: A GitHub user.
+ type: object
+ properties: *20
+ required: *21
+ nullable: true
+ content:
+ description: The reaction to use
+ example: heart
+ type: string
+ enum:
+ - "+1"
+ - "-1"
+ - laugh
+ - confused
+ - heart
+ - hooray
+ - rocket
+ - eyes
+ created_at:
+ type: string
+ format: date-time
+ example: '2016-05-20T20:09:31Z'
+ required:
+ - id
+ - node_id
+ - user
+ - content
+ - created_at
examples:
- default: *459
+ default: &658
+ 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: *47
'404': *6
@@ -78984,8 +78714,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -79018,16 +78748,40 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: &578
+ 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: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -79049,10 +78803,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- - *460
+ - &659
+ name: reaction_id
+ description: The unique identifier of the reaction.
+ in: path
+ required: true
+ schema:
+ type: integer
responses:
'204':
description: Response
@@ -79101,8 +78861,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sha
description: 'SHA or branch to start listing commits from. Default: the repository’s
default branch (usually `main`).'
@@ -79158,7 +78918,7 @@ paths:
application/json:
schema:
type: array
- items: *581
+ items: *579
examples:
default: &708
value:
@@ -79254,9 +79014,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit
parameters:
- - *466
- - *467
- - &582
+ - *462
+ - *463
+ - &580
name: commit_sha
description: The SHA of the commit.
in: path
@@ -79328,9 +79088,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments
parameters:
- - *466
- - *467
- - *582
+ - *462
+ - *463
+ - *580
- *17
- *19
responses:
@@ -79340,9 +79100,9 @@ paths:
application/json:
schema:
type: array
- items: *580
+ items: *576
examples:
- default: *583
+ default: *581
headers:
Link: *47
x-github:
@@ -79370,9 +79130,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment
parameters:
- - *466
- - *467
- - *582
+ - *462
+ - *463
+ - *580
requestBody:
required: true
content:
@@ -79407,9 +79167,9 @@ paths:
description: Response
content:
application/json:
- schema: *580
+ schema: *576
examples:
- default: *584
+ default: *582
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/comments/1
@@ -79437,9 +79197,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:
- - *466
- - *467
- - *582
+ - *462
+ - *463
+ - *580
- *17
- *19
responses:
@@ -79449,7 +79209,7 @@ paths:
application/json:
schema:
type: array
- items: *585
+ items: *583
examples:
default: &700
value:
@@ -79988,11 +79748,11 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *19
- *17
- - &586
+ - &584
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)"
@@ -80007,7 +79767,7 @@ paths:
description: Response
content:
application/json:
- schema: *581
+ schema: *579
examples:
default: &685
value:
@@ -80122,11 +79882,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:
- - *466
- - *467
+ - *462
+ - *463
+ - *584
+ - *585
- *586
- - *587
- - *588
- name: filter
description: Filters check runs by their `completed_at` timestamp. `latest`
returns the most recent check runs.
@@ -80160,9 +79920,9 @@ paths:
type: integer
check_runs:
type: array
- items: *530
+ items: *526
examples:
- default: *589
+ default: *587
headers:
Link: *47
x-github:
@@ -80187,9 +79947,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:
- - *466
- - *467
- - *586
+ - *462
+ - *463
+ - *584
- name: app_id
description: Filters check suites by GitHub App `id`.
in: query
@@ -80197,7 +79957,7 @@ paths:
schema:
type: integer
example: 1
- - *587
+ - *585
- *17
- *19
responses:
@@ -80215,7 +79975,7 @@ paths:
type: integer
check_suites:
type: array
- items: *535
+ items: *531
examples:
default:
value:
@@ -80415,9 +80175,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:
- - *466
- - *467
- - *586
+ - *462
+ - *463
+ - *584
- *17
- *19
responses:
@@ -80615,9 +80375,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference
parameters:
- - *466
- - *467
- - *586
+ - *462
+ - *463
+ - *584
- *17
- *19
responses:
@@ -80708,7 +80468,7 @@ paths:
site_admin: false
headers:
Link: *47
- '301': *472
+ '301': *468
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -80736,8 +80496,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -80766,20 +80526,20 @@ paths:
title: Code Of Conduct Simple
description: Code of Conduct Simple
type: object
- properties: *590
- required: *591
+ properties: *588
+ required: *589
nullable: true
code_of_conduct_file:
title: Community Health File
type: object
- properties: &592
+ properties: &590
url:
type: string
format: uri
html_url:
type: string
format: uri
- required: &593
+ required: &591
- url
- html_url
nullable: true
@@ -80793,26 +80553,26 @@ paths:
contributing:
title: Community Health File
type: object
- properties: *592
- required: *593
+ properties: *590
+ required: *591
nullable: true
readme:
title: Community Health File
type: object
- properties: *592
- required: *593
+ properties: *590
+ required: *591
nullable: true
issue_template:
title: Community Health File
type: object
- properties: *592
- required: *593
+ properties: *590
+ required: *591
nullable: true
pull_request_template:
title: Community Health File
type: object
- properties: *592
- required: *593
+ properties: *590
+ required: *591
nullable: true
required:
- code_of_conduct
@@ -80939,8 +80699,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *19
- *17
- name: basehead
@@ -80983,8 +80743,8 @@ paths:
type: string
format: uri
example: https://github.com/octocat/Hello-World/compare/master...topic.patch
- base_commit: *581
- merge_base_commit: *581
+ base_commit: *579
+ merge_base_commit: *579
status:
type: string
enum:
@@ -81004,10 +80764,10 @@ paths:
example: 6
commits:
type: array
- items: *581
+ items: *579
files:
type: array
- items: *594
+ items: *592
required:
- url
- html_url
@@ -81293,8 +81053,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: path
description: path parameter
in: path
@@ -81437,7 +81197,7 @@ paths:
- type
- url
examples:
- response-if-content-is-a-file: &595
+ response-if-content-is-a-file: &593
summary: Response if content is a file
value:
type: file
@@ -81770,7 +81530,7 @@ paths:
- url
- submodule_git_url
examples:
- response-if-content-is-a-file: *595
+ response-if-content-is-a-file: *593
response-if-content-is-a-directory:
summary: Response if content is a directory and the application/json
media type is requested
@@ -81839,7 +81599,7 @@ paths:
html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9
'404': *6
'403': *29
- '302': *596
+ '302': *594
'304': *37
x-github:
githubCloudOnly: false
@@ -81862,8 +81622,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: path
description: path parameter
in: path
@@ -81956,7 +81716,7 @@ paths:
description: Response
content:
application/json:
- schema: &597
+ schema: &595
title: File Commit
description: File Commit
type: object
@@ -82108,7 +81868,7 @@ paths:
description: Response
content:
application/json:
- schema: *597
+ schema: *595
examples:
example-for-creating-a-file:
value:
@@ -82162,7 +81922,7 @@ paths:
schema:
oneOf:
- *3
- - &638
+ - &636
description: Repository rule violation was detected
type: object
properties:
@@ -82215,8 +81975,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: path
description: path parameter
in: path
@@ -82277,7 +82037,7 @@ paths:
description: Response
content:
application/json:
- schema: *597
+ schema: *595
examples:
default:
value:
@@ -82332,8 +82092,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: anon
description: Set to `1` or `true` to include anonymous contributors in results.
in: query
@@ -82456,8 +82216,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *332
- *333
- *334
@@ -82469,7 +82229,7 @@ paths:
schema:
type: string
- *336
- - *598
+ - *596
- *337
- *338
- *110
@@ -82490,7 +82250,7 @@ paths:
application/json:
schema:
type: array
- items: &602
+ items: &600
type: object
description: A Dependabot alert.
properties:
@@ -82536,7 +82296,7 @@ paths:
- unknown
- direct
- transitive
- security_advisory: *599
+ security_advisory: *597
security_vulnerability: *131
url: *132
html_url: *133
@@ -82567,8 +82327,8 @@ paths:
nullable: true
maxLength: 280
fixed_at: *137
- auto_dismissed_at: *600
- dismissal_request: *601
+ auto_dismissed_at: *598
+ dismissal_request: *599
required:
- number
- state
@@ -82798,9 +82558,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert
parameters:
- - *466
- - *467
- - &603
+ - *462
+ - *463
+ - &601
name: alert_number
in: path
description: |-
@@ -82815,7 +82575,7 @@ paths:
description: Response
content:
application/json:
- schema: *602
+ schema: *600
examples:
default:
value:
@@ -82928,9 +82688,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert
parameters:
- - *466
- - *467
- - *603
+ - *462
+ - *463
+ - *601
requestBody:
required: true
content:
@@ -82975,7 +82735,7 @@ paths:
description: Response
content:
application/json:
- schema: *602
+ schema: *600
examples:
default:
value:
@@ -83104,8 +82864,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -83123,7 +82883,7 @@ paths:
type: integer
secrets:
type: array
- items: &606
+ items: &604
title: Dependabot Secret
description: Set secrets for Dependabot.
type: object
@@ -83176,16 +82936,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: *604
+ schema: *602
examples:
- default: *605
+ default: *603
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -83205,15 +82965,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'200':
description: Response
content:
application/json:
- schema: *606
+ schema: *604
examples:
default:
value:
@@ -83239,8 +82999,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
requestBody:
required: true
@@ -83293,8 +83053,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *293
responses:
'204':
@@ -83317,8 +83077,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:
- - *466
- - *467
+ - *462
+ - *463
- 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
@@ -83478,8 +83238,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -83718,8 +83478,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -83794,7 +83554,7 @@ paths:
- version
- url
additionalProperties: false
- metadata: &607
+ metadata: &605
title: metadata
description: User-defined metadata to store domain-specific information
limited to 8 keys with scalar values.
@@ -83827,7 +83587,7 @@ paths:
the root of the Git repository.
example: "/src/build/package-lock.json"
additionalProperties: false
- metadata: *607
+ metadata: *605
resolved:
type: object
description: A collection of resolved package dependencies.
@@ -83840,7 +83600,7 @@ paths:
for more details.
example: pkg:/npm/%40actions/http-client@1.0.11
pattern: "^pkg"
- metadata: *607
+ metadata: *605
relationship:
type: string
description: A notation of whether a dependency is requested
@@ -83969,8 +83729,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sha
description: The SHA recorded at creation time.
in: query
@@ -84010,9 +83770,9 @@ paths:
application/json:
schema:
type: array
- items: *608
+ items: *606
examples:
- default: *609
+ default: *607
headers:
Link: *47
x-github:
@@ -84078,8 +83838,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -84160,7 +83920,7 @@ paths:
description: Response
content:
application/json:
- schema: *608
+ schema: *606
examples:
simple-example:
summary: Simple example
@@ -84233,9 +83993,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment
parameters:
- - *466
- - *467
- - &610
+ - *462
+ - *463
+ - &608
name: deployment_id
description: deployment_id parameter
in: path
@@ -84247,7 +84007,7 @@ paths:
description: Response
content:
application/json:
- schema: *608
+ schema: *606
examples:
default:
value:
@@ -84312,9 +84072,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment
parameters:
- - *466
- - *467
- - *610
+ - *462
+ - *463
+ - *608
responses:
'204':
description: Response
@@ -84336,9 +84096,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses
parameters:
- - *466
- - *467
- - *610
+ - *462
+ - *463
+ - *608
- *17
- *19
responses:
@@ -84348,7 +84108,7 @@ paths:
application/json:
schema:
type: array
- items: &611
+ items: &609
title: Deployment Status
description: The status of a deployment.
type: object
@@ -84509,9 +84269,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status
parameters:
- - *466
- - *467
- - *610
+ - *462
+ - *463
+ - *608
requestBody:
required: true
content:
@@ -84586,9 +84346,9 @@ paths:
description: Response
content:
application/json:
- schema: *611
+ schema: *609
examples:
- default: &612
+ default: &610
value:
url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1
id: 1
@@ -84644,9 +84404,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status
parameters:
- - *466
- - *467
- - *610
+ - *462
+ - *463
+ - *608
- name: status_id
in: path
required: true
@@ -84657,9 +84417,9 @@ paths:
description: Response
content:
application/json:
- schema: *611
+ schema: *609
examples:
- default: *612
+ default: *610
'404': *6
x-github:
githubCloudOnly: false
@@ -84686,12 +84446,12 @@ paths:
category: code-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
+ - *611
+ - *612
- *613
- *614
- - *615
- - *616
- *17
- *19
responses:
@@ -84701,9 +84461,9 @@ paths:
application/json:
schema:
type: array
- items: *617
+ items: *615
examples:
- default: *618
+ default: *616
'404': *6
'403': *29
'500': *40
@@ -84727,8 +84487,8 @@ paths:
category: code-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -84740,7 +84500,7 @@ paths:
description: A single dismissal request.
content:
application/json:
- schema: *617
+ schema: *615
examples:
default:
value:
@@ -84796,8 +84556,8 @@ paths:
category: code-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -84856,12 +84616,12 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
+ - *611
+ - *612
- *613
- *614
- - *615
- - *616
- *17
- *19
responses:
@@ -84871,9 +84631,9 @@ paths:
application/json:
schema:
type: array
- items: *619
+ items: *617
examples:
- default: *620
+ default: *618
'404': *6
'403': *29
'500': *40
@@ -84897,8 +84657,8 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -84910,7 +84670,7 @@ paths:
description: A single dismissal request.
content:
application/json:
- schema: *619
+ schema: *617
examples:
default:
value:
@@ -84961,8 +84721,8 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85000,7 +84760,7 @@ paths:
description: The created dismissal request.
content:
application/json:
- schema: *619
+ schema: *617
examples:
default:
value:
@@ -85051,8 +84811,8 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85123,8 +84883,8 @@ paths:
category: dependabot
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85157,8 +84917,8 @@ paths:
category: secret-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *103
- *104
- *105
@@ -85172,9 +84932,9 @@ paths:
application/json:
schema:
type: array
- items: *621
+ items: *619
examples:
- default: *622
+ default: *620
'404': *6
'403': *29
'500': *40
@@ -85199,8 +84959,8 @@ paths:
category: secret-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85212,7 +84972,7 @@ paths:
description: A single dismissal request.
content:
application/json:
- schema: *621
+ schema: *619
examples:
default:
value:
@@ -85270,8 +85030,8 @@ paths:
category: secret-scanning
subcategory: alert-dismissal-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: alert_number
in: path
required: true
@@ -85340,8 +85100,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -85398,8 +85158,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -85416,7 +85176,7 @@ paths:
type: integer
environments:
type: array
- items: &624
+ items: &622
title: Environment
description: Details of a deployment environment
type: object
@@ -85468,7 +85228,7 @@ paths:
type:
type: string
example: wait_timer
- wait_timer: &626
+ wait_timer: &624
type: integer
example: 30
description: The amount of time to delay a job after
@@ -85505,7 +85265,7 @@ paths:
items:
type: object
properties:
- type: *623
+ type: *621
reviewer:
anyOf:
- *4
@@ -85529,7 +85289,7 @@ paths:
- id
- node_id
- type
- deployment_branch_policy: &627
+ deployment_branch_policy: &625
type: object
description: The type of deployment branch policy for this
environment. To allow all branches to deploy, set to `null`.
@@ -85645,9 +85405,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment
parameters:
- - *466
- - *467
- - &625
+ - *462
+ - *463
+ - &623
name: environment_name
in: path
required: true
@@ -85660,9 +85420,9 @@ paths:
description: Response
content:
application/json:
- schema: *624
+ schema: *622
examples:
- default: &628
+ default: &626
value:
id: 161088068
node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4
@@ -85746,9 +85506,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
requestBody:
required: false
content:
@@ -85757,7 +85517,7 @@ paths:
type: object
nullable: true
properties:
- wait_timer: *626
+ wait_timer: *624
prevent_self_review:
type: boolean
example: false
@@ -85774,13 +85534,13 @@ paths:
items:
type: object
properties:
- type: *623
+ type: *621
id:
type: integer
description: The id of the user or team who can review the
deployment
example: 4532992
- deployment_branch_policy: *627
+ deployment_branch_policy: *625
additionalProperties: false
examples:
default:
@@ -85800,9 +85560,9 @@ paths:
description: Response
content:
application/json:
- schema: *624
+ schema: *622
examples:
- default: *628
+ default: *626
'422':
description: Validation error when the environment name is invalid or when
`protected_branches` and `custom_branch_policies` in `deployment_branch_policy`
@@ -85826,9 +85586,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
responses:
'204':
description: Default response
@@ -85853,9 +85613,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *17
- *19
responses:
@@ -85873,7 +85633,7 @@ paths:
example: 2
branch_policies:
type: array
- items: &629
+ items: &627
title: Deployment branch policy
description: Details of a deployment branch or tag policy.
type: object
@@ -85930,9 +85690,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
requestBody:
required: true
content:
@@ -85978,9 +85738,9 @@ paths:
description: Response
content:
application/json:
- schema: *629
+ schema: *627
examples:
- example-wildcard: &630
+ example-wildcard: &628
value:
id: 364662
node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI=
@@ -86022,10 +85782,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy
parameters:
- - *466
- - *467
- - *625
- - &631
+ - *462
+ - *463
+ - *623
+ - &629
name: branch_policy_id
in: path
required: true
@@ -86037,9 +85797,9 @@ paths:
description: Response
content:
application/json:
- schema: *629
+ schema: *627
examples:
- default: *630
+ default: *628
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86058,10 +85818,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy
parameters:
- - *466
- - *467
- - *625
- - *631
+ - *462
+ - *463
+ - *623
+ - *629
requestBody:
required: true
content:
@@ -86089,9 +85849,9 @@ paths:
description: Response
content:
application/json:
- schema: *629
+ schema: *627
examples:
- default: *630
+ default: *628
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86110,10 +85870,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy
parameters:
- - *466
- - *467
- - *625
- - *631
+ - *462
+ - *463
+ - *623
+ - *629
responses:
'204':
description: Response
@@ -86138,9 +85898,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:
- - *625
- - *467
- - *466
+ - *623
+ - *463
+ - *462
responses:
'200':
description: List of deployment protection rules
@@ -86156,7 +85916,7 @@ paths:
example: 10
custom_deployment_protection_rules:
type: array
- items: &632
+ items: &630
title: Deployment protection rule
description: Deployment protection rule
type: object
@@ -86175,7 +85935,7 @@ paths:
example: true
description: Whether the deployment protection rule is enabled
for the environment.
- app: &633
+ app: &631
title: Custom deployment protection rule app
description: A GitHub App that is providing a custom deployment
protection rule.
@@ -86274,9 +86034,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:
- - *625
- - *467
- - *466
+ - *623
+ - *463
+ - *462
requestBody:
content:
application/json:
@@ -86297,9 +86057,9 @@ paths:
description: The enabled custom deployment protection rule
content:
application/json:
- schema: *632
+ schema: *630
examples:
- default: &634
+ default: &632
value:
id: 3
node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv
@@ -86334,9 +86094,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:
- - *625
- - *467
- - *466
+ - *623
+ - *463
+ - *462
- *19
- *17
responses:
@@ -86355,7 +86115,7 @@ paths:
example: 35
available_custom_deployment_protection_rule_integrations:
type: array
- items: *633
+ items: *631
examples:
default:
value:
@@ -86390,10 +86150,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:
- - *466
- - *467
- - *625
- - &635
+ - *462
+ - *463
+ - *623
+ - &633
name: protection_rule_id
description: The unique identifier of the protection rule.
in: path
@@ -86405,9 +86165,9 @@ paths:
description: Response
content:
application/json:
- schema: *632
+ schema: *630
examples:
- default: *634
+ default: *632
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86428,10 +86188,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:
- - *625
- - *467
- - *466
- - *635
+ - *623
+ - *463
+ - *462
+ - *633
responses:
'204':
description: Response
@@ -86457,9 +86217,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *17
- *19
responses:
@@ -86477,9 +86237,9 @@ paths:
type: integer
secrets:
type: array
- items: *497
+ items: *493
examples:
- default: *498
+ default: *494
headers:
Link: *47
x-github:
@@ -86504,17 +86264,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
responses:
'200':
description: Response
content:
application/json:
- schema: *499
+ schema: *495
examples:
- default: *500
+ default: *496
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86536,18 +86296,18 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *293
responses:
'200':
description: Response
content:
application/json:
- schema: *497
+ schema: *493
examples:
- default: *636
+ default: *634
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86569,9 +86329,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *293
requestBody:
required: true
@@ -86629,9 +86389,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *293
responses:
'204':
@@ -86657,10 +86417,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables
parameters:
- - *466
- - *467
- - *625
- - *484
+ - *462
+ - *463
+ - *623
+ - *480
- *19
responses:
'200':
@@ -86677,9 +86437,9 @@ paths:
type: integer
variables:
type: array
- items: *501
+ items: *497
examples:
- default: *502
+ default: *498
headers:
Link: *47
x-github:
@@ -86702,9 +86462,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
requestBody:
required: true
content:
@@ -86756,18 +86516,18 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable
parameters:
- - *466
- - *467
- - *625
+ - *462
+ - *463
+ - *623
- *296
responses:
'200':
description: Response
content:
application/json:
- schema: *501
+ schema: *497
examples:
- default: *637
+ default: *635
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -86788,10 +86548,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
- - *625
+ - *623
requestBody:
required: true
content:
@@ -86833,10 +86593,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *296
- - *625
+ - *623
responses:
'204':
description: Response
@@ -86858,8 +86618,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -86927,8 +86687,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sort
description: The sort order. `stargazers` will sort by star count.
in: query
@@ -87087,8 +86847,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -87120,9 +86880,9 @@ paths:
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
+ default: *469
'400': *14
'422': *15
'403': *29
@@ -87143,8 +86903,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -87204,7 +86964,7 @@ paths:
schema:
oneOf:
- *258
- - *638
+ - *636
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -87229,8 +86989,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: file_sha
in: path
required: true
@@ -87329,8 +87089,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -87439,7 +87199,7 @@ paths:
description: Response
content:
application/json:
- schema: &639
+ schema: &637
title: Git Commit
description: Low-level Git commit operations within a repository
type: object
@@ -87653,15 +87413,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object
parameters:
- - *466
- - *467
- - *582
+ - *462
+ - *463
+ - *580
responses:
'200':
description: Response
content:
application/json:
- schema: *639
+ schema: *637
examples:
default:
value:
@@ -87717,9 +87477,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references
parameters:
- - *466
- - *467
- - &640
+ - *462
+ - *463
+ - &638
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.
@@ -87736,7 +87496,7 @@ paths:
application/json:
schema:
type: array
- items: &641
+ items: &639
title: Git Reference
description: Git references within a repository
type: object
@@ -87811,17 +87571,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference
parameters:
- - *466
- - *467
- - *640
+ - *462
+ - *463
+ - *638
responses:
'200':
description: Response
content:
application/json:
- schema: *641
+ schema: *639
examples:
- default: &642
+ default: &640
value:
ref: refs/heads/featureA
node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ==
@@ -87850,8 +87610,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -87880,9 +87640,9 @@ paths:
description: Response
content:
application/json:
- schema: *641
+ schema: *639
examples:
- default: *642
+ default: *640
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA
@@ -87908,9 +87668,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference
parameters:
- - *466
- - *467
- - *640
+ - *462
+ - *463
+ - *638
requestBody:
required: true
content:
@@ -87939,9 +87699,9 @@ paths:
description: Response
content:
application/json:
- schema: *641
+ schema: *639
examples:
- default: *642
+ default: *640
'422': *15
'409': *118
x-github:
@@ -87959,9 +87719,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference
parameters:
- - *466
- - *467
- - *640
+ - *462
+ - *463
+ - *638
responses:
'204':
description: Response
@@ -88016,8 +87776,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -88084,7 +87844,7 @@ paths:
description: Response
content:
application/json:
- schema: &644
+ schema: &642
title: Git Tag
description: Metadata for a Git tag
type: object
@@ -88135,7 +87895,7 @@ paths:
- sha
- type
- url
- verification: *643
+ verification: *641
required:
- sha
- url
@@ -88145,7 +87905,7 @@ paths:
- tag
- message
examples:
- default: &645
+ default: &643
value:
node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw==
tag: v0.0.1
@@ -88218,8 +87978,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: tag_sha
in: path
required: true
@@ -88230,9 +87990,9 @@ paths:
description: Response
content:
application/json:
- schema: *644
+ schema: *642
examples:
- default: *645
+ default: *643
'404': *6
'409': *118
x-github:
@@ -88256,8 +88016,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -88330,7 +88090,7 @@ paths:
description: Response
content:
application/json:
- schema: &646
+ schema: &644
title: Git Tree
description: The hierarchy between files in a Git repository.
type: object
@@ -88426,8 +88186,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: tree_sha
description: The SHA1 value or ref (branch or tag) name of the tree.
in: path
@@ -88450,7 +88210,7 @@ paths:
description: Response
content:
application/json:
- schema: *646
+ schema: *644
examples:
default-response:
summary: Default response
@@ -88509,8 +88269,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -88520,7 +88280,7 @@ paths:
application/json:
schema:
type: array
- items: &647
+ items: &645
title: Webhook
description: Webhooks for repositories.
type: object
@@ -88574,7 +88334,7 @@ paths:
type: string
format: uri
example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries
- last_response: &905
+ last_response: &906
title: Hook Response
type: object
properties:
@@ -88648,8 +88408,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -88701,9 +88461,9 @@ paths:
description: Response
content:
application/json:
- schema: *647
+ schema: *645
examples:
- default: &648
+ default: &646
value:
type: Repository
id: 12345678
@@ -88751,17 +88511,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'200':
description: Response
content:
application/json:
- schema: *647
+ schema: *645
examples:
- default: *648
+ default: *646
'404': *6
x-github:
githubCloudOnly: false
@@ -88781,8 +88541,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
requestBody:
required: true
@@ -88828,9 +88588,9 @@ paths:
description: Response
content:
application/json:
- schema: *647
+ schema: *645
examples:
- default: *648
+ default: *646
'422': *15
'404': *6
x-github:
@@ -88851,8 +88611,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'204':
@@ -88877,8 +88637,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:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'200':
@@ -88906,8 +88666,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:
- - *466
- - *467
+ - *462
+ - *463
- *348
requestBody:
required: false
@@ -88952,8 +88712,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
- *17
- *349
@@ -88985,8 +88745,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:
- - *466
- - *467
+ - *462
+ - *463
- *348
- *16
responses:
@@ -89015,8 +88775,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:
- - *466
- - *467
+ - *462
+ - *463
- *348
- *16
responses:
@@ -89040,8 +88800,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'204':
@@ -89067,8 +88827,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *348
responses:
'204':
@@ -89092,8 +88852,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response if immutable releases are enabled
@@ -89139,8 +88899,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204': *154
'409': *118
@@ -89160,8 +88920,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204': *154
'409': *118
@@ -89218,14 +88978,14 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
content:
application/json:
- schema: &649
+ schema: &647
title: Import
description: A repository import from an external source.
type: object
@@ -89324,7 +89084,7 @@ paths:
- html_url
- authors_url
examples:
- default: &652
+ default: &650
value:
vcs: subversion
use_lfs: true
@@ -89340,7 +89100,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': &650
+ '503': &648
description: Unavailable due to service under maintenance.
content:
application/json:
@@ -89369,8 +89129,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -89418,7 +89178,7 @@ paths:
description: Response
content:
application/json:
- schema: *649
+ schema: *647
examples:
default:
value:
@@ -89443,7 +89203,7 @@ paths:
type: string
'422': *15
'404': *6
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89471,8 +89231,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -89521,7 +89281,7 @@ paths:
description: Response
content:
application/json:
- schema: *649
+ schema: *647
examples:
example-1:
summary: Example 1
@@ -89569,7 +89329,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': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89592,12 +89352,12 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89623,8 +89383,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &836
name: since
description: A user ID. Only return users with an ID greater than this ID.
@@ -89639,7 +89399,7 @@ paths:
application/json:
schema:
type: array
- items: &651
+ items: &649
title: Porter Author
description: Porter Author
type: object
@@ -89693,7 +89453,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': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89718,8 +89478,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: author_id
in: path
required: true
@@ -89749,7 +89509,7 @@ paths:
description: Response
content:
application/json:
- schema: *651
+ schema: *649
examples:
default:
value:
@@ -89762,7 +89522,7 @@ paths:
import_url: https://api.github.com/repos/octocat/socm/import
'422': *15
'404': *6
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89786,8 +89546,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -89828,7 +89588,7 @@ paths:
path: foo/bar/3
oid: c20ad4d76fe97759aa27a0c99bff6710
size: 12582912
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89856,8 +89616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -89884,11 +89644,11 @@ paths:
description: Response
content:
application/json:
- schema: *649
+ schema: *647
examples:
- default: *652
+ default: *650
'422': *15
- '503': *650
+ '503': *648
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -89911,8 +89671,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -89920,8 +89680,8 @@ paths:
application/json:
schema: *22
examples:
- default: *653
- '301': *472
+ default: *651
+ '301': *468
'404': *6
x-github:
githubCloudOnly: false
@@ -89941,8 +89701,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -89955,7 +89715,7 @@ paths:
properties: {}
additionalProperties: false
examples:
- default: &655
+ default: &653
value:
limit: collaborators_only
origin: repository
@@ -89980,13 +89740,13 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
application/json:
- schema: *654
+ schema: *652
examples:
default:
summary: Example request body
@@ -90000,7 +89760,7 @@ paths:
application/json:
schema: *366
examples:
- default: *655
+ default: *653
'409':
description: Response
x-github:
@@ -90022,8 +89782,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -90046,8 +89806,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -90057,7 +89817,7 @@ paths:
application/json:
schema:
type: array
- items: *656
+ items: *654
examples:
default: &829
value:
@@ -90190,8 +89950,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *370
requestBody:
required: false
@@ -90221,7 +89981,7 @@ paths:
description: Response
content:
application/json:
- schema: *656
+ schema: *654
examples:
default:
value:
@@ -90352,8 +90112,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *370
responses:
'204':
@@ -90385,8 +90145,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues
parameters:
- - *466
- - *467
+ - *462
+ - *463
- 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
@@ -90607,7 +90367,7 @@ paths:
state_reason: completed
headers:
Link: *47
- '301': *472
+ '301': *468
'422': *15
'404': *6
x-github:
@@ -90636,8 +90396,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -90877,7 +90637,7 @@ paths:
'422': *15
'503': *195
'404': *6
- '410': *657
+ '410': *655
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -90905,8 +90665,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *244
- name: direction
description: Either `asc` or `desc`. Ignored without the `sort` parameter.
@@ -90927,7 +90687,7 @@ paths:
application/json:
schema:
type: array
- items: *658
+ items: *656
examples:
default: &665
value:
@@ -90987,17 +90747,17 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'200':
description: Response
content:
application/json:
- schema: *658
+ schema: *656
examples:
- default: &659
+ default: &657
value:
id: 1
node_id: MDEyOklzc3VlQ29tbWVudDE=
@@ -91051,8 +90811,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -91075,9 +90835,9 @@ paths:
description: Response
content:
application/json:
- schema: *658
+ schema: *656
examples:
- default: *659
+ default: *657
'422': *15
x-github:
githubCloudOnly: false
@@ -91095,8 +90855,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'204':
@@ -91117,8 +90877,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -91145,9 +90905,9 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: *577
examples:
- default: *459
+ default: *658
headers:
Link: *47
'404': *6
@@ -91168,8 +90928,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -91202,16 +90962,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'201':
description: Reaction created
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -91233,10 +90993,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- - *460
+ - *659
responses:
'204':
description: Response
@@ -91256,8 +91016,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -91618,8 +91378,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: event_id
in: path
required: true
@@ -91822,7 +91582,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
'404': *6
- '410': *657
+ '410': *655
'403': *29
x-github:
githubCloudOnly: false
@@ -91856,8 +91616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &664
name: issue_number
description: The number that identifies the issue.
@@ -91873,9 +91633,9 @@ paths:
schema: *220
examples:
default: *663
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
'304': *37
x-github:
githubCloudOnly: false
@@ -91900,8 +91660,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -92012,9 +91772,9 @@ paths:
'422': *15
'503': *195
'403': *29
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -92032,8 +91792,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -92078,8 +91838,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
content:
@@ -92129,8 +91889,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
- name: assignee
in: path
@@ -92171,8 +91931,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *227
- *17
@@ -92184,13 +91944,13 @@ paths:
application/json:
schema:
type: array
- items: *658
+ items: *656
examples:
default: *665
headers:
Link: *47
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -92219,8 +91979,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -92243,16 +92003,16 @@ paths:
description: Response
content:
application/json:
- schema: *658
+ schema: *656
examples:
- default: *659
+ default: *657
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1
schema:
type: string
'403': *29
- '410': *657
+ '410': *655
'422': *15
'404': *6
x-github:
@@ -92280,8 +92040,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -92297,9 +92057,9 @@ paths:
default: *666
headers:
Link: *47
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -92327,8 +92087,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -92359,9 +92119,9 @@ paths:
example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by
schema:
type: string
- '301': *472
+ '301': *468
'403': *29
- '410': *657
+ '410': *655
'422': *15
'404': *6
x-github:
@@ -92392,8 +92152,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
- name: issue_id
in: path
@@ -92409,12 +92169,12 @@ paths:
schema: *220
examples:
default: *663
- '301': *472
+ '301': *468
'400': *14
'401': *25
'403': *29
'404': *6
- '410': *657
+ '410': *655
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -92440,8 +92200,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:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -92457,9 +92217,9 @@ paths:
default: *666
headers:
Link: *47
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -92476,8 +92236,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -93329,7 +93089,7 @@ paths:
color: red
headers:
Link: *47
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93346,8 +93106,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -93378,9 +93138,9 @@ paths:
default: false
headers:
Link: *47
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93397,8 +93157,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -93461,9 +93221,9 @@ paths:
items: *219
examples:
default: *667
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
'422': *15
x-github:
githubCloudOnly: false
@@ -93480,8 +93240,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -93545,9 +93305,9 @@ paths:
items: *219
examples:
default: *667
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
'422': *15
x-github:
githubCloudOnly: false
@@ -93564,15 +93324,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
responses:
'204':
description: Response
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93591,8 +93351,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- name: name
in: path
@@ -93617,9 +93377,9 @@ paths:
description: Something isn't working
color: f29513
default: true
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93639,8 +93399,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: false
@@ -93669,7 +93429,7 @@ paths:
'204':
description: Response
'403': *29
- '410': *657
+ '410': *655
'404': *6
'422': *15
x-github:
@@ -93687,8 +93447,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
responses:
'204':
@@ -93719,8 +93479,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
responses:
'200':
@@ -93730,9 +93490,9 @@ paths:
schema: *220
examples:
default: *663
- '301': *472
+ '301': *468
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93749,8 +93509,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -93777,13 +93537,13 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: *577
examples:
- default: *459
+ default: *658
headers:
Link: *47
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -93801,8 +93561,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -93835,16 +93595,16 @@ paths:
description: Response
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'201':
description: Response
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -93866,10 +93626,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- - *460
+ - *659
responses:
'204':
description: Response
@@ -93898,8 +93658,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -93957,8 +93717,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -93975,7 +93735,7 @@ paths:
headers:
Link: *47
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -94003,8 +93763,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -94041,7 +93801,7 @@ paths:
schema:
type: string
'403': *29
- '410': *657
+ '410': *655
'422': *15
'404': *6
x-github:
@@ -94061,8 +93821,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
requestBody:
required: true
@@ -94118,8 +93878,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *664
- *17
- *19
@@ -94665,7 +94425,7 @@ paths:
type: string
comments:
type: array
- items: *580
+ items: *576
- title: Timeline Assigned Issue Event
description: Timeline Assigned Issue Event
type: object
@@ -94954,7 +94714,7 @@ paths:
headers:
Link: *47
'404': *6
- '410': *657
+ '410': *655
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -94971,8 +94731,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -95048,8 +94808,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95121,8 +94881,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &683
name: key_id
description: The unique identifier of the key.
@@ -95155,8 +94915,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *683
responses:
'204':
@@ -95177,8 +94937,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -95211,8 +94971,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95282,8 +95042,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: name
in: path
required: true
@@ -95313,8 +95073,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: name
in: path
required: true
@@ -95379,8 +95139,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: name
in: path
required: true
@@ -95406,8 +95166,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -95443,8 +95203,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'202': *39
'403':
@@ -95472,8 +95232,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -95499,9 +95259,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository
parameters:
- - *466
- - *467
- - *553
+ - *462
+ - *463
+ - *549
responses:
'200':
description: Response
@@ -95646,8 +95406,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95712,8 +95472,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95747,7 +95507,7 @@ paths:
description: Successful Response (The resulting merge commit)
content:
application/json:
- schema: *581
+ schema: *579
examples:
default: *685
'204':
@@ -95774,8 +95534,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: state
description: The state of the milestone. Either `open`, `closed`, or `all`.
in: query
@@ -95877,8 +95637,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -95979,8 +95739,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &688
name: milestone_number
description: The number that identifies the milestone.
@@ -96012,8 +95772,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *688
requestBody:
required: false
@@ -96070,8 +95830,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *688
responses:
'204':
@@ -96093,8 +95853,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:
- - *466
- - *467
+ - *462
+ - *463
- *688
- *17
- *19
@@ -96126,8 +95886,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:
- - *466
- - *467
+ - *462
+ - *463
- *689
- *690
- *227
@@ -96167,8 +95927,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -96226,8 +95986,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -96399,8 +96159,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -96479,8 +96239,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -96587,8 +96347,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -96614,8 +96374,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -96719,8 +96479,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'201':
description: Response
@@ -96765,8 +96525,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -96822,8 +96582,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: build_id
in: path
required: true
@@ -96856,8 +96616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -96962,8 +96722,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:
- - *466
- - *467
+ - *462
+ - *463
- &697
name: pages_deployment_id
description: The ID of the Pages deployment. You can also give the commit
@@ -97022,8 +96782,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *697
responses:
'204': *154
@@ -97051,8 +96811,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -97310,8 +97070,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Private vulnerability reporting status
@@ -97348,8 +97108,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204': *154
'422': *14
@@ -97370,8 +97130,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204': *154
'422': *14
@@ -97393,8 +97153,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -97426,8 +97186,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -97481,8 +97241,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: state
description: Either `open`, `closed`, or `all` to filter by state.
in: query
@@ -97542,7 +97302,7 @@ paths:
application/json:
schema:
type: array
- items: *585
+ items: *583
examples:
default: *700
headers:
@@ -97576,8 +97336,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -98475,8 +98235,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sort
in: query
required: false
@@ -98584,8 +98344,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'200':
@@ -98669,8 +98429,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -98711,8 +98471,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
responses:
'204':
@@ -98734,8 +98494,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -98762,9 +98522,9 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: *577
examples:
- default: *459
+ default: *658
headers:
Link: *47
'404': *6
@@ -98785,8 +98545,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:
- - *466
- - *467
+ - *462
+ - *463
- *236
requestBody:
required: true
@@ -98819,16 +98579,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'201':
description: Reaction created
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -98850,10 +98610,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *236
- - *460
+ - *659
responses:
'204':
description: Response
@@ -98896,8 +98656,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &706
name: pull_number
description: The number that identifies the pull request.
@@ -98948,8 +98708,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -99016,8 +98776,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: true
@@ -99080,7 +98840,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -99088,7 +98848,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'401': *25
'403': *29
'404': *6
@@ -99118,8 +98878,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *244
- name: direction
@@ -99176,8 +98936,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: true
@@ -99371,8 +99131,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *236
requestBody:
@@ -99482,8 +99242,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *17
- *19
@@ -99494,7 +99254,7 @@ paths:
application/json:
schema:
type: array
- items: *581
+ items: *579
examples:
default: *708
headers:
@@ -99526,8 +99286,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *17
- *19
@@ -99538,7 +99298,7 @@ paths:
application/json:
schema:
type: array
- items: *594
+ items: *592
examples:
default:
value:
@@ -99576,8 +99336,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
responses:
'204':
@@ -99601,8 +99361,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -99714,8 +99474,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
responses:
'200':
@@ -99791,8 +99551,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -99830,7 +99590,7 @@ paths:
description: Response
content:
application/json:
- schema: *585
+ schema: *583
examples:
default:
value:
@@ -100366,8 +100126,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: true
@@ -100402,7 +100162,7 @@ paths:
description: Response
content:
application/json:
- schema: *585
+ schema: *583
examples:
default:
value:
@@ -100907,8 +100667,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *17
- *19
@@ -101070,8 +100830,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -101223,8 +100983,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- &710
name: review_id
@@ -101299,8 +101059,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
requestBody:
@@ -101387,8 +101147,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
responses:
@@ -101425,8 +101185,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
- *17
@@ -101663,8 +101423,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
requestBody:
@@ -101757,8 +101517,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:
- - *466
- - *467
+ - *462
+ - *463
- *706
- *710
requestBody:
@@ -101819,8 +101579,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *706
requestBody:
required: false
@@ -101884,8 +101644,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ref
description: 'The name of the commit/branch/tag. Default: the repository’s
default branch.'
@@ -101942,8 +101702,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:
- - *466
- - *467
+ - *462
+ - *463
- name: dir
description: The alternate path to look for a README file
in: path
@@ -101987,8 +101747,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -102092,8 +101852,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -102276,8 +102036,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &717
name: asset_id
description: The unique identifier of the asset.
@@ -102327,7 +102087,7 @@ paths:
type: User
site_admin: false
'404': *6
- '302': *596
+ '302': *594
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -102343,8 +102103,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *717
requestBody:
required: false
@@ -102391,8 +102151,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *717
responses:
'204':
@@ -102417,8 +102177,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -102503,8 +102263,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -102529,8 +102289,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: tag
description: tag parameter
in: path
@@ -102567,8 +102327,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &720
name: release_id
description: The unique identifier of the release.
@@ -102603,8 +102363,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
requestBody:
required: false
@@ -102692,8 +102452,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
responses:
'204':
@@ -102714,8 +102474,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
- *17
- *19
@@ -102808,8 +102568,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:
- - *466
- - *467
+ - *462
+ - *463
- *720
- name: name
in: query
@@ -102891,8 +102651,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions).
@@ -102917,9 +102677,9 @@ paths:
application/json:
schema:
type: array
- items: *457
+ items: *577
examples:
- default: *459
+ default: *658
headers:
Link: *47
'404': *6
@@ -102940,8 +102700,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
requestBody:
required: true
@@ -102972,16 +102732,16 @@ paths:
description: Reaction exists
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'201':
description: Reaction created
content:
application/json:
- schema: *457
+ schema: *577
examples:
- default: *458
+ default: *578
'422': *15
x-github:
githubCloudOnly: false
@@ -103003,10 +102763,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *720
- - *460
+ - *659
responses:
'204':
description: Response
@@ -103030,9 +102790,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch
parameters:
- - *466
- - *467
- - *519
+ - *462
+ - *463
+ - *515
- *17
- *19
responses:
@@ -103169,8 +102929,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
- name: includes_parents
@@ -103236,8 +102996,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
description: Request body
required: true
@@ -103346,8 +103106,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *725
- *105
- *726
@@ -103382,8 +103142,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *730
responses:
'200':
@@ -103420,8 +103180,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -103461,8 +103221,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -103544,8 +103304,8 @@ paths:
category: repos
subcategory: rules
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -103568,8 +103328,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
- name: ruleset_id
@@ -103606,8 +103366,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ruleset_id
description: The ID of the ruleset.
in: path
@@ -103680,8 +103440,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:
- - *466
- - *467
+ - *462
+ - *463
- *427
- *428
- *429
@@ -103968,9 +103728,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
- *435
responses:
'200':
@@ -104031,9 +103791,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
requestBody:
required: true
content:
@@ -104171,9 +103931,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:
- - *466
- - *467
- - *547
+ - *462
+ - *463
+ - *543
- *19
- *17
responses:
@@ -104184,7 +103944,7 @@ paths:
schema:
type: array
description: List of locations where the secret was detected
- items: &927
+ items: &928
type: object
properties:
type:
@@ -104308,8 +104068,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -104387,8 +104147,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'404':
description: Repository does not have GitHub Advanced Security or secret
@@ -104507,8 +104267,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *110
- name: sort
description: The property to sort the results by.
@@ -104577,8 +104337,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -104973,8 +104733,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -105225,8 +104985,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:
- - *466
- - *467
+ - *462
+ - *463
- *758
responses:
'200':
@@ -105259,8 +105019,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:
- - *466
- - *467
+ - *462
+ - *463
- *758
requestBody:
required: true
@@ -105461,8 +105221,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:
- - *466
- - *467
+ - *462
+ - *463
- *758
responses:
'202': *39
@@ -105490,17 +105250,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:
- - *466
- - *467
+ - *462
+ - *463
- *758
responses:
'202':
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
+ default: *469
'400': *14
'422': *15
'403': *29
@@ -105526,8 +105286,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -105626,8 +105386,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Returns a weekly aggregate of the number of additions and deletions
@@ -105669,8 +105429,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -105746,8 +105506,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -105843,8 +105603,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: The array order is oldest week (index 0) to most recent week.
@@ -105998,8 +105758,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: For example, `[2, 14, 25]` indicates that there were 25 total
@@ -106042,8 +105802,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: sha
in: path
required: true
@@ -106151,8 +105911,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -106184,8 +105944,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: if you subscribe to the repository
@@ -106259,8 +106019,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -106313,8 +106073,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -106334,8 +106094,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -106414,8 +106174,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -106475,8 +106235,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:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -106530,8 +106290,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:
- - *466
- - *467
+ - *462
+ - *463
- name: tag_protection_id
description: The unique identifier of the tag protection.
in: path
@@ -106568,8 +106328,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar
operationId: repos/download-tarball-archive
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ref
in: path
required: true
@@ -106605,8 +106365,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *17
- *19
responses:
@@ -106638,8 +106398,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *19
- *17
responses:
@@ -106682,8 +106442,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -106737,8 +106497,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones
parameters:
- - *466
- - *467
+ - *462
+ - *463
- &766
name: per
description: The time frame to display results for.
@@ -106856,8 +106616,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -106948,8 +106708,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Response
@@ -107010,8 +106770,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views
parameters:
- - *466
- - *467
+ - *462
+ - *463
- *766
responses:
'200':
@@ -107109,8 +106869,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository
parameters:
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: true
content:
@@ -107384,8 +107144,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response if repository is enabled with vulnerability alerts
@@ -107408,8 +107168,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -107431,8 +107191,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts
parameters:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -107458,8 +107218,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip
operationId: repos/download-zipball-archive
parameters:
- - *466
- - *467
+ - *462
+ - *463
- name: ref
in: path
required: true
@@ -107551,9 +107311,9 @@ paths:
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
+ default: *469
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World
@@ -110025,7 +109785,7 @@ paths:
description: Metaproperties for Git author/committer
information.
type: object
- properties: *517
+ properties: *513
nullable: true
comment_count:
type: integer
@@ -110045,7 +109805,7 @@ paths:
url:
type: string
format: uri
- verification: *643
+ verification: *641
required:
- author
- committer
@@ -110064,7 +109824,7 @@ paths:
title: Git User
description: Metaproperties for Git author/committer information.
type: object
- properties: *517
+ properties: *513
nullable: true
parents:
type: array
@@ -112266,246 +112026,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:
- - *799
- - *453
- - *456
- - 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: *457
- examples:
- default: *459
- headers:
- Link: *47
- 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:
- - *799
- - *453
- - *456
- 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: *457
- examples:
- default: *458
- 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:
- - *799
- - *453
- - 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: *457
- examples:
- default: *459
- headers:
- Link: *47
- 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:
- - *799
- - *453
- 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: *457
- examples:
- default: *458
- 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)
@@ -112731,7 +112251,7 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
response-if-user-is-a-team-maintainer: *804
'404': *6
@@ -112792,7 +112312,7 @@ paths:
description: Response
content:
application/json:
- schema: *465
+ schema: *461
examples:
response-if-users-membership-with-team-is-now-pending: *805
'403':
@@ -112899,8 +112419,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy
parameters:
- *799
- - *466
- - *467
+ - *462
+ - *463
responses:
'200':
description: Alternative response with extra repository information
@@ -113058,8 +112578,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy
parameters:
- *799
- - *466
- - *467
+ - *462
+ - *463
requestBody:
required: false
content:
@@ -113110,8 +112630,8 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy
parameters:
- *799
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -113146,9 +112666,9 @@ paths:
description: Response
content:
application/json:
- schema: *468
+ schema: *464
examples:
- default: *469
+ default: *465
'403': *29
'404': *6
x-github:
@@ -113232,7 +112752,7 @@ paths:
description: Response
content:
application/json:
- schema: *468
+ schema: *464
examples:
default:
value:
@@ -114010,7 +113530,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'202':
description: Response when the codespace creation partially failed but is
being retried in the background
@@ -114018,7 +113538,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'401': *25
'403': *29
'404': *6
@@ -114102,7 +113622,7 @@ paths:
- visibility
- selected_repositories_url
examples:
- default: *573
+ default: *569
headers:
Link: *47
x-github:
@@ -114476,7 +113996,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'304': *37
'500': *40
'401': *25
@@ -114534,7 +114054,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'401': *25
'403': *29
'404': *6
@@ -114797,13 +114317,13 @@ paths:
nullable: true
owner: *4
billable_owner: *4
- repository: *471
+ repository: *467
machine:
type: object
title: Codespace machine
description: A description of the machine powering a codespace.
- properties: *571
- required: *572
+ properties: *567
+ required: *568
nullable: true
devcontainer_path:
description: Path to devcontainer.json from repo root used to
@@ -115585,7 +115105,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'304': *37
'500': *40
'400': *14
@@ -115625,7 +115145,7 @@ paths:
application/json:
schema: *376
examples:
- default: *570
+ default: *566
'500': *40
'401': *25
'403': *29
@@ -116773,7 +116293,7 @@ paths:
required: true
content:
application/json:
- schema: *654
+ schema: *652
examples:
default:
value:
@@ -119202,9 +118722,9 @@ paths:
description: Response
content:
application/json:
- schema: *471
+ schema: *467
examples:
- default: *473
+ default: *469
headers:
Location:
example: https://api.github.com/repos/octocat/Hello-World
@@ -119242,7 +118762,7 @@ paths:
application/json:
schema:
type: array
- items: *656
+ items: *654
examples:
default: *829
headers:
@@ -119509,7 +119029,7 @@ paths:
- title
- created_at
examples:
- default: &856
+ default: &857
value:
- id: 2
key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234
@@ -119671,7 +119191,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:
- - &857
+ - &858
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
@@ -119700,7 +119220,7 @@ paths:
application/vnd.github.v3.star+json:
schema:
type: array
- items: &858
+ items: &859
title: Starred Repository
description: Starred Repository
type: object
@@ -119856,8 +119376,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response if this repository is starred by you
@@ -119885,8 +119405,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -119910,8 +119430,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:
- - *466
- - *467
+ - *462
+ - *463
responses:
'204':
description: Response
@@ -120591,7 +120111,7 @@ paths:
initiator:
type: string
examples:
- default: *513
+ default: *509
'201':
description: Response
content:
@@ -121122,7 +120642,7 @@ paths:
application/json:
schema: *22
examples:
- default: *653
+ default: *651
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
@@ -122120,6 +121640,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:
+ - *405
+ - *142
+ - *856
+ - 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
+ - *108
+ - *109
+ - *17
+ responses:
+ '200':
+ description: Response
+ content:
+ application/json:
+ schema:
+ type: array
+ items: *413
+ examples:
+ default: *414
+ headers:
+ Link: *47
+ '304': *37
+ '403': *29
+ '401': *25
+ '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
@@ -122393,7 +121966,7 @@ paths:
type: array
items: *832
examples:
- default: *856
+ default: *857
headers:
Link: *47
x-github:
@@ -122418,7 +121991,7 @@ paths:
url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user
parameters:
- *142
- - *857
+ - *858
- *110
- *17
- *19
@@ -122430,7 +122003,7 @@ paths:
schema:
anyOf:
- type: array
- items: *858
+ items: *859
- type: array
items: *78
examples:
@@ -122593,7 +122166,7 @@ x-webhooks:
type: string
enum:
- disabled
- enterprise: &859
+ enterprise: &860
title: Enterprise
description: |-
An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured
@@ -122651,7 +122224,7 @@ x-webhooks:
- created_at
- updated_at
- avatar_url
- installation: &860
+ installation: &861
title: Simple Installation
description: |-
The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured
@@ -122670,7 +122243,7 @@ x-webhooks:
required:
- id
- node_id
- organization: &861
+ organization: &862
title: Organization Simple
description: |-
A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an
@@ -122730,13 +122303,13 @@ x-webhooks:
- public_members_url
- avatar_url
- description
- repository: &862
+ repository: &863
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: &899
+ properties: &900
id:
description: Unique identifier of the repository
example: 42
@@ -123419,7 +122992,7 @@ x-webhooks:
type: boolean
description: Whether anonymous git access is enabled for this
repository
- required: &900
+ required: &901
- archive_url
- assignees_url
- blobs_url
@@ -123570,10 +123143,10 @@ x-webhooks:
type: string
enum:
- enabled
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -123649,11 +123222,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- rule: &863
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ rule: &864
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)
@@ -123876,11 +123449,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- rule: *863
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ rule: *864
sender: *4
required:
- action
@@ -124063,11 +123636,11 @@ x-webhooks:
- everyone
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- rule: *863
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ rule: *864
sender: *4
required:
- action
@@ -124140,7 +123713,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &883
+ schema: &884
title: Exemption request cancellation event
type: object
properties:
@@ -124148,11 +123721,11 @@ x-webhooks:
type: string
enum:
- cancelled
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: &864
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: &865
title: Exemption Request
description: A request from a user to be exempted from a set of
rules.
@@ -124421,7 +123994,7 @@ x-webhooks:
type: array
description: The responses to the exemption request.
nullable: true
- items: &865
+ items: &866
title: Exemption response
description: A response to an exemption request by a delegated
bypasser.
@@ -124531,7 +124104,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &884
+ schema: &885
title: Exemption request completed event
type: object
properties:
@@ -124539,11 +124112,11 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: *864
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: *865
sender: *4
required:
- action
@@ -124615,7 +124188,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &881
+ schema: &882
title: Exemption request created event
type: object
properties:
@@ -124623,11 +124196,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: *864
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: *865
sender: *4
required:
- action
@@ -124699,7 +124272,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &885
+ schema: &886
title: Exemption response dismissed event
type: object
properties:
@@ -124707,12 +124280,12 @@ x-webhooks:
type: string
enum:
- response_dismissed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: *864
- exemption_response: *865
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: *865
+ exemption_response: *866
sender: *4
required:
- action
@@ -124786,7 +124359,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: &882
+ schema: &883
title: Exemption response submitted event
type: object
properties:
@@ -124794,12 +124367,12 @@ x-webhooks:
type: string
enum:
- response_submitted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- exemption_request: *864
- exemption_response: *865
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ exemption_request: *865
+ exemption_response: *866
sender: *4
required:
- action
@@ -124883,7 +124456,7 @@ x-webhooks:
type: string
enum:
- completed
- check_run: &867
+ check_run: &868
title: CheckRun
description: A check performed on the code of a given code change
type: object
@@ -124974,7 +124547,7 @@ x-webhooks:
- skipped
- timed_out
- action_required
- deployment: *866
+ deployment: *867
details_url:
example: https://example.com
type: string
@@ -125059,10 +124632,10 @@ x-webhooks:
- output
- app
- pull_requests
- installation: *860
- enterprise: *859
- organization: *861
- repository: *862
+ installation: *861
+ enterprise: *860
+ organization: *862
+ repository: *863
sender: *4
required:
- check_run
@@ -125455,11 +125028,11 @@ x-webhooks:
type: string
enum:
- created
- check_run: *867
- installation: *860
- enterprise: *859
- organization: *861
- repository: *862
+ check_run: *868
+ installation: *861
+ enterprise: *860
+ organization: *862
+ repository: *863
sender: *4
required:
- check_run
@@ -125855,11 +125428,11 @@ x-webhooks:
type: string
enum:
- requested_action
- check_run: *867
- installation: *860
- enterprise: *859
- organization: *861
- repository: *862
+ check_run: *868
+ installation: *861
+ enterprise: *860
+ organization: *862
+ repository: *863
requested_action:
description: The action requested by the user.
type: object
@@ -126264,11 +125837,11 @@ x-webhooks:
type: string
enum:
- rerequested
- check_run: *867
- installation: *860
- enterprise: *859
- organization: *861
- repository: *862
+ check_run: *868
+ installation: *861
+ enterprise: *860
+ organization: *862
+ repository: *863
sender: *4
required:
- check_run
@@ -127245,10 +126818,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -127942,10 +127515,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -128633,10 +128206,10 @@ x-webhooks:
- latest_check_runs_count
- check_runs_url
- head_commit
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -128802,7 +128375,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -128947,20 +128520,20 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: &868
+ commit_oid: &869
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: *859
- installation: *860
- organization: *861
- ref: &869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: &870
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: *862
+ repository: *863
sender: *4
required:
- action
@@ -129125,7 +128698,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -129355,12 +128928,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *868
- enterprise: *859
- installation: *860
- organization: *861
- ref: *869
- repository: *862
+ commit_oid: *869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: *870
+ repository: *863
sender: *4
required:
- action
@@ -129455,7 +129028,7 @@ x-webhooks:
nullable: true
dismissed_by:
nullable: true
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -129626,12 +129199,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *868
- enterprise: *859
- installation: *860
- organization: *861
- ref: *869
- repository: *862
+ commit_oid: *869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: *870
+ repository: *863
sender: *4
required:
- action
@@ -129797,7 +129370,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -129963,12 +129536,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *868
- enterprise: *859
- installation: *860
- organization: *861
- ref: *869
- repository: *862
+ commit_oid: *869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: *870
+ repository: *863
sender: *4
required:
- action
@@ -130067,7 +129640,7 @@ x-webhooks:
dismissed_by:
type: object
nullable: true
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -130242,16 +129815,16 @@ x-webhooks:
triggered by the `sender` and this value will be empty.
type: string
nullable: true
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
ref:
description: The Git reference of the code scanning alert. When
the action is `reopened_by_user` or `closed_by_user`, the event
was triggered by the `sender` and this value will be empty.
type: string
nullable: true
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -130348,7 +129921,7 @@ x-webhooks:
nullable: true
dismissed_by:
nullable: true
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: 'The reason for dismissing or closing the alert.
Can be one of: `false positive`, `won''t fix`, and `used in
@@ -130488,12 +130061,12 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- commit_oid: *868
- enterprise: *859
- installation: *860
- organization: *861
- ref: *869
- repository: *862
+ commit_oid: *869
+ enterprise: *860
+ installation: *861
+ organization: *862
+ ref: *870
+ repository: *863
sender: *4
required:
- action
@@ -130659,7 +130232,7 @@ x-webhooks:
required:
- login
- id
- dismissed_comment: *542
+ dismissed_comment: *538
dismissed_reason:
description: The reason for dismissing or closing the alert.
type: string
@@ -130804,10 +130377,10 @@ x-webhooks:
- dismissed_reason
- rule
- tool
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -131062,10 +130635,10 @@ x-webhooks:
- updated_at
- author_association
- body
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -131145,18 +130718,18 @@ x-webhooks:
description: The repository's current description.
type: string
nullable: true
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
master_branch:
description: The name of the repository's default branch (usually
`main`).
type: string
- organization: *861
- pusher_type: &870
+ organization: *862
+ pusher_type: &871
description: The pusher type for the event. Can be either `user`
or a deploy key.
type: string
- ref: &871
+ ref: &872
description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference)
resource.
type: string
@@ -131166,7 +130739,7 @@ x-webhooks:
enum:
- tag
- branch
- repository: *862
+ repository: *863
sender: *4
required:
- ref
@@ -131249,9 +130822,9 @@ x-webhooks:
enum:
- created
definition: *156
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -131336,9 +130909,9 @@ x-webhooks:
description: The name of the property that was deleted.
required:
- property_name
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -131416,9 +130989,9 @@ x-webhooks:
enum:
- promote_to_enterprise
definition: *156
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -131496,9 +131069,9 @@ x-webhooks:
enum:
- updated
definition: *156
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -131575,10 +131148,10 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- repository: *862
- organization: *861
+ enterprise: *860
+ installation: *861
+ repository: *863
+ organization: *862
sender: *4
new_property_values:
type: array
@@ -131663,18 +131236,18 @@ x-webhooks:
title: delete event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
- pusher_type: *870
- ref: *871
+ enterprise: *860
+ installation: *861
+ organization: *862
+ pusher_type: *871
+ ref: *872
ref_type:
description: The type of Git ref object deleted in the repository.
type: string
enum:
- tag
- branch
- repository: *862
+ repository: *863
sender: *4
required:
- ref
@@ -131758,11 +131331,11 @@ x-webhooks:
type: string
enum:
- auto_dismissed
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -131846,11 +131419,11 @@ x-webhooks:
type: string
enum:
- auto_reopened
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -131934,11 +131507,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132020,11 +131593,11 @@ x-webhooks:
type: string
enum:
- dismissed
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132106,11 +131679,11 @@ x-webhooks:
type: string
enum:
- fixed
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132193,11 +131766,11 @@ x-webhooks:
type: string
enum:
- reintroduced
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132279,11 +131852,11 @@ x-webhooks:
type: string
enum:
- reopened
- alert: *602
- installation: *860
- organization: *861
- enterprise: *859
- repository: *862
+ alert: *600
+ installation: *861
+ organization: *862
+ enterprise: *860
+ repository: *863
sender: *4
required:
- action
@@ -132360,9 +131933,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- key: &872
+ enterprise: *860
+ installation: *861
+ key: &873
description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key)
resource.
type: object
@@ -132398,8 +131971,8 @@ x-webhooks:
- verified
- created_at
- read_only
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -132476,11 +132049,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- key: *872
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ key: *873
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -133041,12 +132614,12 @@ x-webhooks:
- updated_at
- statuses_url
- repository_url
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: &876
+ workflow: &877
title: Workflow
type: object
nullable: true
@@ -133772,13 +133345,13 @@ x-webhooks:
description: The URL to review the deployment protection rule.
type: string
format: uri
- deployment: *608
+ deployment: *606
pull_requests:
type: array
items: *704
- repository: *862
- organization: *861
- installation: *860
+ repository: *863
+ organization: *862
+ installation: *861
sender: *4
responses:
'200':
@@ -133849,7 +133422,7 @@ x-webhooks:
type: string
enum:
- approved
- approver: &873
+ approver: &874
type: object
properties:
avatar_url:
@@ -133892,11 +133465,11 @@ x-webhooks:
type: string
comment:
type: string
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- reviewers: &874
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ reviewers: &875
type: array
items:
type: object
@@ -133975,7 +133548,7 @@ x-webhooks:
sender: *4
since:
type: string
- workflow_job_run: &875
+ workflow_job_run: &876
type: object
properties:
conclusion:
@@ -134706,18 +134279,18 @@ x-webhooks:
type: string
enum:
- rejected
- approver: *873
+ approver: *874
comment:
type: string
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- reviewers: *874
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ reviewers: *875
sender: *4
since:
type: string
- workflow_job_run: *875
+ workflow_job_run: *876
workflow_job_runs:
type: array
items:
@@ -135421,13 +134994,13 @@ x-webhooks:
type: string
enum:
- requested
- enterprise: *859
+ enterprise: *860
environment:
type: string
- installation: *860
- organization: *861
- repository: *862
- requestor: &886
+ installation: *861
+ organization: *862
+ repository: *863
+ requestor: &887
title: User
type: object
nullable: true
@@ -137326,12 +136899,12 @@ x-webhooks:
- updated_at
- deployment_url
- repository_url
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: *876
+ workflow: *877
workflow_run:
title: Deployment Workflow Run
type: object
@@ -138011,7 +137584,7 @@ x-webhooks:
type: string
enum:
- answered
- answer: &879
+ answer: &880
type: object
properties:
author_association:
@@ -138168,11 +137741,11 @@ x-webhooks:
- created_at
- updated_at
- body
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138299,11 +137872,11 @@ x-webhooks:
- from
required:
- category
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138386,11 +137959,11 @@ x-webhooks:
type: string
enum:
- closed
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138472,7 +138045,7 @@ x-webhooks:
type: string
enum:
- created
- comment: &878
+ comment: &879
type: object
properties:
author_association:
@@ -138629,11 +138202,11 @@ x-webhooks:
- updated_at
- body
- reactions
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138716,12 +138289,12 @@ x-webhooks:
type: string
enum:
- deleted
- comment: *878
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ comment: *879
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138816,12 +138389,12 @@ x-webhooks:
- from
required:
- body
- comment: *878
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ comment: *879
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138905,11 +138478,11 @@ x-webhooks:
type: string
enum:
- created
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -138991,11 +138564,11 @@ x-webhooks:
type: string
enum:
- deleted
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139095,11 +138668,11 @@ x-webhooks:
type: string
required:
- from
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139181,10 +138754,10 @@ x-webhooks:
type: string
enum:
- labeled
- discussion: *877
- enterprise: *859
- installation: *860
- label: &880
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ label: &881
title: Label
type: object
properties:
@@ -139216,8 +138789,8 @@ x-webhooks:
- color
- default
- description
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139300,11 +138873,11 @@ x-webhooks:
type: string
enum:
- locked
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139386,11 +138959,11 @@ x-webhooks:
type: string
enum:
- pinned
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139472,11 +139045,11 @@ x-webhooks:
type: string
enum:
- reopened
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139561,16 +139134,16 @@ x-webhooks:
changes:
type: object
properties:
- new_discussion: *877
- new_repository: *862
+ new_discussion: *878
+ new_repository: *863
required:
- new_discussion
- new_repository
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139653,10 +139226,10 @@ x-webhooks:
type: string
enum:
- unanswered
- discussion: *877
- old_answer: *879
- organization: *861
- repository: *862
+ discussion: *878
+ old_answer: *880
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139738,12 +139311,12 @@ x-webhooks:
type: string
enum:
- unlabeled
- discussion: *877
- enterprise: *859
- installation: *860
- label: *880
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139826,11 +139399,11 @@ x-webhooks:
type: string
enum:
- unlocked
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -139904,236 +139477,47 @@ x-webhooks:
required: true
content:
application/json:
- schema:
- title: discussion unpinned event
- type: object
- properties:
- action:
- type: string
- enum:
- - unpinned
- discussion: *877
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- 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: *881
- 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: *882
- 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: *883
+ schema:
+ title: discussion unpinned event
+ type: object
+ properties:
+ action:
+ type: string
+ enum:
+ - unpinned
+ discussion: *878
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ 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
@@ -140147,7 +139531,7 @@ x-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
@@ -140174,7 +139558,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *881
+ schema: *882
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140182,21 +139566,21 @@ x-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
@@ -140210,7 +139594,7 @@ x-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
@@ -140237,7 +139621,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *882
+ schema: *883
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140245,24 +139629,21 @@ x-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
@@ -140276,7 +139657,7 @@ x-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
@@ -140303,7 +139684,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *883
+ schema: *884
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140311,24 +139692,21 @@ x-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
@@ -140342,7 +139720,7 @@ x-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
@@ -140369,7 +139747,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *884
+ schema: *882
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140377,24 +139755,21 @@ x-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
@@ -140408,7 +139783,7 @@ x-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
@@ -140435,7 +139810,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *881
+ schema: *883
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140443,12 +139818,12 @@ x-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.
@@ -140457,8 +139832,8 @@ x-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:
@@ -140501,7 +139876,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *885
+ schema: *884
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140514,7 +139889,7 @@ x-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.
@@ -140523,8 +139898,8 @@ x-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:
@@ -140567,7 +139942,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *882
+ schema: *885
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140580,83 +139955,19 @@ x-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: *883
- 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
@@ -140697,7 +140008,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *884
+ schema: *882
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140705,23 +140016,24 @@ x-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
@@ -140762,7 +140074,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *881
+ schema: *886
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140770,23 +140082,24 @@ x-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
@@ -140827,7 +140140,7 @@ x-webhooks:
required: true
content:
application/json:
- schema: *885
+ schema: *883
responses:
'200':
description: Return a 200 status to indicate that the data was received
@@ -140835,12 +140148,12 @@ x-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.
@@ -140848,9 +140161,138 @@ x-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: *884
+ 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: *885
+ 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:
@@ -140906,6 +140348,137 @@ x-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: *886
+ 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: *883
+ 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: |-
@@ -140960,7 +140533,7 @@ x-webhooks:
description: A user forks a repository.
type: object
properties:
- enterprise: *859
+ enterprise: *860
forkee:
description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository)
resource.
@@ -141620,9 +141193,9 @@ x-webhooks:
type: integer
watchers_count:
type: integer
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- forkee
@@ -141768,9 +141341,9 @@ x-webhooks:
title: gollum event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pages:
description: The pages that were updated.
type: array
@@ -141807,7 +141380,7 @@ x-webhooks:
- action
- sha
- html_url
- repository: *862
+ repository: *863
sender: *4
required:
- pages
@@ -141883,10 +141456,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: &887
+ organization: *862
+ repositories: &888
description: An array of repository objects that the installation
can access.
type: array
@@ -141912,8 +141485,8 @@ x-webhooks:
- name
- full_name
- private
- repository: *862
- requester: *886
+ repository: *863
+ requester: *887
sender: *4
required:
- action
@@ -141988,11 +141561,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: *887
- repository: *862
+ organization: *862
+ repositories: *888
+ repository: *863
requester:
nullable: true
sender: *4
@@ -142068,11 +141641,11 @@ x-webhooks:
type: string
enum:
- new_permissions_accepted
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: *887
- repository: *862
+ organization: *862
+ repositories: *888
+ repository: *863
requester:
nullable: true
sender: *4
@@ -142148,10 +141721,10 @@ x-webhooks:
type: string
enum:
- added
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories_added: &888
+ organization: *862
+ repositories_added: &889
description: An array of repository objects, which were added to
the installation.
type: array
@@ -142197,15 +141770,15 @@ x-webhooks:
private:
description: Whether the repository is private or public.
type: boolean
- repository: *862
- repository_selection: &889
+ repository: *863
+ repository_selection: &890
description: Describe whether all repositories have been selected
or there's a selection involved
type: string
enum:
- all
- selected
- requester: *886
+ requester: *887
sender: *4
required:
- action
@@ -142284,10 +141857,10 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories_added: *888
+ organization: *862
+ repositories_added: *889
repositories_removed:
description: An array of repository objects, which were removed
from the installation.
@@ -142314,9 +141887,9 @@ x-webhooks:
- name
- full_name
- private
- repository: *862
- repository_selection: *889
- requester: *886
+ repository: *863
+ repository_selection: *890
+ requester: *887
sender: *4
required:
- action
@@ -142395,11 +141968,11 @@ x-webhooks:
type: string
enum:
- suspend
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: *887
- repository: *862
+ organization: *862
+ repositories: *888
+ repository: *863
requester:
nullable: true
sender: *4
@@ -142578,10 +142151,10 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
target_type:
type: string
@@ -142660,11 +142233,11 @@ x-webhooks:
type: string
enum:
- unsuspend
- enterprise: *859
+ enterprise: *860
installation: *22
- organization: *861
- repositories: *887
- repository: *862
+ organization: *862
+ repositories: *888
+ repository: *863
requester:
nullable: true
sender: *4
@@ -142916,8 +142489,8 @@ x-webhooks:
- performed_via_github_app
- body
- reactions
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -144061,8 +143634,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -144142,7 +143715,7 @@ x-webhooks:
type: string
enum:
- deleted
- comment: &890
+ comment: &891
title: issue comment
description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment)
itself.
@@ -144307,8 +143880,8 @@ x-webhooks:
- performed_via_github_app
- body
- reactions
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -145450,8 +145023,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -145531,7 +145104,7 @@ x-webhooks:
type: string
enum:
- edited
- changes: &919
+ changes: &920
description: The changes to the comment.
type: object
properties:
@@ -145543,9 +145116,9 @@ x-webhooks:
type: string
required:
- from
- comment: *890
- enterprise: *859
- installation: *860
+ comment: *891
+ enterprise: *860
+ installation: *861
issue:
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
the comment belongs to.
@@ -146688,8 +146261,8 @@ x-webhooks:
- state
- locked
- assignee
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -146779,9 +146352,9 @@ x-webhooks:
type: number
blocking_issue: *220
blocking_issue_repo: *78
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -146870,9 +146443,9 @@ x-webhooks:
type: number
blocking_issue: *220
blocking_issue_repo: *78
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -146960,9 +146533,9 @@ x-webhooks:
description: The ID of the blocking issue.
type: number
blocking_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -147051,9 +146624,9 @@ x-webhooks:
description: The ID of the blocking issue.
type: number
blocking_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -147133,10 +146706,10 @@ x-webhooks:
type: string
enum:
- assigned
- assignee: *886
- enterprise: *859
- installation: *860
- issue: &893
+ assignee: *887
+ enterprise: *860
+ installation: *861
+ issue: &894
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
itself.
@@ -148046,8 +147619,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -148127,8 +147700,8 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
itself.
@@ -149178,8 +148751,8 @@ x-webhooks:
required:
- state
- closed_at
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -149258,8 +148831,8 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -150164,8 +149737,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -150244,8 +149817,8 @@ x-webhooks:
type: string
enum:
- demilestoned
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -151151,7 +150724,7 @@ x-webhooks:
format: uri
user_view_type:
type: string
- milestone: &891
+ milestone: &892
title: Milestone
description: A collection of related issues and pull requests.
type: object
@@ -151289,8 +150862,8 @@ x-webhooks:
- updated_at
- due_on
- closed_at
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -151389,8 +150962,8 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -152300,9 +151873,9 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- label: *880
- organization: *861
- repository: *862
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -152382,8 +151955,8 @@ x-webhooks:
type: string
enum:
- labeled
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -153292,9 +152865,9 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- label: *880
- organization: *861
- repository: *862
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -153374,8 +152947,8 @@ x-webhooks:
type: string
enum:
- locked
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -154285,8 +153858,8 @@ x-webhooks:
format: uri
user_view_type:
type: string
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -154365,8 +153938,8 @@ x-webhooks:
type: string
enum:
- milestoned
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -155270,9 +154843,9 @@ x-webhooks:
format: uri
user_view_type:
type: string
- milestone: *891
- organization: *861
- repository: *862
+ milestone: *892
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -156706,8 +156279,8 @@ x-webhooks:
required:
- old_issue
- old_repository
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -157616,8 +157189,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -157697,9 +157270,9 @@ x-webhooks:
type: string
enum:
- pinned
- enterprise: *859
- installation: *860
- issue: &892
+ enterprise: *860
+ installation: *861
+ issue: &893
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
itself.
@@ -158602,8 +158175,8 @@ x-webhooks:
- active_lock_reason
- body
- reactions
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -158682,8 +158255,8 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -159592,8 +159165,8 @@ x-webhooks:
user_view_type:
type: string
type: *371
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161047,11 +160620,11 @@ x-webhooks:
required:
- new_issue
- new_repository
- enterprise: *859
- installation: *860
- issue: *892
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ issue: *893
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161131,12 +160704,12 @@ x-webhooks:
type: string
enum:
- typed
- enterprise: *859
- installation: *860
- issue: *893
+ enterprise: *860
+ installation: *861
+ issue: *894
type: *371
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161217,7 +160790,7 @@ x-webhooks:
type: string
enum:
- unassigned
- assignee: &922
+ assignee: &923
title: User
type: object
nullable: true
@@ -161287,11 +160860,11 @@ x-webhooks:
required:
- login
- id
- enterprise: *859
- installation: *860
- issue: *893
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ issue: *894
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161370,12 +160943,12 @@ x-webhooks:
type: string
enum:
- unlabeled
- enterprise: *859
- installation: *860
- issue: *893
- label: *880
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ issue: *894
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -161455,8 +161028,8 @@ x-webhooks:
type: string
enum:
- unlocked
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
issue:
title: Issue
description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue)
@@ -162364,8 +161937,8 @@ x-webhooks:
format: uri
user_view_type:
type: string
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162445,11 +162018,11 @@ x-webhooks:
type: string
enum:
- unpinned
- enterprise: *859
- installation: *860
- issue: *892
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ issue: *893
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162528,12 +162101,12 @@ x-webhooks:
type: string
enum:
- untyped
- enterprise: *859
- installation: *860
- issue: *893
+ enterprise: *860
+ installation: *861
+ issue: *894
type: *371
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162613,11 +162186,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- label: *880
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162695,11 +162268,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- label: *880
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162809,11 +162382,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- label: *880
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ label: *881
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -162895,9 +162468,9 @@ x-webhooks:
- cancelled
effective_date:
type: string
- enterprise: *859
- installation: *860
- marketplace_purchase: &894
+ enterprise: *860
+ installation: *861
+ marketplace_purchase: &895
title: Marketplace Purchase
type: object
required:
@@ -162980,8 +162553,8 @@ x-webhooks:
type: integer
unit_count:
type: integer
- organization: *861
- previous_marketplace_purchase: &895
+ organization: *862
+ previous_marketplace_purchase: &896
title: Marketplace Purchase
type: object
properties:
@@ -163061,7 +162634,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -163141,10 +162714,10 @@ x-webhooks:
- changed
effective_date:
type: string
- enterprise: *859
- installation: *860
- marketplace_purchase: *894
- organization: *861
+ enterprise: *860
+ installation: *861
+ marketplace_purchase: *895
+ organization: *862
previous_marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -163227,7 +162800,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -163309,10 +162882,10 @@ x-webhooks:
- pending_change
effective_date:
type: string
- enterprise: *859
- installation: *860
- marketplace_purchase: *894
- organization: *861
+ enterprise: *860
+ installation: *861
+ marketplace_purchase: *895
+ organization: *862
previous_marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -163394,7 +162967,7 @@ x-webhooks:
- on_free_trial
- free_trial_ends_on
- plan
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -163475,8 +163048,8 @@ x-webhooks:
- pending_change_cancelled
effective_date:
type: string
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
marketplace_purchase:
title: Marketplace Purchase
type: object
@@ -163558,9 +163131,9 @@ x-webhooks:
type: integer
unit_count:
type: integer
- organization: *861
- previous_marketplace_purchase: *895
- repository: *862
+ organization: *862
+ previous_marketplace_purchase: *896
+ repository: *863
sender: *4
required:
- action
@@ -163640,12 +163213,12 @@ x-webhooks:
- purchased
effective_date:
type: string
- enterprise: *859
- installation: *860
- marketplace_purchase: *894
- organization: *861
- previous_marketplace_purchase: *895
- repository: *862
+ enterprise: *860
+ installation: *861
+ marketplace_purchase: *895
+ organization: *862
+ previous_marketplace_purchase: *896
+ repository: *863
sender: *4
required:
- action
@@ -163747,11 +163320,11 @@ x-webhooks:
type: string
required:
- to
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -163851,11 +163424,11 @@ x-webhooks:
to:
type: string
nullable: true
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -163934,11 +163507,11 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -164016,11 +163589,11 @@ x-webhooks:
type: string
enum:
- added
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
scope:
description: The scope of the membership. Currently, can only be
`team`.
@@ -164096,7 +163669,7 @@ x-webhooks:
required:
- login
- id
- team: &896
+ team: &897
title: Team
description: Groups of organization members that gives permissions
on specified repositories.
@@ -164319,11 +163892,11 @@ x-webhooks:
type: string
enum:
- removed
- enterprise: *859
- installation: *860
- member: *886
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ member: *887
+ organization: *862
+ repository: *863
scope:
description: The scope of the membership. Currently, can only be
`team`.
@@ -164400,7 +163973,7 @@ x-webhooks:
required:
- login
- id
- team: *896
+ team: *897
required:
- action
- scope
@@ -164482,8 +164055,8 @@ x-webhooks:
type: string
enum:
- checks_requested
- installation: *860
- merge_group: &898
+ installation: *861
+ merge_group: &899
type: object
title: Merge Group
description: A group of pull requests that the merge queue has grouped
@@ -164502,15 +164075,15 @@ x-webhooks:
description: The full ref of the branch the merge group will
be merged into.
type: string
- head_commit: *897
+ head_commit: *898
required:
- head_sha
- head_ref
- base_sha
- base_ref
- head_commit
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -164596,10 +164169,10 @@ x-webhooks:
- merged
- invalidated
- dequeued
- installation: *860
- merge_group: *898
- organization: *861
- repository: *862
+ installation: *861
+ merge_group: *899
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -164672,7 +164245,7 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
+ enterprise: *860
hook:
description: 'The deleted webhook. This will contain different keys
based on the type of webhook it is: repository, organization,
@@ -164781,16 +164354,16 @@ x-webhooks:
hook_id:
description: The id of the modified webhook.
type: integer
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *899
- required: *900
+ properties: *900
+ required: *901
nullable: true
sender: *4
required:
@@ -164871,11 +164444,11 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *859
- installation: *860
- milestone: *891
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ milestone: *892
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -164954,9 +164527,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- milestone: &901
+ enterprise: *860
+ installation: *861
+ milestone: &902
title: Milestone
description: A collection of related issues and pull requests.
type: object
@@ -165093,8 +164666,8 @@ x-webhooks:
- updated_at
- due_on
- closed_at
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165173,11 +164746,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- milestone: *891
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ milestone: *892
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165287,11 +164860,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- milestone: *891
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ milestone: *892
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165371,11 +164944,11 @@ x-webhooks:
type: string
enum:
- opened
- enterprise: *859
- installation: *860
- milestone: *901
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ milestone: *902
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165454,11 +165027,11 @@ x-webhooks:
type: string
enum:
- blocked
- blocked_user: *886
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ blocked_user: *887
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165537,11 +165110,11 @@ x-webhooks:
type: string
enum:
- unblocked
- blocked_user: *886
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ blocked_user: *887
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -165617,7 +165190,7 @@ x-webhooks:
enum:
- created
definition: *150
- enterprise: *859
+ enterprise: *860
sender: *4
required:
- action
@@ -165697,8 +165270,8 @@ x-webhooks:
description: The name of the property that was deleted.
required:
- property_name
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
sender: *4
required:
- action
@@ -165771,8 +165344,8 @@ x-webhooks:
enum:
- updated
definition: *150
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
sender: *4
required:
- action
@@ -165844,9 +165417,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
new_property_values:
type: array
@@ -165934,9 +165507,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- membership: &902
+ enterprise: *860
+ installation: *861
+ membership: &903
title: Membership
description: The membership between the user and the organization.
Not present when the action is `member_invited`.
@@ -166043,8 +165616,8 @@ x-webhooks:
- role
- organization_url
- user
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -166122,11 +165695,11 @@ x-webhooks:
type: string
enum:
- member_added
- enterprise: *859
- installation: *860
- membership: *902
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ membership: *903
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -166205,8 +165778,8 @@ x-webhooks:
type: string
enum:
- member_invited
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
invitation:
description: The invitation for the user or email if the action
is `member_invited`.
@@ -166322,10 +165895,10 @@ x-webhooks:
- inviter
- team_count
- invitation_teams_url
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
- user: *886
+ user: *887
required:
- action
- invitation
@@ -166403,11 +165976,11 @@ x-webhooks:
type: string
enum:
- member_removed
- enterprise: *859
- installation: *860
- membership: *902
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ membership: *903
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -166494,11 +166067,11 @@ x-webhooks:
properties:
from:
type: string
- enterprise: *859
- installation: *860
- membership: *902
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ membership: *903
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -166574,9 +166147,9 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
package:
description: Information about the package.
type: object
@@ -167075,7 +166648,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: &903
+ items: &904
title: Ruby Gems metadata
type: object
properties:
@@ -167170,7 +166743,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -167246,9 +166819,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
package:
description: Information about the package.
type: object
@@ -167601,7 +167174,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: *903
+ items: *904
source_url:
type: string
format: uri
@@ -167671,7 +167244,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -167848,12 +167421,12 @@ x-webhooks:
- duration
- created_at
- updated_at
- enterprise: *859
+ enterprise: *860
id:
type: integer
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- id
@@ -167930,7 +167503,7 @@ x-webhooks:
type: string
enum:
- approved
- personal_access_token_request: &904
+ personal_access_token_request: &905
title: Personal Access Token Request
description: Details of a Personal Access Token Request.
type: object
@@ -168076,10 +167649,10 @@ x-webhooks:
- token_expired
- token_expires_at
- token_last_used_at
- enterprise: *859
- organization: *861
+ enterprise: *860
+ organization: *862
sender: *4
- installation: *860
+ installation: *861
required:
- action
- personal_access_token_request
@@ -168156,11 +167729,11 @@ x-webhooks:
type: string
enum:
- cancelled
- personal_access_token_request: *904
- enterprise: *859
- organization: *861
+ personal_access_token_request: *905
+ enterprise: *860
+ organization: *862
sender: *4
- installation: *860
+ installation: *861
required:
- action
- personal_access_token_request
@@ -168236,11 +167809,11 @@ x-webhooks:
type: string
enum:
- created
- personal_access_token_request: *904
- enterprise: *859
- organization: *861
+ personal_access_token_request: *905
+ enterprise: *860
+ organization: *862
sender: *4
- installation: *860
+ installation: *861
required:
- action
- personal_access_token_request
@@ -168315,11 +167888,11 @@ x-webhooks:
type: string
enum:
- denied
- personal_access_token_request: *904
- organization: *861
- enterprise: *859
+ personal_access_token_request: *905
+ organization: *862
+ enterprise: *860
sender: *4
- installation: *860
+ installation: *861
required:
- action
- personal_access_token_request
@@ -168424,7 +167997,7 @@ x-webhooks:
id:
description: Unique identifier of the webhook.
type: integer
- last_response: *905
+ last_response: *906
name:
description: The type of webhook. The only valid value is 'web'.
type: string
@@ -168456,8 +168029,8 @@ x-webhooks:
hook_id:
description: The ID of the webhook that triggered the ping.
type: integer
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
zen:
description: Random string of GitHub zen.
@@ -168702,10 +168275,10 @@ x-webhooks:
- from
required:
- note
- enterprise: *859
- installation: *860
- organization: *861
- project_card: &906
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_card: &907
title: Project Card
type: object
properties:
@@ -168824,7 +168397,7 @@ x-webhooks:
- creator
- created_at
- updated_at
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -168905,11 +168478,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- project_card: *906
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_card: *907
+ repository: *863
sender: *4
required:
- action
@@ -168989,9 +168562,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
project_card:
title: Project Card
type: object
@@ -169119,8 +168692,8 @@ x-webhooks:
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *899
- required: *900
+ properties: *900
+ required: *901
nullable: true
sender: *4
required:
@@ -169214,11 +168787,11 @@ x-webhooks:
- from
required:
- note
- enterprise: *859
- installation: *860
- organization: *861
- project_card: *906
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_card: *907
+ repository: *863
sender: *4
required:
- action
@@ -169312,9 +168885,9 @@ x-webhooks:
- from
required:
- column_id
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
project_card:
allOf:
- title: Project Card
@@ -169504,7 +169077,7 @@ x-webhooks:
type: string
required:
- after_id
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -169584,10 +169157,10 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *859
- installation: *860
- organization: *861
- project: &908
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: &909
title: Project
type: object
properties:
@@ -169711,7 +169284,7 @@ x-webhooks:
- creator
- created_at
- updated_at
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -169791,10 +169364,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- project_column: &907
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_column: &908
title: Project Column
type: object
properties:
@@ -169833,7 +169406,7 @@ x-webhooks:
- name
- created_at
- updated_at
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -169912,18 +169485,18 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- project_column: *907
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_column: *908
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *899
- required: *900
+ properties: *900
+ required: *901
nullable: true
sender: *4
required:
@@ -170013,11 +169586,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- project_column: *907
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_column: *908
+ repository: *863
sender: *4
required:
- action
@@ -170097,11 +169670,11 @@ x-webhooks:
type: string
enum:
- moved
- enterprise: *859
- installation: *860
- organization: *861
- project_column: *907
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project_column: *908
+ repository: *863
sender: *4
required:
- action
@@ -170181,11 +169754,11 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- project: *908
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: *909
+ repository: *863
sender: *4
required:
- action
@@ -170265,18 +169838,18 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- project: *908
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: *909
repository:
title: Repository
description: |-
The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property
when the event occurs from activity in a repository.
type: object
- properties: *899
- required: *900
+ properties: *900
+ required: *901
nullable: true
sender: *4
required:
@@ -170378,11 +169951,11 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- project: *908
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: *909
+ repository: *863
sender: *4
required:
- action
@@ -170461,11 +170034,11 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *859
- installation: *860
- organization: *861
- project: *908
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ project: *909
+ repository: *863
sender: *4
required:
- action
@@ -170546,8 +170119,8 @@ x-webhooks:
type: string
enum:
- closed
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -170629,8 +170202,8 @@ x-webhooks:
type: string
enum:
- created
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -170712,8 +170285,8 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -170831,8 +170404,8 @@ x-webhooks:
type: string
to:
type: string
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -170916,7 +170489,7 @@ x-webhooks:
type: string
enum:
- archived
- changes: &912
+ changes: &913
type: object
properties:
archived_at:
@@ -170930,9 +170503,9 @@ x-webhooks:
type: string
nullable: true
format: date-time
- installation: *860
- organization: *861
- projects_v2_item: &909
+ installation: *861
+ organization: *862
+ projects_v2_item: &910
title: Projects v2 Item
description: An item belonging to a project
type: object
@@ -171067,9 +170640,9 @@ x-webhooks:
nullable: true
to:
type: string
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171151,9 +170724,9 @@ x-webhooks:
type: string
enum:
- created
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171234,9 +170807,9 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171342,7 +170915,7 @@ x-webhooks:
oneOf:
- type: string
- type: integer
- - &910
+ - &911
title: Projects v2 Single Select Option
description: An option for a single select field
type: object
@@ -171364,7 +170937,7 @@ x-webhooks:
required:
- id
- name
- - &911
+ - &912
title: Projects v2 Iteration Setting
description: An iteration setting for an iteration field
type: object
@@ -171398,8 +170971,8 @@ x-webhooks:
oneOf:
- type: string
- type: integer
- - *910
- *911
+ - *912
required:
- field_value
- type: object
@@ -171415,9 +170988,9 @@ x-webhooks:
nullable: true
required:
- body
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171512,9 +171085,9 @@ x-webhooks:
to:
type: string
nullable: true
- installation: *860
- organization: *861
- projects_v2_item: *909
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171597,10 +171170,10 @@ x-webhooks:
type: string
enum:
- restored
- changes: *912
- installation: *860
- organization: *861
- projects_v2_item: *909
+ changes: *913
+ installation: *861
+ organization: *862
+ projects_v2_item: *910
sender: *4
required:
- action
@@ -171682,8 +171255,8 @@ x-webhooks:
type: string
enum:
- reopened
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
projects_v2: *403
sender: *4
required:
@@ -171765,14 +171338,14 @@ x-webhooks:
type: string
enum:
- created
- installation: *860
- organization: *861
- projects_v2_status_update: &915
+ installation: *861
+ organization: *862
+ projects_v2_status_update: &916
title: Projects v2 Status Update
description: An status update belonging to a project
type: object
- properties: *913
- required: *914
+ properties: *914
+ required: *915
sender: *4
required:
- action
@@ -171853,9 +171426,9 @@ x-webhooks:
type: string
enum:
- deleted
- installation: *860
- organization: *861
- projects_v2_status_update: *915
+ installation: *861
+ organization: *862
+ projects_v2_status_update: *916
sender: *4
required:
- action
@@ -171991,9 +171564,9 @@ x-webhooks:
type: string
format: date
nullable: true
- installation: *860
- organization: *861
- projects_v2_status_update: *915
+ installation: *861
+ organization: *862
+ projects_v2_status_update: *916
sender: *4
required:
- action
@@ -172064,10 +171637,10 @@ x-webhooks:
title: public event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- repository
@@ -172144,13 +171717,13 @@ x-webhooks:
type: string
enum:
- assigned
- assignee: *886
- enterprise: *859
- installation: *860
- number: &916
+ assignee: *887
+ enterprise: *860
+ installation: *861
+ number: &917
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -174433,7 +174006,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -174515,11 +174088,11 @@ x-webhooks:
type: string
enum:
- auto_merge_disabled
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -176797,7 +176370,7 @@ x-webhooks:
- draft
reason:
type: string
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -176879,11 +176452,11 @@ x-webhooks:
type: string
enum:
- auto_merge_enabled
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -179161,7 +178734,7 @@ x-webhooks:
- draft
reason:
type: string
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -179243,11 +178816,11 @@ x-webhooks:
type: string
enum:
- closed
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: &917
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: &918
allOf:
- *704
- type: object
@@ -179311,7 +178884,7 @@ x-webhooks:
Please use `squash_merge_commit_title` instead.**
type: boolean
default: false
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -179392,12 +178965,12 @@ x-webhooks:
type: string
enum:
- converted_to_draft
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -179477,11 +179050,11 @@ x-webhooks:
type: string
enum:
- demilestoned
- enterprise: *859
+ enterprise: *860
milestone: *686
- number: *916
- organization: *861
- pull_request: &918
+ number: *917
+ organization: *862
+ pull_request: &919
title: Pull Request
type: object
properties:
@@ -181744,7 +181317,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -181823,11 +181396,11 @@ x-webhooks:
type: string
enum:
- dequeued
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -184109,7 +183682,7 @@ x-webhooks:
- BRANCH_PROTECTIONS
- GIT_TREE_INVALID
- INVALID_MERGE_COMMIT
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -184233,12 +183806,12 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -184318,11 +183891,11 @@ x-webhooks:
type: string
enum:
- enqueued
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -186589,7 +186162,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -186669,11 +186242,11 @@ x-webhooks:
type: string
enum:
- labeled
- enterprise: *859
- installation: *860
- label: *880
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ label: *881
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -188955,7 +188528,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -189036,10 +188609,10 @@ x-webhooks:
type: string
enum:
- locked
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -191319,7 +190892,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -191399,12 +190972,12 @@ x-webhooks:
type: string
enum:
- milestoned
- enterprise: *859
+ enterprise: *860
milestone: *686
- number: *916
- organization: *861
- pull_request: *918
- repository: *862
+ number: *917
+ organization: *862
+ pull_request: *919
+ repository: *863
sender: *4
required:
- action
@@ -191483,12 +191056,12 @@ x-webhooks:
type: string
enum:
- opened
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -191569,12 +191142,12 @@ x-webhooks:
type: string
enum:
- ready_for_review
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -191654,12 +191227,12 @@ x-webhooks:
type: string
enum:
- reopened
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
- pull_request: *917
- repository: *862
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
+ pull_request: *918
+ repository: *863
sender: *4
required:
- action
@@ -192025,9 +191598,9 @@ x-webhooks:
- start_side
- side
- reactions
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
type: object
properties:
@@ -194197,7 +193770,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -194277,7 +193850,7 @@ x-webhooks:
type: string
enum:
- deleted
- comment: &920
+ comment: &921
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.
@@ -194562,9 +194135,9 @@ x-webhooks:
- start_side
- side
- reactions
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
type: object
properties:
@@ -196722,7 +196295,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -196802,11 +196375,11 @@ x-webhooks:
type: string
enum:
- edited
- changes: *919
- comment: *920
- enterprise: *859
- installation: *860
- organization: *861
+ changes: *920
+ comment: *921
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
type: object
properties:
@@ -198967,7 +198540,7 @@ x-webhooks:
- _links
- author_association
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -199048,9 +198621,9 @@ x-webhooks:
type: string
enum:
- dismissed
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -201223,7 +200796,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
+ repository: *863
review:
description: The review that was affected.
type: object
@@ -201470,9 +201043,9 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -203526,8 +203099,8 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
- review: &921
+ repository: *863
+ review: &922
description: The review that was affected.
type: object
properties:
@@ -203760,12 +203333,12 @@ x-webhooks:
type: string
enum:
- review_request_removed
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -206048,7 +205621,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
requested_reviewer:
title: User
type: object
@@ -206132,12 +205705,12 @@ x-webhooks:
type: string
enum:
- review_request_removed
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -208427,7 +208000,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
requested_team:
title: Team
description: Groups of organization members that gives permissions
@@ -208619,12 +208192,12 @@ x-webhooks:
type: string
enum:
- review_requested
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -210909,7 +210482,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
requested_reviewer:
title: User
type: object
@@ -210994,12 +210567,12 @@ x-webhooks:
type: string
enum:
- review_requested
- enterprise: *859
- installation: *860
+ enterprise: *860
+ installation: *861
number:
description: The pull request number.
type: integer
- organization: *861
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -213275,7 +212848,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
requested_team:
title: Team
description: Groups of organization members that gives permissions
@@ -213456,9 +213029,9 @@ x-webhooks:
type: string
enum:
- submitted
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -215633,8 +215206,8 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
- review: *921
+ repository: *863
+ review: *922
sender: *4
required:
- action
@@ -215714,9 +215287,9 @@ x-webhooks:
type: string
enum:
- resolved
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -217786,7 +217359,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
thread:
type: object
@@ -218173,9 +217746,9 @@ x-webhooks:
type: string
enum:
- unresolved
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
pull_request:
title: Simple Pull Request
type: object
@@ -220231,7 +219804,7 @@ x-webhooks:
- author_association
- auto_merge
- active_lock_reason
- repository: *862
+ repository: *863
sender: *4
thread:
type: object
@@ -220621,10 +220194,10 @@ x-webhooks:
type: string
before:
type: string
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -222895,7 +222468,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -222977,11 +222550,11 @@ x-webhooks:
type: string
enum:
- unassigned
- assignee: *922
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
+ assignee: *923
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -225264,7 +224837,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -225343,11 +224916,11 @@ x-webhooks:
type: string
enum:
- unlabeled
- enterprise: *859
- installation: *860
- label: *880
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ label: *881
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -227620,7 +227193,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -227701,10 +227274,10 @@ x-webhooks:
type: string
enum:
- unlocked
- enterprise: *859
- installation: *860
- number: *916
- organization: *861
+ enterprise: *860
+ installation: *861
+ number: *917
+ organization: *862
pull_request:
title: Pull Request
type: object
@@ -229969,7 +229542,7 @@ x-webhooks:
- auto_merge
- active_lock_reason
- draft
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -230169,7 +229742,7 @@ x-webhooks:
deleted:
description: Whether this push deleted the `ref`.
type: boolean
- enterprise: *859
+ enterprise: *860
forced:
description: Whether this push was a force push of the `ref`.
type: boolean
@@ -230261,8 +229834,8 @@ x-webhooks:
- url
- author
- committer
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
pusher:
title: Committer
description: Metaproperties for Git author/committer information.
@@ -230837,9 +230410,9 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
registry_package:
type: object
properties:
@@ -231285,7 +230858,7 @@ x-webhooks:
type: string
rubygems_metadata:
type: array
- items: *903
+ items: *904
summary:
type: string
tag_name:
@@ -231339,7 +230912,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -231417,9 +230990,9 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
registry_package:
type: object
properties:
@@ -231727,7 +231300,7 @@ x-webhooks:
- published_at
rubygems_metadata:
type: array
- items: *903
+ items: *904
summary:
type: string
tag_name:
@@ -231776,7 +231349,7 @@ x-webhooks:
- owner
- package_version
- registry
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -231853,10 +231426,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- release: &923
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: &924
title: Release
description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release)
object.
@@ -232174,7 +231747,7 @@ x-webhooks:
- updated_at
- zipball_url
- body
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -232251,11 +231824,11 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- release: *923
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: *924
+ repository: *863
sender: *4
required:
- action
@@ -232372,11 +231945,11 @@ x-webhooks:
type: boolean
required:
- to
- enterprise: *859
- installation: *860
- organization: *861
- release: *923
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: *924
+ repository: *863
sender: *4
required:
- action
@@ -232454,9 +232027,9 @@ x-webhooks:
type: string
enum:
- prereleased
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
release:
title: Release
description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release)
@@ -232778,7 +232351,7 @@ x-webhooks:
type: string
nullable: true
format: uri
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -232854,10 +232427,10 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
- release: &924
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: &925
title: Release
description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release)
object.
@@ -233176,7 +232749,7 @@ x-webhooks:
type: string
nullable: true
format: uri
- repository: *862
+ repository: *863
sender: *4
required:
- action
@@ -233252,11 +232825,11 @@ x-webhooks:
type: string
enum:
- released
- enterprise: *859
- installation: *860
- organization: *861
- release: *923
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: *924
+ repository: *863
sender: *4
required:
- action
@@ -233332,11 +232905,11 @@ x-webhooks:
type: string
enum:
- unpublished
- enterprise: *859
- installation: *860
- organization: *861
- release: *924
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ release: *925
+ repository: *863
sender: *4
required:
- action
@@ -233412,10 +232985,10 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_advisory: *756
sender: *4
required:
@@ -233492,10 +233065,10 @@ x-webhooks:
type: string
enum:
- reported
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_advisory: *756
sender: *4
required:
@@ -233572,10 +233145,10 @@ x-webhooks:
type: string
enum:
- archived
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -233652,10 +233225,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -233733,10 +233306,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -233820,10 +233393,10 @@ x-webhooks:
additionalProperties: true
description: The `client_payload` that was specified in the `POST
/repos/{owner}/{repo}/dispatches` request body.
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -233935,10 +233508,10 @@ x-webhooks:
nullable: true
items:
type: string
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234010,10 +233583,10 @@ x-webhooks:
title: repository_import event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
status:
type: string
@@ -234094,10 +233667,10 @@ x-webhooks:
type: string
enum:
- privatized
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234174,10 +233747,10 @@ x-webhooks:
type: string
enum:
- publicized
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234271,10 +233844,10 @@ x-webhooks:
- name
required:
- repository
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234354,10 +233927,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_ruleset: *190
sender: *4
required:
@@ -234436,10 +234009,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_ruleset: *190
sender: *4
required:
@@ -234518,10 +234091,10 @@ x-webhooks:
type: string
enum:
- edited
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
repository_ruleset: *190
changes:
type: object
@@ -234826,10 +234399,10 @@ x-webhooks:
- from
required:
- owner
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234907,10 +234480,10 @@ x-webhooks:
type: string
enum:
- unarchived
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -234988,7 +234561,7 @@ x-webhooks:
type: string
enum:
- create
- alert: &925
+ alert: &926
title: Repository Vulnerability Alert Alert
description: The security alert of the vulnerable dependency.
type: object
@@ -235109,10 +234682,10 @@ x-webhooks:
type: string
enum:
- open
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235318,10 +234891,10 @@ x-webhooks:
type: string
enum:
- dismissed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235399,11 +234972,11 @@ x-webhooks:
type: string
enum:
- reopen
- alert: *925
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *926
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235602,10 +235175,10 @@ x-webhooks:
enum:
- fixed
- open
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235683,7 +235256,7 @@ x-webhooks:
type: string
enum:
- assigned
- alert: &926
+ alert: &927
type: object
properties:
number: *127
@@ -235802,10 +235375,10 @@ x-webhooks:
required: *21
nullable: true
assignee: *4
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235883,11 +235456,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -235968,11 +235541,11 @@ x-webhooks:
type: string
enum:
- created
- alert: *926
- installation: *860
- location: *927
- organization: *861
- repository: *862
+ alert: *927
+ installation: *861
+ location: *928
+ organization: *862
+ repository: *863
sender: *4
required:
- location
@@ -236210,11 +235783,11 @@ x-webhooks:
type: string
enum:
- publicly_leaked
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236292,11 +235865,11 @@ x-webhooks:
type: string
enum:
- reopened
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236374,11 +235947,11 @@ x-webhooks:
type: string
enum:
- resolved
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236456,12 +236029,12 @@ x-webhooks:
type: string
enum:
- unassigned
- alert: *926
+ alert: *927
assignee: *4
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236539,11 +236112,11 @@ x-webhooks:
type: string
enum:
- validated
- alert: *926
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ alert: *927
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -236669,10 +236242,10 @@ x-webhooks:
- organization
- enterprise
nullable: true
- repository: *862
- enterprise: *859
- installation: *860
- organization: *861
+ repository: *863
+ enterprise: *860
+ installation: *861
+ organization: *862
sender: *4
required:
- action
@@ -236750,11 +236323,11 @@ x-webhooks:
type: string
enum:
- published
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- security_advisory: &928
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ security_advisory: &929
description: The details of the security advisory, including summary,
description, and severity.
type: object
@@ -236937,11 +236510,11 @@ x-webhooks:
type: string
enum:
- updated
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
- security_advisory: *928
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
+ security_advisory: *929
sender: *4
required:
- action
@@ -237014,10 +236587,10 @@ x-webhooks:
type: string
enum:
- withdrawn
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
security_advisory:
description: The details of the security advisory, including summary,
description, and severity.
@@ -237202,10 +236775,10 @@ x-webhooks:
type: object
properties:
security_and_analysis: *419
- enterprise: *859
- installation: *860
- organization: *861
- repository: *471
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *467
sender: *4
required:
- changes
@@ -237283,12 +236856,12 @@ x-webhooks:
type: string
enum:
- cancelled
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: &929
+ sponsorship: &930
type: object
properties:
created_at:
@@ -237589,12 +237162,12 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- sponsorship
@@ -237682,12 +237255,12 @@ x-webhooks:
type: string
required:
- from
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- changes
@@ -237764,17 +237337,17 @@ x-webhooks:
type: string
enum:
- pending_cancellation
- effective_date: &930
+ effective_date: &931
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: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- sponsorship
@@ -237848,7 +237421,7 @@ x-webhooks:
type: string
enum:
- pending_tier_change
- changes: &931
+ changes: &932
type: object
properties:
tier:
@@ -237892,13 +237465,13 @@ x-webhooks:
- from
required:
- tier
- effective_date: *930
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ effective_date: *931
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- changes
@@ -237975,13 +237548,13 @@ x-webhooks:
type: string
enum:
- tier_changed
- changes: *931
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ changes: *932
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- sponsorship: *929
+ sponsorship: *930
required:
- action
- changes
@@ -238055,10 +237628,10 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
starred_at:
description: 'The time the star was created. This is a timestamp
@@ -238141,10 +237714,10 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
starred_at:
description: 'The time the star was created. This is a timestamp
@@ -238564,15 +238137,15 @@ x-webhooks:
status.
type: string
nullable: true
- enterprise: *859
+ enterprise: *860
id:
description: The unique identifier of the status.
type: integer
- installation: *860
+ installation: *861
name:
type: string
- organization: *861
- repository: *862
+ organization: *862
+ repository: *863
sender: *4
sha:
description: The Commit SHA.
@@ -238687,9 +238260,9 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -238779,9 +238352,9 @@ x-webhooks:
description: The ID of the sub-issue.
type: number
sub_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -238871,9 +238444,9 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -238963,9 +238536,9 @@ x-webhooks:
description: The ID of the parent issue.
type: number
parent_issue: *220
- installation: *860
- organization: *861
- repository: *862
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -239042,12 +238615,12 @@ x-webhooks:
title: team_add event
type: object
properties:
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- team: &932
+ team: &933
title: Team
description: Groups of organization members that gives permissions
on specified repositories.
@@ -239270,9 +238843,9 @@ x-webhooks:
type: string
enum:
- added_to_repository
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -239730,7 +239303,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- team
@@ -239806,9 +239379,9 @@ x-webhooks:
type: string
enum:
- created
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -240266,7 +239839,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- team
@@ -240343,9 +239916,9 @@ x-webhooks:
type: string
enum:
- deleted
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -240803,7 +240376,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- team
@@ -240947,9 +240520,9 @@ x-webhooks:
- from
required:
- permissions
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -241407,7 +240980,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- changes
@@ -241485,9 +241058,9 @@ x-webhooks:
type: string
enum:
- removed_from_repository
- enterprise: *859
- installation: *860
- organization: *861
+ enterprise: *860
+ installation: *861
+ organization: *862
repository:
title: Repository
description: A git repository
@@ -241945,7 +241518,7 @@ x-webhooks:
- topics
- visibility
sender: *4
- team: *932
+ team: *933
required:
- action
- team
@@ -242021,10 +241594,10 @@ x-webhooks:
type: string
enum:
- started
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
required:
- action
@@ -242097,16 +241670,16 @@ x-webhooks:
title: workflow_dispatch event
type: object
properties:
- enterprise: *859
+ enterprise: *860
inputs:
type: object
nullable: true
additionalProperties: true
- installation: *860
- organization: *861
+ installation: *861
+ organization: *862
ref:
type: string
- repository: *862
+ repository: *863
sender: *4
workflow:
type: string
@@ -242188,10 +241761,10 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
workflow_job:
allOf:
@@ -242428,7 +242001,7 @@ x-webhooks:
type: string
required:
- conclusion
- deployment: *608
+ deployment: *606
required:
- action
- repository
@@ -242507,10 +242080,10 @@ x-webhooks:
type: string
enum:
- in_progress
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
workflow_job:
allOf:
@@ -242770,7 +242343,7 @@ x-webhooks:
required:
- status
- steps
- deployment: *608
+ deployment: *606
required:
- action
- repository
@@ -242849,10 +242422,10 @@ x-webhooks:
type: string
enum:
- queued
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
workflow_job:
type: object
@@ -242987,7 +242560,7 @@ x-webhooks:
- workflow_name
- head_branch
- created_at
- deployment: *608
+ deployment: *606
required:
- action
- repository
@@ -243066,10 +242639,10 @@ x-webhooks:
type: string
enum:
- waiting
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
workflow_job:
type: object
@@ -243205,7 +242778,7 @@ x-webhooks:
- workflow_name
- head_branch
- created_at
- deployment: *608
+ deployment: *606
required:
- action
- repository
@@ -243285,12 +242858,12 @@ x-webhooks:
type: string
enum:
- completed
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: *876
+ workflow: *877
workflow_run:
title: Workflow Run
type: object
@@ -244289,12 +243862,12 @@ x-webhooks:
type: string
enum:
- in_progress
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: *876
+ workflow: *877
workflow_run:
title: Workflow Run
type: object
@@ -245278,12 +244851,12 @@ x-webhooks:
type: string
enum:
- requested
- enterprise: *859
- installation: *860
- organization: *861
- repository: *862
+ enterprise: *860
+ installation: *861
+ organization: *862
+ repository: *863
sender: *4
- workflow: *876
+ workflow: *877
workflow_run:
title: Workflow Run
type: object
diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json
index b5019f3e7..3ea5670d2 100644
--- a/descriptions/ghec/ghec.2022-11-28.json
+++ b/descriptions/ghec/ghec.2022-11-28.json
@@ -23554,7 +23554,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"
],
@@ -23710,7 +23710,7 @@
},
"responses": {
"200": {
- "description": "Artifact deployment record stored successfully.",
+ "description": "Deployment records created or updated successfully.\n",
"content": {
"application/json": {
"schema": {
@@ -37100,6 +37100,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/enterprise-cloud@latest//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",
@@ -41179,449 +41276,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/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.",
- "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": [
- {
- "$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/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"
- ]
- }
- },
- {
- "$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/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": [
- {
- "$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/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": {
- "$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/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": [
- {
- "$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/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": [
- {
- "$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/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"
- ]
- }
- },
- {
- "$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/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": [
- {
- "$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/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": {
- "$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/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": [
- {
- "$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}/external-groups": {
"get": {
"summary": "List a connection between an external group and a team",
@@ -81297,338 +80951,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": [
- {
- "$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/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"
- ]
- }
- },
- {
- "$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]\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": [
- {
- "$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/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": {
- "$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]\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": [
- {
- "$ref": "#/components/parameters/team-id"
- },
- {
- "$ref": "#/components/parameters/discussion-number"
- },
- {
- "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"
- ]
- }
- },
- {
- "$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]\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": [
- {
- "$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/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": {
- "$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)",
@@ -91414,6 +90736,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/enterprise-cloud@latest//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",
@@ -142481,51 +141900,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "$ref": "#/components/schemas/nullable-simple-user"
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2016-05-20T20:09:31Z"
- }
- },
- "required": [
- "id",
- "node_id",
- "user",
- "content",
- "created_at"
- ]
- },
"team-membership": {
"title": "Team Membership",
"description": "Team Membership",
@@ -148083,6 +147457,51 @@
"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",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDg6UmVhY3Rpb24x"
+ },
+ "user": {
+ "$ref": "#/components/schemas/nullable-simple-user"
+ },
+ "content": {
+ "description": "The reaction to use",
+ "example": "heart",
+ "type": "string",
+ "enum": [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2016-05-20T20:09:31Z"
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "user",
+ "content",
+ "created_at"
+ ]
+ },
"branch-short": {
"title": "Branch Short",
"description": "Branch Short",
@@ -315095,177 +314514,24 @@
"type": "User",
"site_admin": false
},
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 0,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": null,
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Our first team post",
- "updated_at": "2018-01-25T18:56:31Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- ]
- },
- "team-discussion": {
- "value": {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 0,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": null,
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Our first team post",
- "updated_at": "2018-01-25T18:56:31Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- },
- "team-discussion-2": {
- "value": {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 1,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": "2018-01-26T18:22:20Z",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Welcome to our first team post",
- "updated_at": "2018-01-26T18:22:20Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- },
- "team-discussion-comment-items": {
- "value": [
- {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Do you like apples?",
- "body_html": "Do you like apples?
",
- "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 0,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": null,
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
- "updated_at": "2018-01-15T23:53:58Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Our first team post",
+ "updated_at": "2018-01-25T18:56:31Z",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -315279,7 +314545,7 @@
}
]
},
- "team-discussion-comment": {
+ "team-discussion": {
"value": {
"author": {
"login": "octocat",
@@ -315301,19 +314567,24 @@
"type": "User",
"site_admin": false
},
- "body": "Do you like apples?",
- "body_html": "Do you like apples?
",
- "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 0,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": null,
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
- "updated_at": "2018-01-15T23:53:58Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Our first team post",
+ "updated_at": "2018-01-25T18:56:31Z",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -315326,7 +314597,7 @@
}
}
},
- "team-discussion-comment-2": {
+ "team-discussion-2": {
"value": {
"author": {
"login": "octocat",
@@ -315348,19 +314619,24 @@
"type": "User",
"site_admin": false
},
- "body": "Do you like pineapples?",
- "body_html": "Do you like pineapples?
",
- "body_version": "e6907b24d9c93cc0c5024a7af5888116",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 1,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": "2018-01-26T18:22:20Z",
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Welcome to our first team post",
"updated_at": "2018-01-26T18:22:20Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -315373,12 +314649,10 @@
}
}
},
- "reaction-items": {
+ "team-discussion-comment-items": {
"value": [
{
- "id": 1,
- "node_id": "MDg6UmVhY3Rpb24x",
- "user": {
+ "author": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
@@ -315398,16 +314672,35 @@
"type": "User",
"site_admin": false
},
- "content": "heart",
- "created_at": "2016-05-20T20:09:31Z"
+ "body": "Do you like apples?",
+ "body_html": "Do you like apples?
",
+ "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": null,
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-15T23:53:58Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
}
]
},
- "reaction": {
+ "team-discussion-comment": {
"value": {
- "id": 1,
- "node_id": "MDg6UmVhY3Rpb24x",
- "user": {
+ "author": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
@@ -315427,8 +314720,76 @@
"type": "User",
"site_admin": false
},
- "content": "heart",
- "created_at": "2016-05-20T20:09:31Z"
+ "body": "Do you like apples?",
+ "body_html": "Do you like apples?
",
+ "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": null,
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-15T23:53:58Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
+ }
+ },
+ "team-discussion-comment-2": {
+ "value": {
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Do you like pineapples?",
+ "body_html": "Do you like pineapples?
",
+ "body_version": "e6907b24d9c93cc0c5024a7af5888116",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": "2018-01-26T18:22:20Z",
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-26T18:22:20Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
}
},
"team-membership-response-if-user-is-a-team-maintainer": {
@@ -320810,6 +320171,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": [
{
@@ -337193,6 +336612,15 @@
"type": "integer"
}
},
+ "view-number": {
+ "name": "view_number",
+ "description": "The number that identifies the project view.",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "integer"
+ }
+ },
"ruleset-targets": {
"name": "targets",
"description": "A comma-separated list of rule targets to filter by.\nIf provided, only rulesets that apply to the specified targets will be returned.\nFor example, `branch,tag,push`.\n",
@@ -337280,15 +336708,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",
@@ -337608,6 +337027,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml
index 9e3dc3bb9..57be6dda4 100644
--- a/descriptions/ghec/ghec.2022-11-28.yaml
+++ b/descriptions/ghec/ghec.2022-11-28.yaml
@@ -16937,7 +16937,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
@@ -17069,7 +17073,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:
@@ -26762,6 +26768,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/enterprise-cloud@latest//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
@@ -29715,326 +29782,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:
- - "$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/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
- - "$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/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:
- - "$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/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:
- "$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/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:
- - "$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/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:
- - "$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/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
- - "$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/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:
- - "$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/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:
- "$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/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:
- - "$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}/external-groups":
get:
summary: List a connection between an external group and a team
@@ -58847,256 +58594,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:
- - "$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/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
- - "$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/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:
- - "$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/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:
- "$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/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:
- - "$ref": "#/components/parameters/team-id"
- - "$ref": "#/components/parameters/discussion-number"
- - 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
- - "$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/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:
- - "$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/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:
- "$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)
@@ -66063,6 +65560,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/enterprise-cloud@latest//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
@@ -104347,43 +103904,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
- example: 1
- node_id:
- type: string
- example: MDg6UmVhY3Rpb24x
- user:
- "$ref": "#/components/schemas/nullable-simple-user"
- content:
- description: The reaction to use
- example: heart
- type: string
- enum:
- - "+1"
- - "-1"
- - laugh
- - confused
- - heart
- - hooray
- - rocket
- - eyes
- created_at:
- type: string
- format: date-time
- example: '2016-05-20T20:09:31Z'
- required:
- - id
- - node_id
- - user
- - content
- - created_at
team-membership:
title: Team Membership
description: Team Membership
@@ -108716,6 +108236,43 @@ 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
+ example: 1
+ node_id:
+ type: string
+ example: MDg6UmVhY3Rpb24x
+ user:
+ "$ref": "#/components/schemas/nullable-simple-user"
+ content:
+ description: The reaction to use
+ example: heart
+ type: string
+ enum:
+ - "+1"
+ - "-1"
+ - laugh
+ - confused
+ - heart
+ - hooray
+ - rocket
+ - eyes
+ created_at:
+ type: string
+ format: date-time
+ example: '2016-05-20T20:09:31Z'
+ required:
+ - id
+ - node_id
+ - user
+ - content
+ - created_at
branch-short:
title: Branch Short
description: Branch Short
@@ -236227,56 +235784,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:
@@ -240903,6 +240410,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
@@ -255011,6 +254568,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
ruleset-targets:
name: targets
description: |
@@ -255095,13 +254659,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
@@ -255376,6 +254933,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/ghec/ghec.json b/descriptions/ghec/ghec.json
index b5019f3e7..3ea5670d2 100644
--- a/descriptions/ghec/ghec.json
+++ b/descriptions/ghec/ghec.json
@@ -23554,7 +23554,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"
],
@@ -23710,7 +23710,7 @@
},
"responses": {
"200": {
- "description": "Artifact deployment record stored successfully.",
+ "description": "Deployment records created or updated successfully.\n",
"content": {
"application/json": {
"schema": {
@@ -37100,6 +37100,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/enterprise-cloud@latest//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",
@@ -41179,449 +41276,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/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.",
- "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": [
- {
- "$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/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"
- ]
- }
- },
- {
- "$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/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": [
- {
- "$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/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": {
- "$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/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": [
- {
- "$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/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": [
- {
- "$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/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"
- ]
- }
- },
- {
- "$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/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": [
- {
- "$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/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": {
- "$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/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": [
- {
- "$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}/external-groups": {
"get": {
"summary": "List a connection between an external group and a team",
@@ -81297,338 +80951,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": [
- {
- "$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/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"
- ]
- }
- },
- {
- "$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]\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": [
- {
- "$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/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": {
- "$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]\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": [
- {
- "$ref": "#/components/parameters/team-id"
- },
- {
- "$ref": "#/components/parameters/discussion-number"
- },
- {
- "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"
- ]
- }
- },
- {
- "$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]\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": [
- {
- "$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/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": {
- "$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)",
@@ -91414,6 +90736,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/enterprise-cloud@latest//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",
@@ -142481,51 +141900,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",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDg6UmVhY3Rpb24x"
- },
- "user": {
- "$ref": "#/components/schemas/nullable-simple-user"
- },
- "content": {
- "description": "The reaction to use",
- "example": "heart",
- "type": "string",
- "enum": [
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "rocket",
- "eyes"
- ]
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2016-05-20T20:09:31Z"
- }
- },
- "required": [
- "id",
- "node_id",
- "user",
- "content",
- "created_at"
- ]
- },
"team-membership": {
"title": "Team Membership",
"description": "Team Membership",
@@ -148083,6 +147457,51 @@
"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",
+ "example": 1
+ },
+ "node_id": {
+ "type": "string",
+ "example": "MDg6UmVhY3Rpb24x"
+ },
+ "user": {
+ "$ref": "#/components/schemas/nullable-simple-user"
+ },
+ "content": {
+ "description": "The reaction to use",
+ "example": "heart",
+ "type": "string",
+ "enum": [
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "rocket",
+ "eyes"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "example": "2016-05-20T20:09:31Z"
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "user",
+ "content",
+ "created_at"
+ ]
+ },
"branch-short": {
"title": "Branch Short",
"description": "Branch Short",
@@ -315095,177 +314514,24 @@
"type": "User",
"site_admin": false
},
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 0,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": null,
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Our first team post",
- "updated_at": "2018-01-25T18:56:31Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- ]
- },
- "team-discussion": {
- "value": {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 0,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": null,
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Our first team post",
- "updated_at": "2018-01-25T18:56:31Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- },
- "team-discussion-2": {
- "value": {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Hi! This is an area for us to collaborate as a team.",
- "body_html": "Hi! This is an area for us to collaborate as a team
",
- "body_version": "0d495416a700fb06133c612575d92bfb",
- "comments_count": 1,
- "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
- "created_at": "2018-01-25T18:56:31Z",
- "last_edited_at": "2018-01-26T18:22:20Z",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
- "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
- "number": 1,
- "pinned": false,
- "private": false,
- "team_url": "https://api.github.com/teams/2343027",
- "title": "Welcome to our first team post",
- "updated_at": "2018-01-26T18:22:20Z",
- "url": "https://api.github.com/teams/2343027/discussions/1",
- "reactions": {
- "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "eyes": 1,
- "rocket": 1
- }
- }
- },
- "team-discussion-comment-items": {
- "value": [
- {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Do you like apples?",
- "body_html": "Do you like apples?
",
- "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 0,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": null,
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
- "updated_at": "2018-01-15T23:53:58Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Our first team post",
+ "updated_at": "2018-01-25T18:56:31Z",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -315279,7 +314545,7 @@
}
]
},
- "team-discussion-comment": {
+ "team-discussion": {
"value": {
"author": {
"login": "octocat",
@@ -315301,19 +314567,24 @@
"type": "User",
"site_admin": false
},
- "body": "Do you like apples?",
- "body_html": "Do you like apples?
",
- "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 0,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": null,
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
- "updated_at": "2018-01-15T23:53:58Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Our first team post",
+ "updated_at": "2018-01-25T18:56:31Z",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -315326,7 +314597,7 @@
}
}
},
- "team-discussion-comment-2": {
+ "team-discussion-2": {
"value": {
"author": {
"login": "octocat",
@@ -315348,19 +314619,24 @@
"type": "User",
"site_admin": false
},
- "body": "Do you like pineapples?",
- "body_html": "Do you like pineapples?
",
- "body_version": "e6907b24d9c93cc0c5024a7af5888116",
- "created_at": "2018-01-15T23:53:58Z",
+ "body": "Hi! This is an area for us to collaborate as a team.",
+ "body_html": "Hi! This is an area for us to collaborate as a team
",
+ "body_version": "0d495416a700fb06133c612575d92bfb",
+ "comments_count": 1,
+ "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments",
+ "created_at": "2018-01-25T18:56:31Z",
"last_edited_at": "2018-01-26T18:22:20Z",
- "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
- "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
- "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1",
+ "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==",
"number": 1,
+ "pinned": false,
+ "private": false,
+ "team_url": "https://api.github.com/teams/2343027",
+ "title": "Welcome to our first team post",
"updated_at": "2018-01-26T18:22:20Z",
- "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "url": "https://api.github.com/teams/2343027/discussions/1",
"reactions": {
- "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "url": "https://api.github.com/teams/2343027/discussions/1/reactions",
"total_count": 5,
"+1": 3,
"-1": 1,
@@ -315373,12 +314649,10 @@
}
}
},
- "reaction-items": {
+ "team-discussion-comment-items": {
"value": [
{
- "id": 1,
- "node_id": "MDg6UmVhY3Rpb24x",
- "user": {
+ "author": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
@@ -315398,16 +314672,35 @@
"type": "User",
"site_admin": false
},
- "content": "heart",
- "created_at": "2016-05-20T20:09:31Z"
+ "body": "Do you like apples?",
+ "body_html": "Do you like apples?
",
+ "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": null,
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-15T23:53:58Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
}
]
},
- "reaction": {
+ "team-discussion-comment": {
"value": {
- "id": 1,
- "node_id": "MDg6UmVhY3Rpb24x",
- "user": {
+ "author": {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
@@ -315427,8 +314720,76 @@
"type": "User",
"site_admin": false
},
- "content": "heart",
- "created_at": "2016-05-20T20:09:31Z"
+ "body": "Do you like apples?",
+ "body_html": "Do you like apples?
",
+ "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": null,
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-15T23:53:58Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
+ }
+ },
+ "team-discussion-comment-2": {
+ "value": {
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Do you like pineapples?",
+ "body_html": "Do you like pineapples?
",
+ "body_version": "e6907b24d9c93cc0c5024a7af5888116",
+ "created_at": "2018-01-15T23:53:58Z",
+ "last_edited_at": "2018-01-26T18:22:20Z",
+ "discussion_url": "https://api.github.com/teams/2403582/discussions/1",
+ "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1",
+ "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=",
+ "number": 1,
+ "updated_at": "2018-01-26T18:22:20Z",
+ "url": "https://api.github.com/teams/2403582/discussions/1/comments/1",
+ "reactions": {
+ "url": "https://api.github.com/teams/2403582/discussions/1/reactions",
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "eyes": 1,
+ "rocket": 1
+ }
}
},
"team-membership-response-if-user-is-a-team-maintainer": {
@@ -320810,6 +320171,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": [
{
@@ -337193,6 +336612,15 @@
"type": "integer"
}
},
+ "view-number": {
+ "name": "view_number",
+ "description": "The number that identifies the project view.",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "integer"
+ }
+ },
"ruleset-targets": {
"name": "targets",
"description": "A comma-separated list of rule targets to filter by.\nIf provided, only rulesets that apply to the specified targets will be returned.\nFor example, `branch,tag,push`.\n",
@@ -337280,15 +336708,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",
@@ -337608,6 +337027,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml
index 9e3dc3bb9..57be6dda4 100644
--- a/descriptions/ghec/ghec.yaml
+++ b/descriptions/ghec/ghec.yaml
@@ -16937,7 +16937,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
@@ -17069,7 +17073,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:
@@ -26762,6 +26768,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/enterprise-cloud@latest//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
@@ -29715,326 +29782,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:
- - "$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/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
- - "$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/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:
- - "$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/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:
- "$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/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:
- - "$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/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:
- - "$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/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
- - "$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/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:
- - "$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/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:
- "$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/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:
- - "$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}/external-groups":
get:
summary: List a connection between an external group and a team
@@ -58847,256 +58594,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:
- - "$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/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
- - "$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/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:
- - "$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/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:
- "$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/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:
- - "$ref": "#/components/parameters/team-id"
- - "$ref": "#/components/parameters/discussion-number"
- - 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
- - "$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/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:
- - "$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/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:
- "$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)
@@ -66063,6 +65560,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/enterprise-cloud@latest//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
@@ -104347,43 +103904,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
- example: 1
- node_id:
- type: string
- example: MDg6UmVhY3Rpb24x
- user:
- "$ref": "#/components/schemas/nullable-simple-user"
- content:
- description: The reaction to use
- example: heart
- type: string
- enum:
- - "+1"
- - "-1"
- - laugh
- - confused
- - heart
- - hooray
- - rocket
- - eyes
- created_at:
- type: string
- format: date-time
- example: '2016-05-20T20:09:31Z'
- required:
- - id
- - node_id
- - user
- - content
- - created_at
team-membership:
title: Team Membership
description: Team Membership
@@ -108716,6 +108236,43 @@ 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
+ example: 1
+ node_id:
+ type: string
+ example: MDg6UmVhY3Rpb24x
+ user:
+ "$ref": "#/components/schemas/nullable-simple-user"
+ content:
+ description: The reaction to use
+ example: heart
+ type: string
+ enum:
+ - "+1"
+ - "-1"
+ - laugh
+ - confused
+ - heart
+ - hooray
+ - rocket
+ - eyes
+ created_at:
+ type: string
+ format: date-time
+ example: '2016-05-20T20:09:31Z'
+ required:
+ - id
+ - node_id
+ - user
+ - content
+ - created_at
branch-short:
title: Branch Short
description: Branch Short
@@ -236227,56 +235784,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:
@@ -240903,6 +240410,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
@@ -255011,6 +254568,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
ruleset-targets:
name: targets
description: |
@@ -255095,13 +254659,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:
na{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}