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 4651c1823f..98a16f8353 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 @@ -25559,6 +25559,175 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -40198,7 +40367,7 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true @@ -71562,6 +71731,175 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", @@ -107767,7 +108105,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -112210,7 +112549,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -114868,6 +115208,130 @@ "archived_at" ] }, + "projects-v2-view": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, "custom-property": { "title": "Organization Custom Property", "description": "Custom property defined on an organization", @@ -287460,6 +287924,61 @@ ] } }, + "projects-v2-view": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, "custom-properties": { "value": [ { @@ -293189,7 +293708,7 @@ } }, "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { 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 912f0836d1..35d3514e08 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 @@ -18483,6 +18483,126 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -29100,7 +29220,7 @@ paths: examples: response: "$ref": "#/components/examples/code-scanning-analysis-default" - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true @@ -51947,6 +52067,126 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -78315,6 +78555,7 @@ components: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -81961,6 +82202,7 @@ components: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -84065,6 +84307,99 @@ components: - created_at - updated_at - archived_at + projects-v2-view: + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element is a tuple + of [field_id, direction] where direction is "asc" or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by custom-property: title: Organization Custom Property description: Custom property defined on an organization @@ -215760,6 +216095,50 @@ components: name: Sub-issues progress type: sub_issues_progress value: + projects-v2-view: + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 custom-properties: value: - property_name: environment @@ -220665,7 +221044,7 @@ components: deletable: true warning: '' code-scanning-analysis-sarif: - summary: application/json+sarif response + summary: application/sarif+json response value: runs: - tool: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 4651c1823f..98a16f8353 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -25559,6 +25559,175 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -40198,7 +40367,7 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true @@ -71562,6 +71731,175 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", @@ -107767,7 +108105,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -112210,7 +112549,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -114868,6 +115208,130 @@ "archived_at" ] }, + "projects-v2-view": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, "custom-property": { "title": "Organization Custom Property", "description": "Custom property defined on an organization", @@ -287460,6 +287924,61 @@ ] } }, + "projects-v2-view": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, "custom-properties": { "value": [ { @@ -293189,7 +293708,7 @@ } }, "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 912f0836d1..35d3514e08 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -18483,6 +18483,126 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -29100,7 +29220,7 @@ paths: examples: response: "$ref": "#/components/examples/code-scanning-analysis-default" - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true @@ -51947,6 +52067,126 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -78315,6 +78555,7 @@ components: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -81961,6 +82202,7 @@ components: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -84065,6 +84307,99 @@ components: - created_at - updated_at - archived_at + projects-v2-view: + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element is a tuple + of [field_id, direction] where direction is "asc" or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by custom-property: title: Organization Custom Property description: Custom property defined on an organization @@ -215760,6 +216095,50 @@ components: name: Sub-issues progress type: sub_issues_progress value: + projects-v2-view: + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 custom-properties: value: - property_name: environment @@ -220665,7 +221044,7 @@ components: deletable: true warning: '' code-scanning-analysis-sarif: - summary: application/json+sarif response + summary: application/sarif+json response value: runs: - tool: 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 f88151a98f..0ae2672270 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 @@ -62148,7 +62148,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -63285,7 +63286,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -78411,7 +78413,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -83907,7 +83910,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -85443,7 +85447,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -97727,7 +97732,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -100525,7 +100531,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -106659,7 +106666,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -107819,7 +107827,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -129020,7 +129029,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -131026,7 +131036,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -137999,7 +138010,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -141296,7 +141308,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -142361,7 +142374,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -145401,7 +145415,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -147388,7 +147403,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -171050,6 +171066,736 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "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 view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "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": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -174767,7 +175513,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -193963,7 +194710,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -200314,7 +201062,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -219699,7 +220448,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -220379,7 +221129,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -221995,7 +222746,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -222675,7 +223427,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -225025,7 +225778,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -225705,7 +226459,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -232081,7 +232836,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -232761,7 +233517,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -263869,7 +264626,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -265460,7 +266218,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -266693,7 +267452,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -268154,7 +268914,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -274400,14 +275161,14 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true }, "examples": { "response": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { @@ -281514,7 +282275,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -283261,7 +284023,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -284646,7 +285409,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -287995,7 +288759,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -300274,7 +301039,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -301428,7 +302194,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -330203,7 +330970,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -344871,7 +345639,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -346079,7 +346848,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -428696,7 +429466,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -452253,7 +453024,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -453638,7 +454410,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -511532,7 +512305,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -516439,7 +517213,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -517403,7 +518178,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -518761,7 +519537,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -527334,7 +528111,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -531938,7 +532716,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -533878,7 +534657,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -535263,7 +536043,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -537039,7 +537820,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -538855,7 +539637,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -540412,7 +541195,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -547200,7 +547984,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -548837,7 +549622,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -550248,7 +551034,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -566633,7 +567420,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -567935,7 +568723,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -568939,7 +569728,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -576248,7 +577038,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -581319,7 +582110,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -588957,226 +589749,956 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "drafts" - } - } - }, - "/users": { - "get": { - "summary": "List users", - "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", - "tags": [ - "users" - ], - "operationId": "users/list", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/users/users#list-users" - }, - "parameters": [ - { - "name": "since", - "description": "A user ID. Only return users with an ID greater than this ID.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "drafts" + } + } + }, + "/users": { + "get": { + "summary": "List users", + "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", + "tags": [ + "users" + ], + "operationId": "users/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/users/users#list-users" + }, + "parameters": [ + { + "name": "since", + "description": "A user ID. Only return users with an ID greater than this ID.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "users", + "subcategory": "users" + } + } + }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "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 view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "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" + } + } + } + } + } }, - { - "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", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "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" + } + } + ] + } + } } - ] + } } } } - }, - "headers": { - "Link": { - "example": "; rel=\"next\"", + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { "schema": { - "type": "string" + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } } } } - }, - "304": { - "description": "Not modified" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" } } }, @@ -591424,7 +592946,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -621547,7 +623070,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -622612,7 +624136,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -659383,7 +660908,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -663217,7 +664743,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -673755,7 +675282,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -677801,7 +679329,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -681847,7 +683376,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -685906,7 +687436,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" 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 cd5e9112ee..ef369c08b1 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 @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &313 + type: &314 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &637 + - &638 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -2891,7 +2891,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &278 + properties: &279 id: description: Unique identifier of the repository example: 42 @@ -3329,7 +3329,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &279 + required: &280 - archive_url - assignees_url - blobs_url @@ -8796,7 +8796,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 - - &475 + - &476 name: has in: query description: |- @@ -8912,7 +8912,7 @@ paths: - unknown - direct - transitive - security_advisory: &476 + security_advisory: &477 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9174,14 +9174,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &477 + auto_dismissed_at: &478 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: &478 + dismissal_request: &479 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10543,7 +10543,7 @@ paths: properties: action: type: string - discussion: &729 + discussion: &732 title: Discussion description: A Discussion in a repository. type: object @@ -10910,7 +10910,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &530 id: type: integer format: int64 @@ -11287,7 +11287,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &649 + sub_issues_summary: &650 title: Sub-issues Summary type: object properties: @@ -11307,7 +11307,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &650 + issue_dependencies_summary: &651 title: Issue Dependencies Summary type: object properties: @@ -11326,7 +11326,7 @@ paths: - total_blocking issue_field_values: type: array - items: &651 + items: &652 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11387,7 +11387,7 @@ paths: - node_id - data_type - value - required: &530 + required: &531 - assignee - closed_at - comments @@ -11425,7 +11425,7 @@ paths: action: type: string issue: *75 - comment: &525 + comment: &526 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12144,7 +12144,7 @@ paths: type: string release: allOf: - - &582 + - &583 title: Release description: A release. type: object @@ -12215,7 +12215,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &584 title: Release Asset description: Data related to a release. type: object @@ -12806,7 +12806,7 @@ paths: url: type: string format: uri - user: &657 + user: &658 title: Public User description: Public User type: object @@ -16111,14 +16111,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &324 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16180,7 +16180,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &328 + '301': &329 description: Moved permanently content: application/json: @@ -16202,7 +16202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &559 name: all description: If `true`, show notifications marked as read. in: query @@ -16210,7 +16210,7 @@ paths: schema: type: boolean default: false - - &559 + - &560 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16220,7 +16220,7 @@ paths: type: boolean default: false - *82 - - &560 + - &561 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16515,6 +16515,7 @@ paths: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -16532,7 +16533,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &280 + security_and_analysis: &281 nullable: true type: object properties: @@ -16694,7 +16695,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &562 value: - id: '1' repository: @@ -18201,7 +18202,7 @@ paths: required: false schema: type: string - - &706 + - &709 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18347,7 +18348,7 @@ paths: parameters: - *68 - *114 - - &707 + - &710 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 @@ -18459,7 +18460,7 @@ paths: - *114 - *116 - *115 - - &708 + - &711 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -18467,7 +18468,7 @@ paths: schema: type: string - *117 - - &709 + - &712 name: sku description: The SKU to query for usage. in: query @@ -19369,7 +19370,7 @@ paths: type: integer repository_cache_usages: type: array - items: &335 + items: &336 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20561,7 +20562,7 @@ paths: - all - local_only - selected - selected_actions_url: &341 + selected_actions_url: &342 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` @@ -20644,7 +20645,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &346 type: object properties: days: @@ -20686,7 +20687,7 @@ paths: required: true content: application/json: - schema: &346 + schema: &347 type: object properties: days: @@ -20743,7 +20744,7 @@ paths: required: - approval_policy examples: - default: &347 + default: &348 value: approval_policy: first_time_contributors '404': *6 @@ -20802,7 +20803,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &349 type: object required: - run_workflows_from_fork_pull_requests @@ -20856,7 +20857,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &350 type: object required: - run_workflows_from_fork_pull_requests @@ -21491,7 +21492,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &351 type: object properties: default_workflow_permissions: &144 @@ -21542,7 +21543,7 @@ paths: required: false content: application/json: - schema: &351 + schema: &352 type: object properties: default_workflow_permissions: *144 @@ -22031,7 +22032,7 @@ paths: type: array items: *151 examples: - default: &660 + default: &661 value: total_count: 1 repositories: @@ -22673,7 +22674,7 @@ paths: application/json: schema: type: array - items: &352 + items: &353 title: Runner Application description: Runner Application type: object @@ -22698,7 +22699,7 @@ paths: - download_url - filename examples: - default: &353 + default: &354 value: - os: osx architecture: x64 @@ -22784,7 +22785,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &354 + '201': &355 description: Response content: application/json: @@ -22895,7 +22896,7 @@ paths: - token - expires_at examples: - default: &355 + default: &356 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22934,7 +22935,7 @@ paths: application/json: schema: *155 examples: - default: &356 + default: &357 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22968,7 +22969,7 @@ paths: application/json: schema: *153 examples: - default: &357 + default: &358 value: id: 23 name: MBP @@ -23194,7 +23195,7 @@ paths: - *68 - *152 responses: - '200': &358 + '200': &359 description: Response content: application/json: @@ -23251,7 +23252,7 @@ paths: parameters: - *68 - *152 - - &359 + - &360 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23381,7 +23382,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &372 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23410,7 +23411,7 @@ paths: - key_id - key examples: - default: &372 + default: &373 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23823,7 +23824,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *68 - - &340 + - &341 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)." @@ -24960,12 +24961,12 @@ paths: required: - subject_digests examples: - default: &688 + default: &691 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &689 + withPredicateType: &692 value: subject_digests: - sha256:abc123 @@ -25023,7 +25024,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &690 + default: &693 value: attestations_subject_digests: - sha256:abc: @@ -25372,7 +25373,7 @@ paths: initiator: type: string examples: - default: &385 + default: &386 value: attestations: - bundle: @@ -26301,7 +26302,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *68 - - &410 + - &411 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`, @@ -26311,7 +26312,7 @@ paths: schema: &176 type: string description: The name of the tool used to generate the code scanning analysis. - - &411 + - &412 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 @@ -26334,7 +26335,7 @@ paths: be returned. in: query required: false - schema: &413 + schema: &414 type: string description: State of a code scanning alert. enum: @@ -26357,7 +26358,7 @@ paths: be returned. in: query required: false - schema: &414 + schema: &415 type: string description: Severity of a code scanning alert. enum: @@ -26391,7 +26392,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: &415 + instances_url: &416 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26414,7 +26415,7 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: &416 + dismissed_reason: &417 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26423,13 +26424,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &417 + dismissed_comment: &418 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &418 + rule: &419 type: object properties: id: @@ -26482,7 +26483,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &419 + tool: &420 type: object properties: name: *176 @@ -26492,26 +26493,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *177 - most_recent_instance: &420 + most_recent_instance: &421 type: object properties: - ref: &412 + ref: &413 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &430 + analysis_key: &431 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: &431 + environment: &432 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: &432 + category: &433 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26525,7 +26526,7 @@ paths: properties: text: type: string - location: &433 + location: &434 type: object description: Describe a region within a file for the alert. properties: @@ -26546,7 +26547,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: &434 + items: &435 type: string description: A classification of the file. For example to identify it as generated. @@ -27836,7 +27837,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &446 + properties: &447 name: type: string description: The name of the machine. @@ -27878,7 +27879,7 @@ paths: - ready - in_progress nullable: true - required: &447 + required: &448 - name - display_name - operating_system @@ -28746,7 +28747,7 @@ paths: - updated_at - visibility examples: - default: &448 + default: &449 value: total_count: 2 secrets: @@ -28784,7 +28785,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28813,7 +28814,7 @@ paths: - key_id - key examples: - default: &450 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28845,7 +28846,7 @@ paths: application/json: schema: *185 examples: - default: &452 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29843,7 +29844,7 @@ paths: application/json: schema: type: array - items: &318 + items: &319 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30150,7 +30151,7 @@ paths: - date additionalProperties: true examples: - default: &319 + default: &320 value: - date: '2024-06-24' total_active_users: 24 @@ -30252,7 +30253,7 @@ paths: '500': *111 '403': *29 '404': *6 - '422': &320 + '422': &321 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -30458,7 +30459,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30475,7 +30476,7 @@ paths: - key_id - key examples: - default: &482 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32275,7 +32276,7 @@ paths: application/json: schema: *22 examples: - default: &520 + default: &521 value: id: 1 account: @@ -32500,7 +32501,7 @@ paths: required: true content: application/json: - schema: &521 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -33353,7 +33354,7 @@ paths: application/json: schema: *231 examples: - default: &445 + default: &446 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34602,7 +34603,7 @@ paths: parameters: - *68 - *238 - - &673 + - &674 name: repo_name description: repo_name parameter in: path @@ -35347,7 +35348,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &314 + items: &315 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -35641,7 +35642,7 @@ paths: - nuget - container - *68 - - &674 + - &675 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35682,7 +35683,7 @@ paths: default: *245 '403': *29 '401': *25 - '400': &676 + '400': &677 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37474,7 +37475,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &760 + properties: &763 id: type: number description: The unique identifier of the status update. @@ -37522,7 +37523,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &761 + required: &764 - id - node_id - created_at @@ -37736,7 +37737,7 @@ paths: content: oneOf: - *75 - - &462 + - &463 title: Pull Request Simple description: Pull Request Simple type: object @@ -37965,7 +37966,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: &568 + auto_merge: &569 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38340,7 +38341,7 @@ paths: - updated_at - project_url examples: - default: &693 + default: &696 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38517,7 +38518,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &694 + items: &697 type: object properties: name: @@ -38553,7 +38554,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &695 + iteration_configuration: &698 type: object description: The configuration for iteration fields. properties: @@ -38602,7 +38603,7 @@ paths: value: name: Due date data_type: date - single_select_field: &696 + single_select_field: &699 summary: Create a single select field value: name: Priority @@ -38629,7 +38630,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &697 + iteration_field: &700 summary: Create an iteration field value: name: Sprint @@ -38655,7 +38656,7 @@ paths: application/json: schema: *266 examples: - text_field: &698 + text_field: &701 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -38664,7 +38665,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &699 + number_field: &702 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -38673,7 +38674,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &700 + date_field: &703 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -38682,7 +38683,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &701 + single_select_field: &704 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38716,7 +38717,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &702 + iteration_field: &705 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -38762,7 +38763,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *262 - - &703 + - &706 name: field_id description: The unique identifier of the field. in: path @@ -38777,7 +38778,7 @@ paths: application/json: schema: *266 examples: - default: &704 + default: &707 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39889,6 +39890,253 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - *68 + - *262 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: &688 + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element + is a tuple of [field_id, direction] where direction is "asc" + or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping + (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by + examples: + table_view: + summary: Response for creating a table view + value: &273 + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 + board_view: + summary: Response for creating a board view with filter + value: *273 + roadmap_view: + summary: Response for creating a roadmap view + value: *273 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -39903,7 +40151,7 @@ paths: parameters: - *262 - *68 - - &705 + - &708 name: view_number description: The number that identifies the project view. in: path @@ -39970,7 +40218,7 @@ paths: application/json: schema: type: array - items: &273 + items: &274 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -40035,7 +40283,7 @@ paths: - property_name - value_type examples: - default: &274 + default: &275 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40094,7 +40342,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *273 + items: *274 minItems: 1 maxItems: 100 required: @@ -40124,9 +40372,9 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: - default: *274 + default: *275 '403': *29 '404': *6 x-github: @@ -40148,7 +40396,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *68 - - &275 + - &276 name: custom_property_name description: The custom property name in: path @@ -40160,9 +40408,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: &276 + default: &277 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40197,7 +40445,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *68 - - *275 + - *276 requestBody: required: true content: @@ -40265,9 +40513,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: *276 + default: *277 '403': *29 '404': *6 x-github: @@ -40291,7 +40539,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *68 - - *275 + - *276 responses: '204': *182 '403': *29 @@ -40352,7 +40600,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &277 + items: &278 title: Custom Property Value description: Custom property name and associated value type: object @@ -40439,7 +40687,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *277 + items: *278 required: - repository_names - properties @@ -40833,7 +41081,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &328 title: Full Repository description: Full Repository type: object @@ -41110,8 +41358,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *278 - required: *279 + properties: *279 + required: *280 nullable: true temp_clone_token: type: string @@ -41226,7 +41474,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &467 + properties: &468 url: type: string format: uri @@ -41242,12 +41490,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &468 + required: &469 - url - key - name - html_url - security_and_analysis: *280 + security_and_analysis: *281 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41331,7 +41579,7 @@ paths: - network_count - subscribers_count examples: - default: &329 + default: &330 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41852,7 +42100,7 @@ paths: - *68 - *17 - *19 - - &590 + - &591 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41870,7 +42118,7 @@ paths: application/json: schema: type: array - items: &307 + items: &308 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41905,7 +42153,7 @@ paths: source: type: string description: The name of the source - enforcement: &283 + enforcement: &284 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41918,7 +42166,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &284 + items: &285 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41988,7 +42236,7 @@ paths: conditions: nullable: true anyOf: - - &281 + - &282 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42012,7 +42260,7 @@ paths: match. items: type: string - - &285 + - &286 title: Organization ruleset conditions type: object description: |- @@ -42026,7 +42274,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42060,7 +42308,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42082,7 +42330,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42095,7 +42343,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &282 + items: &283 title: Repository ruleset property targeting definition type: object @@ -42128,17 +42376,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *282 + items: *283 required: - repository_property rules: type: array - items: &591 + items: &592 title: Repository Rule type: object description: A repository rule. oneOf: - - &286 + - &287 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42150,7 +42398,7 @@ paths: type: string enum: - creation - - &287 + - &288 title: update description: Only allow users with bypass permission to update matching refs. @@ -42171,7 +42419,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &288 + - &289 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42183,7 +42431,7 @@ paths: type: string enum: - deletion - - &289 + - &290 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42195,7 +42443,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &590 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42273,7 +42521,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &290 + - &291 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42297,7 +42545,7 @@ paths: type: string required: - required_deployment_environments - - &291 + - &292 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42309,7 +42557,7 @@ paths: type: string enum: - required_signatures - - &292 + - &293 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42415,7 +42663,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &293 + - &294 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42463,7 +42711,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &294 + - &295 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42475,7 +42723,7 @@ paths: type: string enum: - non_fast_forward - - &295 + - &296 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42511,7 +42759,7 @@ paths: required: - operator - pattern - - &296 + - &297 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42547,7 +42795,7 @@ paths: required: - operator - pattern - - &297 + - &298 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -42583,7 +42831,7 @@ paths: required: - operator - pattern - - &298 + - &299 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42619,7 +42867,7 @@ paths: required: - operator - pattern - - &299 + - &300 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42655,7 +42903,7 @@ paths: required: - operator - pattern - - &300 + - &301 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42680,7 +42928,7 @@ paths: type: string required: - restricted_file_paths - - &301 + - &302 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42704,7 +42952,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &302 + - &303 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42727,7 +42975,7 @@ paths: type: string required: - restricted_file_extensions - - &303 + - &304 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42752,7 +43000,7 @@ paths: maximum: 100 required: - max_file_size - - &304 + - &305 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42802,7 +43050,7 @@ paths: - repository_id required: - workflows - - &305 + - &306 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42863,7 +43111,7 @@ paths: - tool required: - code_scanning_tools - - &306 + - &307 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42962,21 +43210,20 @@ paths: - push - repository default: branch - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *285 + items: *285 + conditions: *286 rules: type: array description: An array of rules within the ruleset. - items: &309 + items: &310 title: Repository Rule type: object description: A repository rule. oneOf: - - *286 - *287 - *288 - *289 @@ -42997,6 +43244,7 @@ paths: - *304 - *305 - *306 + - *307 required: - name - enforcement @@ -43034,9 +43282,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &308 + default: &309 value: id: 21 name: super cool ruleset @@ -43091,7 +43339,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *68 - - &592 + - &593 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -43106,7 +43354,7 @@ paths: in: query schema: type: string - - &593 + - &594 name: time_period description: |- The time period to filter by. @@ -43122,14 +43370,14 @@ paths: - week - month default: day - - &594 + - &595 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &595 + - &596 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43149,7 +43397,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &597 title: Rule Suites description: Response type: array @@ -43204,7 +43452,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &597 + default: &598 value: - id: 21 actor_id: 12 @@ -43248,7 +43496,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *68 - - &598 + - &599 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43264,7 +43512,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &600 title: Rule Suite description: Response type: object @@ -43363,7 +43611,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &600 + default: &601 value: id: 21 actor_id: 12 @@ -43436,9 +43684,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '500': *111 put: @@ -43482,16 +43730,16 @@ paths: - tag - push - repository - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *285 + items: *285 + conditions: *286 rules: description: An array of rules within the ruleset. type: array - items: *309 + items: *310 examples: default: value: @@ -43526,9 +43774,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '500': *111 delete: @@ -43585,7 +43833,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Ruleset version type: object description: The historical version of a ruleset @@ -43609,7 +43857,7 @@ paths: type: string format: date-time examples: - default: &602 + default: &603 value: - version_id: 3 actor: @@ -43662,9 +43910,9 @@ paths: description: Response content: application/json: - schema: &603 + schema: &604 allOf: - - *310 + - *311 - type: object required: - state @@ -43734,7 +43982,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *68 - - &604 + - &605 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -43745,7 +43993,7 @@ paths: enum: - open - resolved - - &605 + - &606 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -43755,7 +44003,7 @@ paths: required: false schema: type: string - - &606 + - &607 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -43764,7 +44012,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -43783,7 +44031,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &608 + - &609 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -43798,7 +44046,7 @@ paths: - *53 - *19 - *17 - - &609 + - &610 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43808,7 +44056,7 @@ paths: required: false schema: type: string - - &610 + - &611 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43818,7 +44066,7 @@ paths: required: false schema: type: string - - &611 + - &612 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -43827,7 +44075,7 @@ paths: required: false schema: type: string - - &612 + - &613 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -43836,7 +44084,7 @@ paths: schema: type: boolean default: false - - &613 + - &614 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -43845,7 +44093,7 @@ paths: schema: type: boolean default: false - - &614 + - &615 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -43880,14 +44128,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &615 + state: &616 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &616 + resolution: &617 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -43994,8 +44242,8 @@ paths: pull request. ' - oneOf: &617 - - &619 + oneOf: &618 + - &620 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -44047,7 +44295,7 @@ paths: - blob_url - commit_sha - commit_url - - &620 + - &621 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -44102,7 +44350,7 @@ paths: - page_url - commit_sha - commit_url - - &621 + - &622 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -44116,7 +44364,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &622 + - &623 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -44130,7 +44378,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &623 + - &624 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -44144,7 +44392,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &624 + - &625 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -44158,7 +44406,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &625 + - &626 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -44172,7 +44420,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &626 + - &627 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -44186,7 +44434,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &627 + - &628 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -44200,7 +44448,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &628 + - &629 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -44214,7 +44462,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &629 + - &630 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -44228,7 +44476,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &630 + - &631 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -44242,7 +44490,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &631 + - &632 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -44484,7 +44732,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &312 + pattern_config_version: &313 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -44493,7 +44741,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &311 + items: &312 type: object properties: token_type: @@ -44559,7 +44807,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *311 + items: *312 examples: default: value: @@ -44616,7 +44864,7 @@ paths: schema: type: object properties: - pattern_config_version: *312 + pattern_config_version: *313 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -44642,7 +44890,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *312 + custom_pattern_version: *313 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -44740,7 +44988,7 @@ paths: application/json: schema: type: array - items: &635 + items: &636 description: A repository security advisory. type: object properties: @@ -44960,7 +45208,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 credits_detailed: type: array nullable: true @@ -44970,7 +45218,7 @@ paths: type: object properties: user: *4 - type: *313 + type: *314 state: type: string description: The state of the user's acceptance of the @@ -45031,7 +45279,7 @@ paths: - private_fork additionalProperties: false examples: - default: &636 + default: &637 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45418,7 +45666,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: *243 x-github: @@ -45756,7 +46004,7 @@ paths: type: integer network_configurations: type: array - items: &315 + items: &316 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -45888,9 +46136,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: &316 + default: &317 value: id: 123456789ABCDEF name: My network configuration @@ -45919,7 +46167,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *68 - - &317 + - &318 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -45931,9 +46179,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *316 + default: *317 headers: Link: *59 x-github: @@ -45955,7 +46203,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *68 - - *317 + - *318 requestBody: required: true content: @@ -45994,9 +46242,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *316 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46016,7 +46264,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *68 - - *317 + - *318 responses: '204': description: Response @@ -46156,13 +46404,13 @@ paths: application/json: schema: type: array - items: *318 + items: *319 examples: - default: *319 + default: *320 '500': *111 '403': *29 '404': *6 - '422': *320 + '422': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46286,7 +46534,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46613,7 +46861,7 @@ paths: - repos_count - organization examples: - default: &322 + default: &323 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46690,9 +46938,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -46776,16 +47024,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '201': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 '422': *15 '403': *29 @@ -46932,7 +47180,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &324 title: Team Membership description: Team Membership type: object @@ -46959,7 +47207,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &653 + response-if-user-is-a-team-maintainer: &654 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47022,9 +47270,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-users-membership-with-team-is-now-pending: &654 + response-if-users-membership-with-team-is-now-pending: &655 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47131,14 +47379,14 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &655 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -47709,8 +47957,8 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 requestBody: required: false content: @@ -47757,8 +48005,8 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 responses: '204': description: Response @@ -47795,7 +48043,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: &656 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47949,7 +48197,7 @@ paths: resources: type: object properties: - core: &326 + core: &327 title: Rate Limit type: object properties: @@ -47966,21 +48214,21 @@ paths: - remaining - reset - used - graphql: *326 - search: *326 - code_search: *326 - source_import: *326 - integration_manifest: *326 - code_scanning_upload: *326 - actions_runner_registration: *326 - scim: *326 - dependency_snapshots: *326 - dependency_sbom: *326 - code_scanning_autofix: *326 + graphql: *327 + search: *327 + code_search: *327 + source_import: *327 + integration_manifest: *327 + code_scanning_upload: *327 + actions_runner_registration: *327 + scim: *327 + dependency_snapshots: *327 + dependency_sbom: *327 + code_scanning_autofix: *327 required: - core - search - rate: *326 + rate: *327 required: - rate - resources @@ -48085,14 +48333,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *327 + schema: *328 examples: default-response: summary: Default response @@ -48593,7 +48841,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *328 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48611,8 +48859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -48859,10 +49107,10 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 - '307': &330 + default: *330 + '307': &331 description: Temporary Redirect content: application/json: @@ -48891,8 +49139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -48914,7 +49162,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *330 + '307': *331 '404': *6 '409': *52 x-github: @@ -48938,11 +49186,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &363 + - &364 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48965,7 +49213,7 @@ paths: type: integer artifacts: type: array - items: &331 + items: &332 title: Artifact description: An artifact type: object @@ -49043,7 +49291,7 @@ paths: - expires_at - updated_at examples: - default: &364 + default: &365 value: total_count: 2 artifacts: @@ -49104,9 +49352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *324 - *325 - - &332 + - *326 + - &333 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49118,7 +49366,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -49156,9 +49404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *324 - *325 - - *332 + - *326 + - *333 responses: '204': description: Response @@ -49182,9 +49430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *324 - *325 - - *332 + - *326 + - *333 - name: archive_format in: path required: true @@ -49198,7 +49446,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': &524 + '410': &525 description: Gone content: application/json: @@ -49223,14 +49471,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &333 + schema: &334 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -49263,13 +49511,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *333 + schema: *334 examples: selected_actions: *42 responses: @@ -49298,14 +49546,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &334 + schema: &335 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -49338,13 +49586,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *334 + schema: *335 examples: selected_actions: *44 responses: @@ -49375,14 +49623,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: default: value: @@ -49408,11 +49656,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &336 + - &337 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 @@ -49446,7 +49694,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &338 title: Repository actions caches description: Repository actions caches type: object @@ -49488,7 +49736,7 @@ paths: - total_count - actions_caches examples: - default: &338 + default: &339 value: total_count: 1 actions_caches: @@ -49520,23 +49768,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: - - *324 - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49556,8 +49804,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: - - *324 - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49588,9 +49836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *324 - *325 - - &339 + - *326 + - &340 name: job_id description: The unique identifier of the job. in: path @@ -49602,7 +49850,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &368 title: Job description: Information of a job execution in a workflow run type: object @@ -49909,9 +50157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *324 - *325 - - *339 + - *326 + - *340 responses: '302': description: Response @@ -49939,9 +50187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *324 - *325 - - *339 + - *326 + - *340 requestBody: required: false content: @@ -49986,8 +50234,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: - - *324 - *325 + - *326 responses: '200': description: Status response @@ -50037,8 +50285,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50101,8 +50349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50120,7 +50368,7 @@ paths: type: integer secrets: type: array - items: &369 + items: &370 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50140,7 +50388,7 @@ paths: - created_at - updated_at examples: - default: &370 + default: &371 value: total_count: 2 secrets: @@ -50173,9 +50421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *324 - *325 - - *340 + - *326 + - *341 - *19 responses: '200': @@ -50192,7 +50440,7 @@ paths: type: integer variables: type: array - items: &373 + items: &374 title: Actions Variable type: object properties: @@ -50222,7 +50470,7 @@ paths: - created_at - updated_at examples: - default: &374 + default: &375 value: total_count: 2 variables: @@ -50255,8 +50503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50265,11 +50513,11 @@ paths: schema: type: object properties: - enabled: &342 + enabled: &343 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *136 - selected_actions_url: *341 + selected_actions_url: *342 sha_pinning_required: *137 required: - enabled @@ -50298,8 +50546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50310,7 +50558,7 @@ paths: schema: type: object properties: - enabled: *342 + enabled: *343 allowed_actions: *136 sha_pinning_required: *137 required: @@ -50342,14 +50590,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &343 + schema: &344 type: object properties: access_level: @@ -50366,7 +50614,7 @@ paths: required: - access_level examples: - default: &344 + default: &345 value: access_level: organization x-github: @@ -50390,15 +50638,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 responses: '204': description: Response @@ -50422,14 +50670,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: default: value: @@ -50453,8 +50701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -50464,7 +50712,7 @@ paths: required: true content: application/json: - schema: *346 + schema: *347 examples: default: summary: Set retention days @@ -50488,8 +50736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50497,7 +50745,7 @@ paths: application/json: schema: *138 examples: - default: *347 + default: *348 '404': *6 x-github: enabledForGitHubApps: true @@ -50516,8 +50764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50551,14 +50799,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: default: *139 '403': *29 @@ -50580,13 +50828,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *349 + schema: *350 examples: default: *139 responses: @@ -50612,8 +50860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50640,8 +50888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50673,14 +50921,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: default: *146 x-github: @@ -50703,8 +50951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Success response @@ -50715,7 +50963,7 @@ paths: required: true content: application/json: - schema: *351 + schema: *352 examples: default: *146 x-github: @@ -50744,8 +50992,8 @@ paths: in: query schema: type: string - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50789,8 +51037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50798,9 +51046,9 @@ paths: application/json: schema: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50822,8 +51070,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50866,7 +51114,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *354 + '201': *355 '404': *6 '422': *7 '409': *52 @@ -50897,8 +51145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50906,7 +51154,7 @@ paths: application/json: schema: *155 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50934,8 +51182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50943,7 +51191,7 @@ paths: application/json: schema: *155 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50965,8 +51213,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: - - *324 - *325 + - *326 - *152 responses: '200': @@ -50975,7 +51223,7 @@ paths: application/json: schema: *153 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50996,8 +51244,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: - - *324 - *325 + - *326 - *152 responses: '204': @@ -51024,8 +51272,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: - - *324 - *325 + - *326 - *152 responses: '200': *157 @@ -51050,8 +51298,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: - - *324 - *325 + - *326 - *152 requestBody: required: true @@ -51100,8 +51348,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: - - *324 - *325 + - *326 - *152 requestBody: required: true @@ -51151,11 +51399,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: - - *324 - *325 + - *326 - *152 responses: - '200': *358 + '200': *359 '404': *6 x-github: githubCloudOnly: false @@ -51182,10 +51430,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: - - *324 - *325 + - *326 - *152 - - *359 + - *360 responses: '200': *157 '404': *6 @@ -51213,9 +51461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *324 - *325 - - &377 + - *326 + - &378 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. @@ -51223,7 +51471,7 @@ paths: required: false schema: type: string - - &378 + - &379 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51231,7 +51479,7 @@ paths: required: false schema: type: string - - &379 + - &380 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51240,7 +51488,7 @@ paths: required: false schema: type: string - - &380 + - &381 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 @@ -51267,7 +51515,7 @@ paths: - pending - *17 - *19 - - &381 + - &382 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)." @@ -51276,7 +51524,7 @@ paths: schema: type: string format: date-time - - &360 + - &361 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51285,13 +51533,13 @@ paths: schema: type: boolean default: false - - &382 + - &383 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &383 + - &384 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51314,7 +51562,7 @@ paths: type: integer workflow_runs: type: array - items: &361 + items: &362 title: Workflow Run description: An invocation of a workflow type: object @@ -51462,7 +51710,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &405 + properties: &406 id: type: string description: SHA for the commit @@ -51513,7 +51761,7 @@ paths: - name - email nullable: true - required: &406 + required: &407 - id - tree_id - message @@ -51560,7 +51808,7 @@ paths: - workflow_url - pull_requests examples: - default: &384 + default: &385 value: total_count: 1 workflow_runs: @@ -51796,24 +52044,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *324 - *325 - - &362 + - *326 + - &363 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: &365 + default: &366 value: id: 30433642 name: Build @@ -52054,9 +52302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '204': description: Response @@ -52079,9 +52327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -52200,9 +52448,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: - - *324 - *325 - - *362 + - *326 + - *363 responses: '201': description: Response @@ -52235,12 +52483,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *324 - *325 - - *362 + - *326 + - *363 - *17 - *19 - - *363 + - *364 responses: '200': description: Response @@ -52256,9 +52504,9 @@ paths: type: integer artifacts: type: array - items: *331 + items: *332 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -52282,25 +52530,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *324 - *325 - - *362 - - &366 + - *326 + - *363 + - &367 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *365 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52323,10 +52571,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *324 - *325 - - *362 - - *366 + - *326 + - *363 + - *367 - *17 - *19 responses: @@ -52344,9 +52592,9 @@ paths: type: integer jobs: type: array - items: *367 + items: *368 examples: - default: &368 + default: &369 value: total_count: 1 jobs: @@ -52459,10 +52707,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *324 - *325 - - *362 - - *366 + - *326 + - *363 + - *367 responses: '302': description: Response @@ -52490,9 +52738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '202': description: Response @@ -52525,9 +52773,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: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: true content: @@ -52594,9 +52842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '202': description: Response @@ -52629,9 +52877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 - 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 @@ -52661,9 +52909,9 @@ paths: type: integer jobs: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -52688,9 +52936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '302': description: Response @@ -52717,9 +52965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '204': description: Response @@ -52746,9 +52994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -52808,7 +53056,7 @@ paths: items: type: object properties: - type: &490 + type: &491 type: string description: The type of reviewer. enum: @@ -52893,9 +53141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: true content: @@ -52942,7 +53190,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53048,7 +53296,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53104,9 +53352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: false content: @@ -53150,9 +53398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: false content: @@ -53205,9 +53453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -53344,8 +53592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53363,9 +53611,9 @@ paths: type: integer secrets: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *59 x-github: @@ -53390,16 +53638,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53421,17 +53669,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: &503 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53457,8 +53705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -53516,8 +53764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -53543,9 +53791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *324 - *325 - - *340 + - *326 + - *341 - *19 responses: '200': @@ -53562,9 +53810,9 @@ paths: type: integer variables: type: array - items: *373 + items: *374 examples: - default: *374 + default: *375 headers: Link: *59 x-github: @@ -53587,8 +53835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -53640,17 +53888,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: &504 + default: &505 value: name: USERNAME value: octocat @@ -53676,8 +53924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 requestBody: required: true @@ -53720,8 +53968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 responses: '204': @@ -53747,8 +53995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53766,7 +54014,7 @@ paths: type: integer workflows: type: array - items: &375 + items: &376 title: Workflow description: A GitHub Actions workflow type: object @@ -53873,9 +54121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *324 - *325 - - &376 + - *326 + - &377 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53890,7 +54138,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -53923,9 +54171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -53950,9 +54198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -54003,9 +54251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -54032,19 +54280,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *324 - *325 - - *376 + - *326 - *377 - *378 - *379 - *380 + - *381 - *17 - *19 - - *381 - - *360 - *382 + - *361 - *383 + - *384 responses: '200': description: Response @@ -54060,9 +54308,9 @@ paths: type: integer workflow_runs: type: array - items: *361 + items: *362 examples: - default: *384 + default: *385 headers: Link: *59 x-github: @@ -54094,9 +54342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '200': description: Response @@ -54157,8 +54405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *324 - *325 + - *326 - *53 - *17 - *45 @@ -54322,8 +54570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -54360,8 +54608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *324 - *325 + - *326 - name: assignee in: path required: true @@ -54397,8 +54645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54510,8 +54758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *324 - *325 + - *326 - *17 - *45 - *46 @@ -54568,7 +54816,7 @@ paths: initiator: type: string examples: - default: *385 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54588,8 +54836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -54597,7 +54845,7 @@ paths: application/json: schema: type: array - items: &386 + items: &387 title: Autolink reference description: An autolink reference. type: object @@ -54651,8 +54899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54691,9 +54939,9 @@ paths: description: response content: application/json: - schema: *386 + schema: *387 examples: - default: &387 + default: &388 value: id: 1 key_prefix: TICKET- @@ -54724,9 +54972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *324 - *325 - - &388 + - *326 + - &389 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54738,9 +54986,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 '404': *6 x-github: githubCloudOnly: false @@ -54760,9 +55008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *324 - *325 - - *388 + - *326 + - *389 responses: '204': description: Response @@ -54786,8 +55034,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: - - *324 - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54835,8 +55083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54857,8 +55105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54878,8 +55126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *324 - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54917,7 +55165,7 @@ paths: - url protected: type: boolean - protection: &390 + protection: &391 title: Branch Protection description: Branch Protection type: object @@ -54959,7 +55207,7 @@ paths: required: - contexts - checks - enforce_admins: &393 + enforce_admins: &394 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54974,7 +55222,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &395 + required_pull_request_reviews: &396 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55050,7 +55298,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &392 + restrictions: &393 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55327,9 +55575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *324 - *325 - - &391 + - *326 + - &392 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). @@ -55343,14 +55591,14 @@ paths: description: Response content: application/json: - schema: &401 + schema: &402 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &458 + commit: &459 title: Commit description: Commit type: object @@ -55384,7 +55632,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &389 + properties: &390 name: type: string example: '"Chris Wanstrath"' @@ -55400,7 +55648,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true message: type: string @@ -55421,7 +55669,7 @@ paths: required: - sha - url - verification: &510 + verification: &511 title: Verification type: object properties: @@ -55491,7 +55739,7 @@ paths: type: integer files: type: array - items: &471 + items: &472 title: Diff Entry description: Diff Entry type: object @@ -55575,7 +55823,7 @@ paths: - self protected: type: boolean - protection: *390 + protection: *391 protection_url: type: string format: uri @@ -55682,7 +55930,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *328 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -55704,15 +55952,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: default: value: @@ -55906,9 +56154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -56163,7 +56411,7 @@ paths: url: type: string format: uri - required_status_checks: &398 + required_status_checks: &399 title: Status Check Policy description: Status Check Policy type: object @@ -56315,7 +56563,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *392 + restrictions: *393 required_conversation_resolution: type: object properties: @@ -56427,9 +56675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56454,17 +56702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &394 + default: &395 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56486,17 +56734,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56515,9 +56763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56542,17 +56790,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &396 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56648,9 +56896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -56748,9 +56996,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -56771,9 +57019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56800,17 +57048,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &397 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56833,17 +57081,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *397 + default: *398 '404': *6 x-github: githubCloudOnly: false @@ -56863,9 +57111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56890,17 +57138,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: &399 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56926,9 +57174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -56980,9 +57228,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: *399 + default: *400 '404': *6 '422': *15 x-github: @@ -57004,9 +57252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -57030,9 +57278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57066,9 +57314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57135,9 +57383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57201,9 +57449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: content: application/json: @@ -57269,15 +57517,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -57368,9 +57616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -57393,9 +57641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57405,7 +57653,7 @@ paths: type: array items: *5 examples: - default: &400 + default: &401 value: - id: 1 slug: octoapp @@ -57462,9 +57710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57498,7 +57746,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57519,9 +57767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57555,7 +57803,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57576,9 +57824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57612,7 +57860,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57634,9 +57882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57666,9 +57914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57727,9 +57975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57788,9 +58036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: content: application/json: @@ -57849,9 +58097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57885,9 +58133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57945,9 +58193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58005,9 +58253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58067,9 +58315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58091,7 +58339,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -58207,8 +58455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58487,7 +58735,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &403 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58607,7 +58855,7 @@ paths: check. type: array items: *80 - deployment: &718 + deployment: &721 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58887,9 +59135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *324 - *325 - - &403 + - *326 + - &404 name: check_run_id description: The unique identifier of the check run. in: path @@ -58901,9 +59149,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &404 + default: &405 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59003,9 +59251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *324 - *325 - - *403 + - *326 + - *404 requestBody: required: true content: @@ -59245,9 +59493,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *404 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59267,9 +59515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *324 - *325 - - *403 + - *326 + - *404 - *17 - *19 responses: @@ -59364,9 +59612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *324 - *325 - - *403 + - *326 + - *404 responses: '201': description: Response @@ -59410,8 +59658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59433,7 +59681,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &407 + schema: &408 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59519,12 +59767,12 @@ paths: type: string format: date-time nullable: true - head_commit: &744 + head_commit: &747 title: Simple Commit description: A commit. type: object - properties: *405 - required: *406 + properties: *406 + required: *407 latest_check_runs_count: type: integer check_runs_url: @@ -59552,7 +59800,7 @@ paths: - check_runs_url - pull_requests examples: - default: &408 + default: &409 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59843,9 +60091,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59864,8 +60112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -60174,9 +60422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *324 - *325 - - &409 + - *326 + - &410 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60188,9 +60436,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60213,17 +60461,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *324 - *325 - - *409 - - &464 + - *326 + - *410 + - &465 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &465 + - &466 name: status description: Returns check runs with the specified `status`. in: query @@ -60262,9 +60510,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *403 examples: - default: &466 + default: &467 value: total_count: 1 check_runs: @@ -60366,9 +60614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *324 - *325 - - *409 + - *326 + - *410 responses: '201': description: Response @@ -60401,21 +60649,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *410 + - *326 - *411 + - *412 - *19 - *17 - - &428 + - &429 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: *412 - - &429 + schema: *413 + - &430 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60440,13 +60688,13 @@ paths: be returned. in: query required: false - schema: *413 + schema: *414 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *414 + schema: *415 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -60470,7 +60718,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: *415 + instances_url: *416 state: *178 fixed_at: *174 dismissed_by: @@ -60481,11 +60729,11 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: *416 - dismissed_comment: *417 - rule: *418 - tool: *419 - most_recent_instance: *420 + dismissed_reason: *417 + dismissed_comment: *418 + rule: *419 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60611,7 +60859,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &421 + '403': &422 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60638,9 +60886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *324 - *325 - - &422 + - *326 + - &423 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60654,7 +60902,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &424 type: object properties: number: *169 @@ -60662,7 +60910,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: *415 + instances_url: *416 state: *178 fixed_at: *174 dismissed_by: @@ -60673,8 +60921,8 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *417 + dismissed_comment: *418 rule: type: object properties: @@ -60728,8 +60976,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *419 - most_recent_instance: *420 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60828,7 +61076,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -60848,9 +61096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: true content: @@ -60865,8 +61113,8 @@ paths: enum: - open - dismissed - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *417 + dismissed_comment: *418 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60894,7 +61142,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -60970,7 +61218,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &427 + '403': &428 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60997,15 +61245,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: - - *324 - *325 - - *422 + - *326 + - *423 responses: '200': description: Response content: application/json: - schema: &424 + schema: &425 type: object properties: status: @@ -61031,13 +61279,13 @@ paths: - description - started_at examples: - default: &425 + default: &426 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &426 + '400': &427 description: Bad Request content: application/json: @@ -61048,7 +61296,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': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61073,29 +61321,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: - - *324 - *325 - - *422 + - *326 + - *423 responses: '200': description: OK content: application/json: - schema: *424 + schema: *425 examples: - default: *425 + default: *426 '202': description: Accepted content: application/json: - schema: *424 + schema: *425 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *426 + '400': *427 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61127,9 +61375,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: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: false content: @@ -61174,8 +61422,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *426 - '403': *427 + '400': *427 + '403': *428 '404': *6 '422': description: Unprocessable Entity @@ -61199,13 +61447,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 - *19 - *17 - - *428 - *429 + - *430 responses: '200': description: Response @@ -61216,10 +61464,10 @@ paths: items: type: object properties: - ref: *412 - analysis_key: *430 - environment: *431 - category: *432 + ref: *413 + analysis_key: *431 + environment: *432 + category: *433 state: type: string description: State of a code scanning alert instance. @@ -61234,7 +61482,7 @@ paths: properties: text: type: string - location: *433 + location: *434 html_url: type: string classifications: @@ -61242,7 +61490,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: *434 + items: *435 examples: default: value: @@ -61281,7 +61529,7 @@ paths: end_column: 50 classifications: - source - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61315,25 +61563,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *324 - *325 - - *410 + - *326 - *411 + - *412 - *19 - *17 - - *429 + - *430 - 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: *412 + schema: *413 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &436 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61354,23 +61602,23 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: - ref: *412 - commit_sha: &444 + ref: *413 + commit_sha: &445 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: *430 + analysis_key: *431 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *432 + category: *433 error: type: string example: error reading field xyz @@ -61394,8 +61642,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *419 + sarif_id: *436 + tool: *420 deletable: type: boolean warning: @@ -61456,7 +61704,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61492,8 +61740,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61506,7 +61754,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: response: summary: application/json response @@ -61529,13 +61777,13 @@ paths: version: 2.4.0 deletable: true warning: '' - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true examples: response: - summary: application/json+sarif response + summary: application/sarif+json response value: runs: - tool: @@ -61560,7 +61808,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *421 + '403': *422 '404': *6 '422': description: Response if analysis could not be processed @@ -61647,8 +61895,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61701,7 +61949,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': *427 + '403': *428 '404': *6 '503': *112 x-github: @@ -61723,8 +61971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -61732,7 +61980,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: CodeQL Database description: A CodeQL database. type: object @@ -61843,7 +62091,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': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61872,8 +62120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61885,7 +62133,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: default: value: @@ -61917,9 +62165,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': &473 + '302': &474 description: Found - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61941,8 +62189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61952,7 +62200,7 @@ paths: responses: '204': description: Response - '403': *427 + '403': *428 '404': *6 '503': *112 x-github: @@ -61980,8 +62228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -61990,7 +62238,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &439 type: string description: The language targeted by the CodeQL query enum: @@ -62070,7 +62318,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &443 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62080,7 +62328,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *438 + query_language: *439 query_pack_url: type: string description: The download url for the query pack. @@ -62127,7 +62375,7 @@ paths: items: type: object properties: - repository: &439 + repository: &440 title: Repository Identifier description: Repository Identifier type: object @@ -62163,7 +62411,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &444 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62195,7 +62443,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &441 type: object properties: repository_count: @@ -62209,7 +62457,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: *439 + items: *440 required: - repository_count - repositories @@ -62231,8 +62479,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *441 + over_limit_repos: *441 required: - access_mismatch_repos - not_found_repos @@ -62248,7 +62496,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &442 summary: Default response value: id: 1 @@ -62394,10 +62642,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *442 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *442 '404': *6 '422': description: Unable to process variant analysis submission @@ -62425,8 +62673,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: - - *324 - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62438,9 +62686,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *441 + default: *442 '404': *6 '503': *112 x-github: @@ -62463,7 +62711,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: - - *324 + - *325 - name: repo in: path description: The name of the controller repository. @@ -62498,7 +62746,7 @@ paths: type: object properties: repository: *58 - analysis_status: *443 + analysis_status: *444 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62623,8 +62871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -62709,7 +62957,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -62730,8 +62978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62823,7 +63071,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *427 + '403': *428 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62894,8 +63142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62903,7 +63151,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *445 ref: type: string description: |- @@ -62961,7 +63209,7 @@ paths: schema: type: object properties: - id: *435 + id: *436 url: type: string description: The REST API URL for checking the status of the upload. @@ -62975,7 +63223,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': *427 + '403': *428 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62998,8 +63246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *324 - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63045,7 +63293,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': *421 + '403': *422 '404': description: Not Found if the sarif id does not match any upload '503': *112 @@ -63070,8 +63318,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -63152,8 +63400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *324 - *325 + - *326 - 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 @@ -63273,8 +63521,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63588,8 +63836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -63654,7 +63902,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63662,7 +63910,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '400': *14 '401': *25 '403': *29 @@ -63691,8 +63939,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63756,8 +64004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *324 - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63792,14 +64040,14 @@ paths: type: integer machines: type: array - items: &663 + items: &664 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 examples: - default: &664 + default: &665 value: total_count: 2 machines: @@ -63839,8 +64087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *324 - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63924,8 +64172,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: - - *324 - *325 + - *326 - 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 @@ -63991,8 +64239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64010,7 +64258,7 @@ paths: type: integer secrets: type: array - items: &451 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64030,7 +64278,7 @@ paths: - created_at - updated_at examples: - default: *448 + default: *449 headers: Link: *59 x-github: @@ -64053,16 +64301,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64082,17 +64330,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64112,8 +64360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -64166,8 +64414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -64196,8 +64444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *324 - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64239,7 +64487,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &453 + properties: &454 login: type: string example: octocat @@ -64332,7 +64580,7 @@ paths: user_view_type: type: string example: public - required: &454 + required: &455 - avatar_url - events_url - followers_url @@ -64406,8 +64654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 responses: '204': @@ -64454,8 +64702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 requestBody: required: false @@ -64482,7 +64730,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &523 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64711,8 +64959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 responses: '204': @@ -64744,8 +64992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *324 - *325 + - *326 - *64 responses: '200': @@ -64766,8 +65014,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true required: - permission @@ -64822,8 +65070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64833,7 +65081,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Commit Comment description: Commit Comment type: object @@ -64891,7 +65139,7 @@ paths: - created_at - updated_at examples: - default: &460 + default: &461 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64950,17 +65198,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &461 + default: &462 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65017,8 +65265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -65041,7 +65289,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -65092,8 +65340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -65115,8 +65363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65143,7 +65391,7 @@ paths: application/json: schema: type: array - items: &456 + items: &457 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -65186,7 +65434,7 @@ paths: - content - created_at examples: - default: &527 + default: &528 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65231,8 +65479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -65265,9 +65513,9 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: &457 + default: &458 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65296,9 +65544,9 @@ paths: description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -65320,10 +65568,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - &528 + - &529 name: reaction_id description: The unique identifier of the reaction. in: path @@ -65378,8 +65626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *324 - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65435,9 +65683,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: &575 + default: &576 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65531,9 +65779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *324 - *325 - - &459 + - *326 + - &460 name: commit_sha description: The SHA of the commit. in: path @@ -65605,9 +65853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *324 - *325 - - *459 + - *326 + - *460 - *17 - *19 responses: @@ -65617,9 +65865,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *460 + default: *461 headers: Link: *59 x-github: @@ -65647,9 +65895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *324 - *325 - - *459 + - *326 + - *460 requestBody: required: true content: @@ -65684,9 +65932,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *461 + default: *462 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65714,9 +65962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *324 - *325 - - *459 + - *326 + - *460 - *17 - *19 responses: @@ -65726,9 +65974,9 @@ paths: application/json: schema: type: array - items: *462 + items: *463 examples: - default: &567 + default: &568 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66265,11 +66513,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *324 - *325 + - *326 - *19 - *17 - - &463 + - &464 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66284,9 +66532,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: &554 + default: &555 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66399,11 +66647,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *324 - *325 - - *463 + - *326 - *464 - *465 + - *466 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66437,9 +66685,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *403 examples: - default: *466 + default: *467 headers: Link: *59 x-github: @@ -66464,9 +66712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66474,7 +66722,7 @@ paths: schema: type: integer example: 1 - - *464 + - *465 - *17 - *19 responses: @@ -66492,7 +66740,7 @@ paths: type: integer check_suites: type: array - items: *407 + items: *408 examples: default: value: @@ -66692,9 +66940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - *17 - *19 responses: @@ -66892,9 +67140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - *17 - *19 responses: @@ -66904,7 +67152,7 @@ paths: application/json: schema: type: array - items: &640 + items: &641 title: Status description: The status of a commit. type: object @@ -66985,7 +67233,7 @@ paths: site_admin: false headers: Link: *59 - '301': *328 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67013,8 +67261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -67043,20 +67291,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &469 + properties: &470 url: type: string format: uri html_url: type: string format: uri - required: &470 + required: &471 - url - html_url nullable: true @@ -67070,26 +67318,26 @@ paths: contributing: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true readme: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true issue_template: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true pull_request_template: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true required: - code_of_conduct @@ -67216,8 +67464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *324 - *325 + - *326 - *19 - *17 - name: basehead @@ -67260,8 +67508,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *458 - merge_base_commit: *458 + base_commit: *459 + merge_base_commit: *459 status: type: string enum: @@ -67281,10 +67529,10 @@ paths: example: 6 commits: type: array - items: *458 + items: *459 files: type: array - items: *471 + items: *472 required: - url - html_url @@ -67570,8 +67818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -67714,7 +67962,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &472 + response-if-content-is-a-file: &473 summary: Response if content is a file value: type: file @@ -67846,7 +68094,7 @@ paths: - size - type - url - - &580 + - &581 title: Content File description: Content File type: object @@ -68047,7 +68295,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *472 + response-if-content-is-a-file: *473 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68116,7 +68364,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *473 + '302': *474 '304': *37 x-github: githubCloudOnly: false @@ -68139,8 +68387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68233,7 +68481,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &475 title: File Commit description: File Commit type: object @@ -68385,7 +68633,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: example-for-creating-a-file: value: @@ -68439,7 +68687,7 @@ paths: schema: oneOf: - *3 - - &505 + - &506 description: Repository rule violation was detected type: object properties: @@ -68460,7 +68708,7 @@ paths: items: type: object properties: - placeholder_id: &632 + placeholder_id: &633 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68492,8 +68740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68554,7 +68802,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -68609,8 +68857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *324 - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68733,8 +68981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *324 - *325 + - *326 - *189 - *190 - *191 @@ -68746,7 +68994,7 @@ paths: schema: type: string - *193 - - *475 + - *476 - *194 - *195 - *53 @@ -68767,7 +69015,7 @@ paths: application/json: schema: type: array - items: &479 + items: &480 type: object description: A Dependabot alert. properties: @@ -68813,7 +69061,7 @@ paths: - unknown - direct - transitive - security_advisory: *476 + security_advisory: *477 security_vulnerability: *57 url: *172 html_url: *173 @@ -68844,8 +69092,8 @@ paths: nullable: true maxLength: 280 fixed_at: *174 - auto_dismissed_at: *477 - dismissal_request: *478 + auto_dismissed_at: *478 + dismissal_request: *479 required: - number - state @@ -69075,9 +69323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *324 - *325 - - &480 + - *326 + - &481 name: alert_number in: path description: |- @@ -69092,7 +69340,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69205,9 +69453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *324 - *325 - - *480 + - *326 + - *481 requestBody: required: true content: @@ -69252,7 +69500,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69381,8 +69629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -69400,7 +69648,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &484 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69453,16 +69701,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: *482 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69482,15 +69730,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: default: value: @@ -69516,8 +69764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -69570,8 +69818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -69594,8 +69842,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: - - *324 - *325 + - *326 - 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 @@ -69755,8 +70003,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -69995,8 +70243,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70071,7 +70319,7 @@ paths: - version - url additionalProperties: false - metadata: &484 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70104,7 +70352,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *484 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -70117,7 +70365,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *484 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -70246,8 +70494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *324 - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -70287,9 +70535,9 @@ paths: application/json: schema: type: array - items: *485 + items: *486 examples: - default: *486 + default: *487 headers: Link: *59 x-github: @@ -70355,8 +70603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70437,7 +70685,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: simple-example: summary: Simple example @@ -70510,9 +70758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *324 - *325 - - &487 + - *326 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -70524,7 +70772,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70589,9 +70837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *324 - *325 - - *487 + - *326 + - *488 responses: '204': description: Response @@ -70613,9 +70861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *324 - *325 - - *487 + - *326 + - *488 - *17 - *19 responses: @@ -70625,7 +70873,7 @@ paths: application/json: schema: type: array - items: &488 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -70786,9 +71034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *324 - *325 - - *487 + - *326 + - *488 requestBody: required: true content: @@ -70863,9 +71111,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &489 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70921,9 +71169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *324 - *325 - - *487 + - *326 + - *488 - name: status_id in: path required: true @@ -70934,9 +71182,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -70961,8 +71209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -71019,8 +71267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -71037,7 +71285,7 @@ paths: type: integer environments: type: array - items: &491 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -71089,7 +71337,7 @@ paths: type: type: string example: wait_timer - wait_timer: &493 + wait_timer: &494 type: integer example: 30 description: The amount of time to delay a job after @@ -71126,7 +71374,7 @@ paths: items: type: object properties: - type: *490 + type: *491 reviewer: anyOf: - *4 @@ -71150,7 +71398,7 @@ paths: - id - node_id - type - deployment_branch_policy: &494 + deployment_branch_policy: &495 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71266,9 +71514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *324 - *325 - - &492 + - *326 + - &493 name: environment_name in: path required: true @@ -71281,9 +71529,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &495 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71367,9 +71615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: false content: @@ -71378,7 +71626,7 @@ paths: type: object nullable: true properties: - wait_timer: *493 + wait_timer: *494 prevent_self_review: type: boolean example: false @@ -71395,13 +71643,13 @@ paths: items: type: object properties: - type: *490 + type: *491 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *494 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -71421,9 +71669,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *495 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71447,9 +71695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *324 - *325 - - *492 + - *326 + - *493 responses: '204': description: Default response @@ -71474,9 +71722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *17 - *19 responses: @@ -71494,7 +71742,7 @@ paths: example: 2 branch_policies: type: array - items: &496 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71551,9 +71799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: true content: @@ -71599,9 +71847,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - example-wildcard: &497 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71643,10 +71891,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - &498 + - *326 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -71658,9 +71906,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71679,10 +71927,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - *498 + - *326 + - *493 + - *499 requestBody: required: true content: @@ -71710,9 +71958,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71731,10 +71979,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - *498 + - *326 + - *493 + - *499 responses: '204': description: Response @@ -71759,9 +72007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 responses: '200': description: List of deployment protection rules @@ -71777,7 +72025,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &499 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -71796,7 +72044,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &500 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71895,9 +72143,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: - - *492 + - *493 + - *326 - *325 - - *324 requestBody: content: application/json: @@ -71918,9 +72166,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *499 + schema: *500 examples: - default: &501 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71955,9 +72203,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: - - *492 + - *493 + - *326 - *325 - - *324 - *19 - *17 responses: @@ -71976,7 +72224,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *500 + items: *501 examples: default: value: @@ -72011,10 +72259,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *324 - *325 - - *492 - - &502 + - *326 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72026,9 +72274,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *501 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72049,10 +72297,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 - - *502 + - *503 responses: '204': description: Response @@ -72078,9 +72326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *17 - *19 responses: @@ -72098,9 +72346,9 @@ paths: type: integer secrets: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *59 x-github: @@ -72125,17 +72373,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *324 - *325 - - *492 + - *326 + - *493 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72157,18 +72405,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72190,9 +72438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 requestBody: required: true @@ -72250,9 +72498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 responses: '204': @@ -72278,10 +72526,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *324 - *325 - - *492 - - *340 + - *326 + - *493 + - *341 - *19 responses: '200': @@ -72298,9 +72546,9 @@ paths: type: integer variables: type: array - items: *373 + items: *374 examples: - default: *374 + default: *375 headers: Link: *59 x-github: @@ -72323,9 +72571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: true content: @@ -72377,18 +72625,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *162 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72409,10 +72657,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *324 - *325 + - *326 - *162 - - *492 + - *493 requestBody: required: true content: @@ -72454,10 +72702,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *324 - *325 + - *326 - *162 - - *492 + - *493 responses: '204': description: Response @@ -72479,8 +72727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -72548,8 +72796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *324 - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72708,8 +72956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -72741,9 +72989,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 '400': *14 '422': *15 '403': *29 @@ -72764,8 +73012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72825,7 +73073,7 @@ paths: schema: oneOf: - *120 - - *505 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72850,8 +73098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *324 - *325 + - *326 - name: file_sha in: path required: true @@ -72950,8 +73198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73060,7 +73308,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73274,15 +73522,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *324 - *325 - - *459 + - *326 + - *460 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: default: value: @@ -73338,9 +73586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *324 - *325 - - &507 + - *326 + - &508 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. @@ -73357,7 +73605,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -73432,17 +73680,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &509 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73471,8 +73719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73501,9 +73749,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73529,9 +73777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 requestBody: required: true content: @@ -73560,9 +73808,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 '422': *15 '409': *52 x-github: @@ -73580,9 +73828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 responses: '204': description: Response @@ -73637,8 +73885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73705,7 +73953,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -73756,7 +74004,7 @@ paths: - sha - type - url - verification: *510 + verification: *511 required: - sha - url @@ -73766,7 +74014,7 @@ paths: - tag - message examples: - default: &512 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73839,8 +74087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *324 - *325 + - *326 - name: tag_sha in: path required: true @@ -73851,9 +74099,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *6 '409': *52 x-github: @@ -73877,8 +74125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73951,7 +74199,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74047,8 +74295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *324 - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74071,7 +74319,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: default-response: summary: Default response @@ -74130,8 +74378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -74141,7 +74389,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -74195,7 +74443,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &752 + last_response: &755 title: Hook Response type: object properties: @@ -74269,8 +74517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -74322,9 +74570,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: &515 + default: &516 value: type: Repository id: 12345678 @@ -74372,17 +74620,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -74402,8 +74650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 requestBody: required: true @@ -74449,9 +74697,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '422': *15 '404': *6 x-github: @@ -74472,8 +74720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74498,8 +74746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *203 responses: '200': @@ -74527,8 +74775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *203 requestBody: required: false @@ -74573,8 +74821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *17 - *204 @@ -74606,8 +74854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *16 responses: @@ -74636,8 +74884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *16 responses: @@ -74661,8 +74909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74688,8 +74936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74713,8 +74961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74760,8 +75008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *182 '409': *52 @@ -74781,8 +75029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *182 '409': *52 @@ -74839,14 +75087,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &516 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -74945,7 +75193,7 @@ paths: - html_url - authors_url examples: - default: &519 + default: &520 value: vcs: subversion use_lfs: true @@ -74961,7 +75209,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': &517 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -74990,8 +75238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75039,7 +75287,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -75064,7 +75312,7 @@ paths: type: string '422': *15 '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75092,8 +75340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -75142,7 +75390,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: example-1: summary: Example 1 @@ -75190,7 +75438,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': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75213,12 +75461,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *324 - *325 + - *326 responses: '204': description: Response - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75244,9 +75492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *324 - *325 - - &685 + - *326 + - &686 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75260,7 +75508,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 title: Porter Author description: Porter Author type: object @@ -75314,7 +75562,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': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75339,8 +75587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *324 - *325 + - *326 - name: author_id in: path required: true @@ -75370,7 +75618,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -75383,7 +75631,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75407,8 +75655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75449,7 +75697,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75477,8 +75725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75505,11 +75753,11 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *519 + default: *520 '422': *15 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75532,8 +75780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75541,8 +75789,8 @@ paths: application/json: schema: *22 examples: - default: *520 - '301': *328 + default: *521 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -75562,8 +75810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75576,7 +75824,7 @@ paths: properties: {} additionalProperties: false examples: - default: &522 + default: &523 value: limit: collaborators_only origin: repository @@ -75601,13 +75849,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *521 + schema: *522 examples: default: summary: Example request body @@ -75621,7 +75869,7 @@ paths: application/json: schema: *221 examples: - default: *522 + default: *523 '409': description: Response x-github: @@ -75643,8 +75891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -75667,8 +75915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -75678,9 +75926,9 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: &678 + default: &679 value: - id: 1 repository: @@ -75811,8 +76059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *324 - *325 + - *326 - *225 requestBody: required: false @@ -75842,7 +76090,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -75973,8 +76221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *324 - *325 + - *326 - *225 responses: '204': @@ -76006,8 +76254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *324 - *325 + - *326 - 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 @@ -76080,7 +76328,7 @@ paths: type: array items: *75 examples: - default: &535 + default: &536 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76228,7 +76476,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *328 + '301': *329 '422': *15 '404': *6 x-github: @@ -76257,8 +76505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -76342,7 +76590,7 @@ paths: application/json: schema: *75 examples: - default: &532 + default: &533 value: id: 1 node_id: MDU6SXNzdWUx @@ -76498,7 +76746,7 @@ paths: '422': *15 '503': *112 '404': *6 - '410': *524 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -76526,8 +76774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *99 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76548,9 +76796,9 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: &534 + default: &535 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76608,17 +76856,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76672,8 +76920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -76696,9 +76944,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -76716,8 +76964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -76738,8 +76986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76766,9 +77014,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -76789,8 +77037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -76823,16 +77071,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -76854,10 +77102,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - *528 + - *529 responses: '204': description: Response @@ -76877,8 +77125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -76888,7 +77136,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Issue Event description: Issue Event type: object @@ -76931,8 +77179,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *530 + required: *531 nullable: true label: title: Issue Event Label @@ -77239,8 +77487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *324 - *325 + - *326 - name: event_id in: path required: true @@ -77251,7 +77499,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -77443,7 +77691,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *524 + '410': *525 '403': *29 x-github: githubCloudOnly: false @@ -77477,9 +77725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *324 - *325 - - &533 + - *326 + - &534 name: issue_number description: The number that identifies the issue. in: path @@ -77493,10 +77741,10 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '404': *6 - '410': *524 + '410': *525 '304': *37 x-github: githubCloudOnly: false @@ -77521,9 +77769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -77629,13 +77877,13 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 '422': *15 '503': *112 '403': *29 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77653,9 +77901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -77683,7 +77931,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77699,9 +77947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: content: application/json: @@ -77728,7 +77976,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77750,9 +77998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: assignee in: path required: true @@ -77792,9 +78040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *82 - *17 - *19 @@ -77805,13 +78053,13 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: *534 + default: *535 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77840,9 +78088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -77864,16 +78112,16 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -77901,9 +78149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -77915,12 +78163,12 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77948,9 +78196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -77974,15 +78222,15 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *328 + '301': *329 '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -78013,9 +78261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78029,13 +78277,13 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *524 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -78061,9 +78309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78075,12 +78323,12 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78097,9 +78345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78113,7 +78361,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &538 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78167,7 +78415,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &539 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78303,7 +78551,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &540 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78354,7 +78602,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78405,7 +78653,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &542 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78459,7 +78707,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78506,7 +78754,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78553,7 +78801,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78613,7 +78861,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &546 title: Locked Issue Event description: Locked Issue Event type: object @@ -78661,7 +78909,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &547 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78727,7 +78975,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &548 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78793,7 +79041,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &549 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78859,7 +79107,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &550 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78950,7 +79198,7 @@ paths: color: red headers: Link: *59 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78967,9 +79215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78981,7 +79229,7 @@ paths: type: array items: *74 examples: - default: &536 + default: &537 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78999,9 +79247,9 @@ paths: default: false headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79018,9 +79266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79081,10 +79329,10 @@ paths: type: array items: *74 examples: - default: *536 - '301': *328 + default: *537 + '301': *329 '404': *6 - '410': *524 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -79101,9 +79349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79165,10 +79413,10 @@ paths: type: array items: *74 examples: - default: *536 - '301': *328 + default: *537 + '301': *329 '404': *6 - '410': *524 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -79185,15 +79433,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '204': description: Response - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79212,9 +79460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: name in: path required: true @@ -79238,9 +79486,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79260,9 +79508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79290,7 +79538,7 @@ paths: '204': description: Response '403': *29 - '410': *524 + '410': *525 '404': *6 '422': *15 x-github: @@ -79308,9 +79556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '204': description: Response @@ -79340,9 +79588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '200': description: Response @@ -79350,10 +79598,10 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79370,9 +79618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -79398,13 +79646,13 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79422,9 +79670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79456,16 +79704,16 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -79487,10 +79735,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *324 - *325 - - *533 - - *528 + - *326 + - *534 + - *529 responses: '204': description: Response @@ -79519,9 +79767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79545,7 +79793,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79578,9 +79826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -79592,11 +79840,11 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79624,9 +79872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79655,14 +79903,14 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -79682,9 +79930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79717,7 +79965,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 '403': *29 '404': *6 '422': *7 @@ -79739,9 +79987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -79756,7 +80004,6 @@ paths: description: Timeline Event type: object anyOf: - - *537 - *538 - *539 - *540 @@ -79769,6 +80016,7 @@ paths: - *547 - *548 - *549 + - *550 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80077,7 +80325,7 @@ paths: type: string comments: type: array - items: &569 + items: &570 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80292,7 +80540,7 @@ paths: type: string comments: type: array - items: *455 + items: *456 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80581,7 +80829,7 @@ paths: headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80598,8 +80846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80609,7 +80857,7 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80675,8 +80923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80712,9 +80960,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: id: 1 key: ssh-rsa AAA... @@ -80748,9 +80996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *324 - *325 - - &552 + - *326 + - &553 name: key_id description: The unique identifier of the key. in: path @@ -80762,9 +81010,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -80782,9 +81030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *324 - *325 - - *552 + - *326 + - *553 responses: '204': description: Response @@ -80804,8 +81052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80817,7 +81065,7 @@ paths: type: array items: *74 examples: - default: *536 + default: *537 headers: Link: *59 '404': *6 @@ -80838,8 +81086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80877,7 +81125,7 @@ paths: application/json: schema: *74 examples: - default: &553 + default: &554 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80909,8 +81157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80923,7 +81171,7 @@ paths: application/json: schema: *74 examples: - default: *553 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -80940,8 +81188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -81006,8 +81254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -81033,8 +81281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -81073,9 +81321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *324 - *325 - - *428 + - *326 + - *429 responses: '200': description: Response @@ -81220,8 +81468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81286,8 +81534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81321,9 +81569,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *458 + schema: *459 examples: - default: *554 + default: *555 '204': description: Response when already merged '404': @@ -81348,8 +81596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *324 - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81390,7 +81638,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Milestone description: A collection of related issues and pull requests. type: object @@ -81451,8 +81699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81492,9 +81740,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: &556 + default: &557 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81553,9 +81801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *324 - *325 - - &557 + - *326 + - &558 name: milestone_number description: The number that identifies the milestone. in: path @@ -81567,9 +81815,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -81586,9 +81834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 requestBody: required: false content: @@ -81626,9 +81874,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81644,9 +81892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 responses: '204': description: Response @@ -81667,9 +81915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 - *17 - *19 responses: @@ -81681,7 +81929,7 @@ paths: type: array items: *74 examples: - default: *536 + default: *537 headers: Link: *59 x-github: @@ -81700,12 +81948,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *324 - *325 - - *558 + - *326 - *559 - - *82 - *560 + - *82 + - *561 - *17 - *19 responses: @@ -81717,7 +81965,7 @@ paths: type: array items: *102 examples: - default: *561 + default: *562 headers: Link: *59 x-github: @@ -81741,8 +81989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -81800,14 +82048,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &562 + schema: &563 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81932,7 +82180,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &564 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81973,8 +82221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82028,9 +82276,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *563 + default: *564 '422': *15 '409': *52 x-github: @@ -82053,8 +82301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82153,8 +82401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -82180,8 +82428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -82191,7 +82439,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Page Build description: Page Build type: object @@ -82285,8 +82533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -82331,16 +82579,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82388,8 +82636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *324 - *325 + - *326 - name: build_id in: path required: true @@ -82400,9 +82648,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82422,8 +82670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82528,9 +82776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *324 - *325 - - &566 + - *326 + - &567 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82588,9 +82836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *324 - *325 - - *566 + - *326 + - *567 responses: '204': *182 '404': *6 @@ -82617,8 +82865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82876,8 +83124,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: - - *324 - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82914,8 +83162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *182 '422': *14 @@ -82936,8 +83184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *182 '422': *14 @@ -82959,8 +83207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82968,7 +83216,7 @@ paths: application/json: schema: type: array - items: *277 + items: *278 examples: default: value: @@ -82999,8 +83247,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -83012,7 +83260,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *277 + items: *278 required: - properties examples: @@ -83062,8 +83310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *324 - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83123,9 +83371,9 @@ paths: application/json: schema: type: array - items: *462 + items: *463 examples: - default: *567 + default: *568 headers: Link: *59 '304': *37 @@ -83157,8 +83405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -83223,7 +83471,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &572 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83380,7 +83628,7 @@ paths: nullable: true requested_teams: type: array - items: *314 + items: *315 nullable: true head: type: object @@ -83437,7 +83685,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: *568 + auto_merge: *569 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83529,7 +83777,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &573 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84056,8 +84304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *324 - *325 + - *326 - name: sort in: query required: false @@ -84086,9 +84334,9 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: - default: &574 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84165,17 +84413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &570 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84250,8 +84498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -84274,9 +84522,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84292,8 +84540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -84315,8 +84563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84343,9 +84591,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -84366,8 +84614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -84400,16 +84648,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -84431,10 +84679,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - *528 + - *529 responses: '204': description: Response @@ -84477,9 +84725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *324 - *325 - - &573 + - *326 + - &574 name: pull_number description: The number that identifies the pull request. in: path @@ -84492,9 +84740,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '304': *37 '404': *6 '406': @@ -84529,9 +84777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -84573,9 +84821,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 '403': *29 x-github: @@ -84597,9 +84845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -84661,7 +84909,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84669,7 +84917,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -84699,9 +84947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *99 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84722,9 +84970,9 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: - default: *574 + default: *575 headers: Link: *59 x-github: @@ -84757,9 +85005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -84864,7 +85112,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: example-for-a-multi-line-comment: value: @@ -84952,9 +85200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *91 requestBody: required: true @@ -84977,7 +85225,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -85063,9 +85311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -85075,9 +85323,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *575 + default: *576 headers: Link: *59 x-github: @@ -85107,9 +85355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -85119,7 +85367,7 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: default: value: @@ -85157,9 +85405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *324 - *325 - - *573 + - *326 + - *574 responses: '204': description: Response if pull request has been merged @@ -85182,9 +85430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -85295,9 +85543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 responses: '200': description: Response @@ -85372,9 +85620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -85411,7 +85659,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -85947,9 +86195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -85983,7 +86231,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -86488,9 +86736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -86500,7 +86748,7 @@ paths: application/json: schema: type: array - items: &576 + items: &577 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86651,9 +86899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -86739,9 +86987,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &578 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86804,10 +87052,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - &577 + - *326 + - *574 + - &578 name: review_id description: The unique identifier of the review. in: path @@ -86819,9 +87067,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &579 + default: &580 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86880,10 +87128,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -86906,7 +87154,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -86968,18 +87216,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 responses: '200': description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *578 + default: *579 '422': *7 '404': *6 x-github: @@ -87006,10 +87254,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 - *17 - *19 responses: @@ -87244,10 +87492,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -87275,7 +87523,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -87338,10 +87586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -87376,9 +87624,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *579 + default: *580 '404': *6 '422': *7 '403': *29 @@ -87400,9 +87648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -87465,8 +87713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *324 - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87479,9 +87727,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &581 + default: &582 value: type: file encoding: base64 @@ -87523,8 +87771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *324 - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87544,9 +87792,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 '404': *6 '422': *15 x-github: @@ -87568,8 +87816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -87579,7 +87827,7 @@ paths: application/json: schema: type: array - items: *582 + items: *583 examples: default: value: @@ -87673,8 +87921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -87750,9 +87998,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: &586 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87857,9 +88105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *324 - *325 - - &584 + - *326 + - &585 name: asset_id description: The unique identifier of the asset. in: path @@ -87871,9 +88119,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: &585 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -87908,7 +88156,7 @@ paths: type: User site_admin: false '404': *6 - '302': *473 + '302': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87924,9 +88172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *324 - *325 - - *584 + - *326 + - *585 requestBody: required: false content: @@ -87954,9 +88202,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *585 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87972,9 +88220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *324 - *325 - - *584 + - *326 + - *585 responses: '204': description: Response @@ -87998,8 +88246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -88084,16 +88332,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88110,8 +88358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *324 - *325 + - *326 - name: tag description: tag parameter in: path @@ -88124,9 +88372,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -88148,9 +88396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *324 - *325 - - &587 + - *326 + - &588 name: release_id description: The unique identifier of the release. in: path @@ -88164,9 +88412,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '401': description: Unauthorized x-github: @@ -88184,9 +88432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 requestBody: required: false content: @@ -88250,9 +88498,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '404': description: Not Found if the discussion category name is invalid content: @@ -88273,9 +88521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 responses: '204': description: Response @@ -88295,9 +88543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *324 - *325 - - *587 + - *326 + - *588 - *17 - *19 responses: @@ -88307,7 +88555,7 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: default: value: @@ -88388,9 +88636,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *324 - *325 - - *587 + - *326 + - *588 - name: name in: query required: true @@ -88416,7 +88664,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *584 examples: response-for-successful-upload: value: @@ -88471,9 +88719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -88497,9 +88745,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -88520,9 +88768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 requestBody: required: true content: @@ -88552,16 +88800,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -88583,10 +88831,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *324 - *325 - - *587 - - *528 + - *326 + - *588 + - *529 responses: '204': description: Response @@ -88610,9 +88858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 - *17 - *19 responses: @@ -88628,8 +88876,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *286 - - &588 + - *287 + - &589 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88648,69 +88896,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *287 - - *588 - allOf: - *288 - - *588 + - *589 - allOf: - *289 - - *588 - - allOf: - *589 - - *588 - allOf: - *290 - - *588 + - *589 + - allOf: + - *590 + - *589 - allOf: - *291 - - *588 + - *589 - allOf: - *292 - - *588 + - *589 - allOf: - *293 - - *588 + - *589 - allOf: - *294 - - *588 + - *589 - allOf: - *295 - - *588 + - *589 - allOf: - *296 - - *588 + - *589 - allOf: - *297 - - *588 + - *589 - allOf: - *298 - - *588 + - *589 - allOf: - *299 - - *588 + - *589 - allOf: - *300 - - *588 + - *589 - allOf: - *301 - - *588 + - *589 - allOf: - *302 - - *588 + - *589 - allOf: - *303 - - *588 + - *589 - allOf: - *304 - - *588 + - *589 - allOf: - *305 - - *588 + - *589 - allOf: - *306 - - *588 + - *589 + - allOf: + - *307 + - *589 examples: default: value: @@ -88749,8 +88997,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88761,7 +89009,7 @@ paths: schema: type: boolean default: true - - *590 + - *591 responses: '200': description: Response @@ -88769,7 +89017,7 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: default: value: @@ -88816,8 +89064,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 requestBody: description: Request body required: true @@ -88837,16 +89085,16 @@ paths: - tag - push default: branch - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *281 + items: *285 + conditions: *282 rules: type: array description: An array of rules within the ruleset. - items: *591 + items: *592 required: - name - enforcement @@ -88877,9 +89125,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &601 + default: &602 value: id: 42 name: super cool ruleset @@ -88926,12 +89174,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *324 - *325 - - *592 + - *326 - *593 - *594 - *595 + - *596 - *17 - *19 responses: @@ -88939,9 +89187,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 '404': *6 '500': *111 x-github: @@ -88962,17 +89210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *324 - *325 - - *598 + - *326 + - *599 responses: '200': description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *600 + default: *601 '404': *6 '500': *111 x-github: @@ -89000,8 +89248,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89021,9 +89269,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *601 + default: *602 '404': *6 '500': *111 put: @@ -89041,8 +89289,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89067,16 +89315,16 @@ paths: - branch - tag - push - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *281 + items: *285 + conditions: *282 rules: description: An array of rules within the ruleset. type: array - items: *591 + items: *592 examples: default: value: @@ -89104,9 +89352,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *601 + default: *602 '404': *6 '500': *111 delete: @@ -89124,8 +89372,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89148,8 +89396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *324 - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -89165,9 +89413,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *602 + default: *603 '404': *6 '500': *111 x-github: @@ -89186,8 +89434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89205,7 +89453,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -89260,22 +89508,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *604 + - *326 - *605 - *606 - *607 - *608 + - *609 - *53 - *19 - *17 - - *609 - *610 - *611 - *612 - *613 - *614 + - *615 responses: '200': description: Response @@ -89283,7 +89531,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 type: object properties: number: *169 @@ -89302,8 +89550,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *615 - resolution: *616 + state: *616 + resolution: *617 resolved_at: type: string format: date-time @@ -89399,7 +89647,7 @@ paths: pull request. ' - oneOf: *617 + oneOf: *618 nullable: true has_more_locations: type: boolean @@ -89548,16 +89796,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 - - *614 + - *326 + - *423 + - *615 responses: '200': description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -89611,9 +89859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: true content: @@ -89621,8 +89869,8 @@ paths: schema: type: object properties: - state: *615 - resolution: *616 + state: *616 + resolution: *617 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89656,7 +89904,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -89751,9 +89999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 - *19 - *17 responses: @@ -89764,7 +90012,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &774 + items: &777 type: object properties: type: @@ -89790,7 +90038,6 @@ paths: example: commit details: oneOf: - - *619 - *620 - *621 - *622 @@ -89803,6 +90050,7 @@ paths: - *629 - *630 - *631 + - *632 examples: default: value: @@ -89888,8 +90136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89897,14 +90145,14 @@ paths: schema: type: object properties: - reason: &633 + reason: &634 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *632 + placeholder_id: *633 required: - reason - placeholder_id @@ -89921,7 +90169,7 @@ paths: schema: type: object properties: - reason: *633 + reason: *634 expire_at: type: string format: date-time @@ -89967,8 +90215,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: - - *324 - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89983,7 +90231,7 @@ paths: properties: incremental_scans: type: array - items: &634 + items: &635 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90009,15 +90257,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *634 + items: *635 backfill_scans: type: array - items: *634 + items: *635 custom_pattern_backfill_scans: type: array items: allOf: - - *634 + - *635 - type: object properties: pattern_name: @@ -90087,8 +90335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *324 - *325 + - *326 - *53 - name: sort description: The property to sort the results by. @@ -90132,9 +90380,9 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 + default: *637 '400': *14 '404': *6 x-github: @@ -90157,8 +90405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90231,7 +90479,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 required: - login - type @@ -90318,9 +90566,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: &638 + default: &639 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90553,8 +90801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90658,7 +90906,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -90805,17 +91053,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '200': description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 + default: *639 '403': *29 '404': *6 x-github: @@ -90839,9 +91087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 requestBody: required: true content: @@ -90914,7 +91162,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 required: - login - type @@ -91000,10 +91248,10 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 - add_credit: *638 + default: *639 + add_credit: *639 '403': *29 '404': *6 '422': @@ -91041,9 +91289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '202': *39 '400': *14 @@ -91070,17 +91318,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '202': description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 '400': *14 '422': *15 '403': *29 @@ -91106,8 +91354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91206,8 +91454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91216,7 +91464,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91249,8 +91497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91326,8 +91574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91423,8 +91671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *324 - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91578,8 +91826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *324 - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91589,7 +91837,7 @@ paths: application/json: schema: type: array - items: *639 + items: *640 examples: default: value: @@ -91622,8 +91870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *324 - *325 + - *326 - name: sha in: path required: true @@ -91677,7 +91925,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: default: value: @@ -91731,8 +91979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91764,14 +92012,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &641 + schema: &642 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91839,8 +92087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -91866,7 +92114,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -91893,8 +92141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -91914,8 +92162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91994,8 +92242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92003,7 +92251,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Tag protection description: Tag protection type: object @@ -92055,8 +92303,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92079,7 +92327,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: default: value: @@ -92110,8 +92358,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: - - *324 - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92148,8 +92396,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -92185,8 +92433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -92218,8 +92466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *324 - *325 + - *326 - *19 - *17 responses: @@ -92227,7 +92475,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &644 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92239,7 +92487,7 @@ paths: required: - names examples: - default: &644 + default: &645 value: names: - octocat @@ -92262,8 +92510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92294,9 +92542,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '422': *7 x-github: @@ -92317,9 +92565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *324 - *325 - - &645 + - *326 + - &646 name: per description: The time frame to display results for. in: query @@ -92348,7 +92596,7 @@ paths: example: 128 clones: type: array - items: &646 + items: &647 title: Traffic type: object properties: @@ -92435,8 +92683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92526,8 +92774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92587,9 +92835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *324 - *325 - - *645 + - *326 + - *646 responses: '200': description: Response @@ -92608,7 +92856,7 @@ paths: example: 3782 views: type: array - items: *646 + items: *647 required: - uniques - count @@ -92685,8 +92933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92960,8 +93208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92984,8 +93232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -93007,8 +93255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -93034,8 +93282,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -93127,9 +93375,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93377,7 +93625,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &647 + text_matches: &648 title: Search Result Text Matches type: array items: @@ -93539,7 +93787,7 @@ paths: enum: - author-date - committer-date - - &648 + - &649 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -93610,7 +93858,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true comment_count: type: integer @@ -93630,7 +93878,7 @@ paths: url: type: string format: uri - verification: *510 + verification: *511 required: - author - committer @@ -93649,7 +93897,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true parents: type: array @@ -93667,7 +93915,7 @@ paths: type: number node_id: type: string - text_matches: *647 + text_matches: *648 required: - sha - node_id @@ -93859,7 +94107,7 @@ paths: - interactions - created - updated - - *648 + - *649 - *17 - *19 - name: advanced_search @@ -93956,11 +94204,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: type: string state_reason: @@ -93992,7 +94240,7 @@ paths: type: string format: date-time nullable: true - text_matches: *647 + text_matches: *648 pull_request: type: object properties: @@ -94217,7 +94465,7 @@ paths: enum: - created - updated - - *648 + - *649 - *17 - *19 responses: @@ -94261,7 +94509,7 @@ paths: nullable: true score: type: number - text_matches: *647 + text_matches: *648 required: - id - node_id @@ -94346,7 +94594,7 @@ paths: - forks - help-wanted-issues - updated - - *648 + - *649 - *17 - *19 responses: @@ -94585,7 +94833,7 @@ paths: - admin - pull - push - text_matches: *647 + text_matches: *648 temp_clone_token: type: string allow_merge_commit: @@ -94885,7 +95133,7 @@ paths: type: string format: uri nullable: true - text_matches: *647 + text_matches: *648 related: type: array nullable: true @@ -95076,7 +95324,7 @@ paths: - followers - repositories - joined - - *648 + - *649 - *17 - *19 responses: @@ -95180,7 +95428,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *647 + text_matches: *648 blog: type: string nullable: true @@ -95259,7 +95507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &652 + - &653 name: team_id description: The unique identifier of the team. in: path @@ -95271,9 +95519,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -95300,7 +95548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *652 + - *653 requestBody: required: true content: @@ -95363,16 +95611,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '201': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 '422': *15 '403': *29 @@ -95400,7 +95648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *652 + - *653 responses: '204': description: Response @@ -95429,7 +95677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -95467,7 +95715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *652 + - *653 - name: role description: Filters members returned by their role in the team. in: query @@ -95518,7 +95766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95555,7 +95803,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95595,7 +95843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95632,16 +95880,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-user-is-a-team-maintainer: *653 + response-if-user-is-a-team-maintainer: *654 '404': *6 x-github: githubCloudOnly: false @@ -95674,7 +95922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 requestBody: required: false @@ -95700,9 +95948,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-users-membership-with-team-is-now-pending: *654 + response-if-users-membership-with-team-is-now-pending: *655 '403': description: Forbidden if team synchronization is set up '422': @@ -95736,7 +95984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95764,7 +96012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -95806,15 +96054,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *655 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -95965,9 +96213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 requestBody: required: false content: @@ -96017,9 +96265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 responses: '204': description: Response @@ -96044,7 +96292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -96056,7 +96304,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: *656 + response-if-child-teams-exist: *657 headers: Link: *59 '404': *6 @@ -96089,7 +96337,7 @@ paths: application/json: schema: oneOf: - - &658 + - &659 title: Private User description: Private User type: object @@ -96292,7 +96540,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *657 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96445,7 +96693,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -96791,7 +97039,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96799,7 +97047,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -96843,7 +97091,7 @@ paths: type: integer secrets: type: array - items: &659 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96883,7 +97131,7 @@ paths: - visibility - selected_repositories_url examples: - default: *448 + default: *449 headers: Link: *59 x-github: @@ -96959,7 +97207,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: default: value: @@ -97105,7 +97353,7 @@ paths: type: array items: *151 examples: - default: *660 + default: *661 '401': *25 '403': *29 '404': *6 @@ -97257,7 +97505,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '304': *37 '500': *111 '401': *25 @@ -97315,7 +97563,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -97372,7 +97620,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97413,7 +97661,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &662 + default: &663 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97458,9 +97706,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *6 x-github: githubCloudOnly: false @@ -97497,9 +97745,9 @@ paths: type: integer machines: type: array - items: *663 + items: *664 examples: - default: *664 + default: *665 '304': *37 '500': *111 '401': *25 @@ -97578,13 +97826,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *327 + repository: *328 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98366,7 +98614,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '304': *37 '500': *111 '400': *14 @@ -98406,7 +98654,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '500': *111 '401': *25 '403': *29 @@ -98438,7 +98686,7 @@ paths: type: array items: *244 examples: - default: &675 + default: &676 value: - id: 197 name: hello_docker @@ -98539,7 +98787,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: Email description: Email type: object @@ -98604,9 +98852,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: &677 + default: &678 value: - email: octocat@github.com verified: true @@ -98681,7 +98929,7 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: default: value: @@ -98937,7 +99185,7 @@ paths: application/json: schema: type: array - items: &666 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -99068,7 +99316,7 @@ paths: - subkeys - revoked examples: - default: &691 + default: &694 value: - id: 3 name: Octocat's GPG Key @@ -99153,9 +99401,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: &667 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -99212,7 +99460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &668 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99224,9 +99472,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *6 '304': *37 '403': *29 @@ -99249,7 +99497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *668 + - *669 responses: '204': description: Response @@ -99554,7 +99802,7 @@ paths: required: true content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -99704,7 +99952,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: Key description: Key type: object @@ -99805,9 +100053,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99840,15 +100088,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *553 responses: '200': description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *6 '304': *37 '403': *29 @@ -99871,7 +100119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *553 responses: '204': description: Response @@ -99904,7 +100152,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99972,7 +100220,7 @@ paths: - account - plan examples: - default: &672 + default: &673 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100034,9 +100282,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *672 + default: *673 headers: Link: *59 '304': *37 @@ -101045,7 +101293,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *238 - - *673 + - *674 responses: '204': description: Response @@ -101160,7 +101408,7 @@ paths: - docker - nuget - container - - *674 + - *675 - *19 - *17 responses: @@ -101172,8 +101420,8 @@ paths: type: array items: *244 examples: - default: *675 - '400': *676 + default: *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101202,7 +101450,7 @@ paths: application/json: schema: *244 examples: - default: &692 + default: &695 value: id: 40201 name: octo-name @@ -101564,9 +101812,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *677 + default: *678 headers: Link: *59 '304': *37 @@ -101679,7 +101927,7 @@ paths: type: array items: *71 examples: - default: &684 + default: &685 summary: Default response value: - id: 1296269 @@ -101983,9 +102231,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102023,9 +102271,9 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: *678 + default: *679 headers: Link: *59 '304': *37 @@ -102104,7 +102352,7 @@ paths: application/json: schema: type: array - items: &679 + items: &680 title: Social account description: Social media account type: object @@ -102119,7 +102367,7 @@ paths: - provider - url examples: - default: &680 + default: &681 value: - provider: twitter url: https://twitter.com/github @@ -102181,9 +102429,9 @@ paths: application/json: schema: type: array - items: *679 + items: *680 examples: - default: *680 + default: *681 '422': *15 '304': *37 '404': *6 @@ -102270,7 +102518,7 @@ paths: application/json: schema: type: array - items: &681 + items: &682 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102290,7 +102538,7 @@ paths: - title - created_at examples: - default: &710 + default: &713 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -102354,9 +102602,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: &682 + default: &683 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -102386,7 +102634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &683 + - &684 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102398,9 +102646,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 '404': *6 '304': *37 '403': *29 @@ -102423,7 +102671,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *683 + - *684 responses: '204': description: Response @@ -102452,7 +102700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &711 + - &714 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 @@ -102477,11 +102725,11 @@ paths: type: array items: *71 examples: - default-response: *684 + default-response: *685 application/vnd.github.v3.star+json: schema: type: array - items: &712 + items: &715 title: Starred Repository description: Starred Repository type: object @@ -102637,8 +102885,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: - - *324 - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -102666,8 +102914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102691,8 +102939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102764,7 +103012,7 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: default: value: @@ -102850,10 +103098,10 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: &686 + default-response: &689 summary: Default response value: login: octocat @@ -102888,7 +103136,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &687 + response-with-git-hub-plan-information: &690 summary: Response with GitHub plan information value: login: octocat @@ -102945,7 +103193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - name: user_id + - &687 + name: user_id description: The unique identifier of the user. in: path required: true @@ -103010,7 +103259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *685 + - *686 - *17 responses: '200': @@ -103033,6 +103282,116 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - *687 + - *262 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: *688 + examples: + table_view: + summary: Response for creating a table view + value: *273 + board_view: + summary: Response for creating a board view with filter + value: *273 + roadmap_view: + summary: Response for creating a roadmap view + value: *273 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -103059,11 +103418,11 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: *686 - response-with-git-hub-plan-information: *687 + default-response: *689 + response-with-git-hub-plan-information: *690 '404': *6 x-github: githubCloudOnly: false @@ -103113,8 +103472,8 @@ paths: required: - subject_digests examples: - default: *688 - withPredicateType: *689 + default: *691 + withPredicateType: *692 responses: '200': description: Response @@ -103167,7 +103526,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *690 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103372,7 +103731,7 @@ paths: initiator: type: string examples: - default: *385 + default: *386 '201': description: Response content: @@ -103413,7 +103772,7 @@ paths: type: array items: *244 examples: - default: *675 + default: *676 '403': *29 '401': *25 x-github: @@ -103797,9 +104156,9 @@ paths: application/json: schema: type: array - items: *666 + items: *667 examples: - default: *691 + default: *694 headers: Link: *59 x-github: @@ -103903,7 +104262,7 @@ paths: application/json: schema: *22 examples: - default: *520 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104027,7 +104386,7 @@ paths: - docker - nuget - container - - *674 + - *675 - *64 - *19 - *17 @@ -104040,10 +104399,10 @@ paths: type: array items: *244 examples: - default: *675 + default: *676 '403': *29 '401': *25 - '400': *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104073,7 +104432,7 @@ paths: application/json: schema: *244 examples: - default: *692 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104422,7 +104781,7 @@ paths: type: array items: *266 examples: - default: *693 + default: *696 headers: Link: *59 '304': *37 @@ -104482,7 +104841,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *694 + items: *697 required: - name - data_type @@ -104498,7 +104857,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *695 + iteration_configuration: *698 required: - name - data_type @@ -104520,8 +104879,8 @@ paths: value: name: Due date data_type: date - single_select_field: *696 - iteration_field: *697 + single_select_field: *699 + iteration_field: *700 responses: '201': description: Response @@ -104529,11 +104888,11 @@ paths: application/json: schema: *266 examples: - text_field: *698 - number_field: *699 - date_field: *700 - single_select_field: *701 - iteration_field: *702 + text_field: *701 + number_field: *702 + date_field: *703 + single_select_field: *704 + iteration_field: *705 '304': *37 '403': *29 '401': *25 @@ -104555,7 +104914,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *262 - - *703 + - *706 - *64 responses: '200': @@ -104564,7 +104923,7 @@ paths: application/json: schema: *266 examples: - default: *704 + default: *707 headers: Link: *59 '304': *37 @@ -104918,7 +105277,7 @@ paths: parameters: - *262 - *64 - - *705 + - *708 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -105193,7 +105552,7 @@ paths: - *114 - *116 - *115 - - *706 + - *709 - *117 responses: '200': @@ -105324,7 +105683,7 @@ paths: parameters: - *64 - *114 - - *707 + - *710 - *115 responses: '200': @@ -105423,9 +105782,9 @@ paths: - *114 - *116 - *115 - - *708 + - *711 - *117 - - *709 + - *712 responses: '200': description: Response when getting a billing usage summary @@ -105559,9 +105918,9 @@ paths: application/json: schema: type: array - items: *679 + items: *680 examples: - default: *680 + default: *681 headers: Link: *59 x-github: @@ -105591,9 +105950,9 @@ paths: application/json: schema: type: array - items: *681 + items: *682 examples: - default: *710 + default: *713 headers: Link: *59 x-github: @@ -105618,7 +105977,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *64 - - *711 + - *714 - *53 - *17 - *19 @@ -105630,11 +105989,11 @@ paths: schema: anyOf: - type: array - items: *712 + items: *715 - type: array items: *71 examples: - default-response: *684 + default-response: *685 headers: Link: *59 x-github: @@ -105793,7 +106152,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &713 + enterprise: &716 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -105851,7 +106210,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &714 + installation: &717 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -105870,7 +106229,7 @@ x-webhooks: required: - id - node_id - organization: &715 + organization: &718 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -105930,13 +106289,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &716 + repository: &719 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: &746 + properties: &749 id: description: Unique identifier of the repository example: 42 @@ -106619,7 +106978,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &747 + required: &750 - archive_url - assignees_url - blobs_url @@ -106770,10 +107129,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -106849,11 +107208,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: &717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: &720 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) @@ -107076,11 +107435,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: *717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: *720 sender: *4 required: - action @@ -107263,11 +107622,11 @@ x-webhooks: - everyone required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: *717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: *720 sender: *4 required: - action @@ -107351,7 +107710,7 @@ x-webhooks: type: string enum: - completed - check_run: &719 + check_run: &722 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107442,7 +107801,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *718 + deployment: *721 details_url: example: https://example.com type: string @@ -107527,10 +107886,10 @@ x-webhooks: - output - app - pull_requests - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -107923,11 +108282,11 @@ x-webhooks: type: string enum: - created - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -108323,11 +108682,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 requested_action: description: The action requested by the user. type: object @@ -108732,11 +109091,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -109713,10 +110072,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -110410,10 +110769,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -111101,10 +111460,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -111270,7 +111629,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111415,20 +111774,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &720 + commit_oid: &723 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: *713 - installation: *714 - organization: *715 - ref: &721 + enterprise: *716 + installation: *717 + organization: *718 + ref: &724 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: *716 + repository: *719 sender: *4 required: - action @@ -111593,7 +111952,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111823,12 +112182,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -111923,7 +112282,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112094,12 +112453,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -112265,7 +112624,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112431,12 +112790,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -112535,7 +112894,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112710,16 +113069,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 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: *716 + repository: *719 sender: *4 required: - action @@ -112816,7 +113175,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112956,12 +113315,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -113127,7 +113486,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113272,10 +113631,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -113530,10 +113889,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -113613,18 +113972,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *715 - pusher_type: &722 + organization: *718 + pusher_type: &725 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &723 + ref: &726 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113634,7 +113993,7 @@ x-webhooks: enum: - tag - branch - repository: *716 + repository: *719 sender: *4 required: - ref @@ -113716,10 +114075,10 @@ x-webhooks: type: string enum: - created - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113804,9 +114163,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113883,10 +114242,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113963,10 +114322,10 @@ x-webhooks: type: string enum: - updated - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -114043,19 +114402,19 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - repository: *716 - organization: *715 + enterprise: *716 + installation: *717 + repository: *719 + organization: *718 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *277 + items: *278 old_property_values: type: array description: The old custom property values for the repository. - items: *277 + items: *278 required: - action - repository @@ -114131,18 +114490,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - pusher_type: *722 - ref: *723 + enterprise: *716 + installation: *717 + organization: *718 + pusher_type: *725 + ref: *726 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *716 + repository: *719 sender: *4 required: - ref @@ -114226,11 +114585,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114314,11 +114673,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114402,11 +114761,11 @@ x-webhooks: type: string enum: - created - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114488,11 +114847,11 @@ x-webhooks: type: string enum: - dismissed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114574,11 +114933,11 @@ x-webhooks: type: string enum: - fixed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114661,11 +115020,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114747,11 +115106,11 @@ x-webhooks: type: string enum: - reopened - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114828,9 +115187,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - key: &724 + enterprise: *716 + installation: *717 + key: &727 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114866,8 +115225,8 @@ x-webhooks: - verified - created_at - read_only - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -114944,11 +115303,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - key: *724 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + key: *727 + organization: *718 + repository: *719 sender: *4 required: - action @@ -115509,12 +115868,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: &728 + workflow: &731 title: Workflow type: object nullable: true @@ -116240,13 +116599,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *485 + deployment: *486 pull_requests: type: array - items: *571 - repository: *716 - organization: *715 - installation: *714 + items: *572 + repository: *719 + organization: *718 + installation: *717 sender: *4 responses: '200': @@ -116317,7 +116676,7 @@ x-webhooks: type: string enum: - approved - approver: &725 + approver: &728 type: object properties: avatar_url: @@ -116360,11 +116719,11 @@ x-webhooks: type: string comment: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - reviewers: &726 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + reviewers: &729 type: array items: type: object @@ -116443,7 +116802,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &727 + workflow_job_run: &730 type: object properties: conclusion: @@ -117174,18 +117533,18 @@ x-webhooks: type: string enum: - rejected - approver: *725 + approver: *728 comment: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - reviewers: *726 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + reviewers: *729 sender: *4 since: type: string - workflow_job_run: *727 + workflow_job_run: *730 workflow_job_runs: type: array items: @@ -117889,13 +118248,13 @@ x-webhooks: type: string enum: - requested - enterprise: *713 + enterprise: *716 environment: type: string - installation: *714 - organization: *715 - repository: *716 - requestor: &733 + installation: *717 + organization: *718 + repository: *719 + requestor: &736 title: User type: object nullable: true @@ -119794,12 +120153,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Deployment Workflow Run type: object @@ -120479,7 +120838,7 @@ x-webhooks: type: string enum: - answered - answer: &731 + answer: &734 type: object properties: author_association: @@ -120636,11 +120995,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120767,11 +121126,11 @@ x-webhooks: - from required: - category - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120854,11 +121213,11 @@ x-webhooks: type: string enum: - closed - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120940,7 +121299,7 @@ x-webhooks: type: string enum: - created - comment: &730 + comment: &733 type: object properties: author_association: @@ -121097,11 +121456,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121184,12 +121543,12 @@ x-webhooks: type: string enum: - deleted - comment: *730 - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + comment: *733 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121284,12 +121643,12 @@ x-webhooks: - from required: - body - comment: *730 - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + comment: *733 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121373,11 +121732,11 @@ x-webhooks: type: string enum: - created - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121459,11 +121818,11 @@ x-webhooks: type: string enum: - deleted - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121563,11 +121922,11 @@ x-webhooks: type: string required: - from - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121649,10 +122008,10 @@ x-webhooks: type: string enum: - labeled - discussion: *729 - enterprise: *713 - installation: *714 - label: &732 + discussion: *732 + enterprise: *716 + installation: *717 + label: &735 title: Label type: object properties: @@ -121684,8 +122043,8 @@ x-webhooks: - color - default - description - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121768,11 +122127,11 @@ x-webhooks: type: string enum: - locked - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121854,11 +122213,11 @@ x-webhooks: type: string enum: - pinned - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121940,11 +122299,11 @@ x-webhooks: type: string enum: - reopened - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122029,16 +122388,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *729 - new_repository: *716 + new_discussion: *732 + new_repository: *719 required: - new_discussion - new_repository - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122121,10 +122480,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *729 - old_answer: *731 - organization: *715 - repository: *716 + discussion: *732 + old_answer: *734 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122206,12 +122565,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *729 - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122294,11 +122653,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122380,11 +122739,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122457,7 +122816,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *713 + enterprise: *716 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123117,9 +123476,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - forkee @@ -123265,9 +123624,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pages: description: The pages that were updated. type: array @@ -123304,7 +123663,7 @@ x-webhooks: - action - sha - html_url - repository: *716 + repository: *719 sender: *4 required: - pages @@ -123380,10 +123739,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: &734 + organization: *718 + repositories: &737 description: An array of repository objects that the installation can access. type: array @@ -123409,8 +123768,8 @@ x-webhooks: - name - full_name - private - repository: *716 - requester: *733 + repository: *719 + requester: *736 sender: *4 required: - action @@ -123485,11 +123844,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -123565,11 +123924,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -123645,10 +124004,10 @@ x-webhooks: type: string enum: - added - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories_added: &735 + organization: *718 + repositories_added: &738 description: An array of repository objects, which were added to the installation. type: array @@ -123694,15 +124053,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *716 - repository_selection: &736 + repository: *719 + repository_selection: &739 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *733 + requester: *736 sender: *4 required: - action @@ -123781,10 +124140,10 @@ x-webhooks: type: string enum: - removed - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories_added: *735 + organization: *718 + repositories_added: *738 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123811,9 +124170,9 @@ x-webhooks: - name - full_name - private - repository: *716 - repository_selection: *736 - requester: *733 + repository: *719 + repository_selection: *739 + requester: *736 sender: *4 required: - action @@ -123892,11 +124251,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -124074,10 +124433,10 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 target_type: type: string @@ -124156,11 +124515,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -124412,8 +124771,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125207,8 +125566,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125557,8 +125916,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -125638,7 +125997,7 @@ x-webhooks: type: string enum: - deleted - comment: &737 + comment: &740 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -125803,8 +126162,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126594,8 +126953,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126946,8 +127305,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -127027,7 +127386,7 @@ x-webhooks: type: string enum: - edited - changes: &766 + changes: &769 description: The changes to the comment. type: object properties: @@ -127039,9 +127398,9 @@ x-webhooks: type: string required: - from - comment: *737 - enterprise: *713 - installation: *714 + comment: *740 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127834,8 +128193,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128184,8 +128543,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128275,9 +128634,9 @@ x-webhooks: type: number blocking_issue: *75 blocking_issue_repo: *71 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128366,9 +128725,9 @@ x-webhooks: type: number blocking_issue: *75 blocking_issue_repo: *71 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128456,9 +128815,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128547,9 +128906,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128629,10 +128988,10 @@ x-webhooks: type: string enum: - assigned - assignee: *733 - enterprise: *713 - installation: *714 - issue: &740 + assignee: *736 + enterprise: *716 + installation: *717 + issue: &743 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129421,11 +129780,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129542,8 +129901,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -129623,8 +129982,8 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130418,11 +130777,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130674,8 +131033,8 @@ x-webhooks: required: - state - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -130754,8 +131113,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131540,11 +131899,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131660,8 +132019,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -131740,8 +132099,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132548,11 +132907,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132647,7 +133006,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &738 + milestone: &741 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132785,8 +133144,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -132885,8 +133244,8 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133675,11 +134034,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133796,9 +134155,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *732 - organization: *715 - repository: *716 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -133878,8 +134237,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134667,11 +135026,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134788,9 +135147,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *732 - organization: *715 - repository: *716 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -134870,8 +135229,8 @@ x-webhooks: type: string enum: - locked - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135683,11 +136042,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135781,8 +136140,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -135861,8 +136220,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136668,11 +137027,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136766,9 +137125,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *738 - organization: *715 - repository: *716 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -137636,11 +137995,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138202,8 +138561,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138992,11 +139351,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139112,8 +139471,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -139193,9 +139552,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *713 - installation: *714 - issue: &739 + enterprise: *716 + installation: *717 + issue: &742 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -139978,11 +140337,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140098,8 +140457,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -140178,8 +140537,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140989,11 +141348,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141088,8 +141447,8 @@ x-webhooks: user_view_type: type: string type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -141955,11 +142314,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142543,11 +142902,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *713 - installation: *714 - issue: *739 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *742 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142627,12 +142986,12 @@ x-webhooks: type: string enum: - typed - enterprise: *713 - installation: *714 - issue: *740 + enterprise: *716 + installation: *717 + issue: *743 type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142713,7 +143072,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &769 + assignee: &772 title: User type: object nullable: true @@ -142783,11 +143142,11 @@ x-webhooks: required: - login - id - enterprise: *713 - installation: *714 - issue: *740 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *743 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142866,12 +143225,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *713 - installation: *714 - issue: *740 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *743 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142951,8 +143310,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143762,11 +144121,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143860,8 +144219,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -143941,11 +144300,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *713 - installation: *714 - issue: *739 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *742 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144024,12 +144383,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *713 - installation: *714 - issue: *740 + enterprise: *716 + installation: *717 + issue: *743 type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144109,11 +144468,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144191,11 +144550,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144305,11 +144664,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144391,9 +144750,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: &741 + enterprise: *716 + installation: *717 + marketplace_purchase: &744 title: Marketplace Purchase type: object required: @@ -144476,8 +144835,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *715 - previous_marketplace_purchase: &742 + organization: *718 + previous_marketplace_purchase: &745 title: Marketplace Purchase type: object properties: @@ -144557,7 +144916,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144637,10 +144996,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144723,7 +145082,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144805,10 +145164,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144890,7 +145249,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144971,8 +145330,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 marketplace_purchase: title: Marketplace Purchase type: object @@ -145054,9 +145413,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *715 - previous_marketplace_purchase: *742 - repository: *716 + organization: *718 + previous_marketplace_purchase: *745 + repository: *719 sender: *4 required: - action @@ -145136,12 +145495,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 - previous_marketplace_purchase: *742 - repository: *716 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 + previous_marketplace_purchase: *745 + repository: *719 sender: *4 required: - action @@ -145243,11 +145602,11 @@ x-webhooks: type: string required: - to - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145347,11 +145706,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145430,11 +145789,11 @@ x-webhooks: type: string enum: - removed - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145512,11 +145871,11 @@ x-webhooks: type: string enum: - added - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145592,7 +145951,7 @@ x-webhooks: required: - login - id - team: &743 + team: &746 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145815,11 +146174,11 @@ x-webhooks: type: string enum: - removed - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145896,7 +146255,7 @@ x-webhooks: required: - login - id - team: *743 + team: *746 required: - action - scope @@ -145978,8 +146337,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *714 - merge_group: &745 + installation: *717 + merge_group: &748 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145998,15 +146357,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *744 + head_commit: *747 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146092,10 +146451,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *714 - merge_group: *745 - organization: *715 - repository: *716 + installation: *717 + merge_group: *748 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146168,7 +146527,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 + enterprise: *716 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146277,16 +146636,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *714 - organization: *715 + installation: *717 + organization: *718 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: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -146367,11 +146726,11 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146450,9 +146809,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - milestone: &748 + enterprise: *716 + installation: *717 + milestone: &751 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146589,8 +146948,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146669,11 +147028,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146783,11 +147142,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146867,11 +147226,11 @@ x-webhooks: type: string enum: - opened - enterprise: *713 - installation: *714 - milestone: *748 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *751 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146950,11 +147309,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *733 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + blocked_user: *736 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147033,11 +147392,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *733 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + blocked_user: *736 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147116,9 +147475,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - membership: &749 + enterprise: *716 + installation: *717 + membership: &752 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147225,8 +147584,8 @@ x-webhooks: - role - organization_url - user - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147304,11 +147663,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147387,8 +147746,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147504,10 +147863,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 - user: *733 + user: *736 required: - action - invitation @@ -147585,11 +147944,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147676,11 +148035,11 @@ x-webhooks: properties: from: type: string - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147756,9 +148115,9 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 package: description: Information about the package. type: object @@ -148257,7 +148616,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &750 + items: &753 title: Ruby Gems metadata type: object properties: @@ -148352,7 +148711,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -148428,9 +148787,9 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 package: description: Information about the package. type: object @@ -148783,7 +149142,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *750 + items: *753 source_url: type: string format: uri @@ -148853,7 +149212,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -149030,12 +149389,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *713 + enterprise: *716 id: type: integer - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - id @@ -149112,7 +149471,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &751 + personal_access_token_request: &754 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149258,10 +149617,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *713 - organization: *715 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149338,11 +149697,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *751 - enterprise: *713 - organization: *715 + personal_access_token_request: *754 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149418,11 +149777,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *751 - enterprise: *713 - organization: *715 + personal_access_token_request: *754 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149497,11 +149856,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *751 - organization: *715 - enterprise: *713 + personal_access_token_request: *754 + organization: *718 + enterprise: *716 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149606,7 +149965,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *752 + last_response: *755 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149638,8 +149997,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 zen: description: Random string of GitHub zen. @@ -149884,10 +150243,10 @@ x-webhooks: - from required: - note - enterprise: *713 - installation: *714 - organization: *715 - project_card: &753 + enterprise: *716 + installation: *717 + organization: *718 + project_card: &756 title: Project Card type: object properties: @@ -150006,7 +150365,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -150087,11 +150446,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project_card: *753 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_card: *756 + repository: *719 sender: *4 required: - action @@ -150171,9 +150530,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 project_card: title: Project Card type: object @@ -150301,8 +150660,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: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -150396,11 +150755,11 @@ x-webhooks: - from required: - note - enterprise: *713 - installation: *714 - organization: *715 - project_card: *753 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_card: *756 + repository: *719 sender: *4 required: - action @@ -150494,9 +150853,9 @@ x-webhooks: - from required: - column_id - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 project_card: allOf: - title: Project Card @@ -150686,7 +151045,7 @@ x-webhooks: type: string required: - after_id - repository: *716 + repository: *719 sender: *4 required: - action @@ -150766,10 +151125,10 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - organization: *715 - project: &755 + enterprise: *716 + installation: *717 + organization: *718 + project: &758 title: Project type: object properties: @@ -150893,7 +151252,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -150973,10 +151332,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project_column: &754 + enterprise: *716 + installation: *717 + organization: *718 + project_column: &757 title: Project Column type: object properties: @@ -151015,7 +151374,7 @@ x-webhooks: - name - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -151094,18 +151453,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 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: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -151195,11 +151554,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 + repository: *719 sender: *4 required: - action @@ -151279,11 +151638,11 @@ x-webhooks: type: string enum: - moved - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 + repository: *719 sender: *4 required: - action @@ -151363,11 +151722,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151447,18 +151806,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - project: *755 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 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: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -151560,11 +151919,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151643,11 +152002,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151728,8 +152087,8 @@ x-webhooks: type: string enum: - closed - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -151811,8 +152170,8 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -151894,8 +152253,8 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152013,8 +152372,8 @@ x-webhooks: type: string to: type: string - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152098,7 +152457,7 @@ x-webhooks: type: string enum: - archived - changes: &759 + changes: &762 type: object properties: archived_at: @@ -152112,9 +152471,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *714 - organization: *715 - projects_v2_item: &756 + installation: *717 + organization: *718 + projects_v2_item: &759 title: Projects v2 Item description: An item belonging to a project type: object @@ -152249,9 +152608,9 @@ x-webhooks: nullable: true to: type: string - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152333,9 +152692,9 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152416,9 +152775,9 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152524,7 +152883,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &757 + - &760 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152546,7 +152905,7 @@ x-webhooks: required: - id - name - - &758 + - &761 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152580,8 +152939,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *757 - - *758 + - *760 + - *761 required: - field_value - type: object @@ -152597,9 +152956,9 @@ x-webhooks: nullable: true required: - body - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152694,9 +153053,9 @@ x-webhooks: to: type: string nullable: true - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152779,10 +153138,10 @@ x-webhooks: type: string enum: - restored - changes: *759 - installation: *714 - organization: *715 - projects_v2_item: *756 + changes: *762 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152864,8 +153223,8 @@ x-webhooks: type: string enum: - reopened - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152947,14 +153306,14 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 - projects_v2_status_update: &762 + installation: *717 + organization: *718 + projects_v2_status_update: &765 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *760 - required: *761 + properties: *763 + required: *764 sender: *4 required: - action @@ -153035,9 +153394,9 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 - projects_v2_status_update: *762 + installation: *717 + organization: *718 + projects_v2_status_update: *765 sender: *4 required: - action @@ -153173,9 +153532,9 @@ x-webhooks: type: string format: date nullable: true - installation: *714 - organization: *715 - projects_v2_status_update: *762 + installation: *717 + organization: *718 + projects_v2_status_update: *765 sender: *4 required: - action @@ -153246,10 +153605,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - repository @@ -153326,13 +153685,13 @@ x-webhooks: type: string enum: - assigned - assignee: *733 - enterprise: *713 - installation: *714 - number: &763 + assignee: *736 + enterprise: *716 + installation: *717 + number: &766 description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -155615,7 +155974,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -155697,11 +156056,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -157979,7 +158338,7 @@ x-webhooks: - draft reason: type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -158061,11 +158420,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -160343,7 +160702,7 @@ x-webhooks: - draft reason: type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -160425,13 +160784,13 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: &764 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: &767 allOf: - - *571 + - *572 - type: object properties: allow_auto_merge: @@ -160493,7 +160852,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *716 + repository: *719 sender: *4 required: - action @@ -160574,12 +160933,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -160659,11 +161018,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *713 - milestone: *555 - number: *763 - organization: *715 - pull_request: &765 + enterprise: *716 + milestone: *556 + number: *766 + organization: *718 + pull_request: &768 title: Pull Request type: object properties: @@ -162926,7 +163285,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -163005,11 +163364,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -165291,7 +165650,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *716 + repository: *719 sender: *4 required: - action @@ -165415,12 +165774,12 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -165500,11 +165859,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -167771,7 +168130,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -167851,11 +168210,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *713 - installation: *714 - label: *732 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + label: *735 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -170137,7 +170496,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -170218,10 +170577,10 @@ x-webhooks: type: string enum: - locked - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -172501,7 +172860,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -172581,12 +172940,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *713 - milestone: *555 - number: *763 - organization: *715 - pull_request: *765 - repository: *716 + enterprise: *716 + milestone: *556 + number: *766 + organization: *718 + pull_request: *768 + repository: *719 sender: *4 required: - action @@ -172665,12 +173024,12 @@ x-webhooks: type: string enum: - opened - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -172751,12 +173110,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -172836,12 +173195,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -173207,9 +173566,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -175379,7 +175738,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -175459,7 +175818,7 @@ x-webhooks: type: string enum: - deleted - comment: &767 + comment: &770 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -175744,9 +176103,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -177904,7 +178263,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -177984,11 +178343,11 @@ x-webhooks: type: string enum: - edited - changes: *766 - comment: *767 - enterprise: *713 - installation: *714 - organization: *715 + changes: *769 + comment: *770 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -180149,7 +180508,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -180230,9 +180589,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -182405,7 +182764,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 review: description: The review that was affected. type: object @@ -182652,9 +183011,9 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -184708,8 +185067,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 - review: &768 + repository: *719 + review: &771 description: The review that was affected. type: object properties: @@ -184942,12 +185301,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -187230,7 +187589,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_reviewer: title: User type: object @@ -187314,12 +187673,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -189609,7 +189968,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_team: title: Team description: Groups of organization members that gives permissions @@ -189801,12 +190160,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -192091,7 +192450,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_reviewer: title: User type: object @@ -192176,12 +192535,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -194457,7 +194816,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194638,9 +194997,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -196815,8 +197174,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 - review: *768 + repository: *719 + review: *771 sender: *4 required: - action @@ -196896,9 +197255,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -198968,7 +199327,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 sender: *4 thread: type: object @@ -199355,9 +199714,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -201413,7 +201772,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 sender: *4 thread: type: object @@ -201803,10 +202162,10 @@ x-webhooks: type: string before: type: string - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -204077,7 +204436,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -204159,11 +204518,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *769 - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + assignee: *772 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -206446,7 +206805,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -206525,11 +206884,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *713 - installation: *714 - label: *732 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + label: *735 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -208802,7 +209161,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -208883,10 +209242,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -211151,7 +211510,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -211351,7 +211710,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *713 + enterprise: *716 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211443,8 +211802,8 @@ x-webhooks: - url - author - committer - installation: *714 - organization: *715 + installation: *717 + organization: *718 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212019,9 +212378,9 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 registry_package: type: object properties: @@ -212467,7 +212826,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *750 + items: *753 summary: type: string tag_name: @@ -212521,7 +212880,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -212599,9 +212958,9 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 registry_package: type: object properties: @@ -212909,7 +213268,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *750 + items: *753 summary: type: string tag_name: @@ -212958,7 +213317,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -213035,10 +213394,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - release: &770 + enterprise: *716 + installation: *717 + organization: *718 + release: &773 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213356,7 +213715,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *716 + repository: *719 sender: *4 required: - action @@ -213433,11 +213792,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -213554,11 +213913,11 @@ x-webhooks: type: boolean required: - to - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -213636,9 +213995,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -213960,7 +214319,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *716 + repository: *719 sender: *4 required: - action @@ -214036,10 +214395,10 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - release: &771 + enterprise: *716 + installation: *717 + organization: *718 + release: &774 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214358,7 +214717,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *716 + repository: *719 sender: *4 required: - action @@ -214434,11 +214793,11 @@ x-webhooks: type: string enum: - released - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -214514,11 +214873,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *713 - installation: *714 - organization: *715 - release: *771 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *774 + repository: *719 sender: *4 required: - action @@ -214594,11 +214953,11 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_advisory: *635 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_advisory: *636 sender: *4 required: - action @@ -214674,11 +215033,11 @@ x-webhooks: type: string enum: - reported - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_advisory: *635 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_advisory: *636 sender: *4 required: - action @@ -214754,10 +215113,10 @@ x-webhooks: type: string enum: - archived - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -214834,10 +215193,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -214915,10 +215274,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215002,10 +215361,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215117,10 +215476,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215192,10 +215551,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 status: type: string @@ -215276,10 +215635,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215356,10 +215715,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215453,10 +215812,10 @@ x-webhooks: - name required: - repository - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215536,11 +215895,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 sender: *4 required: - action @@ -215618,11 +215977,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 sender: *4 required: - action @@ -215700,11 +216059,11 @@ x-webhooks: type: string enum: - edited - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 changes: type: object properties: @@ -215723,16 +216082,16 @@ x-webhooks: properties: added: type: array - items: *281 + items: *282 deleted: type: array - items: *281 + items: *282 updated: type: array items: type: object properties: - condition: *281 + condition: *282 changes: type: object properties: @@ -215765,16 +216124,16 @@ x-webhooks: properties: added: type: array - items: *591 + items: *592 deleted: type: array - items: *591 + items: *592 updated: type: array items: type: object properties: - rule: *591 + rule: *592 changes: type: object properties: @@ -216008,10 +216367,10 @@ x-webhooks: - from required: - owner - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216089,10 +216448,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216170,7 +216529,7 @@ x-webhooks: type: string enum: - create - alert: &772 + alert: &775 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216291,10 +216650,10 @@ x-webhooks: type: string enum: - open - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216500,10 +216859,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216581,11 +216940,11 @@ x-webhooks: type: string enum: - reopen - alert: *772 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216784,10 +217143,10 @@ x-webhooks: enum: - fixed - open - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216865,7 +217224,7 @@ x-webhooks: type: string enum: - assigned - alert: &773 + alert: &776 type: object properties: number: *169 @@ -216984,10 +217343,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217065,11 +217424,11 @@ x-webhooks: type: string enum: - created - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217150,11 +217509,11 @@ x-webhooks: type: string enum: - created - alert: *773 - installation: *714 - location: *774 - organization: *715 - repository: *716 + alert: *776 + installation: *717 + location: *777 + organization: *718 + repository: *719 sender: *4 required: - location @@ -217392,11 +217751,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217474,11 +217833,11 @@ x-webhooks: type: string enum: - reopened - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217556,11 +217915,11 @@ x-webhooks: type: string enum: - resolved - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217638,12 +217997,12 @@ x-webhooks: type: string enum: - unassigned - alert: *773 + alert: *776 assignee: *4 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217721,11 +218080,11 @@ x-webhooks: type: string enum: - validated - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217851,10 +218210,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *716 - enterprise: *713 - installation: *714 - organization: *715 + repository: *719 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -217932,11 +218291,11 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - security_advisory: &775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + security_advisory: &778 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218119,11 +218478,11 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - security_advisory: *775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + security_advisory: *778 sender: *4 required: - action @@ -218196,10 +218555,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218383,11 +218742,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *280 - enterprise: *713 - installation: *714 - organization: *715 - repository: *327 + security_and_analysis: *281 + enterprise: *716 + installation: *717 + organization: *718 + repository: *328 sender: *4 required: - changes @@ -218465,12 +218824,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: &776 + sponsorship: &779 type: object properties: created_at: @@ -218771,12 +219130,12 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - sponsorship @@ -218864,12 +219223,12 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -218946,17 +219305,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &777 + effective_date: &780 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: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - sponsorship @@ -219030,7 +219389,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &778 + changes: &781 type: object properties: tier: @@ -219074,13 +219433,13 @@ x-webhooks: - from required: - tier - effective_date: *777 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + effective_date: *780 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -219157,13 +219516,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *778 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + changes: *781 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -219237,10 +219596,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219323,10 +219682,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219746,15 +220105,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *713 + enterprise: *716 id: description: The unique identifier of the status. type: integer - installation: *714 + installation: *717 name: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 sha: description: The Commit SHA. @@ -219869,9 +220228,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -219961,9 +220320,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220053,9 +220412,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220145,9 +220504,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220224,12 +220583,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - team: &779 + team: &782 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220452,9 +220811,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -220912,7 +221271,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -220988,9 +221347,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -221448,7 +221807,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -221525,9 +221884,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -221985,7 +222344,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -222129,9 +222488,9 @@ x-webhooks: - from required: - permissions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -222589,7 +222948,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - changes @@ -222667,9 +223026,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -223127,7 +223486,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -223203,10 +223562,10 @@ x-webhooks: type: string enum: - started - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -223279,16 +223638,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *713 + enterprise: *716 inputs: type: object nullable: true additionalProperties: true - installation: *714 - organization: *715 + installation: *717 + organization: *718 ref: type: string - repository: *716 + repository: *719 sender: *4 workflow: type: string @@ -223370,10 +223729,10 @@ x-webhooks: type: string enum: - completed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: allOf: @@ -223610,7 +223969,7 @@ x-webhooks: type: string required: - conclusion - deployment: *485 + deployment: *486 required: - action - repository @@ -223689,10 +224048,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: allOf: @@ -223952,7 +224311,7 @@ x-webhooks: required: - status - steps - deployment: *485 + deployment: *486 required: - action - repository @@ -224031,10 +224390,10 @@ x-webhooks: type: string enum: - queued - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: type: object @@ -224169,7 +224528,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *486 required: - action - repository @@ -224248,10 +224607,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: type: object @@ -224387,7 +224746,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *486 required: - action - repository @@ -224467,12 +224826,12 @@ x-webhooks: type: string enum: - completed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object @@ -225471,12 +225830,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object @@ -226460,12 +226819,12 @@ x-webhooks: type: string enum: - requested - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 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 f88151a98f..0ae2672270 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -62148,7 +62148,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -63285,7 +63286,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -78411,7 +78413,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -83907,7 +83910,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -85443,7 +85447,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -97727,7 +97732,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -100525,7 +100531,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -106659,7 +106666,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -107819,7 +107827,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -129020,7 +129029,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -131026,7 +131036,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -137999,7 +138010,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -141296,7 +141308,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -142361,7 +142374,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -145401,7 +145415,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -147388,7 +147403,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -171050,6 +171066,736 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "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 view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "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": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -174767,7 +175513,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -193963,7 +194710,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -200314,7 +201062,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -219699,7 +220448,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -220379,7 +221129,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -221995,7 +222746,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -222675,7 +223427,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -225025,7 +225778,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -225705,7 +226459,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -232081,7 +232836,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -232761,7 +233517,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -263869,7 +264626,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -265460,7 +266218,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -266693,7 +267452,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -268154,7 +268914,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -274400,14 +275161,14 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true }, "examples": { "response": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { @@ -281514,7 +282275,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -283261,7 +284023,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -284646,7 +285409,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -287995,7 +288759,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -300274,7 +301039,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -301428,7 +302194,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -330203,7 +330970,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -344871,7 +345639,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -346079,7 +346848,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -428696,7 +429466,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -452253,7 +453024,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -453638,7 +454410,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -511532,7 +512305,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -516439,7 +517213,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -517403,7 +518178,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -518761,7 +519537,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -527334,7 +528111,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -531938,7 +532716,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -533878,7 +534657,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -535263,7 +536043,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -537039,7 +537820,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -538855,7 +539637,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -540412,7 +541195,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -547200,7 +547984,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -548837,7 +549622,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -550248,7 +551034,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -566633,7 +567420,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -567935,7 +568723,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -568939,7 +569728,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -576248,7 +577038,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -581319,7 +582110,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -588957,226 +589749,956 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "drafts" - } - } - }, - "/users": { - "get": { - "summary": "List users", - "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", - "tags": [ - "users" - ], - "operationId": "users/list", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/users/users#list-users" - }, - "parameters": [ - { - "name": "since", - "description": "A user ID. Only return users with an ID greater than this ID.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "drafts" + } + } + }, + "/users": { + "get": { + "summary": "List users", + "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", + "tags": [ + "users" + ], + "operationId": "users/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/users/users#list-users" + }, + "parameters": [ + { + "name": "since", + "description": "A user ID. Only return users with an ID greater than this ID.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "users", + "subcategory": "users" + } + } + }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "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 view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "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" + } + } + } + } + } }, - { - "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", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "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" + } + } + ] + } + } } - ] + } } } } - }, - "headers": { - "Link": { - "example": "; rel=\"next\"", + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { "schema": { - "type": "string" + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } } } } - }, - "304": { - "description": "Not modified" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" } } }, @@ -591424,7 +592946,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -621547,7 +623070,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -622612,7 +624136,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -659383,7 +660908,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -663217,7 +664743,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -673755,7 +675282,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -677801,7 +679329,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -681847,7 +683376,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -685906,7 +687436,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" 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 cd5e9112ee..ef369c08b1 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &313 + type: &314 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &637 + - &638 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -2891,7 +2891,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &278 + properties: &279 id: description: Unique identifier of the repository example: 42 @@ -3329,7 +3329,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &279 + required: &280 - archive_url - assignees_url - blobs_url @@ -8796,7 +8796,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 - - &475 + - &476 name: has in: query description: |- @@ -8912,7 +8912,7 @@ paths: - unknown - direct - transitive - security_advisory: &476 + security_advisory: &477 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9174,14 +9174,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &477 + auto_dismissed_at: &478 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: &478 + dismissal_request: &479 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10543,7 +10543,7 @@ paths: properties: action: type: string - discussion: &729 + discussion: &732 title: Discussion description: A Discussion in a repository. type: object @@ -10910,7 +10910,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &530 id: type: integer format: int64 @@ -11287,7 +11287,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &649 + sub_issues_summary: &650 title: Sub-issues Summary type: object properties: @@ -11307,7 +11307,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &650 + issue_dependencies_summary: &651 title: Issue Dependencies Summary type: object properties: @@ -11326,7 +11326,7 @@ paths: - total_blocking issue_field_values: type: array - items: &651 + items: &652 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11387,7 +11387,7 @@ paths: - node_id - data_type - value - required: &530 + required: &531 - assignee - closed_at - comments @@ -11425,7 +11425,7 @@ paths: action: type: string issue: *75 - comment: &525 + comment: &526 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12144,7 +12144,7 @@ paths: type: string release: allOf: - - &582 + - &583 title: Release description: A release. type: object @@ -12215,7 +12215,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &584 title: Release Asset description: Data related to a release. type: object @@ -12806,7 +12806,7 @@ paths: url: type: string format: uri - user: &657 + user: &658 title: Public User description: Public User type: object @@ -16111,14 +16111,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &324 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16180,7 +16180,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &328 + '301': &329 description: Moved permanently content: application/json: @@ -16202,7 +16202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &559 name: all description: If `true`, show notifications marked as read. in: query @@ -16210,7 +16210,7 @@ paths: schema: type: boolean default: false - - &559 + - &560 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16220,7 +16220,7 @@ paths: type: boolean default: false - *82 - - &560 + - &561 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16515,6 +16515,7 @@ paths: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -16532,7 +16533,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &280 + security_and_analysis: &281 nullable: true type: object properties: @@ -16694,7 +16695,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &562 value: - id: '1' repository: @@ -18201,7 +18202,7 @@ paths: required: false schema: type: string - - &706 + - &709 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18347,7 +18348,7 @@ paths: parameters: - *68 - *114 - - &707 + - &710 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 @@ -18459,7 +18460,7 @@ paths: - *114 - *116 - *115 - - &708 + - &711 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -18467,7 +18468,7 @@ paths: schema: type: string - *117 - - &709 + - &712 name: sku description: The SKU to query for usage. in: query @@ -19369,7 +19370,7 @@ paths: type: integer repository_cache_usages: type: array - items: &335 + items: &336 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20561,7 +20562,7 @@ paths: - all - local_only - selected - selected_actions_url: &341 + selected_actions_url: &342 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` @@ -20644,7 +20645,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &346 type: object properties: days: @@ -20686,7 +20687,7 @@ paths: required: true content: application/json: - schema: &346 + schema: &347 type: object properties: days: @@ -20743,7 +20744,7 @@ paths: required: - approval_policy examples: - default: &347 + default: &348 value: approval_policy: first_time_contributors '404': *6 @@ -20802,7 +20803,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &349 type: object required: - run_workflows_from_fork_pull_requests @@ -20856,7 +20857,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &350 type: object required: - run_workflows_from_fork_pull_requests @@ -21491,7 +21492,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &351 type: object properties: default_workflow_permissions: &144 @@ -21542,7 +21543,7 @@ paths: required: false content: application/json: - schema: &351 + schema: &352 type: object properties: default_workflow_permissions: *144 @@ -22031,7 +22032,7 @@ paths: type: array items: *151 examples: - default: &660 + default: &661 value: total_count: 1 repositories: @@ -22673,7 +22674,7 @@ paths: application/json: schema: type: array - items: &352 + items: &353 title: Runner Application description: Runner Application type: object @@ -22698,7 +22699,7 @@ paths: - download_url - filename examples: - default: &353 + default: &354 value: - os: osx architecture: x64 @@ -22784,7 +22785,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &354 + '201': &355 description: Response content: application/json: @@ -22895,7 +22896,7 @@ paths: - token - expires_at examples: - default: &355 + default: &356 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22934,7 +22935,7 @@ paths: application/json: schema: *155 examples: - default: &356 + default: &357 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22968,7 +22969,7 @@ paths: application/json: schema: *153 examples: - default: &357 + default: &358 value: id: 23 name: MBP @@ -23194,7 +23195,7 @@ paths: - *68 - *152 responses: - '200': &358 + '200': &359 description: Response content: application/json: @@ -23251,7 +23252,7 @@ paths: parameters: - *68 - *152 - - &359 + - &360 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23381,7 +23382,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &372 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23410,7 +23411,7 @@ paths: - key_id - key examples: - default: &372 + default: &373 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23823,7 +23824,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *68 - - &340 + - &341 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)." @@ -24960,12 +24961,12 @@ paths: required: - subject_digests examples: - default: &688 + default: &691 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &689 + withPredicateType: &692 value: subject_digests: - sha256:abc123 @@ -25023,7 +25024,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &690 + default: &693 value: attestations_subject_digests: - sha256:abc: @@ -25372,7 +25373,7 @@ paths: initiator: type: string examples: - default: &385 + default: &386 value: attestations: - bundle: @@ -26301,7 +26302,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *68 - - &410 + - &411 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`, @@ -26311,7 +26312,7 @@ paths: schema: &176 type: string description: The name of the tool used to generate the code scanning analysis. - - &411 + - &412 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 @@ -26334,7 +26335,7 @@ paths: be returned. in: query required: false - schema: &413 + schema: &414 type: string description: State of a code scanning alert. enum: @@ -26357,7 +26358,7 @@ paths: be returned. in: query required: false - schema: &414 + schema: &415 type: string description: Severity of a code scanning alert. enum: @@ -26391,7 +26392,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: &415 + instances_url: &416 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26414,7 +26415,7 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: &416 + dismissed_reason: &417 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26423,13 +26424,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &417 + dismissed_comment: &418 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &418 + rule: &419 type: object properties: id: @@ -26482,7 +26483,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &419 + tool: &420 type: object properties: name: *176 @@ -26492,26 +26493,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *177 - most_recent_instance: &420 + most_recent_instance: &421 type: object properties: - ref: &412 + ref: &413 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &430 + analysis_key: &431 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: &431 + environment: &432 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: &432 + category: &433 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26525,7 +26526,7 @@ paths: properties: text: type: string - location: &433 + location: &434 type: object description: Describe a region within a file for the alert. properties: @@ -26546,7 +26547,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: &434 + items: &435 type: string description: A classification of the file. For example to identify it as generated. @@ -27836,7 +27837,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &446 + properties: &447 name: type: string description: The name of the machine. @@ -27878,7 +27879,7 @@ paths: - ready - in_progress nullable: true - required: &447 + required: &448 - name - display_name - operating_system @@ -28746,7 +28747,7 @@ paths: - updated_at - visibility examples: - default: &448 + default: &449 value: total_count: 2 secrets: @@ -28784,7 +28785,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28813,7 +28814,7 @@ paths: - key_id - key examples: - default: &450 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28845,7 +28846,7 @@ paths: application/json: schema: *185 examples: - default: &452 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29843,7 +29844,7 @@ paths: application/json: schema: type: array - items: &318 + items: &319 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30150,7 +30151,7 @@ paths: - date additionalProperties: true examples: - default: &319 + default: &320 value: - date: '2024-06-24' total_active_users: 24 @@ -30252,7 +30253,7 @@ paths: '500': *111 '403': *29 '404': *6 - '422': &320 + '422': &321 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -30458,7 +30459,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30475,7 +30476,7 @@ paths: - key_id - key examples: - default: &482 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32275,7 +32276,7 @@ paths: application/json: schema: *22 examples: - default: &520 + default: &521 value: id: 1 account: @@ -32500,7 +32501,7 @@ paths: required: true content: application/json: - schema: &521 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -33353,7 +33354,7 @@ paths: application/json: schema: *231 examples: - default: &445 + default: &446 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34602,7 +34603,7 @@ paths: parameters: - *68 - *238 - - &673 + - &674 name: repo_name description: repo_name parameter in: path @@ -35347,7 +35348,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &314 + items: &315 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -35641,7 +35642,7 @@ paths: - nuget - container - *68 - - &674 + - &675 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35682,7 +35683,7 @@ paths: default: *245 '403': *29 '401': *25 - '400': &676 + '400': &677 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37474,7 +37475,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &760 + properties: &763 id: type: number description: The unique identifier of the status update. @@ -37522,7 +37523,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &761 + required: &764 - id - node_id - created_at @@ -37736,7 +37737,7 @@ paths: content: oneOf: - *75 - - &462 + - &463 title: Pull Request Simple description: Pull Request Simple type: object @@ -37965,7 +37966,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: &568 + auto_merge: &569 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38340,7 +38341,7 @@ paths: - updated_at - project_url examples: - default: &693 + default: &696 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38517,7 +38518,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &694 + items: &697 type: object properties: name: @@ -38553,7 +38554,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &695 + iteration_configuration: &698 type: object description: The configuration for iteration fields. properties: @@ -38602,7 +38603,7 @@ paths: value: name: Due date data_type: date - single_select_field: &696 + single_select_field: &699 summary: Create a single select field value: name: Priority @@ -38629,7 +38630,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &697 + iteration_field: &700 summary: Create an iteration field value: name: Sprint @@ -38655,7 +38656,7 @@ paths: application/json: schema: *266 examples: - text_field: &698 + text_field: &701 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -38664,7 +38665,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &699 + number_field: &702 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -38673,7 +38674,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &700 + date_field: &703 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -38682,7 +38683,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &701 + single_select_field: &704 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38716,7 +38717,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &702 + iteration_field: &705 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -38762,7 +38763,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *262 - - &703 + - &706 name: field_id description: The unique identifier of the field. in: path @@ -38777,7 +38778,7 @@ paths: application/json: schema: *266 examples: - default: &704 + default: &707 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39889,6 +39890,253 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - *68 + - *262 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: &688 + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element + is a tuple of [field_id, direction] where direction is "asc" + or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping + (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by + examples: + table_view: + summary: Response for creating a table view + value: &273 + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 + board_view: + summary: Response for creating a board view with filter + value: *273 + roadmap_view: + summary: Response for creating a roadmap view + value: *273 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -39903,7 +40151,7 @@ paths: parameters: - *262 - *68 - - &705 + - &708 name: view_number description: The number that identifies the project view. in: path @@ -39970,7 +40218,7 @@ paths: application/json: schema: type: array - items: &273 + items: &274 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -40035,7 +40283,7 @@ paths: - property_name - value_type examples: - default: &274 + default: &275 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40094,7 +40342,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *273 + items: *274 minItems: 1 maxItems: 100 required: @@ -40124,9 +40372,9 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: - default: *274 + default: *275 '403': *29 '404': *6 x-github: @@ -40148,7 +40396,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *68 - - &275 + - &276 name: custom_property_name description: The custom property name in: path @@ -40160,9 +40408,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: &276 + default: &277 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40197,7 +40445,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *68 - - *275 + - *276 requestBody: required: true content: @@ -40265,9 +40513,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: *276 + default: *277 '403': *29 '404': *6 x-github: @@ -40291,7 +40539,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *68 - - *275 + - *276 responses: '204': *182 '403': *29 @@ -40352,7 +40600,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &277 + items: &278 title: Custom Property Value description: Custom property name and associated value type: object @@ -40439,7 +40687,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *277 + items: *278 required: - repository_names - properties @@ -40833,7 +41081,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &328 title: Full Repository description: Full Repository type: object @@ -41110,8 +41358,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *278 - required: *279 + properties: *279 + required: *280 nullable: true temp_clone_token: type: string @@ -41226,7 +41474,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &467 + properties: &468 url: type: string format: uri @@ -41242,12 +41490,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &468 + required: &469 - url - key - name - html_url - security_and_analysis: *280 + security_and_analysis: *281 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41331,7 +41579,7 @@ paths: - network_count - subscribers_count examples: - default: &329 + default: &330 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41852,7 +42100,7 @@ paths: - *68 - *17 - *19 - - &590 + - &591 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41870,7 +42118,7 @@ paths: application/json: schema: type: array - items: &307 + items: &308 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41905,7 +42153,7 @@ paths: source: type: string description: The name of the source - enforcement: &283 + enforcement: &284 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41918,7 +42166,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &284 + items: &285 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41988,7 +42236,7 @@ paths: conditions: nullable: true anyOf: - - &281 + - &282 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42012,7 +42260,7 @@ paths: match. items: type: string - - &285 + - &286 title: Organization ruleset conditions type: object description: |- @@ -42026,7 +42274,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42060,7 +42308,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42082,7 +42330,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42095,7 +42343,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &282 + items: &283 title: Repository ruleset property targeting definition type: object @@ -42128,17 +42376,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *282 + items: *283 required: - repository_property rules: type: array - items: &591 + items: &592 title: Repository Rule type: object description: A repository rule. oneOf: - - &286 + - &287 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42150,7 +42398,7 @@ paths: type: string enum: - creation - - &287 + - &288 title: update description: Only allow users with bypass permission to update matching refs. @@ -42171,7 +42419,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &288 + - &289 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42183,7 +42431,7 @@ paths: type: string enum: - deletion - - &289 + - &290 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42195,7 +42443,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &590 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42273,7 +42521,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &290 + - &291 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42297,7 +42545,7 @@ paths: type: string required: - required_deployment_environments - - &291 + - &292 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42309,7 +42557,7 @@ paths: type: string enum: - required_signatures - - &292 + - &293 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42415,7 +42663,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &293 + - &294 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42463,7 +42711,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &294 + - &295 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42475,7 +42723,7 @@ paths: type: string enum: - non_fast_forward - - &295 + - &296 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42511,7 +42759,7 @@ paths: required: - operator - pattern - - &296 + - &297 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42547,7 +42795,7 @@ paths: required: - operator - pattern - - &297 + - &298 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -42583,7 +42831,7 @@ paths: required: - operator - pattern - - &298 + - &299 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42619,7 +42867,7 @@ paths: required: - operator - pattern - - &299 + - &300 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42655,7 +42903,7 @@ paths: required: - operator - pattern - - &300 + - &301 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42680,7 +42928,7 @@ paths: type: string required: - restricted_file_paths - - &301 + - &302 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42704,7 +42952,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &302 + - &303 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42727,7 +42975,7 @@ paths: type: string required: - restricted_file_extensions - - &303 + - &304 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42752,7 +43000,7 @@ paths: maximum: 100 required: - max_file_size - - &304 + - &305 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42802,7 +43050,7 @@ paths: - repository_id required: - workflows - - &305 + - &306 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42863,7 +43111,7 @@ paths: - tool required: - code_scanning_tools - - &306 + - &307 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42962,21 +43210,20 @@ paths: - push - repository default: branch - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *285 + items: *285 + conditions: *286 rules: type: array description: An array of rules within the ruleset. - items: &309 + items: &310 title: Repository Rule type: object description: A repository rule. oneOf: - - *286 - *287 - *288 - *289 @@ -42997,6 +43244,7 @@ paths: - *304 - *305 - *306 + - *307 required: - name - enforcement @@ -43034,9 +43282,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &308 + default: &309 value: id: 21 name: super cool ruleset @@ -43091,7 +43339,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *68 - - &592 + - &593 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -43106,7 +43354,7 @@ paths: in: query schema: type: string - - &593 + - &594 name: time_period description: |- The time period to filter by. @@ -43122,14 +43370,14 @@ paths: - week - month default: day - - &594 + - &595 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &595 + - &596 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43149,7 +43397,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &597 title: Rule Suites description: Response type: array @@ -43204,7 +43452,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &597 + default: &598 value: - id: 21 actor_id: 12 @@ -43248,7 +43496,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *68 - - &598 + - &599 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43264,7 +43512,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &600 title: Rule Suite description: Response type: object @@ -43363,7 +43611,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &600 + default: &601 value: id: 21 actor_id: 12 @@ -43436,9 +43684,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '500': *111 put: @@ -43482,16 +43730,16 @@ paths: - tag - push - repository - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *285 + items: *285 + conditions: *286 rules: description: An array of rules within the ruleset. type: array - items: *309 + items: *310 examples: default: value: @@ -43526,9 +43774,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '500': *111 delete: @@ -43585,7 +43833,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Ruleset version type: object description: The historical version of a ruleset @@ -43609,7 +43857,7 @@ paths: type: string format: date-time examples: - default: &602 + default: &603 value: - version_id: 3 actor: @@ -43662,9 +43910,9 @@ paths: description: Response content: application/json: - schema: &603 + schema: &604 allOf: - - *310 + - *311 - type: object required: - state @@ -43734,7 +43982,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *68 - - &604 + - &605 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -43745,7 +43993,7 @@ paths: enum: - open - resolved - - &605 + - &606 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -43755,7 +44003,7 @@ paths: required: false schema: type: string - - &606 + - &607 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -43764,7 +44012,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -43783,7 +44031,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &608 + - &609 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -43798,7 +44046,7 @@ paths: - *53 - *19 - *17 - - &609 + - &610 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43808,7 +44056,7 @@ paths: required: false schema: type: string - - &610 + - &611 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43818,7 +44066,7 @@ paths: required: false schema: type: string - - &611 + - &612 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -43827,7 +44075,7 @@ paths: required: false schema: type: string - - &612 + - &613 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -43836,7 +44084,7 @@ paths: schema: type: boolean default: false - - &613 + - &614 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -43845,7 +44093,7 @@ paths: schema: type: boolean default: false - - &614 + - &615 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -43880,14 +44128,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &615 + state: &616 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &616 + resolution: &617 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -43994,8 +44242,8 @@ paths: pull request. ' - oneOf: &617 - - &619 + oneOf: &618 + - &620 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -44047,7 +44295,7 @@ paths: - blob_url - commit_sha - commit_url - - &620 + - &621 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -44102,7 +44350,7 @@ paths: - page_url - commit_sha - commit_url - - &621 + - &622 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -44116,7 +44364,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &622 + - &623 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -44130,7 +44378,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &623 + - &624 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -44144,7 +44392,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &624 + - &625 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -44158,7 +44406,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &625 + - &626 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -44172,7 +44420,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &626 + - &627 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -44186,7 +44434,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &627 + - &628 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -44200,7 +44448,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &628 + - &629 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -44214,7 +44462,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &629 + - &630 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -44228,7 +44476,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &630 + - &631 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -44242,7 +44490,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &631 + - &632 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -44484,7 +44732,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &312 + pattern_config_version: &313 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -44493,7 +44741,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &311 + items: &312 type: object properties: token_type: @@ -44559,7 +44807,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *311 + items: *312 examples: default: value: @@ -44616,7 +44864,7 @@ paths: schema: type: object properties: - pattern_config_version: *312 + pattern_config_version: *313 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -44642,7 +44890,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *312 + custom_pattern_version: *313 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -44740,7 +44988,7 @@ paths: application/json: schema: type: array - items: &635 + items: &636 description: A repository security advisory. type: object properties: @@ -44960,7 +45208,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 credits_detailed: type: array nullable: true @@ -44970,7 +45218,7 @@ paths: type: object properties: user: *4 - type: *313 + type: *314 state: type: string description: The state of the user's acceptance of the @@ -45031,7 +45279,7 @@ paths: - private_fork additionalProperties: false examples: - default: &636 + default: &637 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45418,7 +45666,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: *243 x-github: @@ -45756,7 +46004,7 @@ paths: type: integer network_configurations: type: array - items: &315 + items: &316 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -45888,9 +46136,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: &316 + default: &317 value: id: 123456789ABCDEF name: My network configuration @@ -45919,7 +46167,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *68 - - &317 + - &318 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -45931,9 +46179,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *316 + default: *317 headers: Link: *59 x-github: @@ -45955,7 +46203,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *68 - - *317 + - *318 requestBody: required: true content: @@ -45994,9 +46242,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *316 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46016,7 +46264,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *68 - - *317 + - *318 responses: '204': description: Response @@ -46156,13 +46404,13 @@ paths: application/json: schema: type: array - items: *318 + items: *319 examples: - default: *319 + default: *320 '500': *111 '403': *29 '404': *6 - '422': *320 + '422': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46286,7 +46534,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46613,7 +46861,7 @@ paths: - repos_count - organization examples: - default: &322 + default: &323 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46690,9 +46938,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -46776,16 +47024,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '201': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 '422': *15 '403': *29 @@ -46932,7 +47180,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &324 title: Team Membership description: Team Membership type: object @@ -46959,7 +47207,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &653 + response-if-user-is-a-team-maintainer: &654 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47022,9 +47270,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-users-membership-with-team-is-now-pending: &654 + response-if-users-membership-with-team-is-now-pending: &655 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47131,14 +47379,14 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &655 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -47709,8 +47957,8 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 requestBody: required: false content: @@ -47757,8 +48005,8 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 responses: '204': description: Response @@ -47795,7 +48043,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: &656 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47949,7 +48197,7 @@ paths: resources: type: object properties: - core: &326 + core: &327 title: Rate Limit type: object properties: @@ -47966,21 +48214,21 @@ paths: - remaining - reset - used - graphql: *326 - search: *326 - code_search: *326 - source_import: *326 - integration_manifest: *326 - code_scanning_upload: *326 - actions_runner_registration: *326 - scim: *326 - dependency_snapshots: *326 - dependency_sbom: *326 - code_scanning_autofix: *326 + graphql: *327 + search: *327 + code_search: *327 + source_import: *327 + integration_manifest: *327 + code_scanning_upload: *327 + actions_runner_registration: *327 + scim: *327 + dependency_snapshots: *327 + dependency_sbom: *327 + code_scanning_autofix: *327 required: - core - search - rate: *326 + rate: *327 required: - rate - resources @@ -48085,14 +48333,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *327 + schema: *328 examples: default-response: summary: Default response @@ -48593,7 +48841,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *328 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48611,8 +48859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -48859,10 +49107,10 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 - '307': &330 + default: *330 + '307': &331 description: Temporary Redirect content: application/json: @@ -48891,8 +49139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -48914,7 +49162,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *330 + '307': *331 '404': *6 '409': *52 x-github: @@ -48938,11 +49186,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &363 + - &364 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48965,7 +49213,7 @@ paths: type: integer artifacts: type: array - items: &331 + items: &332 title: Artifact description: An artifact type: object @@ -49043,7 +49291,7 @@ paths: - expires_at - updated_at examples: - default: &364 + default: &365 value: total_count: 2 artifacts: @@ -49104,9 +49352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *324 - *325 - - &332 + - *326 + - &333 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49118,7 +49366,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -49156,9 +49404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *324 - *325 - - *332 + - *326 + - *333 responses: '204': description: Response @@ -49182,9 +49430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *324 - *325 - - *332 + - *326 + - *333 - name: archive_format in: path required: true @@ -49198,7 +49446,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': &524 + '410': &525 description: Gone content: application/json: @@ -49223,14 +49471,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &333 + schema: &334 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -49263,13 +49511,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *333 + schema: *334 examples: selected_actions: *42 responses: @@ -49298,14 +49546,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &334 + schema: &335 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -49338,13 +49586,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *334 + schema: *335 examples: selected_actions: *44 responses: @@ -49375,14 +49623,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: default: value: @@ -49408,11 +49656,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &336 + - &337 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 @@ -49446,7 +49694,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &338 title: Repository actions caches description: Repository actions caches type: object @@ -49488,7 +49736,7 @@ paths: - total_count - actions_caches examples: - default: &338 + default: &339 value: total_count: 1 actions_caches: @@ -49520,23 +49768,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: - - *324 - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49556,8 +49804,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: - - *324 - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49588,9 +49836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *324 - *325 - - &339 + - *326 + - &340 name: job_id description: The unique identifier of the job. in: path @@ -49602,7 +49850,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &368 title: Job description: Information of a job execution in a workflow run type: object @@ -49909,9 +50157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *324 - *325 - - *339 + - *326 + - *340 responses: '302': description: Response @@ -49939,9 +50187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *324 - *325 - - *339 + - *326 + - *340 requestBody: required: false content: @@ -49986,8 +50234,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: - - *324 - *325 + - *326 responses: '200': description: Status response @@ -50037,8 +50285,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50101,8 +50349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50120,7 +50368,7 @@ paths: type: integer secrets: type: array - items: &369 + items: &370 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50140,7 +50388,7 @@ paths: - created_at - updated_at examples: - default: &370 + default: &371 value: total_count: 2 secrets: @@ -50173,9 +50421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *324 - *325 - - *340 + - *326 + - *341 - *19 responses: '200': @@ -50192,7 +50440,7 @@ paths: type: integer variables: type: array - items: &373 + items: &374 title: Actions Variable type: object properties: @@ -50222,7 +50470,7 @@ paths: - created_at - updated_at examples: - default: &374 + default: &375 value: total_count: 2 variables: @@ -50255,8 +50503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50265,11 +50513,11 @@ paths: schema: type: object properties: - enabled: &342 + enabled: &343 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *136 - selected_actions_url: *341 + selected_actions_url: *342 sha_pinning_required: *137 required: - enabled @@ -50298,8 +50546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50310,7 +50558,7 @@ paths: schema: type: object properties: - enabled: *342 + enabled: *343 allowed_actions: *136 sha_pinning_required: *137 required: @@ -50342,14 +50590,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &343 + schema: &344 type: object properties: access_level: @@ -50366,7 +50614,7 @@ paths: required: - access_level examples: - default: &344 + default: &345 value: access_level: organization x-github: @@ -50390,15 +50638,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 responses: '204': description: Response @@ -50422,14 +50670,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: default: value: @@ -50453,8 +50701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -50464,7 +50712,7 @@ paths: required: true content: application/json: - schema: *346 + schema: *347 examples: default: summary: Set retention days @@ -50488,8 +50736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50497,7 +50745,7 @@ paths: application/json: schema: *138 examples: - default: *347 + default: *348 '404': *6 x-github: enabledForGitHubApps: true @@ -50516,8 +50764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50551,14 +50799,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: default: *139 '403': *29 @@ -50580,13 +50828,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *349 + schema: *350 examples: default: *139 responses: @@ -50612,8 +50860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50640,8 +50888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50673,14 +50921,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: default: *146 x-github: @@ -50703,8 +50951,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Success response @@ -50715,7 +50963,7 @@ paths: required: true content: application/json: - schema: *351 + schema: *352 examples: default: *146 x-github: @@ -50744,8 +50992,8 @@ paths: in: query schema: type: string - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50789,8 +51037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50798,9 +51046,9 @@ paths: application/json: schema: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50822,8 +51070,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50866,7 +51114,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *354 + '201': *355 '404': *6 '422': *7 '409': *52 @@ -50897,8 +51145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50906,7 +51154,7 @@ paths: application/json: schema: *155 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50934,8 +51182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50943,7 +51191,7 @@ paths: application/json: schema: *155 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50965,8 +51213,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: - - *324 - *325 + - *326 - *152 responses: '200': @@ -50975,7 +51223,7 @@ paths: application/json: schema: *153 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50996,8 +51244,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: - - *324 - *325 + - *326 - *152 responses: '204': @@ -51024,8 +51272,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: - - *324 - *325 + - *326 - *152 responses: '200': *157 @@ -51050,8 +51298,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: - - *324 - *325 + - *326 - *152 requestBody: required: true @@ -51100,8 +51348,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: - - *324 - *325 + - *326 - *152 requestBody: required: true @@ -51151,11 +51399,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: - - *324 - *325 + - *326 - *152 responses: - '200': *358 + '200': *359 '404': *6 x-github: githubCloudOnly: false @@ -51182,10 +51430,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: - - *324 - *325 + - *326 - *152 - - *359 + - *360 responses: '200': *157 '404': *6 @@ -51213,9 +51461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *324 - *325 - - &377 + - *326 + - &378 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. @@ -51223,7 +51471,7 @@ paths: required: false schema: type: string - - &378 + - &379 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51231,7 +51479,7 @@ paths: required: false schema: type: string - - &379 + - &380 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51240,7 +51488,7 @@ paths: required: false schema: type: string - - &380 + - &381 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 @@ -51267,7 +51515,7 @@ paths: - pending - *17 - *19 - - &381 + - &382 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)." @@ -51276,7 +51524,7 @@ paths: schema: type: string format: date-time - - &360 + - &361 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51285,13 +51533,13 @@ paths: schema: type: boolean default: false - - &382 + - &383 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &383 + - &384 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51314,7 +51562,7 @@ paths: type: integer workflow_runs: type: array - items: &361 + items: &362 title: Workflow Run description: An invocation of a workflow type: object @@ -51462,7 +51710,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &405 + properties: &406 id: type: string description: SHA for the commit @@ -51513,7 +51761,7 @@ paths: - name - email nullable: true - required: &406 + required: &407 - id - tree_id - message @@ -51560,7 +51808,7 @@ paths: - workflow_url - pull_requests examples: - default: &384 + default: &385 value: total_count: 1 workflow_runs: @@ -51796,24 +52044,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *324 - *325 - - &362 + - *326 + - &363 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: &365 + default: &366 value: id: 30433642 name: Build @@ -52054,9 +52302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '204': description: Response @@ -52079,9 +52327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -52200,9 +52448,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: - - *324 - *325 - - *362 + - *326 + - *363 responses: '201': description: Response @@ -52235,12 +52483,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *324 - *325 - - *362 + - *326 + - *363 - *17 - *19 - - *363 + - *364 responses: '200': description: Response @@ -52256,9 +52504,9 @@ paths: type: integer artifacts: type: array - items: *331 + items: *332 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -52282,25 +52530,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *324 - *325 - - *362 - - &366 + - *326 + - *363 + - &367 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *365 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52323,10 +52571,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *324 - *325 - - *362 - - *366 + - *326 + - *363 + - *367 - *17 - *19 responses: @@ -52344,9 +52592,9 @@ paths: type: integer jobs: type: array - items: *367 + items: *368 examples: - default: &368 + default: &369 value: total_count: 1 jobs: @@ -52459,10 +52707,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *324 - *325 - - *362 - - *366 + - *326 + - *363 + - *367 responses: '302': description: Response @@ -52490,9 +52738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '202': description: Response @@ -52525,9 +52773,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: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: true content: @@ -52594,9 +52842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '202': description: Response @@ -52629,9 +52877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 - 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 @@ -52661,9 +52909,9 @@ paths: type: integer jobs: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -52688,9 +52936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '302': description: Response @@ -52717,9 +52965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '204': description: Response @@ -52746,9 +52994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -52808,7 +53056,7 @@ paths: items: type: object properties: - type: &490 + type: &491 type: string description: The type of reviewer. enum: @@ -52893,9 +53141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: true content: @@ -52942,7 +53190,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53048,7 +53296,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53104,9 +53352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: false content: @@ -53150,9 +53398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: false content: @@ -53205,9 +53453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -53344,8 +53592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53363,9 +53611,9 @@ paths: type: integer secrets: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *59 x-github: @@ -53390,16 +53638,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53421,17 +53669,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: &503 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53457,8 +53705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -53516,8 +53764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -53543,9 +53791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *324 - *325 - - *340 + - *326 + - *341 - *19 responses: '200': @@ -53562,9 +53810,9 @@ paths: type: integer variables: type: array - items: *373 + items: *374 examples: - default: *374 + default: *375 headers: Link: *59 x-github: @@ -53587,8 +53835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -53640,17 +53888,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: &504 + default: &505 value: name: USERNAME value: octocat @@ -53676,8 +53924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 requestBody: required: true @@ -53720,8 +53968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 responses: '204': @@ -53747,8 +53995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53766,7 +54014,7 @@ paths: type: integer workflows: type: array - items: &375 + items: &376 title: Workflow description: A GitHub Actions workflow type: object @@ -53873,9 +54121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *324 - *325 - - &376 + - *326 + - &377 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53890,7 +54138,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -53923,9 +54171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -53950,9 +54198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -54003,9 +54251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -54032,19 +54280,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *324 - *325 - - *376 + - *326 - *377 - *378 - *379 - *380 + - *381 - *17 - *19 - - *381 - - *360 - *382 + - *361 - *383 + - *384 responses: '200': description: Response @@ -54060,9 +54308,9 @@ paths: type: integer workflow_runs: type: array - items: *361 + items: *362 examples: - default: *384 + default: *385 headers: Link: *59 x-github: @@ -54094,9 +54342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '200': description: Response @@ -54157,8 +54405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *324 - *325 + - *326 - *53 - *17 - *45 @@ -54322,8 +54570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -54360,8 +54608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *324 - *325 + - *326 - name: assignee in: path required: true @@ -54397,8 +54645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54510,8 +54758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *324 - *325 + - *326 - *17 - *45 - *46 @@ -54568,7 +54816,7 @@ paths: initiator: type: string examples: - default: *385 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54588,8 +54836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -54597,7 +54845,7 @@ paths: application/json: schema: type: array - items: &386 + items: &387 title: Autolink reference description: An autolink reference. type: object @@ -54651,8 +54899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54691,9 +54939,9 @@ paths: description: response content: application/json: - schema: *386 + schema: *387 examples: - default: &387 + default: &388 value: id: 1 key_prefix: TICKET- @@ -54724,9 +54972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *324 - *325 - - &388 + - *326 + - &389 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54738,9 +54986,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 '404': *6 x-github: githubCloudOnly: false @@ -54760,9 +55008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *324 - *325 - - *388 + - *326 + - *389 responses: '204': description: Response @@ -54786,8 +55034,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: - - *324 - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54835,8 +55083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54857,8 +55105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54878,8 +55126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *324 - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54917,7 +55165,7 @@ paths: - url protected: type: boolean - protection: &390 + protection: &391 title: Branch Protection description: Branch Protection type: object @@ -54959,7 +55207,7 @@ paths: required: - contexts - checks - enforce_admins: &393 + enforce_admins: &394 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54974,7 +55222,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &395 + required_pull_request_reviews: &396 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55050,7 +55298,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &392 + restrictions: &393 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55327,9 +55575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *324 - *325 - - &391 + - *326 + - &392 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). @@ -55343,14 +55591,14 @@ paths: description: Response content: application/json: - schema: &401 + schema: &402 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &458 + commit: &459 title: Commit description: Commit type: object @@ -55384,7 +55632,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &389 + properties: &390 name: type: string example: '"Chris Wanstrath"' @@ -55400,7 +55648,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true message: type: string @@ -55421,7 +55669,7 @@ paths: required: - sha - url - verification: &510 + verification: &511 title: Verification type: object properties: @@ -55491,7 +55739,7 @@ paths: type: integer files: type: array - items: &471 + items: &472 title: Diff Entry description: Diff Entry type: object @@ -55575,7 +55823,7 @@ paths: - self protected: type: boolean - protection: *390 + protection: *391 protection_url: type: string format: uri @@ -55682,7 +55930,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *328 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -55704,15 +55952,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: default: value: @@ -55906,9 +56154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -56163,7 +56411,7 @@ paths: url: type: string format: uri - required_status_checks: &398 + required_status_checks: &399 title: Status Check Policy description: Status Check Policy type: object @@ -56315,7 +56563,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *392 + restrictions: *393 required_conversation_resolution: type: object properties: @@ -56427,9 +56675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56454,17 +56702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &394 + default: &395 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56486,17 +56734,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56515,9 +56763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56542,17 +56790,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &396 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56648,9 +56896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -56748,9 +56996,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -56771,9 +57019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56800,17 +57048,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &397 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56833,17 +57081,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *397 + default: *398 '404': *6 x-github: githubCloudOnly: false @@ -56863,9 +57111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56890,17 +57138,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: &399 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56926,9 +57174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -56980,9 +57228,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: *399 + default: *400 '404': *6 '422': *15 x-github: @@ -57004,9 +57252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -57030,9 +57278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57066,9 +57314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57135,9 +57383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57201,9 +57449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: content: application/json: @@ -57269,15 +57517,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -57368,9 +57616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -57393,9 +57641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57405,7 +57653,7 @@ paths: type: array items: *5 examples: - default: &400 + default: &401 value: - id: 1 slug: octoapp @@ -57462,9 +57710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57498,7 +57746,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57519,9 +57767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57555,7 +57803,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57576,9 +57824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57612,7 +57860,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57634,9 +57882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57666,9 +57914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57727,9 +57975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57788,9 +58036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: content: application/json: @@ -57849,9 +58097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57885,9 +58133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57945,9 +58193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58005,9 +58253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58067,9 +58315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58091,7 +58339,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -58207,8 +58455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58487,7 +58735,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &403 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58607,7 +58855,7 @@ paths: check. type: array items: *80 - deployment: &718 + deployment: &721 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58887,9 +59135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *324 - *325 - - &403 + - *326 + - &404 name: check_run_id description: The unique identifier of the check run. in: path @@ -58901,9 +59149,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &404 + default: &405 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59003,9 +59251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *324 - *325 - - *403 + - *326 + - *404 requestBody: required: true content: @@ -59245,9 +59493,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *404 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59267,9 +59515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *324 - *325 - - *403 + - *326 + - *404 - *17 - *19 responses: @@ -59364,9 +59612,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *324 - *325 - - *403 + - *326 + - *404 responses: '201': description: Response @@ -59410,8 +59658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59433,7 +59681,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &407 + schema: &408 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59519,12 +59767,12 @@ paths: type: string format: date-time nullable: true - head_commit: &744 + head_commit: &747 title: Simple Commit description: A commit. type: object - properties: *405 - required: *406 + properties: *406 + required: *407 latest_check_runs_count: type: integer check_runs_url: @@ -59552,7 +59800,7 @@ paths: - check_runs_url - pull_requests examples: - default: &408 + default: &409 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59843,9 +60091,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59864,8 +60112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -60174,9 +60422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *324 - *325 - - &409 + - *326 + - &410 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60188,9 +60436,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60213,17 +60461,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *324 - *325 - - *409 - - &464 + - *326 + - *410 + - &465 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &465 + - &466 name: status description: Returns check runs with the specified `status`. in: query @@ -60262,9 +60510,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *403 examples: - default: &466 + default: &467 value: total_count: 1 check_runs: @@ -60366,9 +60614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *324 - *325 - - *409 + - *326 + - *410 responses: '201': description: Response @@ -60401,21 +60649,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *410 + - *326 - *411 + - *412 - *19 - *17 - - &428 + - &429 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: *412 - - &429 + schema: *413 + - &430 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60440,13 +60688,13 @@ paths: be returned. in: query required: false - schema: *413 + schema: *414 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *414 + schema: *415 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -60470,7 +60718,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: *415 + instances_url: *416 state: *178 fixed_at: *174 dismissed_by: @@ -60481,11 +60729,11 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: *416 - dismissed_comment: *417 - rule: *418 - tool: *419 - most_recent_instance: *420 + dismissed_reason: *417 + dismissed_comment: *418 + rule: *419 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60611,7 +60859,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &421 + '403': &422 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60638,9 +60886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *324 - *325 - - &422 + - *326 + - &423 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60654,7 +60902,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &424 type: object properties: number: *169 @@ -60662,7 +60910,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: *415 + instances_url: *416 state: *178 fixed_at: *174 dismissed_by: @@ -60673,8 +60921,8 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *417 + dismissed_comment: *418 rule: type: object properties: @@ -60728,8 +60976,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *419 - most_recent_instance: *420 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60828,7 +61076,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -60848,9 +61096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: true content: @@ -60865,8 +61113,8 @@ paths: enum: - open - dismissed - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *417 + dismissed_comment: *418 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60894,7 +61142,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -60970,7 +61218,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &427 + '403': &428 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60997,15 +61245,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: - - *324 - *325 - - *422 + - *326 + - *423 responses: '200': description: Response content: application/json: - schema: &424 + schema: &425 type: object properties: status: @@ -61031,13 +61279,13 @@ paths: - description - started_at examples: - default: &425 + default: &426 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &426 + '400': &427 description: Bad Request content: application/json: @@ -61048,7 +61296,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': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61073,29 +61321,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: - - *324 - *325 - - *422 + - *326 + - *423 responses: '200': description: OK content: application/json: - schema: *424 + schema: *425 examples: - default: *425 + default: *426 '202': description: Accepted content: application/json: - schema: *424 + schema: *425 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *426 + '400': *427 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61127,9 +61375,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: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: false content: @@ -61174,8 +61422,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *426 - '403': *427 + '400': *427 + '403': *428 '404': *6 '422': description: Unprocessable Entity @@ -61199,13 +61447,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 - *19 - *17 - - *428 - *429 + - *430 responses: '200': description: Response @@ -61216,10 +61464,10 @@ paths: items: type: object properties: - ref: *412 - analysis_key: *430 - environment: *431 - category: *432 + ref: *413 + analysis_key: *431 + environment: *432 + category: *433 state: type: string description: State of a code scanning alert instance. @@ -61234,7 +61482,7 @@ paths: properties: text: type: string - location: *433 + location: *434 html_url: type: string classifications: @@ -61242,7 +61490,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: *434 + items: *435 examples: default: value: @@ -61281,7 +61529,7 @@ paths: end_column: 50 classifications: - source - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61315,25 +61563,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *324 - *325 - - *410 + - *326 - *411 + - *412 - *19 - *17 - - *429 + - *430 - 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: *412 + schema: *413 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &436 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61354,23 +61602,23 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: - ref: *412 - commit_sha: &444 + ref: *413 + commit_sha: &445 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: *430 + analysis_key: *431 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *432 + category: *433 error: type: string example: error reading field xyz @@ -61394,8 +61642,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *419 + sarif_id: *436 + tool: *420 deletable: type: boolean warning: @@ -61456,7 +61704,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61492,8 +61740,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61506,7 +61754,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: response: summary: application/json response @@ -61529,13 +61777,13 @@ paths: version: 2.4.0 deletable: true warning: '' - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true examples: response: - summary: application/json+sarif response + summary: application/sarif+json response value: runs: - tool: @@ -61560,7 +61808,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *421 + '403': *422 '404': *6 '422': description: Response if analysis could not be processed @@ -61647,8 +61895,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61701,7 +61949,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': *427 + '403': *428 '404': *6 '503': *112 x-github: @@ -61723,8 +61971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -61732,7 +61980,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: CodeQL Database description: A CodeQL database. type: object @@ -61843,7 +62091,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': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61872,8 +62120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61885,7 +62133,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: default: value: @@ -61917,9 +62165,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': &473 + '302': &474 description: Found - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61941,8 +62189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61952,7 +62200,7 @@ paths: responses: '204': description: Response - '403': *427 + '403': *428 '404': *6 '503': *112 x-github: @@ -61980,8 +62228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -61990,7 +62238,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &439 type: string description: The language targeted by the CodeQL query enum: @@ -62070,7 +62318,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &443 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62080,7 +62328,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *438 + query_language: *439 query_pack_url: type: string description: The download url for the query pack. @@ -62127,7 +62375,7 @@ paths: items: type: object properties: - repository: &439 + repository: &440 title: Repository Identifier description: Repository Identifier type: object @@ -62163,7 +62411,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &444 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62195,7 +62443,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &441 type: object properties: repository_count: @@ -62209,7 +62457,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: *439 + items: *440 required: - repository_count - repositories @@ -62231,8 +62479,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *441 + over_limit_repos: *441 required: - access_mismatch_repos - not_found_repos @@ -62248,7 +62496,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &442 summary: Default response value: id: 1 @@ -62394,10 +62642,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *442 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *442 '404': *6 '422': description: Unable to process variant analysis submission @@ -62425,8 +62673,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: - - *324 - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62438,9 +62686,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *441 + default: *442 '404': *6 '503': *112 x-github: @@ -62463,7 +62711,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: - - *324 + - *325 - name: repo in: path description: The name of the controller repository. @@ -62498,7 +62746,7 @@ paths: type: object properties: repository: *58 - analysis_status: *443 + analysis_status: *444 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62623,8 +62871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -62709,7 +62957,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -62730,8 +62978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62823,7 +63071,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *427 + '403': *428 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62894,8 +63142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62903,7 +63151,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *445 ref: type: string description: |- @@ -62961,7 +63209,7 @@ paths: schema: type: object properties: - id: *435 + id: *436 url: type: string description: The REST API URL for checking the status of the upload. @@ -62975,7 +63223,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': *427 + '403': *428 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62998,8 +63246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *324 - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63045,7 +63293,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': *421 + '403': *422 '404': description: Not Found if the sarif id does not match any upload '503': *112 @@ -63070,8 +63318,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -63152,8 +63400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *324 - *325 + - *326 - 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 @@ -63273,8 +63521,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63588,8 +63836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -63654,7 +63902,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63662,7 +63910,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '400': *14 '401': *25 '403': *29 @@ -63691,8 +63939,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63756,8 +64004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *324 - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63792,14 +64040,14 @@ paths: type: integer machines: type: array - items: &663 + items: &664 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 examples: - default: &664 + default: &665 value: total_count: 2 machines: @@ -63839,8 +64087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *324 - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63924,8 +64172,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: - - *324 - *325 + - *326 - 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 @@ -63991,8 +64239,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64010,7 +64258,7 @@ paths: type: integer secrets: type: array - items: &451 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64030,7 +64278,7 @@ paths: - created_at - updated_at examples: - default: *448 + default: *449 headers: Link: *59 x-github: @@ -64053,16 +64301,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64082,17 +64330,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64112,8 +64360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -64166,8 +64414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -64196,8 +64444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *324 - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64239,7 +64487,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &453 + properties: &454 login: type: string example: octocat @@ -64332,7 +64580,7 @@ paths: user_view_type: type: string example: public - required: &454 + required: &455 - avatar_url - events_url - followers_url @@ -64406,8 +64654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 responses: '204': @@ -64454,8 +64702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 requestBody: required: false @@ -64482,7 +64730,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &523 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64711,8 +64959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 responses: '204': @@ -64744,8 +64992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *324 - *325 + - *326 - *64 responses: '200': @@ -64766,8 +65014,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true required: - permission @@ -64822,8 +65070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64833,7 +65081,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Commit Comment description: Commit Comment type: object @@ -64891,7 +65139,7 @@ paths: - created_at - updated_at examples: - default: &460 + default: &461 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64950,17 +65198,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &461 + default: &462 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65017,8 +65265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -65041,7 +65289,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -65092,8 +65340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -65115,8 +65363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65143,7 +65391,7 @@ paths: application/json: schema: type: array - items: &456 + items: &457 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -65186,7 +65434,7 @@ paths: - content - created_at examples: - default: &527 + default: &528 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65231,8 +65479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -65265,9 +65513,9 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: &457 + default: &458 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65296,9 +65544,9 @@ paths: description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -65320,10 +65568,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - &528 + - &529 name: reaction_id description: The unique identifier of the reaction. in: path @@ -65378,8 +65626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *324 - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65435,9 +65683,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: &575 + default: &576 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65531,9 +65779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *324 - *325 - - &459 + - *326 + - &460 name: commit_sha description: The SHA of the commit. in: path @@ -65605,9 +65853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *324 - *325 - - *459 + - *326 + - *460 - *17 - *19 responses: @@ -65617,9 +65865,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *460 + default: *461 headers: Link: *59 x-github: @@ -65647,9 +65895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *324 - *325 - - *459 + - *326 + - *460 requestBody: required: true content: @@ -65684,9 +65932,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *461 + default: *462 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65714,9 +65962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *324 - *325 - - *459 + - *326 + - *460 - *17 - *19 responses: @@ -65726,9 +65974,9 @@ paths: application/json: schema: type: array - items: *462 + items: *463 examples: - default: &567 + default: &568 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66265,11 +66513,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *324 - *325 + - *326 - *19 - *17 - - &463 + - &464 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66284,9 +66532,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: &554 + default: &555 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66399,11 +66647,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *324 - *325 - - *463 + - *326 - *464 - *465 + - *466 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66437,9 +66685,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *403 examples: - default: *466 + default: *467 headers: Link: *59 x-github: @@ -66464,9 +66712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66474,7 +66722,7 @@ paths: schema: type: integer example: 1 - - *464 + - *465 - *17 - *19 responses: @@ -66492,7 +66740,7 @@ paths: type: integer check_suites: type: array - items: *407 + items: *408 examples: default: value: @@ -66692,9 +66940,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - *17 - *19 responses: @@ -66892,9 +67140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - *17 - *19 responses: @@ -66904,7 +67152,7 @@ paths: application/json: schema: type: array - items: &640 + items: &641 title: Status description: The status of a commit. type: object @@ -66985,7 +67233,7 @@ paths: site_admin: false headers: Link: *59 - '301': *328 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67013,8 +67261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -67043,20 +67291,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &469 + properties: &470 url: type: string format: uri html_url: type: string format: uri - required: &470 + required: &471 - url - html_url nullable: true @@ -67070,26 +67318,26 @@ paths: contributing: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true readme: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true issue_template: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true pull_request_template: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true required: - code_of_conduct @@ -67216,8 +67464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *324 - *325 + - *326 - *19 - *17 - name: basehead @@ -67260,8 +67508,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *458 - merge_base_commit: *458 + base_commit: *459 + merge_base_commit: *459 status: type: string enum: @@ -67281,10 +67529,10 @@ paths: example: 6 commits: type: array - items: *458 + items: *459 files: type: array - items: *471 + items: *472 required: - url - html_url @@ -67570,8 +67818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -67714,7 +67962,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &472 + response-if-content-is-a-file: &473 summary: Response if content is a file value: type: file @@ -67846,7 +68094,7 @@ paths: - size - type - url - - &580 + - &581 title: Content File description: Content File type: object @@ -68047,7 +68295,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *472 + response-if-content-is-a-file: *473 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68116,7 +68364,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *473 + '302': *474 '304': *37 x-github: githubCloudOnly: false @@ -68139,8 +68387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68233,7 +68481,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &475 title: File Commit description: File Commit type: object @@ -68385,7 +68633,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: example-for-creating-a-file: value: @@ -68439,7 +68687,7 @@ paths: schema: oneOf: - *3 - - &505 + - &506 description: Repository rule violation was detected type: object properties: @@ -68460,7 +68708,7 @@ paths: items: type: object properties: - placeholder_id: &632 + placeholder_id: &633 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68492,8 +68740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68554,7 +68802,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -68609,8 +68857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *324 - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68733,8 +68981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *324 - *325 + - *326 - *189 - *190 - *191 @@ -68746,7 +68994,7 @@ paths: schema: type: string - *193 - - *475 + - *476 - *194 - *195 - *53 @@ -68767,7 +69015,7 @@ paths: application/json: schema: type: array - items: &479 + items: &480 type: object description: A Dependabot alert. properties: @@ -68813,7 +69061,7 @@ paths: - unknown - direct - transitive - security_advisory: *476 + security_advisory: *477 security_vulnerability: *57 url: *172 html_url: *173 @@ -68844,8 +69092,8 @@ paths: nullable: true maxLength: 280 fixed_at: *174 - auto_dismissed_at: *477 - dismissal_request: *478 + auto_dismissed_at: *478 + dismissal_request: *479 required: - number - state @@ -69075,9 +69323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *324 - *325 - - &480 + - *326 + - &481 name: alert_number in: path description: |- @@ -69092,7 +69340,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69205,9 +69453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *324 - *325 - - *480 + - *326 + - *481 requestBody: required: true content: @@ -69252,7 +69500,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69381,8 +69629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -69400,7 +69648,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &484 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69453,16 +69701,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: *482 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69482,15 +69730,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: default: value: @@ -69516,8 +69764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -69570,8 +69818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -69594,8 +69842,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: - - *324 - *325 + - *326 - 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 @@ -69755,8 +70003,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -69995,8 +70243,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70071,7 +70319,7 @@ paths: - version - url additionalProperties: false - metadata: &484 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70104,7 +70352,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *484 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -70117,7 +70365,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *484 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -70246,8 +70494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *324 - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -70287,9 +70535,9 @@ paths: application/json: schema: type: array - items: *485 + items: *486 examples: - default: *486 + default: *487 headers: Link: *59 x-github: @@ -70355,8 +70603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70437,7 +70685,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: simple-example: summary: Simple example @@ -70510,9 +70758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *324 - *325 - - &487 + - *326 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -70524,7 +70772,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70589,9 +70837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *324 - *325 - - *487 + - *326 + - *488 responses: '204': description: Response @@ -70613,9 +70861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *324 - *325 - - *487 + - *326 + - *488 - *17 - *19 responses: @@ -70625,7 +70873,7 @@ paths: application/json: schema: type: array - items: &488 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -70786,9 +71034,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *324 - *325 - - *487 + - *326 + - *488 requestBody: required: true content: @@ -70863,9 +71111,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &489 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70921,9 +71169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *324 - *325 - - *487 + - *326 + - *488 - name: status_id in: path required: true @@ -70934,9 +71182,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -70961,8 +71209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -71019,8 +71267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -71037,7 +71285,7 @@ paths: type: integer environments: type: array - items: &491 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -71089,7 +71337,7 @@ paths: type: type: string example: wait_timer - wait_timer: &493 + wait_timer: &494 type: integer example: 30 description: The amount of time to delay a job after @@ -71126,7 +71374,7 @@ paths: items: type: object properties: - type: *490 + type: *491 reviewer: anyOf: - *4 @@ -71150,7 +71398,7 @@ paths: - id - node_id - type - deployment_branch_policy: &494 + deployment_branch_policy: &495 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71266,9 +71514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *324 - *325 - - &492 + - *326 + - &493 name: environment_name in: path required: true @@ -71281,9 +71529,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &495 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71367,9 +71615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: false content: @@ -71378,7 +71626,7 @@ paths: type: object nullable: true properties: - wait_timer: *493 + wait_timer: *494 prevent_self_review: type: boolean example: false @@ -71395,13 +71643,13 @@ paths: items: type: object properties: - type: *490 + type: *491 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *494 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -71421,9 +71669,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *495 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71447,9 +71695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *324 - *325 - - *492 + - *326 + - *493 responses: '204': description: Default response @@ -71474,9 +71722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *17 - *19 responses: @@ -71494,7 +71742,7 @@ paths: example: 2 branch_policies: type: array - items: &496 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71551,9 +71799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: true content: @@ -71599,9 +71847,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - example-wildcard: &497 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71643,10 +71891,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - &498 + - *326 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -71658,9 +71906,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71679,10 +71927,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - *498 + - *326 + - *493 + - *499 requestBody: required: true content: @@ -71710,9 +71958,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71731,10 +71979,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - *498 + - *326 + - *493 + - *499 responses: '204': description: Response @@ -71759,9 +72007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 responses: '200': description: List of deployment protection rules @@ -71777,7 +72025,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &499 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -71796,7 +72044,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &500 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71895,9 +72143,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: - - *492 + - *493 + - *326 - *325 - - *324 requestBody: content: application/json: @@ -71918,9 +72166,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *499 + schema: *500 examples: - default: &501 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71955,9 +72203,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: - - *492 + - *493 + - *326 - *325 - - *324 - *19 - *17 responses: @@ -71976,7 +72224,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *500 + items: *501 examples: default: value: @@ -72011,10 +72259,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *324 - *325 - - *492 - - &502 + - *326 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72026,9 +72274,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *501 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72049,10 +72297,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 - - *502 + - *503 responses: '204': description: Response @@ -72078,9 +72326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *17 - *19 responses: @@ -72098,9 +72346,9 @@ paths: type: integer secrets: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *59 x-github: @@ -72125,17 +72373,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *324 - *325 - - *492 + - *326 + - *493 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72157,18 +72405,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72190,9 +72438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 requestBody: required: true @@ -72250,9 +72498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 responses: '204': @@ -72278,10 +72526,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *324 - *325 - - *492 - - *340 + - *326 + - *493 + - *341 - *19 responses: '200': @@ -72298,9 +72546,9 @@ paths: type: integer variables: type: array - items: *373 + items: *374 examples: - default: *374 + default: *375 headers: Link: *59 x-github: @@ -72323,9 +72571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: true content: @@ -72377,18 +72625,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *162 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72409,10 +72657,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *324 - *325 + - *326 - *162 - - *492 + - *493 requestBody: required: true content: @@ -72454,10 +72702,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *324 - *325 + - *326 - *162 - - *492 + - *493 responses: '204': description: Response @@ -72479,8 +72727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -72548,8 +72796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *324 - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72708,8 +72956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -72741,9 +72989,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 '400': *14 '422': *15 '403': *29 @@ -72764,8 +73012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72825,7 +73073,7 @@ paths: schema: oneOf: - *120 - - *505 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72850,8 +73098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *324 - *325 + - *326 - name: file_sha in: path required: true @@ -72950,8 +73198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73060,7 +73308,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73274,15 +73522,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *324 - *325 - - *459 + - *326 + - *460 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: default: value: @@ -73338,9 +73586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *324 - *325 - - &507 + - *326 + - &508 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. @@ -73357,7 +73605,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -73432,17 +73680,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &509 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73471,8 +73719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73501,9 +73749,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73529,9 +73777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 requestBody: required: true content: @@ -73560,9 +73808,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 '422': *15 '409': *52 x-github: @@ -73580,9 +73828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 responses: '204': description: Response @@ -73637,8 +73885,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73705,7 +73953,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -73756,7 +74004,7 @@ paths: - sha - type - url - verification: *510 + verification: *511 required: - sha - url @@ -73766,7 +74014,7 @@ paths: - tag - message examples: - default: &512 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73839,8 +74087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *324 - *325 + - *326 - name: tag_sha in: path required: true @@ -73851,9 +74099,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *6 '409': *52 x-github: @@ -73877,8 +74125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73951,7 +74199,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74047,8 +74295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *324 - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74071,7 +74319,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: default-response: summary: Default response @@ -74130,8 +74378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -74141,7 +74389,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -74195,7 +74443,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &752 + last_response: &755 title: Hook Response type: object properties: @@ -74269,8 +74517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -74322,9 +74570,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: &515 + default: &516 value: type: Repository id: 12345678 @@ -74372,17 +74620,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -74402,8 +74650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 requestBody: required: true @@ -74449,9 +74697,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '422': *15 '404': *6 x-github: @@ -74472,8 +74720,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74498,8 +74746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *203 responses: '200': @@ -74527,8 +74775,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *203 requestBody: required: false @@ -74573,8 +74821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *17 - *204 @@ -74606,8 +74854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *16 responses: @@ -74636,8 +74884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *16 responses: @@ -74661,8 +74909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74688,8 +74936,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74713,8 +74961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74760,8 +75008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *182 '409': *52 @@ -74781,8 +75029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *182 '409': *52 @@ -74839,14 +75087,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &516 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -74945,7 +75193,7 @@ paths: - html_url - authors_url examples: - default: &519 + default: &520 value: vcs: subversion use_lfs: true @@ -74961,7 +75209,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': &517 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -74990,8 +75238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75039,7 +75287,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -75064,7 +75312,7 @@ paths: type: string '422': *15 '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75092,8 +75340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -75142,7 +75390,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: example-1: summary: Example 1 @@ -75190,7 +75438,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': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75213,12 +75461,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *324 - *325 + - *326 responses: '204': description: Response - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75244,9 +75492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *324 - *325 - - &685 + - *326 + - &686 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75260,7 +75508,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 title: Porter Author description: Porter Author type: object @@ -75314,7 +75562,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': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75339,8 +75587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *324 - *325 + - *326 - name: author_id in: path required: true @@ -75370,7 +75618,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -75383,7 +75631,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75407,8 +75655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75449,7 +75697,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75477,8 +75725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75505,11 +75753,11 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *519 + default: *520 '422': *15 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75532,8 +75780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75541,8 +75789,8 @@ paths: application/json: schema: *22 examples: - default: *520 - '301': *328 + default: *521 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -75562,8 +75810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75576,7 +75824,7 @@ paths: properties: {} additionalProperties: false examples: - default: &522 + default: &523 value: limit: collaborators_only origin: repository @@ -75601,13 +75849,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *521 + schema: *522 examples: default: summary: Example request body @@ -75621,7 +75869,7 @@ paths: application/json: schema: *221 examples: - default: *522 + default: *523 '409': description: Response x-github: @@ -75643,8 +75891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -75667,8 +75915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -75678,9 +75926,9 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: &678 + default: &679 value: - id: 1 repository: @@ -75811,8 +76059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *324 - *325 + - *326 - *225 requestBody: required: false @@ -75842,7 +76090,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -75973,8 +76221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *324 - *325 + - *326 - *225 responses: '204': @@ -76006,8 +76254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *324 - *325 + - *326 - 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 @@ -76080,7 +76328,7 @@ paths: type: array items: *75 examples: - default: &535 + default: &536 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76228,7 +76476,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *328 + '301': *329 '422': *15 '404': *6 x-github: @@ -76257,8 +76505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -76342,7 +76590,7 @@ paths: application/json: schema: *75 examples: - default: &532 + default: &533 value: id: 1 node_id: MDU6SXNzdWUx @@ -76498,7 +76746,7 @@ paths: '422': *15 '503': *112 '404': *6 - '410': *524 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -76526,8 +76774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *99 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76548,9 +76796,9 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: &534 + default: &535 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76608,17 +76856,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76672,8 +76920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -76696,9 +76944,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -76716,8 +76964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -76738,8 +76986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76766,9 +77014,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -76789,8 +77037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -76823,16 +77071,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -76854,10 +77102,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - *528 + - *529 responses: '204': description: Response @@ -76877,8 +77125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -76888,7 +77136,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Issue Event description: Issue Event type: object @@ -76931,8 +77179,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *530 + required: *531 nullable: true label: title: Issue Event Label @@ -77239,8 +77487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *324 - *325 + - *326 - name: event_id in: path required: true @@ -77251,7 +77499,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -77443,7 +77691,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *524 + '410': *525 '403': *29 x-github: githubCloudOnly: false @@ -77477,9 +77725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *324 - *325 - - &533 + - *326 + - &534 name: issue_number description: The number that identifies the issue. in: path @@ -77493,10 +77741,10 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '404': *6 - '410': *524 + '410': *525 '304': *37 x-github: githubCloudOnly: false @@ -77521,9 +77769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -77629,13 +77877,13 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 '422': *15 '503': *112 '403': *29 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77653,9 +77901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -77683,7 +77931,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77699,9 +77947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: content: application/json: @@ -77728,7 +77976,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77750,9 +77998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: assignee in: path required: true @@ -77792,9 +78040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *82 - *17 - *19 @@ -77805,13 +78053,13 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: *534 + default: *535 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77840,9 +78088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -77864,16 +78112,16 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -77901,9 +78149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -77915,12 +78163,12 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77948,9 +78196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -77974,15 +78222,15 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *328 + '301': *329 '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -78013,9 +78261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78029,13 +78277,13 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *524 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -78061,9 +78309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78075,12 +78323,12 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78097,9 +78345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78113,7 +78361,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &538 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78167,7 +78415,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &539 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78303,7 +78551,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &540 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78354,7 +78602,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78405,7 +78653,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &542 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78459,7 +78707,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78506,7 +78754,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78553,7 +78801,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78613,7 +78861,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &546 title: Locked Issue Event description: Locked Issue Event type: object @@ -78661,7 +78909,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &547 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78727,7 +78975,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &548 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78793,7 +79041,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &549 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78859,7 +79107,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &550 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78950,7 +79198,7 @@ paths: color: red headers: Link: *59 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78967,9 +79215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78981,7 +79229,7 @@ paths: type: array items: *74 examples: - default: &536 + default: &537 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78999,9 +79247,9 @@ paths: default: false headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79018,9 +79266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79081,10 +79329,10 @@ paths: type: array items: *74 examples: - default: *536 - '301': *328 + default: *537 + '301': *329 '404': *6 - '410': *524 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -79101,9 +79349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79165,10 +79413,10 @@ paths: type: array items: *74 examples: - default: *536 - '301': *328 + default: *537 + '301': *329 '404': *6 - '410': *524 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -79185,15 +79433,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '204': description: Response - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79212,9 +79460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: name in: path required: true @@ -79238,9 +79486,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79260,9 +79508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79290,7 +79538,7 @@ paths: '204': description: Response '403': *29 - '410': *524 + '410': *525 '404': *6 '422': *15 x-github: @@ -79308,9 +79556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '204': description: Response @@ -79340,9 +79588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '200': description: Response @@ -79350,10 +79598,10 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79370,9 +79618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -79398,13 +79646,13 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79422,9 +79670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79456,16 +79704,16 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -79487,10 +79735,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *324 - *325 - - *533 - - *528 + - *326 + - *534 + - *529 responses: '204': description: Response @@ -79519,9 +79767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79545,7 +79793,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79578,9 +79826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -79592,11 +79840,11 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79624,9 +79872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79655,14 +79903,14 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -79682,9 +79930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79717,7 +79965,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 '403': *29 '404': *6 '422': *7 @@ -79739,9 +79987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -79756,7 +80004,6 @@ paths: description: Timeline Event type: object anyOf: - - *537 - *538 - *539 - *540 @@ -79769,6 +80016,7 @@ paths: - *547 - *548 - *549 + - *550 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80077,7 +80325,7 @@ paths: type: string comments: type: array - items: &569 + items: &570 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80292,7 +80540,7 @@ paths: type: string comments: type: array - items: *455 + items: *456 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80581,7 +80829,7 @@ paths: headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80598,8 +80846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80609,7 +80857,7 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80675,8 +80923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80712,9 +80960,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: id: 1 key: ssh-rsa AAA... @@ -80748,9 +80996,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *324 - *325 - - &552 + - *326 + - &553 name: key_id description: The unique identifier of the key. in: path @@ -80762,9 +81010,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -80782,9 +81030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *324 - *325 - - *552 + - *326 + - *553 responses: '204': description: Response @@ -80804,8 +81052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80817,7 +81065,7 @@ paths: type: array items: *74 examples: - default: *536 + default: *537 headers: Link: *59 '404': *6 @@ -80838,8 +81086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80877,7 +81125,7 @@ paths: application/json: schema: *74 examples: - default: &553 + default: &554 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80909,8 +81157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80923,7 +81171,7 @@ paths: application/json: schema: *74 examples: - default: *553 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -80940,8 +81188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -81006,8 +81254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -81033,8 +81281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -81073,9 +81321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *324 - *325 - - *428 + - *326 + - *429 responses: '200': description: Response @@ -81220,8 +81468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81286,8 +81534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81321,9 +81569,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *458 + schema: *459 examples: - default: *554 + default: *555 '204': description: Response when already merged '404': @@ -81348,8 +81596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *324 - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81390,7 +81638,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Milestone description: A collection of related issues and pull requests. type: object @@ -81451,8 +81699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81492,9 +81740,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: &556 + default: &557 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81553,9 +81801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *324 - *325 - - &557 + - *326 + - &558 name: milestone_number description: The number that identifies the milestone. in: path @@ -81567,9 +81815,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -81586,9 +81834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 requestBody: required: false content: @@ -81626,9 +81874,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81644,9 +81892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 responses: '204': description: Response @@ -81667,9 +81915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 - *17 - *19 responses: @@ -81681,7 +81929,7 @@ paths: type: array items: *74 examples: - default: *536 + default: *537 headers: Link: *59 x-github: @@ -81700,12 +81948,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *324 - *325 - - *558 + - *326 - *559 - - *82 - *560 + - *82 + - *561 - *17 - *19 responses: @@ -81717,7 +81965,7 @@ paths: type: array items: *102 examples: - default: *561 + default: *562 headers: Link: *59 x-github: @@ -81741,8 +81989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -81800,14 +82048,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &562 + schema: &563 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81932,7 +82180,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &564 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81973,8 +82221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82028,9 +82276,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *563 + default: *564 '422': *15 '409': *52 x-github: @@ -82053,8 +82301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82153,8 +82401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -82180,8 +82428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -82191,7 +82439,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Page Build description: Page Build type: object @@ -82285,8 +82533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -82331,16 +82579,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82388,8 +82636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *324 - *325 + - *326 - name: build_id in: path required: true @@ -82400,9 +82648,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82422,8 +82670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82528,9 +82776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *324 - *325 - - &566 + - *326 + - &567 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82588,9 +82836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *324 - *325 - - *566 + - *326 + - *567 responses: '204': *182 '404': *6 @@ -82617,8 +82865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82876,8 +83124,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: - - *324 - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82914,8 +83162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *182 '422': *14 @@ -82936,8 +83184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *182 '422': *14 @@ -82959,8 +83207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82968,7 +83216,7 @@ paths: application/json: schema: type: array - items: *277 + items: *278 examples: default: value: @@ -82999,8 +83247,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -83012,7 +83260,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *277 + items: *278 required: - properties examples: @@ -83062,8 +83310,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *324 - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83123,9 +83371,9 @@ paths: application/json: schema: type: array - items: *462 + items: *463 examples: - default: *567 + default: *568 headers: Link: *59 '304': *37 @@ -83157,8 +83405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -83223,7 +83471,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &572 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83380,7 +83628,7 @@ paths: nullable: true requested_teams: type: array - items: *314 + items: *315 nullable: true head: type: object @@ -83437,7 +83685,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: *568 + auto_merge: *569 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83529,7 +83777,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &573 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84056,8 +84304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *324 - *325 + - *326 - name: sort in: query required: false @@ -84086,9 +84334,9 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: - default: &574 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84165,17 +84413,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &570 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84250,8 +84498,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -84274,9 +84522,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84292,8 +84540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -84315,8 +84563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84343,9 +84591,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -84366,8 +84614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -84400,16 +84648,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -84431,10 +84679,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - *528 + - *529 responses: '204': description: Response @@ -84477,9 +84725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *324 - *325 - - &573 + - *326 + - &574 name: pull_number description: The number that identifies the pull request. in: path @@ -84492,9 +84740,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '304': *37 '404': *6 '406': @@ -84529,9 +84777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -84573,9 +84821,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 '403': *29 x-github: @@ -84597,9 +84845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -84661,7 +84909,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84669,7 +84917,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -84699,9 +84947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *99 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84722,9 +84970,9 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: - default: *574 + default: *575 headers: Link: *59 x-github: @@ -84757,9 +85005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -84864,7 +85112,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: example-for-a-multi-line-comment: value: @@ -84952,9 +85200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *91 requestBody: required: true @@ -84977,7 +85225,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -85063,9 +85311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -85075,9 +85323,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *575 + default: *576 headers: Link: *59 x-github: @@ -85107,9 +85355,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -85119,7 +85367,7 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: default: value: @@ -85157,9 +85405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *324 - *325 - - *573 + - *326 + - *574 responses: '204': description: Response if pull request has been merged @@ -85182,9 +85430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -85295,9 +85543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 responses: '200': description: Response @@ -85372,9 +85620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -85411,7 +85659,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -85947,9 +86195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -85983,7 +86231,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -86488,9 +86736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -86500,7 +86748,7 @@ paths: application/json: schema: type: array - items: &576 + items: &577 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86651,9 +86899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -86739,9 +86987,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &578 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86804,10 +87052,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - &577 + - *326 + - *574 + - &578 name: review_id description: The unique identifier of the review. in: path @@ -86819,9 +87067,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &579 + default: &580 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86880,10 +87128,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -86906,7 +87154,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -86968,18 +87216,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 responses: '200': description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *578 + default: *579 '422': *7 '404': *6 x-github: @@ -87006,10 +87254,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 - *17 - *19 responses: @@ -87244,10 +87492,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -87275,7 +87523,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -87338,10 +87586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -87376,9 +87624,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *579 + default: *580 '404': *6 '422': *7 '403': *29 @@ -87400,9 +87648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -87465,8 +87713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *324 - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87479,9 +87727,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &581 + default: &582 value: type: file encoding: base64 @@ -87523,8 +87771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *324 - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87544,9 +87792,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 '404': *6 '422': *15 x-github: @@ -87568,8 +87816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -87579,7 +87827,7 @@ paths: application/json: schema: type: array - items: *582 + items: *583 examples: default: value: @@ -87673,8 +87921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -87750,9 +87998,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: &586 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87857,9 +88105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *324 - *325 - - &584 + - *326 + - &585 name: asset_id description: The unique identifier of the asset. in: path @@ -87871,9 +88119,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: &585 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -87908,7 +88156,7 @@ paths: type: User site_admin: false '404': *6 - '302': *473 + '302': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87924,9 +88172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *324 - *325 - - *584 + - *326 + - *585 requestBody: required: false content: @@ -87954,9 +88202,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *585 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87972,9 +88220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *324 - *325 - - *584 + - *326 + - *585 responses: '204': description: Response @@ -87998,8 +88246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -88084,16 +88332,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88110,8 +88358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *324 - *325 + - *326 - name: tag description: tag parameter in: path @@ -88124,9 +88372,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -88148,9 +88396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *324 - *325 - - &587 + - *326 + - &588 name: release_id description: The unique identifier of the release. in: path @@ -88164,9 +88412,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '401': description: Unauthorized x-github: @@ -88184,9 +88432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 requestBody: required: false content: @@ -88250,9 +88498,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '404': description: Not Found if the discussion category name is invalid content: @@ -88273,9 +88521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 responses: '204': description: Response @@ -88295,9 +88543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *324 - *325 - - *587 + - *326 + - *588 - *17 - *19 responses: @@ -88307,7 +88555,7 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: default: value: @@ -88388,9 +88636,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *324 - *325 - - *587 + - *326 + - *588 - name: name in: query required: true @@ -88416,7 +88664,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *584 examples: response-for-successful-upload: value: @@ -88471,9 +88719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -88497,9 +88745,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -88520,9 +88768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 requestBody: required: true content: @@ -88552,16 +88800,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -88583,10 +88831,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *324 - *325 - - *587 - - *528 + - *326 + - *588 + - *529 responses: '204': description: Response @@ -88610,9 +88858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 - *17 - *19 responses: @@ -88628,8 +88876,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *286 - - &588 + - *287 + - &589 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88648,69 +88896,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *287 - - *588 - allOf: - *288 - - *588 + - *589 - allOf: - *289 - - *588 - - allOf: - *589 - - *588 - allOf: - *290 - - *588 + - *589 + - allOf: + - *590 + - *589 - allOf: - *291 - - *588 + - *589 - allOf: - *292 - - *588 + - *589 - allOf: - *293 - - *588 + - *589 - allOf: - *294 - - *588 + - *589 - allOf: - *295 - - *588 + - *589 - allOf: - *296 - - *588 + - *589 - allOf: - *297 - - *588 + - *589 - allOf: - *298 - - *588 + - *589 - allOf: - *299 - - *588 + - *589 - allOf: - *300 - - *588 + - *589 - allOf: - *301 - - *588 + - *589 - allOf: - *302 - - *588 + - *589 - allOf: - *303 - - *588 + - *589 - allOf: - *304 - - *588 + - *589 - allOf: - *305 - - *588 + - *589 - allOf: - *306 - - *588 + - *589 + - allOf: + - *307 + - *589 examples: default: value: @@ -88749,8 +88997,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88761,7 +89009,7 @@ paths: schema: type: boolean default: true - - *590 + - *591 responses: '200': description: Response @@ -88769,7 +89017,7 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: default: value: @@ -88816,8 +89064,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 requestBody: description: Request body required: true @@ -88837,16 +89085,16 @@ paths: - tag - push default: branch - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *281 + items: *285 + conditions: *282 rules: type: array description: An array of rules within the ruleset. - items: *591 + items: *592 required: - name - enforcement @@ -88877,9 +89125,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &601 + default: &602 value: id: 42 name: super cool ruleset @@ -88926,12 +89174,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *324 - *325 - - *592 + - *326 - *593 - *594 - *595 + - *596 - *17 - *19 responses: @@ -88939,9 +89187,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 '404': *6 '500': *111 x-github: @@ -88962,17 +89210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *324 - *325 - - *598 + - *326 + - *599 responses: '200': description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *600 + default: *601 '404': *6 '500': *111 x-github: @@ -89000,8 +89248,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89021,9 +89269,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *601 + default: *602 '404': *6 '500': *111 put: @@ -89041,8 +89289,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89067,16 +89315,16 @@ paths: - branch - tag - push - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *281 + items: *285 + conditions: *282 rules: description: An array of rules within the ruleset. type: array - items: *591 + items: *592 examples: default: value: @@ -89104,9 +89352,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *601 + default: *602 '404': *6 '500': *111 delete: @@ -89124,8 +89372,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89148,8 +89396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *324 - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -89165,9 +89413,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *602 + default: *603 '404': *6 '500': *111 x-github: @@ -89186,8 +89434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89205,7 +89453,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -89260,22 +89508,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *604 + - *326 - *605 - *606 - *607 - *608 + - *609 - *53 - *19 - *17 - - *609 - *610 - *611 - *612 - *613 - *614 + - *615 responses: '200': description: Response @@ -89283,7 +89531,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 type: object properties: number: *169 @@ -89302,8 +89550,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *615 - resolution: *616 + state: *616 + resolution: *617 resolved_at: type: string format: date-time @@ -89399,7 +89647,7 @@ paths: pull request. ' - oneOf: *617 + oneOf: *618 nullable: true has_more_locations: type: boolean @@ -89548,16 +89796,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 - - *614 + - *326 + - *423 + - *615 responses: '200': description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -89611,9 +89859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: true content: @@ -89621,8 +89869,8 @@ paths: schema: type: object properties: - state: *615 - resolution: *616 + state: *616 + resolution: *617 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89656,7 +89904,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -89751,9 +89999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 - *19 - *17 responses: @@ -89764,7 +90012,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &774 + items: &777 type: object properties: type: @@ -89790,7 +90038,6 @@ paths: example: commit details: oneOf: - - *619 - *620 - *621 - *622 @@ -89803,6 +90050,7 @@ paths: - *629 - *630 - *631 + - *632 examples: default: value: @@ -89888,8 +90136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89897,14 +90145,14 @@ paths: schema: type: object properties: - reason: &633 + reason: &634 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *632 + placeholder_id: *633 required: - reason - placeholder_id @@ -89921,7 +90169,7 @@ paths: schema: type: object properties: - reason: *633 + reason: *634 expire_at: type: string format: date-time @@ -89967,8 +90215,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: - - *324 - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89983,7 +90231,7 @@ paths: properties: incremental_scans: type: array - items: &634 + items: &635 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90009,15 +90257,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *634 + items: *635 backfill_scans: type: array - items: *634 + items: *635 custom_pattern_backfill_scans: type: array items: allOf: - - *634 + - *635 - type: object properties: pattern_name: @@ -90087,8 +90335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *324 - *325 + - *326 - *53 - name: sort description: The property to sort the results by. @@ -90132,9 +90380,9 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 + default: *637 '400': *14 '404': *6 x-github: @@ -90157,8 +90405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90231,7 +90479,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 required: - login - type @@ -90318,9 +90566,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: &638 + default: &639 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90553,8 +90801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90658,7 +90906,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -90805,17 +91053,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '200': description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 + default: *639 '403': *29 '404': *6 x-github: @@ -90839,9 +91087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 requestBody: required: true content: @@ -90914,7 +91162,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 required: - login - type @@ -91000,10 +91248,10 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 - add_credit: *638 + default: *639 + add_credit: *639 '403': *29 '404': *6 '422': @@ -91041,9 +91289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '202': *39 '400': *14 @@ -91070,17 +91318,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '202': description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 '400': *14 '422': *15 '403': *29 @@ -91106,8 +91354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91206,8 +91454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91216,7 +91464,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91249,8 +91497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91326,8 +91574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91423,8 +91671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *324 - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91578,8 +91826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *324 - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91589,7 +91837,7 @@ paths: application/json: schema: type: array - items: *639 + items: *640 examples: default: value: @@ -91622,8 +91870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *324 - *325 + - *326 - name: sha in: path required: true @@ -91677,7 +91925,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: default: value: @@ -91731,8 +91979,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91764,14 +92012,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &641 + schema: &642 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91839,8 +92087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -91866,7 +92114,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -91893,8 +92141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -91914,8 +92162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91994,8 +92242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92003,7 +92251,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Tag protection description: Tag protection type: object @@ -92055,8 +92303,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92079,7 +92327,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: default: value: @@ -92110,8 +92358,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: - - *324 - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92148,8 +92396,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -92185,8 +92433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -92218,8 +92466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *324 - *325 + - *326 - *19 - *17 responses: @@ -92227,7 +92475,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &644 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92239,7 +92487,7 @@ paths: required: - names examples: - default: &644 + default: &645 value: names: - octocat @@ -92262,8 +92510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92294,9 +92542,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '422': *7 x-github: @@ -92317,9 +92565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *324 - *325 - - &645 + - *326 + - &646 name: per description: The time frame to display results for. in: query @@ -92348,7 +92596,7 @@ paths: example: 128 clones: type: array - items: &646 + items: &647 title: Traffic type: object properties: @@ -92435,8 +92683,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92526,8 +92774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92587,9 +92835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *324 - *325 - - *645 + - *326 + - *646 responses: '200': description: Response @@ -92608,7 +92856,7 @@ paths: example: 3782 views: type: array - items: *646 + items: *647 required: - uniques - count @@ -92685,8 +92933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92960,8 +93208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92984,8 +93232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -93007,8 +93255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -93034,8 +93282,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -93127,9 +93375,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93377,7 +93625,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &647 + text_matches: &648 title: Search Result Text Matches type: array items: @@ -93539,7 +93787,7 @@ paths: enum: - author-date - committer-date - - &648 + - &649 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -93610,7 +93858,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true comment_count: type: integer @@ -93630,7 +93878,7 @@ paths: url: type: string format: uri - verification: *510 + verification: *511 required: - author - committer @@ -93649,7 +93897,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true parents: type: array @@ -93667,7 +93915,7 @@ paths: type: number node_id: type: string - text_matches: *647 + text_matches: *648 required: - sha - node_id @@ -93859,7 +94107,7 @@ paths: - interactions - created - updated - - *648 + - *649 - *17 - *19 - name: advanced_search @@ -93956,11 +94204,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: type: string state_reason: @@ -93992,7 +94240,7 @@ paths: type: string format: date-time nullable: true - text_matches: *647 + text_matches: *648 pull_request: type: object properties: @@ -94217,7 +94465,7 @@ paths: enum: - created - updated - - *648 + - *649 - *17 - *19 responses: @@ -94261,7 +94509,7 @@ paths: nullable: true score: type: number - text_matches: *647 + text_matches: *648 required: - id - node_id @@ -94346,7 +94594,7 @@ paths: - forks - help-wanted-issues - updated - - *648 + - *649 - *17 - *19 responses: @@ -94585,7 +94833,7 @@ paths: - admin - pull - push - text_matches: *647 + text_matches: *648 temp_clone_token: type: string allow_merge_commit: @@ -94885,7 +95133,7 @@ paths: type: string format: uri nullable: true - text_matches: *647 + text_matches: *648 related: type: array nullable: true @@ -95076,7 +95324,7 @@ paths: - followers - repositories - joined - - *648 + - *649 - *17 - *19 responses: @@ -95180,7 +95428,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *647 + text_matches: *648 blog: type: string nullable: true @@ -95259,7 +95507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &652 + - &653 name: team_id description: The unique identifier of the team. in: path @@ -95271,9 +95519,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -95300,7 +95548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *652 + - *653 requestBody: required: true content: @@ -95363,16 +95611,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '201': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 '422': *15 '403': *29 @@ -95400,7 +95648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *652 + - *653 responses: '204': description: Response @@ -95429,7 +95677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -95467,7 +95715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *652 + - *653 - name: role description: Filters members returned by their role in the team. in: query @@ -95518,7 +95766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95555,7 +95803,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95595,7 +95843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95632,16 +95880,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-user-is-a-team-maintainer: *653 + response-if-user-is-a-team-maintainer: *654 '404': *6 x-github: githubCloudOnly: false @@ -95674,7 +95922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 requestBody: required: false @@ -95700,9 +95948,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-users-membership-with-team-is-now-pending: *654 + response-if-users-membership-with-team-is-now-pending: *655 '403': description: Forbidden if team synchronization is set up '422': @@ -95736,7 +95984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95764,7 +96012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -95806,15 +96054,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *655 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -95965,9 +96213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 requestBody: required: false content: @@ -96017,9 +96265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 responses: '204': description: Response @@ -96044,7 +96292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -96056,7 +96304,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: *656 + response-if-child-teams-exist: *657 headers: Link: *59 '404': *6 @@ -96089,7 +96337,7 @@ paths: application/json: schema: oneOf: - - &658 + - &659 title: Private User description: Private User type: object @@ -96292,7 +96540,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *657 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96445,7 +96693,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -96791,7 +97039,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96799,7 +97047,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -96843,7 +97091,7 @@ paths: type: integer secrets: type: array - items: &659 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96883,7 +97131,7 @@ paths: - visibility - selected_repositories_url examples: - default: *448 + default: *449 headers: Link: *59 x-github: @@ -96959,7 +97207,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: default: value: @@ -97105,7 +97353,7 @@ paths: type: array items: *151 examples: - default: *660 + default: *661 '401': *25 '403': *29 '404': *6 @@ -97257,7 +97505,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '304': *37 '500': *111 '401': *25 @@ -97315,7 +97563,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -97372,7 +97620,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97413,7 +97661,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &662 + default: &663 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97458,9 +97706,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *6 x-github: githubCloudOnly: false @@ -97497,9 +97745,9 @@ paths: type: integer machines: type: array - items: *663 + items: *664 examples: - default: *664 + default: *665 '304': *37 '500': *111 '401': *25 @@ -97578,13 +97826,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *327 + repository: *328 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98366,7 +98614,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '304': *37 '500': *111 '400': *14 @@ -98406,7 +98654,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '500': *111 '401': *25 '403': *29 @@ -98438,7 +98686,7 @@ paths: type: array items: *244 examples: - default: &675 + default: &676 value: - id: 197 name: hello_docker @@ -98539,7 +98787,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: Email description: Email type: object @@ -98604,9 +98852,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: &677 + default: &678 value: - email: octocat@github.com verified: true @@ -98681,7 +98929,7 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: default: value: @@ -98937,7 +99185,7 @@ paths: application/json: schema: type: array - items: &666 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -99068,7 +99316,7 @@ paths: - subkeys - revoked examples: - default: &691 + default: &694 value: - id: 3 name: Octocat's GPG Key @@ -99153,9 +99401,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: &667 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -99212,7 +99460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &668 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99224,9 +99472,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *6 '304': *37 '403': *29 @@ -99249,7 +99497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *668 + - *669 responses: '204': description: Response @@ -99554,7 +99802,7 @@ paths: required: true content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -99704,7 +99952,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: Key description: Key type: object @@ -99805,9 +100053,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99840,15 +100088,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *553 responses: '200': description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *6 '304': *37 '403': *29 @@ -99871,7 +100119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *553 responses: '204': description: Response @@ -99904,7 +100152,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99972,7 +100220,7 @@ paths: - account - plan examples: - default: &672 + default: &673 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100034,9 +100282,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *672 + default: *673 headers: Link: *59 '304': *37 @@ -101045,7 +101293,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *238 - - *673 + - *674 responses: '204': description: Response @@ -101160,7 +101408,7 @@ paths: - docker - nuget - container - - *674 + - *675 - *19 - *17 responses: @@ -101172,8 +101420,8 @@ paths: type: array items: *244 examples: - default: *675 - '400': *676 + default: *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101202,7 +101450,7 @@ paths: application/json: schema: *244 examples: - default: &692 + default: &695 value: id: 40201 name: octo-name @@ -101564,9 +101812,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *677 + default: *678 headers: Link: *59 '304': *37 @@ -101679,7 +101927,7 @@ paths: type: array items: *71 examples: - default: &684 + default: &685 summary: Default response value: - id: 1296269 @@ -101983,9 +102231,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102023,9 +102271,9 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: *678 + default: *679 headers: Link: *59 '304': *37 @@ -102104,7 +102352,7 @@ paths: application/json: schema: type: array - items: &679 + items: &680 title: Social account description: Social media account type: object @@ -102119,7 +102367,7 @@ paths: - provider - url examples: - default: &680 + default: &681 value: - provider: twitter url: https://twitter.com/github @@ -102181,9 +102429,9 @@ paths: application/json: schema: type: array - items: *679 + items: *680 examples: - default: *680 + default: *681 '422': *15 '304': *37 '404': *6 @@ -102270,7 +102518,7 @@ paths: application/json: schema: type: array - items: &681 + items: &682 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102290,7 +102538,7 @@ paths: - title - created_at examples: - default: &710 + default: &713 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -102354,9 +102602,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: &682 + default: &683 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -102386,7 +102634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &683 + - &684 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102398,9 +102646,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 '404': *6 '304': *37 '403': *29 @@ -102423,7 +102671,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *683 + - *684 responses: '204': description: Response @@ -102452,7 +102700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &711 + - &714 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 @@ -102477,11 +102725,11 @@ paths: type: array items: *71 examples: - default-response: *684 + default-response: *685 application/vnd.github.v3.star+json: schema: type: array - items: &712 + items: &715 title: Starred Repository description: Starred Repository type: object @@ -102637,8 +102885,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: - - *324 - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -102666,8 +102914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102691,8 +102939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102764,7 +103012,7 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: default: value: @@ -102850,10 +103098,10 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: &686 + default-response: &689 summary: Default response value: login: octocat @@ -102888,7 +103136,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &687 + response-with-git-hub-plan-information: &690 summary: Response with GitHub plan information value: login: octocat @@ -102945,7 +103193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - name: user_id + - &687 + name: user_id description: The unique identifier of the user. in: path required: true @@ -103010,7 +103259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *685 + - *686 - *17 responses: '200': @@ -103033,6 +103282,116 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - *687 + - *262 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: *688 + examples: + table_view: + summary: Response for creating a table view + value: *273 + board_view: + summary: Response for creating a board view with filter + value: *273 + roadmap_view: + summary: Response for creating a roadmap view + value: *273 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -103059,11 +103418,11 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: *686 - response-with-git-hub-plan-information: *687 + default-response: *689 + response-with-git-hub-plan-information: *690 '404': *6 x-github: githubCloudOnly: false @@ -103113,8 +103472,8 @@ paths: required: - subject_digests examples: - default: *688 - withPredicateType: *689 + default: *691 + withPredicateType: *692 responses: '200': description: Response @@ -103167,7 +103526,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *690 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103372,7 +103731,7 @@ paths: initiator: type: string examples: - default: *385 + default: *386 '201': description: Response content: @@ -103413,7 +103772,7 @@ paths: type: array items: *244 examples: - default: *675 + default: *676 '403': *29 '401': *25 x-github: @@ -103797,9 +104156,9 @@ paths: application/json: schema: type: array - items: *666 + items: *667 examples: - default: *691 + default: *694 headers: Link: *59 x-github: @@ -103903,7 +104262,7 @@ paths: application/json: schema: *22 examples: - default: *520 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104027,7 +104386,7 @@ paths: - docker - nuget - container - - *674 + - *675 - *64 - *19 - *17 @@ -104040,10 +104399,10 @@ paths: type: array items: *244 examples: - default: *675 + default: *676 '403': *29 '401': *25 - '400': *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104073,7 +104432,7 @@ paths: application/json: schema: *244 examples: - default: *692 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104422,7 +104781,7 @@ paths: type: array items: *266 examples: - default: *693 + default: *696 headers: Link: *59 '304': *37 @@ -104482,7 +104841,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *694 + items: *697 required: - name - data_type @@ -104498,7 +104857,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *695 + iteration_configuration: *698 required: - name - data_type @@ -104520,8 +104879,8 @@ paths: value: name: Due date data_type: date - single_select_field: *696 - iteration_field: *697 + single_select_field: *699 + iteration_field: *700 responses: '201': description: Response @@ -104529,11 +104888,11 @@ paths: application/json: schema: *266 examples: - text_field: *698 - number_field: *699 - date_field: *700 - single_select_field: *701 - iteration_field: *702 + text_field: *701 + number_field: *702 + date_field: *703 + single_select_field: *704 + iteration_field: *705 '304': *37 '403': *29 '401': *25 @@ -104555,7 +104914,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *262 - - *703 + - *706 - *64 responses: '200': @@ -104564,7 +104923,7 @@ paths: application/json: schema: *266 examples: - default: *704 + default: *707 headers: Link: *59 '304': *37 @@ -104918,7 +105277,7 @@ paths: parameters: - *262 - *64 - - *705 + - *708 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -105193,7 +105552,7 @@ paths: - *114 - *116 - *115 - - *706 + - *709 - *117 responses: '200': @@ -105324,7 +105683,7 @@ paths: parameters: - *64 - *114 - - *707 + - *710 - *115 responses: '200': @@ -105423,9 +105782,9 @@ paths: - *114 - *116 - *115 - - *708 + - *711 - *117 - - *709 + - *712 responses: '200': description: Response when getting a billing usage summary @@ -105559,9 +105918,9 @@ paths: application/json: schema: type: array - items: *679 + items: *680 examples: - default: *680 + default: *681 headers: Link: *59 x-github: @@ -105591,9 +105950,9 @@ paths: application/json: schema: type: array - items: *681 + items: *682 examples: - default: *710 + default: *713 headers: Link: *59 x-github: @@ -105618,7 +105977,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *64 - - *711 + - *714 - *53 - *17 - *19 @@ -105630,11 +105989,11 @@ paths: schema: anyOf: - type: array - items: *712 + items: *715 - type: array items: *71 examples: - default-response: *684 + default-response: *685 headers: Link: *59 x-github: @@ -105793,7 +106152,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &713 + enterprise: &716 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -105851,7 +106210,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &714 + installation: &717 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -105870,7 +106229,7 @@ x-webhooks: required: - id - node_id - organization: &715 + organization: &718 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -105930,13 +106289,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &716 + repository: &719 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: &746 + properties: &749 id: description: Unique identifier of the repository example: 42 @@ -106619,7 +106978,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &747 + required: &750 - archive_url - assignees_url - blobs_url @@ -106770,10 +107129,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -106849,11 +107208,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: &717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: &720 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) @@ -107076,11 +107435,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: *717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: *720 sender: *4 required: - action @@ -107263,11 +107622,11 @@ x-webhooks: - everyone required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: *717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: *720 sender: *4 required: - action @@ -107351,7 +107710,7 @@ x-webhooks: type: string enum: - completed - check_run: &719 + check_run: &722 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107442,7 +107801,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *718 + deployment: *721 details_url: example: https://example.com type: string @@ -107527,10 +107886,10 @@ x-webhooks: - output - app - pull_requests - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -107923,11 +108282,11 @@ x-webhooks: type: string enum: - created - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -108323,11 +108682,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 requested_action: description: The action requested by the user. type: object @@ -108732,11 +109091,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -109713,10 +110072,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -110410,10 +110769,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -111101,10 +111460,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -111270,7 +111629,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111415,20 +111774,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &720 + commit_oid: &723 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: *713 - installation: *714 - organization: *715 - ref: &721 + enterprise: *716 + installation: *717 + organization: *718 + ref: &724 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: *716 + repository: *719 sender: *4 required: - action @@ -111593,7 +111952,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111823,12 +112182,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -111923,7 +112282,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112094,12 +112453,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -112265,7 +112624,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112431,12 +112790,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -112535,7 +112894,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112710,16 +113069,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 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: *716 + repository: *719 sender: *4 required: - action @@ -112816,7 +113175,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112956,12 +113315,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -113127,7 +113486,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113272,10 +113631,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -113530,10 +113889,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -113613,18 +113972,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *715 - pusher_type: &722 + organization: *718 + pusher_type: &725 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &723 + ref: &726 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113634,7 +113993,7 @@ x-webhooks: enum: - tag - branch - repository: *716 + repository: *719 sender: *4 required: - ref @@ -113716,10 +114075,10 @@ x-webhooks: type: string enum: - created - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113804,9 +114163,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113883,10 +114242,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113963,10 +114322,10 @@ x-webhooks: type: string enum: - updated - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -114043,19 +114402,19 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - repository: *716 - organization: *715 + enterprise: *716 + installation: *717 + repository: *719 + organization: *718 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *277 + items: *278 old_property_values: type: array description: The old custom property values for the repository. - items: *277 + items: *278 required: - action - repository @@ -114131,18 +114490,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - pusher_type: *722 - ref: *723 + enterprise: *716 + installation: *717 + organization: *718 + pusher_type: *725 + ref: *726 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *716 + repository: *719 sender: *4 required: - ref @@ -114226,11 +114585,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114314,11 +114673,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114402,11 +114761,11 @@ x-webhooks: type: string enum: - created - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114488,11 +114847,11 @@ x-webhooks: type: string enum: - dismissed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114574,11 +114933,11 @@ x-webhooks: type: string enum: - fixed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114661,11 +115020,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114747,11 +115106,11 @@ x-webhooks: type: string enum: - reopened - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114828,9 +115187,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - key: &724 + enterprise: *716 + installation: *717 + key: &727 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114866,8 +115225,8 @@ x-webhooks: - verified - created_at - read_only - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -114944,11 +115303,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - key: *724 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + key: *727 + organization: *718 + repository: *719 sender: *4 required: - action @@ -115509,12 +115868,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: &728 + workflow: &731 title: Workflow type: object nullable: true @@ -116240,13 +116599,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *485 + deployment: *486 pull_requests: type: array - items: *571 - repository: *716 - organization: *715 - installation: *714 + items: *572 + repository: *719 + organization: *718 + installation: *717 sender: *4 responses: '200': @@ -116317,7 +116676,7 @@ x-webhooks: type: string enum: - approved - approver: &725 + approver: &728 type: object properties: avatar_url: @@ -116360,11 +116719,11 @@ x-webhooks: type: string comment: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - reviewers: &726 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + reviewers: &729 type: array items: type: object @@ -116443,7 +116802,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &727 + workflow_job_run: &730 type: object properties: conclusion: @@ -117174,18 +117533,18 @@ x-webhooks: type: string enum: - rejected - approver: *725 + approver: *728 comment: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - reviewers: *726 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + reviewers: *729 sender: *4 since: type: string - workflow_job_run: *727 + workflow_job_run: *730 workflow_job_runs: type: array items: @@ -117889,13 +118248,13 @@ x-webhooks: type: string enum: - requested - enterprise: *713 + enterprise: *716 environment: type: string - installation: *714 - organization: *715 - repository: *716 - requestor: &733 + installation: *717 + organization: *718 + repository: *719 + requestor: &736 title: User type: object nullable: true @@ -119794,12 +120153,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Deployment Workflow Run type: object @@ -120479,7 +120838,7 @@ x-webhooks: type: string enum: - answered - answer: &731 + answer: &734 type: object properties: author_association: @@ -120636,11 +120995,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120767,11 +121126,11 @@ x-webhooks: - from required: - category - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120854,11 +121213,11 @@ x-webhooks: type: string enum: - closed - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120940,7 +121299,7 @@ x-webhooks: type: string enum: - created - comment: &730 + comment: &733 type: object properties: author_association: @@ -121097,11 +121456,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121184,12 +121543,12 @@ x-webhooks: type: string enum: - deleted - comment: *730 - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + comment: *733 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121284,12 +121643,12 @@ x-webhooks: - from required: - body - comment: *730 - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + comment: *733 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121373,11 +121732,11 @@ x-webhooks: type: string enum: - created - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121459,11 +121818,11 @@ x-webhooks: type: string enum: - deleted - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121563,11 +121922,11 @@ x-webhooks: type: string required: - from - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121649,10 +122008,10 @@ x-webhooks: type: string enum: - labeled - discussion: *729 - enterprise: *713 - installation: *714 - label: &732 + discussion: *732 + enterprise: *716 + installation: *717 + label: &735 title: Label type: object properties: @@ -121684,8 +122043,8 @@ x-webhooks: - color - default - description - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121768,11 +122127,11 @@ x-webhooks: type: string enum: - locked - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121854,11 +122213,11 @@ x-webhooks: type: string enum: - pinned - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121940,11 +122299,11 @@ x-webhooks: type: string enum: - reopened - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122029,16 +122388,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *729 - new_repository: *716 + new_discussion: *732 + new_repository: *719 required: - new_discussion - new_repository - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122121,10 +122480,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *729 - old_answer: *731 - organization: *715 - repository: *716 + discussion: *732 + old_answer: *734 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122206,12 +122565,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *729 - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122294,11 +122653,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122380,11 +122739,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122457,7 +122816,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *713 + enterprise: *716 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123117,9 +123476,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - forkee @@ -123265,9 +123624,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pages: description: The pages that were updated. type: array @@ -123304,7 +123663,7 @@ x-webhooks: - action - sha - html_url - repository: *716 + repository: *719 sender: *4 required: - pages @@ -123380,10 +123739,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: &734 + organization: *718 + repositories: &737 description: An array of repository objects that the installation can access. type: array @@ -123409,8 +123768,8 @@ x-webhooks: - name - full_name - private - repository: *716 - requester: *733 + repository: *719 + requester: *736 sender: *4 required: - action @@ -123485,11 +123844,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -123565,11 +123924,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -123645,10 +124004,10 @@ x-webhooks: type: string enum: - added - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories_added: &735 + organization: *718 + repositories_added: &738 description: An array of repository objects, which were added to the installation. type: array @@ -123694,15 +124053,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *716 - repository_selection: &736 + repository: *719 + repository_selection: &739 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *733 + requester: *736 sender: *4 required: - action @@ -123781,10 +124140,10 @@ x-webhooks: type: string enum: - removed - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories_added: *735 + organization: *718 + repositories_added: *738 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123811,9 +124170,9 @@ x-webhooks: - name - full_name - private - repository: *716 - repository_selection: *736 - requester: *733 + repository: *719 + repository_selection: *739 + requester: *736 sender: *4 required: - action @@ -123892,11 +124251,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -124074,10 +124433,10 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 target_type: type: string @@ -124156,11 +124515,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -124412,8 +124771,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125207,8 +125566,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125557,8 +125916,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -125638,7 +125997,7 @@ x-webhooks: type: string enum: - deleted - comment: &737 + comment: &740 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -125803,8 +126162,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126594,8 +126953,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126946,8 +127305,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -127027,7 +127386,7 @@ x-webhooks: type: string enum: - edited - changes: &766 + changes: &769 description: The changes to the comment. type: object properties: @@ -127039,9 +127398,9 @@ x-webhooks: type: string required: - from - comment: *737 - enterprise: *713 - installation: *714 + comment: *740 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127834,8 +128193,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128184,8 +128543,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128275,9 +128634,9 @@ x-webhooks: type: number blocking_issue: *75 blocking_issue_repo: *71 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128366,9 +128725,9 @@ x-webhooks: type: number blocking_issue: *75 blocking_issue_repo: *71 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128456,9 +128815,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128547,9 +128906,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128629,10 +128988,10 @@ x-webhooks: type: string enum: - assigned - assignee: *733 - enterprise: *713 - installation: *714 - issue: &740 + assignee: *736 + enterprise: *716 + installation: *717 + issue: &743 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129421,11 +129780,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129542,8 +129901,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -129623,8 +129982,8 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130418,11 +130777,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130674,8 +131033,8 @@ x-webhooks: required: - state - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -130754,8 +131113,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131540,11 +131899,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131660,8 +132019,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -131740,8 +132099,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132548,11 +132907,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132647,7 +133006,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &738 + milestone: &741 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132785,8 +133144,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -132885,8 +133244,8 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133675,11 +134034,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133796,9 +134155,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *732 - organization: *715 - repository: *716 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -133878,8 +134237,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134667,11 +135026,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134788,9 +135147,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *732 - organization: *715 - repository: *716 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -134870,8 +135229,8 @@ x-webhooks: type: string enum: - locked - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135683,11 +136042,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135781,8 +136140,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -135861,8 +136220,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136668,11 +137027,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136766,9 +137125,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *738 - organization: *715 - repository: *716 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -137636,11 +137995,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138202,8 +138561,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138992,11 +139351,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139112,8 +139471,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -139193,9 +139552,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *713 - installation: *714 - issue: &739 + enterprise: *716 + installation: *717 + issue: &742 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -139978,11 +140337,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140098,8 +140457,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -140178,8 +140537,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140989,11 +141348,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141088,8 +141447,8 @@ x-webhooks: user_view_type: type: string type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -141955,11 +142314,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142543,11 +142902,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *713 - installation: *714 - issue: *739 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *742 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142627,12 +142986,12 @@ x-webhooks: type: string enum: - typed - enterprise: *713 - installation: *714 - issue: *740 + enterprise: *716 + installation: *717 + issue: *743 type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142713,7 +143072,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &769 + assignee: &772 title: User type: object nullable: true @@ -142783,11 +143142,11 @@ x-webhooks: required: - login - id - enterprise: *713 - installation: *714 - issue: *740 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *743 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142866,12 +143225,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *713 - installation: *714 - issue: *740 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *743 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142951,8 +143310,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143762,11 +144121,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143860,8 +144219,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -143941,11 +144300,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *713 - installation: *714 - issue: *739 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *742 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144024,12 +144383,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *713 - installation: *714 - issue: *740 + enterprise: *716 + installation: *717 + issue: *743 type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144109,11 +144468,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144191,11 +144550,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144305,11 +144664,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144391,9 +144750,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: &741 + enterprise: *716 + installation: *717 + marketplace_purchase: &744 title: Marketplace Purchase type: object required: @@ -144476,8 +144835,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *715 - previous_marketplace_purchase: &742 + organization: *718 + previous_marketplace_purchase: &745 title: Marketplace Purchase type: object properties: @@ -144557,7 +144916,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144637,10 +144996,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144723,7 +145082,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144805,10 +145164,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144890,7 +145249,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144971,8 +145330,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 marketplace_purchase: title: Marketplace Purchase type: object @@ -145054,9 +145413,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *715 - previous_marketplace_purchase: *742 - repository: *716 + organization: *718 + previous_marketplace_purchase: *745 + repository: *719 sender: *4 required: - action @@ -145136,12 +145495,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 - previous_marketplace_purchase: *742 - repository: *716 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 + previous_marketplace_purchase: *745 + repository: *719 sender: *4 required: - action @@ -145243,11 +145602,11 @@ x-webhooks: type: string required: - to - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145347,11 +145706,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145430,11 +145789,11 @@ x-webhooks: type: string enum: - removed - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145512,11 +145871,11 @@ x-webhooks: type: string enum: - added - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145592,7 +145951,7 @@ x-webhooks: required: - login - id - team: &743 + team: &746 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145815,11 +146174,11 @@ x-webhooks: type: string enum: - removed - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145896,7 +146255,7 @@ x-webhooks: required: - login - id - team: *743 + team: *746 required: - action - scope @@ -145978,8 +146337,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *714 - merge_group: &745 + installation: *717 + merge_group: &748 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145998,15 +146357,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *744 + head_commit: *747 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146092,10 +146451,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *714 - merge_group: *745 - organization: *715 - repository: *716 + installation: *717 + merge_group: *748 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146168,7 +146527,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 + enterprise: *716 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146277,16 +146636,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *714 - organization: *715 + installation: *717 + organization: *718 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: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -146367,11 +146726,11 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146450,9 +146809,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - milestone: &748 + enterprise: *716 + installation: *717 + milestone: &751 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146589,8 +146948,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146669,11 +147028,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146783,11 +147142,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146867,11 +147226,11 @@ x-webhooks: type: string enum: - opened - enterprise: *713 - installation: *714 - milestone: *748 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *751 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146950,11 +147309,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *733 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + blocked_user: *736 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147033,11 +147392,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *733 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + blocked_user: *736 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147116,9 +147475,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - membership: &749 + enterprise: *716 + installation: *717 + membership: &752 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147225,8 +147584,8 @@ x-webhooks: - role - organization_url - user - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147304,11 +147663,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147387,8 +147746,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147504,10 +147863,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 - user: *733 + user: *736 required: - action - invitation @@ -147585,11 +147944,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147676,11 +148035,11 @@ x-webhooks: properties: from: type: string - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147756,9 +148115,9 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 package: description: Information about the package. type: object @@ -148257,7 +148616,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &750 + items: &753 title: Ruby Gems metadata type: object properties: @@ -148352,7 +148711,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -148428,9 +148787,9 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 package: description: Information about the package. type: object @@ -148783,7 +149142,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *750 + items: *753 source_url: type: string format: uri @@ -148853,7 +149212,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -149030,12 +149389,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *713 + enterprise: *716 id: type: integer - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - id @@ -149112,7 +149471,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &751 + personal_access_token_request: &754 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149258,10 +149617,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *713 - organization: *715 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149338,11 +149697,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *751 - enterprise: *713 - organization: *715 + personal_access_token_request: *754 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149418,11 +149777,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *751 - enterprise: *713 - organization: *715 + personal_access_token_request: *754 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149497,11 +149856,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *751 - organization: *715 - enterprise: *713 + personal_access_token_request: *754 + organization: *718 + enterprise: *716 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149606,7 +149965,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *752 + last_response: *755 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149638,8 +149997,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 zen: description: Random string of GitHub zen. @@ -149884,10 +150243,10 @@ x-webhooks: - from required: - note - enterprise: *713 - installation: *714 - organization: *715 - project_card: &753 + enterprise: *716 + installation: *717 + organization: *718 + project_card: &756 title: Project Card type: object properties: @@ -150006,7 +150365,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -150087,11 +150446,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project_card: *753 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_card: *756 + repository: *719 sender: *4 required: - action @@ -150171,9 +150530,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 project_card: title: Project Card type: object @@ -150301,8 +150660,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: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -150396,11 +150755,11 @@ x-webhooks: - from required: - note - enterprise: *713 - installation: *714 - organization: *715 - project_card: *753 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_card: *756 + repository: *719 sender: *4 required: - action @@ -150494,9 +150853,9 @@ x-webhooks: - from required: - column_id - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 project_card: allOf: - title: Project Card @@ -150686,7 +151045,7 @@ x-webhooks: type: string required: - after_id - repository: *716 + repository: *719 sender: *4 required: - action @@ -150766,10 +151125,10 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - organization: *715 - project: &755 + enterprise: *716 + installation: *717 + organization: *718 + project: &758 title: Project type: object properties: @@ -150893,7 +151252,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -150973,10 +151332,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project_column: &754 + enterprise: *716 + installation: *717 + organization: *718 + project_column: &757 title: Project Column type: object properties: @@ -151015,7 +151374,7 @@ x-webhooks: - name - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -151094,18 +151453,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 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: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -151195,11 +151554,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 + repository: *719 sender: *4 required: - action @@ -151279,11 +151638,11 @@ x-webhooks: type: string enum: - moved - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 + repository: *719 sender: *4 required: - action @@ -151363,11 +151722,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151447,18 +151806,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - project: *755 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 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: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -151560,11 +151919,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151643,11 +152002,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151728,8 +152087,8 @@ x-webhooks: type: string enum: - closed - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -151811,8 +152170,8 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -151894,8 +152253,8 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152013,8 +152372,8 @@ x-webhooks: type: string to: type: string - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152098,7 +152457,7 @@ x-webhooks: type: string enum: - archived - changes: &759 + changes: &762 type: object properties: archived_at: @@ -152112,9 +152471,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *714 - organization: *715 - projects_v2_item: &756 + installation: *717 + organization: *718 + projects_v2_item: &759 title: Projects v2 Item description: An item belonging to a project type: object @@ -152249,9 +152608,9 @@ x-webhooks: nullable: true to: type: string - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152333,9 +152692,9 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152416,9 +152775,9 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152524,7 +152883,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &757 + - &760 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152546,7 +152905,7 @@ x-webhooks: required: - id - name - - &758 + - &761 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152580,8 +152939,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *757 - - *758 + - *760 + - *761 required: - field_value - type: object @@ -152597,9 +152956,9 @@ x-webhooks: nullable: true required: - body - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152694,9 +153053,9 @@ x-webhooks: to: type: string nullable: true - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152779,10 +153138,10 @@ x-webhooks: type: string enum: - restored - changes: *759 - installation: *714 - organization: *715 - projects_v2_item: *756 + changes: *762 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152864,8 +153223,8 @@ x-webhooks: type: string enum: - reopened - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152947,14 +153306,14 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 - projects_v2_status_update: &762 + installation: *717 + organization: *718 + projects_v2_status_update: &765 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *760 - required: *761 + properties: *763 + required: *764 sender: *4 required: - action @@ -153035,9 +153394,9 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 - projects_v2_status_update: *762 + installation: *717 + organization: *718 + projects_v2_status_update: *765 sender: *4 required: - action @@ -153173,9 +153532,9 @@ x-webhooks: type: string format: date nullable: true - installation: *714 - organization: *715 - projects_v2_status_update: *762 + installation: *717 + organization: *718 + projects_v2_status_update: *765 sender: *4 required: - action @@ -153246,10 +153605,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - repository @@ -153326,13 +153685,13 @@ x-webhooks: type: string enum: - assigned - assignee: *733 - enterprise: *713 - installation: *714 - number: &763 + assignee: *736 + enterprise: *716 + installation: *717 + number: &766 description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -155615,7 +155974,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -155697,11 +156056,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -157979,7 +158338,7 @@ x-webhooks: - draft reason: type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -158061,11 +158420,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -160343,7 +160702,7 @@ x-webhooks: - draft reason: type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -160425,13 +160784,13 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: &764 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: &767 allOf: - - *571 + - *572 - type: object properties: allow_auto_merge: @@ -160493,7 +160852,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *716 + repository: *719 sender: *4 required: - action @@ -160574,12 +160933,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -160659,11 +161018,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *713 - milestone: *555 - number: *763 - organization: *715 - pull_request: &765 + enterprise: *716 + milestone: *556 + number: *766 + organization: *718 + pull_request: &768 title: Pull Request type: object properties: @@ -162926,7 +163285,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -163005,11 +163364,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -165291,7 +165650,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *716 + repository: *719 sender: *4 required: - action @@ -165415,12 +165774,12 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -165500,11 +165859,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -167771,7 +168130,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -167851,11 +168210,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *713 - installation: *714 - label: *732 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + label: *735 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -170137,7 +170496,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -170218,10 +170577,10 @@ x-webhooks: type: string enum: - locked - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -172501,7 +172860,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -172581,12 +172940,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *713 - milestone: *555 - number: *763 - organization: *715 - pull_request: *765 - repository: *716 + enterprise: *716 + milestone: *556 + number: *766 + organization: *718 + pull_request: *768 + repository: *719 sender: *4 required: - action @@ -172665,12 +173024,12 @@ x-webhooks: type: string enum: - opened - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -172751,12 +173110,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -172836,12 +173195,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -173207,9 +173566,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -175379,7 +175738,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -175459,7 +175818,7 @@ x-webhooks: type: string enum: - deleted - comment: &767 + comment: &770 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -175744,9 +176103,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -177904,7 +178263,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -177984,11 +178343,11 @@ x-webhooks: type: string enum: - edited - changes: *766 - comment: *767 - enterprise: *713 - installation: *714 - organization: *715 + changes: *769 + comment: *770 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -180149,7 +180508,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -180230,9 +180589,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -182405,7 +182764,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 review: description: The review that was affected. type: object @@ -182652,9 +183011,9 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -184708,8 +185067,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 - review: &768 + repository: *719 + review: &771 description: The review that was affected. type: object properties: @@ -184942,12 +185301,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -187230,7 +187589,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_reviewer: title: User type: object @@ -187314,12 +187673,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -189609,7 +189968,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_team: title: Team description: Groups of organization members that gives permissions @@ -189801,12 +190160,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -192091,7 +192450,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_reviewer: title: User type: object @@ -192176,12 +192535,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -194457,7 +194816,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194638,9 +194997,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -196815,8 +197174,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 - review: *768 + repository: *719 + review: *771 sender: *4 required: - action @@ -196896,9 +197255,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -198968,7 +199327,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 sender: *4 thread: type: object @@ -199355,9 +199714,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -201413,7 +201772,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 sender: *4 thread: type: object @@ -201803,10 +202162,10 @@ x-webhooks: type: string before: type: string - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -204077,7 +204436,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -204159,11 +204518,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *769 - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + assignee: *772 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -206446,7 +206805,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -206525,11 +206884,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *713 - installation: *714 - label: *732 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + label: *735 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -208802,7 +209161,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -208883,10 +209242,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -211151,7 +211510,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -211351,7 +211710,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *713 + enterprise: *716 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211443,8 +211802,8 @@ x-webhooks: - url - author - committer - installation: *714 - organization: *715 + installation: *717 + organization: *718 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212019,9 +212378,9 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 registry_package: type: object properties: @@ -212467,7 +212826,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *750 + items: *753 summary: type: string tag_name: @@ -212521,7 +212880,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -212599,9 +212958,9 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 registry_package: type: object properties: @@ -212909,7 +213268,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *750 + items: *753 summary: type: string tag_name: @@ -212958,7 +213317,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -213035,10 +213394,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - release: &770 + enterprise: *716 + installation: *717 + organization: *718 + release: &773 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213356,7 +213715,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *716 + repository: *719 sender: *4 required: - action @@ -213433,11 +213792,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -213554,11 +213913,11 @@ x-webhooks: type: boolean required: - to - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -213636,9 +213995,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -213960,7 +214319,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *716 + repository: *719 sender: *4 required: - action @@ -214036,10 +214395,10 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - release: &771 + enterprise: *716 + installation: *717 + organization: *718 + release: &774 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214358,7 +214717,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *716 + repository: *719 sender: *4 required: - action @@ -214434,11 +214793,11 @@ x-webhooks: type: string enum: - released - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -214514,11 +214873,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *713 - installation: *714 - organization: *715 - release: *771 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *774 + repository: *719 sender: *4 required: - action @@ -214594,11 +214953,11 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_advisory: *635 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_advisory: *636 sender: *4 required: - action @@ -214674,11 +215033,11 @@ x-webhooks: type: string enum: - reported - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_advisory: *635 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_advisory: *636 sender: *4 required: - action @@ -214754,10 +215113,10 @@ x-webhooks: type: string enum: - archived - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -214834,10 +215193,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -214915,10 +215274,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215002,10 +215361,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215117,10 +215476,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215192,10 +215551,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 status: type: string @@ -215276,10 +215635,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215356,10 +215715,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215453,10 +215812,10 @@ x-webhooks: - name required: - repository - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215536,11 +215895,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 sender: *4 required: - action @@ -215618,11 +215977,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 sender: *4 required: - action @@ -215700,11 +216059,11 @@ x-webhooks: type: string enum: - edited - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 changes: type: object properties: @@ -215723,16 +216082,16 @@ x-webhooks: properties: added: type: array - items: *281 + items: *282 deleted: type: array - items: *281 + items: *282 updated: type: array items: type: object properties: - condition: *281 + condition: *282 changes: type: object properties: @@ -215765,16 +216124,16 @@ x-webhooks: properties: added: type: array - items: *591 + items: *592 deleted: type: array - items: *591 + items: *592 updated: type: array items: type: object properties: - rule: *591 + rule: *592 changes: type: object properties: @@ -216008,10 +216367,10 @@ x-webhooks: - from required: - owner - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216089,10 +216448,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216170,7 +216529,7 @@ x-webhooks: type: string enum: - create - alert: &772 + alert: &775 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216291,10 +216650,10 @@ x-webhooks: type: string enum: - open - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216500,10 +216859,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216581,11 +216940,11 @@ x-webhooks: type: string enum: - reopen - alert: *772 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216784,10 +217143,10 @@ x-webhooks: enum: - fixed - open - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216865,7 +217224,7 @@ x-webhooks: type: string enum: - assigned - alert: &773 + alert: &776 type: object properties: number: *169 @@ -216984,10 +217343,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217065,11 +217424,11 @@ x-webhooks: type: string enum: - created - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217150,11 +217509,11 @@ x-webhooks: type: string enum: - created - alert: *773 - installation: *714 - location: *774 - organization: *715 - repository: *716 + alert: *776 + installation: *717 + location: *777 + organization: *718 + repository: *719 sender: *4 required: - location @@ -217392,11 +217751,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217474,11 +217833,11 @@ x-webhooks: type: string enum: - reopened - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217556,11 +217915,11 @@ x-webhooks: type: string enum: - resolved - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217638,12 +217997,12 @@ x-webhooks: type: string enum: - unassigned - alert: *773 + alert: *776 assignee: *4 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217721,11 +218080,11 @@ x-webhooks: type: string enum: - validated - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217851,10 +218210,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *716 - enterprise: *713 - installation: *714 - organization: *715 + repository: *719 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -217932,11 +218291,11 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - security_advisory: &775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + security_advisory: &778 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218119,11 +218478,11 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - security_advisory: *775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + security_advisory: *778 sender: *4 required: - action @@ -218196,10 +218555,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218383,11 +218742,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *280 - enterprise: *713 - installation: *714 - organization: *715 - repository: *327 + security_and_analysis: *281 + enterprise: *716 + installation: *717 + organization: *718 + repository: *328 sender: *4 required: - changes @@ -218465,12 +218824,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: &776 + sponsorship: &779 type: object properties: created_at: @@ -218771,12 +219130,12 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - sponsorship @@ -218864,12 +219223,12 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -218946,17 +219305,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &777 + effective_date: &780 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: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - sponsorship @@ -219030,7 +219389,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &778 + changes: &781 type: object properties: tier: @@ -219074,13 +219433,13 @@ x-webhooks: - from required: - tier - effective_date: *777 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + effective_date: *780 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -219157,13 +219516,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *778 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + changes: *781 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -219237,10 +219596,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219323,10 +219682,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219746,15 +220105,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *713 + enterprise: *716 id: description: The unique identifier of the status. type: integer - installation: *714 + installation: *717 name: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 sha: description: The Commit SHA. @@ -219869,9 +220228,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -219961,9 +220320,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220053,9 +220412,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220145,9 +220504,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220224,12 +220583,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - team: &779 + team: &782 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220452,9 +220811,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -220912,7 +221271,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -220988,9 +221347,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -221448,7 +221807,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -221525,9 +221884,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -221985,7 +222344,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -222129,9 +222488,9 @@ x-webhooks: - from required: - permissions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -222589,7 +222948,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - changes @@ -222667,9 +223026,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -223127,7 +223486,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -223203,10 +223562,10 @@ x-webhooks: type: string enum: - started - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -223279,16 +223638,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *713 + enterprise: *716 inputs: type: object nullable: true additionalProperties: true - installation: *714 - organization: *715 + installation: *717 + organization: *718 ref: type: string - repository: *716 + repository: *719 sender: *4 workflow: type: string @@ -223370,10 +223729,10 @@ x-webhooks: type: string enum: - completed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: allOf: @@ -223610,7 +223969,7 @@ x-webhooks: type: string required: - conclusion - deployment: *485 + deployment: *486 required: - action - repository @@ -223689,10 +224048,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: allOf: @@ -223952,7 +224311,7 @@ x-webhooks: required: - status - steps - deployment: *485 + deployment: *486 required: - action - repository @@ -224031,10 +224390,10 @@ x-webhooks: type: string enum: - queued - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: type: object @@ -224169,7 +224528,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *486 required: - action - repository @@ -224248,10 +224607,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: type: object @@ -224387,7 +224746,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *486 required: - action - repository @@ -224467,12 +224826,12 @@ x-webhooks: type: string enum: - completed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object @@ -225471,12 +225830,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object @@ -226460,12 +226819,12 @@ x-webhooks: type: string enum: - requested - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 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 d232d58c0b..2f9ffe5065 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -107212,7 +107212,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -108361,7 +108362,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -121840,7 +121842,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -127348,7 +127351,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -128896,7 +128900,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -142647,7 +142652,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -145457,7 +145463,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -155069,7 +155076,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -157728,7 +157736,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -179403,7 +179412,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -181421,7 +181431,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -188406,7 +188417,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -192804,7 +192816,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -193881,7 +193894,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -196933,7 +196947,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -198932,7 +198947,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -222606,6 +222622,736 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "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 view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "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": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -226322,7 +227068,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -245808,7 +246555,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -252696,7 +253444,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -272437,7 +273186,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -273129,7 +273879,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -274757,7 +275508,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -275449,7 +276201,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -277811,7 +278564,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -278503,7 +279257,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -284891,7 +285646,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -285583,7 +286339,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -318806,7 +319563,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -320409,7 +321167,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -321654,7 +322413,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -323127,7 +323887,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -329385,14 +330146,14 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true }, "examples": { "response": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { @@ -336499,7 +337260,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -338258,7 +339020,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -339655,7 +340418,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -343016,7 +343780,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -355307,7 +356072,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -356473,7 +357239,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -389100,7 +389867,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -403808,7 +404576,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -405028,7 +405797,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -487760,7 +488530,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -511333,7 +512104,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -512730,7 +513502,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -570654,7 +571427,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -575585,7 +576359,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -586566,7 +587341,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -587936,7 +588712,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -596521,7 +597298,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -601588,7 +602366,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -603540,7 +604319,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -604937,7 +605717,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -606725,7 +607506,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -608553,7 +609335,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -610122,7 +610905,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -616934,7 +617718,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -618583,7 +619368,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -620006,7 +620792,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -636419,7 +637206,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -637733,7 +638521,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -638749,7 +639538,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -646082,7 +646872,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -651165,7 +651956,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -658815,226 +659607,956 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "drafts" - } - } - }, - "/users": { - "get": { - "summary": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Cloud. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", - "tags": [ - "users" - ], - "operationId": "users/list", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users" - }, - "parameters": [ - { - "name": "since", - "description": "A user ID. Only return users with an ID greater than this ID.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "drafts" + } + } + }, + "/users": { + "get": { + "summary": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Cloud. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", + "tags": [ + "users" + ], + "operationId": "users/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users" + }, + "parameters": [ + { + "name": "since", + "description": "A user ID. Only return users with an ID greater than this ID.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "users", + "subcategory": "users" + } + } + }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "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 view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "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" + } + } + } + } + } }, - { - "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", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "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" + } + } + ] + } + } } - ] + } } } } - }, - "headers": { - "Link": { - "example": "; rel=\"next\"", + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { "schema": { - "type": "string" + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } } } } - }, - "304": { - "description": "Not modified" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" } } }, @@ -661282,7 +662804,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -691433,7 +692956,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -692510,7 +694034,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -729293,7 +730818,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -732096,7 +733622,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -752744,7 +754271,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -756802,7 +758330,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -760860,7 +762389,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -764931,7 +766461,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 75d43ffe34..6bde319634 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &440 + type: &441 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &752 + - &753 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &762 + schema: &763 title: Scim Error description: Scim Error type: object @@ -2918,7 +2918,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &417 + properties: &418 id: description: Unique identifier of the repository example: 42 @@ -3356,7 +3356,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &418 + required: &419 - archive_url - assignees_url - blobs_url @@ -8897,7 +8897,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &763 + '401': &764 description: Authorization failure '404': *6 x-github: @@ -13108,7 +13108,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &530 + instances_url: &531 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: &531 + dismissed_reason: &532 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: &532 + dismissed_comment: &533 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &533 + rule: &534 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: &534 + tool: &535 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: &535 + most_recent_instance: &536 type: object properties: - ref: &528 + ref: &529 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &545 + analysis_key: &546 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: &546 + environment: &547 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: &547 + category: &548 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: &548 + location: &549 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: &549 + items: &550 type: string description: A classification of the file. For example to identify it as generated. @@ -16939,7 +16939,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 - - &590 + - &591 name: has in: query description: |- @@ -17052,7 +17052,7 @@ paths: - unknown - direct - transitive - security_advisory: &591 + security_advisory: &592 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17284,14 +17284,14 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: &592 + auto_dismissed_at: &593 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: &593 + dismissal_request: &594 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18484,7 +18484,7 @@ paths: - name - created_on examples: - default: &445 + default: &446 value: total_count: 2 network_configurations: @@ -18707,7 +18707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &446 + - &447 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18719,7 +18719,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &448 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18753,7 +18753,7 @@ paths: - subnet_id - region examples: - default: &448 + default: &449 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19568,7 +19568,7 @@ paths: required: true content: application/json: - schema: &416 + schema: &417 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20752,7 +20752,7 @@ paths: nullable: true anyOf: - *162 - - &422 + - &423 title: Organization ruleset conditions type: object description: |- @@ -20799,7 +20799,7 @@ paths: - *165 rules: type: array - items: &718 + items: &719 title: Repository Rule type: object description: A repository rule. @@ -20808,7 +20808,7 @@ paths: - *171 - *172 - *173 - - &716 + - &717 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21136,7 +21136,7 @@ paths: type: string format: date-time examples: - default: &425 + default: &426 value: - version_id: 3 actor: @@ -21189,7 +21189,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &427 allOf: - *195 - type: object @@ -21244,7 +21244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &427 + - &428 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21255,7 +21255,7 @@ paths: enum: - open - resolved - - &428 + - &429 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21265,7 +21265,7 @@ paths: required: false schema: type: string - - &429 + - &430 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21274,7 +21274,7 @@ paths: required: false schema: type: string - - &430 + - &431 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21293,7 +21293,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &431 + - &432 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21309,7 +21309,7 @@ paths: - *17 - *108 - *109 - - &432 + - &433 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21318,7 +21318,7 @@ paths: required: false schema: type: string - - &433 + - &434 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21327,7 +21327,7 @@ paths: schema: type: boolean default: false - - &434 + - &435 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21336,7 +21336,7 @@ paths: schema: type: boolean default: false - - &435 + - &436 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21352,7 +21352,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: number: *128 @@ -21371,14 +21371,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &730 + state: &731 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &731 + resolution: &732 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21485,8 +21485,8 @@ paths: pull request. ' - oneOf: &732 - - &734 + oneOf: &733 + - &735 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21538,7 +21538,7 @@ paths: - blob_url - commit_sha - commit_url - - &735 + - &736 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -21593,7 +21593,7 @@ paths: - page_url - commit_sha - commit_url - - &736 + - &737 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21607,7 +21607,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &737 + - &738 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21621,7 +21621,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &738 + - &739 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21635,7 +21635,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &739 + - &740 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21649,7 +21649,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &740 + - &741 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21663,7 +21663,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &741 + - &742 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21677,7 +21677,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &742 + - &743 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -21691,7 +21691,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &743 + - &744 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -21705,7 +21705,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &744 + - &745 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -21719,7 +21719,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &745 + - &746 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -21733,7 +21733,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &746 + - &747 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21760,7 +21760,7 @@ paths: required: *21 nullable: true examples: - default: &437 + default: &438 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21969,7 +21969,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &439 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22052,7 +22052,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &439 + default: &440 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22188,7 +22188,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &442 + - &443 name: advanced_security_product in: query description: | @@ -22208,7 +22208,7 @@ paths: description: Success content: application/json: - schema: &443 + schema: &444 type: object properties: total_advanced_security_committers: @@ -22263,7 +22263,7 @@ paths: required: - repositories examples: - default: &444 + default: &445 value: total_advanced_security_committers: 2 total_count: 2 @@ -25027,7 +25027,7 @@ paths: properties: action: type: string - discussion: &868 + discussion: &871 title: Discussion description: A Discussion in a repository. type: object @@ -25394,7 +25394,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &654 + properties: &655 id: type: integer format: int64 @@ -25771,7 +25771,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &790 + sub_issues_summary: &791 title: Sub-issues Summary type: object properties: @@ -25791,7 +25791,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &791 + issue_dependencies_summary: &792 title: Issue Dependencies Summary type: object properties: @@ -25810,7 +25810,7 @@ paths: - total_blocking issue_field_values: type: array - items: &792 + items: &793 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25871,7 +25871,7 @@ paths: - node_id - data_type - value - required: &655 + required: &656 - assignee - closed_at - comments @@ -25909,7 +25909,7 @@ paths: action: type: string issue: *221 - comment: &650 + comment: &651 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -26628,7 +26628,7 @@ paths: type: string release: allOf: - - &709 + - &710 title: Release description: A release. type: object @@ -26699,7 +26699,7 @@ paths: author: *4 assets: type: array - items: &710 + items: &711 title: Release Asset description: Data related to a release. type: object @@ -27278,7 +27278,7 @@ paths: url: type: string format: uri - user: &798 + user: &799 title: Public User description: Public User type: object @@ -30583,14 +30583,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: - - &456 + - &457 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &457 + - &458 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -30652,7 +30652,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &462 + '301': &463 description: Moved permanently content: application/json: @@ -30674,7 +30674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &683 + - &684 name: all description: If `true`, show notifications marked as read. in: query @@ -30682,7 +30682,7 @@ paths: schema: type: boolean default: false - - &684 + - &685 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -30692,7 +30692,7 @@ paths: type: boolean default: false - *228 - - &685 + - &686 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -30987,6 +30987,7 @@ paths: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -31004,7 +31005,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &419 + security_and_analysis: &420 nullable: true type: object properties: @@ -31174,7 +31175,7 @@ paths: - url - subscription_url examples: - default: &686 + default: &687 value: - id: '1' repository: @@ -32291,7 +32292,7 @@ paths: type: array items: *156 examples: - default: &692 + default: &693 value: - property_name: environment value: production @@ -32341,7 +32342,7 @@ paths: required: - properties examples: - default: &693 + default: &694 value: properties: - property_name: environment @@ -33154,7 +33155,7 @@ paths: type: integer repository_cache_usages: type: array - items: &469 + items: &470 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -35268,7 +35269,7 @@ paths: type: array items: *284 examples: - default: &801 + default: &802 value: total_count: 1 repositories: @@ -36310,7 +36311,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &490 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36339,7 +36340,7 @@ paths: - key_id - key examples: - default: &490 + default: &491 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36752,7 +36753,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &474 + - &475 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)." @@ -37967,12 +37968,12 @@ paths: required: - subject_digests examples: - default: &829 + default: &832 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &830 + withPredicateType: &833 value: subject_digests: - sha256:abc123 @@ -38030,7 +38031,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &831 + default: &834 value: attestations_subject_digests: - sha256:abc: @@ -38379,7 +38380,7 @@ paths: initiator: type: string examples: - default: &503 + default: &504 value: attestations: - bundle: @@ -39296,7 +39297,7 @@ paths: be returned. in: query required: false - schema: &529 + schema: &530 type: string description: Severity of a code scanning alert. enum: @@ -40351,7 +40352,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &561 + properties: &562 name: type: string description: The name of the machine. @@ -40393,7 +40394,7 @@ paths: - ready - in_progress nullable: true - required: &562 + required: &563 - name - display_name - operating_system @@ -41261,7 +41262,7 @@ paths: - updated_at - visibility examples: - default: &563 + default: &564 value: total_count: 2 secrets: @@ -41299,7 +41300,7 @@ paths: description: Response content: application/json: - schema: &564 + schema: &565 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41328,7 +41329,7 @@ paths: - key_id - key examples: - default: &565 + default: &566 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41360,7 +41361,7 @@ paths: application/json: schema: *327 examples: - default: &567 + default: &568 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43219,7 +43220,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &597 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43236,7 +43237,7 @@ paths: - key_id - key examples: - default: &597 + default: &598 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43566,7 +43567,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &605 + - &606 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -43574,7 +43575,7 @@ paths: required: false schema: type: string - - &606 + - &607 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -43582,7 +43583,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: time_period description: |- The time period to filter by. @@ -43598,7 +43599,7 @@ paths: - week - month default: month - - &608 + - &609 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -43623,7 +43624,7 @@ paths: application/json: schema: type: array - items: &609 + items: &610 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -43779,7 +43780,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &610 + default: &611 value: - id: 21 number: 42 @@ -43897,7 +43898,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -44014,7 +44015,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &612 + default: &613 value: - id: 21 number: 42 @@ -44116,7 +44117,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -44237,7 +44238,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &614 + default: &615 value: - id: 21 number: 42 @@ -44582,7 +44583,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -44663,7 +44664,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &454 + default: &455 value: group_id: '123' group_name: Octocat admins @@ -44718,7 +44719,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -44755,7 +44756,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &452 + default: &453 value: groups: - group_id: '123' @@ -44913,7 +44914,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -44927,7 +44928,7 @@ paths: - name - description examples: - default: &421 + default: &422 value: - name: add_assignee description: Assign or remove a user @@ -46057,7 +46058,7 @@ paths: application/json: schema: *22 examples: - default: &645 + default: &646 value: id: 1 account: @@ -46282,7 +46283,7 @@ paths: required: true content: application/json: - schema: &646 + schema: &647 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -47143,7 +47144,7 @@ paths: application/json: schema: *376 examples: - default: &560 + default: &561 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -48392,7 +48393,7 @@ paths: parameters: - *87 - *382 - - &814 + - &815 name: repo_name description: repo_name parameter in: path @@ -49424,7 +49425,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &441 + items: &442 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -49718,7 +49719,7 @@ paths: - nuget - container - *87 - - &815 + - &816 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -49759,7 +49760,7 @@ paths: default: *388 '403': *29 '401': *25 - '400': &817 + '400': &818 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -51551,7 +51552,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &904 + properties: &907 id: type: number description: The unique identifier of the status update. @@ -51599,7 +51600,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &905 + required: &908 - id - node_id - created_at @@ -51813,7 +51814,7 @@ paths: content: oneOf: - *221 - - &577 + - &578 title: Pull Request Simple description: Pull Request Simple type: object @@ -52042,7 +52043,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: &695 + auto_merge: &696 title: Auto merge description: The status of auto merging a pull request. type: object @@ -52417,7 +52418,7 @@ paths: - updated_at - project_url examples: - default: &834 + default: &837 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52594,7 +52595,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &835 + items: &838 type: object properties: name: @@ -52630,7 +52631,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &836 + iteration_configuration: &839 type: object description: The configuration for iteration fields. properties: @@ -52679,7 +52680,7 @@ paths: value: name: Due date data_type: date - single_select_field: &837 + single_select_field: &840 summary: Create a single select field value: name: Priority @@ -52706,7 +52707,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &838 + iteration_field: &841 summary: Create an iteration field value: name: Sprint @@ -52732,7 +52733,7 @@ paths: application/json: schema: *409 examples: - text_field: &839 + text_field: &842 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -52741,7 +52742,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &840 + number_field: &843 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -52750,7 +52751,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &841 + date_field: &844 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -52759,7 +52760,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &842 + single_select_field: &845 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52793,7 +52794,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &843 + iteration_field: &846 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -52839,7 +52840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *405 - - &844 + - &847 name: field_id description: The unique identifier of the field. in: path @@ -52854,7 +52855,7 @@ paths: application/json: schema: *409 examples: - default: &845 + default: &848 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53966,6 +53967,253 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - *87 + - *405 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: &829 + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element + is a tuple of [field_id, direction] where direction is "asc" + or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping + (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by + examples: + table_view: + summary: Response for creating a table view + value: &416 + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 + board_view: + summary: Response for creating a board view with filter + value: *416 + roadmap_view: + summary: Response for creating a roadmap view + value: *416 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -53980,7 +54228,7 @@ paths: parameters: - *405 - *87 - - &846 + - &849 name: view_number description: The number that identifies the project view. in: path @@ -54178,7 +54426,7 @@ paths: required: true content: application/json: - schema: *416 + schema: *417 examples: default: value: @@ -54746,7 +54994,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &462 title: Full Repository description: Full Repository type: object @@ -55023,8 +55271,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true temp_clone_token: type: string @@ -55139,7 +55387,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &582 + properties: &583 url: type: string format: uri @@ -55155,12 +55403,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &583 + required: &584 - url - key - name - html_url - security_and_analysis: *419 + security_and_analysis: *420 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -55244,7 +55492,7 @@ paths: - network_count - subscribers_count examples: - default: &463 + default: &464 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55770,9 +56018,9 @@ paths: application/json: schema: type: array - items: *420 + items: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55797,7 +56045,7 @@ paths: - *87 - *17 - *19 - - &717 + - &718 name: targets description: | A comma-separated list of rule targets to filter by. @@ -55888,11 +56136,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *422 + conditions: *423 rules: type: array description: An array of rules within the ruleset. - items: &424 + items: &425 title: Repository Rule type: object description: A repository rule. @@ -55957,7 +56205,7 @@ paths: application/json: schema: *191 examples: - default: &423 + default: &424 value: id: 21 name: super cool ruleset @@ -56012,7 +56260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &719 + - &720 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -56024,14 +56272,14 @@ paths: x-multi-segment: true - *310 - *105 - - &720 + - &721 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &721 + - &722 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -56051,7 +56299,7 @@ paths: description: Response content: application/json: - schema: &722 + schema: &723 title: Rule Suites description: Response type: array @@ -56106,7 +56354,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &723 + default: &724 value: - id: 21 actor_id: 12 @@ -56150,7 +56398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &724 + - &725 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -56166,7 +56414,7 @@ paths: description: Response content: application/json: - schema: &725 + schema: &726 title: Rule Suite description: Response type: object @@ -56265,7 +56513,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &726 + default: &727 value: id: 21 actor_id: 12 @@ -56340,7 +56588,7 @@ paths: application/json: schema: *191 examples: - default: *423 + default: *424 '404': *6 '500': *40 put: @@ -56389,11 +56637,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *422 + conditions: *423 rules: description: An array of rules within the ruleset. type: array - items: *424 + items: *425 examples: default: value: @@ -56430,7 +56678,7 @@ paths: application/json: schema: *191 examples: - default: *423 + default: *424 '404': *6 '500': *40 delete: @@ -56489,7 +56737,7 @@ paths: type: array items: *195 examples: - default: *425 + default: *426 '404': *6 '500': *40 x-github: @@ -56526,7 +56774,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -56589,15 +56837,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *427 - *428 - *429 - *430 - *431 + - *432 - *110 - *19 - *17 - - &728 + - &729 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -56607,7 +56855,7 @@ paths: required: false schema: type: string - - &729 + - &730 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -56617,10 +56865,10 @@ paths: required: false schema: type: string - - *432 - *433 - *434 - *435 + - *436 responses: '200': description: Response @@ -56628,9 +56876,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *437 + default: *438 headers: Link: *47 '404': *6 @@ -56665,9 +56913,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '403': *29 '404': *6 patch: @@ -56820,7 +57068,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 description: A repository security advisory. type: object properties: @@ -57040,7 +57288,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 credits_detailed: type: array nullable: true @@ -57050,7 +57298,7 @@ paths: type: object properties: user: *4 - type: *440 + type: *441 state: type: string description: The state of the user's acceptance of the @@ -57111,7 +57359,7 @@ paths: - private_fork additionalProperties: false examples: - default: &751 + default: &752 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -57498,7 +57746,7 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: default: *386 x-github: @@ -57582,7 +57830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *442 + - *443 - *17 - *19 responses: @@ -57590,9 +57838,9 @@ paths: description: Success content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57873,7 +58121,7 @@ paths: type: array items: *148 examples: - default: *445 + default: *446 headers: Link: *47 x-github: @@ -58074,15 +58322,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 headers: Link: *47 x-github: @@ -58120,7 +58368,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &459 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -58166,7 +58414,7 @@ paths: type: string nullable: true examples: - default: &459 + default: &460 value: groups: - group_id: '123' @@ -58374,7 +58622,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -58701,7 +58949,7 @@ paths: - repos_count - organization examples: - default: &450 + default: &451 value: id: 1 node_id: MDQ6VGVhbTE= @@ -58778,9 +59026,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -58864,16 +59112,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '201': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 '422': *15 '403': *29 @@ -58929,9 +59177,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58974,9 +59222,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *454 + default: *455 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59117,7 +59365,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &456 title: Team Membership description: Team Membership type: object @@ -59144,7 +59392,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &794 + response-if-user-is-a-team-maintainer: &795 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59207,9 +59455,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-users-membership-with-team-is-now-pending: &795 + response-if-users-membership-with-team-is-now-pending: &796 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -59316,14 +59564,14 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &796 + schema: &797 title: Team Repository description: A team's access to a repository. type: object @@ -59894,8 +60142,8 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 requestBody: required: false content: @@ -59942,8 +60190,8 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 responses: '204': description: Response @@ -59976,9 +60224,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60044,7 +60292,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -60089,7 +60337,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: &797 + response-if-child-teams-exist: &798 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60243,7 +60491,7 @@ paths: resources: type: object properties: - core: &460 + core: &461 title: Rate Limit type: object properties: @@ -60260,21 +60508,21 @@ paths: - remaining - reset - used - graphql: *460 - search: *460 - code_search: *460 - source_import: *460 - integration_manifest: *460 - code_scanning_upload: *460 - actions_runner_registration: *460 - scim: *460 - dependency_snapshots: *460 - dependency_sbom: *460 - code_scanning_autofix: *460 + graphql: *461 + search: *461 + code_search: *461 + source_import: *461 + integration_manifest: *461 + code_scanning_upload: *461 + actions_runner_registration: *461 + scim: *461 + dependency_snapshots: *461 + dependency_sbom: *461 + code_scanning_autofix: *461 required: - core - search - rate: *460 + rate: *461 required: - rate - resources @@ -60379,14 +60627,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: default-response: summary: Default response @@ -60891,7 +61139,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *462 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60909,8 +61157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -61167,10 +61415,10 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 - '307': &464 + default: *464 + '307': &465 description: Temporary Redirect content: application/json: @@ -61199,8 +61447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -61222,7 +61470,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': *464 + '307': *465 '404': *6 '409': *119 x-github: @@ -61246,11 +61494,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 - - &481 + - &482 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61273,7 +61521,7 @@ paths: type: integer artifacts: type: array - items: &465 + items: &466 title: Artifact description: An artifact type: object @@ -61351,7 +61599,7 @@ paths: - expires_at - updated_at examples: - default: &482 + default: &483 value: total_count: 2 artifacts: @@ -61412,9 +61660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *456 - *457 - - &466 + - *458 + - &467 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61426,7 +61674,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -61464,9 +61712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *456 - *457 - - *466 + - *458 + - *467 responses: '204': description: Response @@ -61490,9 +61738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *456 - *457 - - *466 + - *458 + - *467 - name: archive_format in: path required: true @@ -61506,7 +61754,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': &649 + '410': &650 description: Gone content: application/json: @@ -61531,14 +61779,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: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &467 + schema: &468 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -61571,13 +61819,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: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *467 + schema: *468 examples: selected_actions: *44 responses: @@ -61606,14 +61854,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: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &468 + schema: &469 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -61646,13 +61894,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: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *468 + schema: *469 examples: selected_actions: *46 responses: @@ -61683,14 +61931,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: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -61716,11 +61964,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: - - *456 - *457 + - *458 - *17 - *19 - - &470 + - &471 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 @@ -61754,7 +62002,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: Repository actions caches description: Repository actions caches type: object @@ -61796,7 +62044,7 @@ paths: - total_count - actions_caches examples: - default: &472 + default: &473 value: total_count: 1 actions_caches: @@ -61828,23 +62076,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: - - *456 - *457 + - *458 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61864,8 +62112,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: - - *456 - *457 + - *458 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61896,9 +62144,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: - - *456 - *457 - - &473 + - *458 + - &474 name: job_id description: The unique identifier of the job. in: path @@ -61910,7 +62158,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: Job description: Information of a job execution in a workflow run type: object @@ -62217,9 +62465,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: - - *456 - *457 - - *473 + - *458 + - *474 responses: '302': description: Response @@ -62247,9 +62495,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: - - *456 - *457 - - *473 + - *458 + - *474 requestBody: required: false content: @@ -62294,8 +62542,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: - - *456 - *457 + - *458 responses: '200': description: Status response @@ -62345,8 +62593,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -62409,8 +62657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -62428,7 +62676,7 @@ paths: type: integer secrets: type: array - items: &487 + items: &488 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62448,7 +62696,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &489 value: total_count: 2 secrets: @@ -62481,9 +62729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *456 - *457 - - *474 + - *458 + - *475 - *19 responses: '200': @@ -62500,7 +62748,7 @@ paths: type: integer variables: type: array - items: &491 + items: &492 title: Actions Variable type: object properties: @@ -62530,7 +62778,7 @@ paths: - created_at - updated_at examples: - default: &492 + default: &493 value: total_count: 2 variables: @@ -62563,8 +62811,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62573,7 +62821,7 @@ paths: schema: type: object properties: - enabled: &475 + enabled: &476 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -62608,8 +62856,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62620,7 +62868,7 @@ paths: schema: type: object properties: - enabled: *475 + enabled: *476 allowed_actions: *60 sha_pinning_required: *61 required: @@ -62653,14 +62901,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: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &476 + schema: &477 type: object properties: access_level: @@ -62678,7 +62926,7 @@ paths: required: - access_level examples: - default: &477 + default: &478 value: access_level: organization x-github: @@ -62703,15 +62951,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: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *476 + schema: *477 examples: - default: *477 + default: *478 responses: '204': description: Response @@ -62735,8 +62983,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62766,8 +63014,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: - - *456 - *457 + - *458 responses: '204': description: Empty response for successful settings update @@ -62801,8 +63049,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62829,8 +63077,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62864,8 +63112,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62893,8 +63141,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -62925,8 +63173,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62957,8 +63205,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62990,8 +63238,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -63020,8 +63268,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: - - *456 - *457 + - *458 responses: '204': description: Success response @@ -63061,8 +63309,8 @@ paths: in: query schema: type: string - - *456 - *457 + - *458 - *17 - *19 responses: @@ -63106,8 +63354,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -63139,8 +63387,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -63214,8 +63462,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: - - *456 - *457 + - *458 responses: '201': description: Response @@ -63251,8 +63499,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: - - *456 - *457 + - *458 responses: '201': description: Response @@ -63282,8 +63530,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: - - *456 - *457 + - *458 - *75 responses: '200': @@ -63313,8 +63561,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: - - *456 - *457 + - *458 - *75 responses: '204': @@ -63341,8 +63589,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: - - *456 - *457 + - *458 - *75 responses: '200': *81 @@ -63367,8 +63615,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: - - *456 - *457 + - *458 - *75 requestBody: required: true @@ -63417,8 +63665,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: - - *456 - *457 + - *458 - *75 requestBody: required: true @@ -63468,8 +63716,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: - - *456 - *457 + - *458 - *75 responses: '200': *291 @@ -63499,8 +63747,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: - - *456 - *457 + - *458 - *75 - *292 responses: @@ -63530,9 +63778,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: - - *456 - *457 - - &495 + - *458 + - &496 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. @@ -63540,7 +63788,7 @@ paths: required: false schema: type: string - - &496 + - &497 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63548,7 +63796,7 @@ paths: required: false schema: type: string - - &497 + - &498 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63557,7 +63805,7 @@ paths: required: false schema: type: string - - &498 + - &499 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 @@ -63584,7 +63832,7 @@ paths: - pending - *17 - *19 - - &499 + - &500 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)." @@ -63593,7 +63841,7 @@ paths: schema: type: string format: date-time - - &478 + - &479 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63602,13 +63850,13 @@ paths: schema: type: boolean default: false - - &500 + - &501 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &501 + - &502 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63631,7 +63879,7 @@ paths: type: integer workflow_runs: type: array - items: &479 + items: &480 title: Workflow Run description: An invocation of a workflow type: object @@ -63779,7 +64027,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &523 + properties: &524 id: type: string description: SHA for the commit @@ -63830,7 +64078,7 @@ paths: - name - email nullable: true - required: &524 + required: &525 - id - tree_id - message @@ -63877,7 +64125,7 @@ paths: - workflow_url - pull_requests examples: - default: &502 + default: &503 value: total_count: 1 workflow_runs: @@ -64113,24 +64361,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *456 - *457 - - &480 + - *458 + - &481 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *478 + - *479 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: &483 + default: &484 value: id: 30433642 name: Build @@ -64371,9 +64619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '204': description: Response @@ -64396,9 +64644,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: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -64517,9 +64765,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: - - *456 - *457 - - *480 + - *458 + - *481 responses: '201': description: Response @@ -64552,12 +64800,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *456 - *457 - - *480 + - *458 + - *481 - *17 - *19 - - *481 + - *482 responses: '200': description: Response @@ -64573,9 +64821,9 @@ paths: type: integer artifacts: type: array - items: *465 + items: *466 examples: - default: *482 + default: *483 headers: Link: *47 x-github: @@ -64599,25 +64847,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *456 - *457 - - *480 - - &484 + - *458 + - *481 + - &485 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *478 + - *479 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64640,10 +64888,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: - - *456 - *457 - - *480 - - *484 + - *458 + - *481 + - *485 - *17 - *19 responses: @@ -64661,9 +64909,9 @@ paths: type: integer jobs: type: array - items: *485 + items: *486 examples: - default: &486 + default: &487 value: total_count: 1 jobs: @@ -64776,10 +65024,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *456 - *457 - - *480 - - *484 + - *458 + - *481 + - *485 responses: '302': description: Response @@ -64807,9 +65055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '202': description: Response @@ -64842,9 +65090,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: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: true content: @@ -64911,9 +65159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '202': description: Response @@ -64946,9 +65194,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: - - *456 - *457 - - *480 + - *458 + - *481 - 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 @@ -64978,9 +65226,9 @@ paths: type: integer jobs: type: array - items: *485 + items: *486 examples: - default: *486 + default: *487 headers: Link: *47 x-github: @@ -65005,9 +65253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '302': description: Response @@ -65034,9 +65282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '204': description: Response @@ -65063,9 +65311,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: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -65125,7 +65373,7 @@ paths: items: type: object properties: - type: &615 + type: &616 type: string description: The type of reviewer. enum: @@ -65210,9 +65458,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: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: true content: @@ -65259,7 +65507,7 @@ paths: application/json: schema: type: array - items: &600 + items: &601 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65365,7 +65613,7 @@ paths: - created_at - updated_at examples: - default: &601 + default: &602 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65421,9 +65669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: false content: @@ -65467,9 +65715,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: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: false content: @@ -65523,9 +65771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -65662,8 +65910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -65681,9 +65929,9 @@ paths: type: integer secrets: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *47 x-github: @@ -65708,16 +65956,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65739,17 +65987,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &628 + default: &629 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65775,8 +66023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -65834,8 +66082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -65861,9 +66109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *456 - *457 - - *474 + - *458 + - *475 - *19 responses: '200': @@ -65880,9 +66128,9 @@ paths: type: integer variables: type: array - items: *491 + items: *492 examples: - default: *492 + default: *493 headers: Link: *47 x-github: @@ -65905,8 +66153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -65958,17 +66206,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 responses: '200': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &629 + default: &630 value: name: USERNAME value: octocat @@ -65994,8 +66242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 requestBody: required: true @@ -66038,8 +66286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 responses: '204': @@ -66065,8 +66313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -66084,7 +66332,7 @@ paths: type: integer workflows: type: array - items: &493 + items: &494 title: Workflow description: A GitHub Actions workflow type: object @@ -66191,9 +66439,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *456 - *457 - - &494 + - *458 + - &495 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66208,7 +66456,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: value: @@ -66241,9 +66489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66268,9 +66516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66321,9 +66569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66350,19 +66598,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: - - *456 - *457 - - *494 + - *458 - *495 - *496 - *497 - *498 + - *499 - *17 - *19 - - *499 - - *478 - *500 + - *479 - *501 + - *502 responses: '200': description: Response @@ -66378,9 +66626,9 @@ paths: type: integer workflow_runs: type: array - items: *479 + items: *480 examples: - default: *502 + default: *503 headers: Link: *47 x-github: @@ -66413,9 +66661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '200': description: Response @@ -66476,8 +66724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *456 - *457 + - *458 - *110 - *17 - *108 @@ -66641,8 +66889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -66679,8 +66927,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: - - *456 - *457 + - *458 - name: assignee in: path required: true @@ -66716,8 +66964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -66829,8 +67077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *456 - *457 + - *458 - *17 - *108 - *109 @@ -66887,7 +67135,7 @@ paths: initiator: type: string examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66907,8 +67155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -66916,7 +67164,7 @@ paths: application/json: schema: type: array - items: &504 + items: &505 title: Autolink reference description: An autolink reference. type: object @@ -66970,8 +67218,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -67010,9 +67258,9 @@ paths: description: response content: application/json: - schema: *504 + schema: *505 examples: - default: &505 + default: &506 value: id: 1 key_prefix: TICKET- @@ -67043,9 +67291,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: - - *456 - *457 - - &506 + - *458 + - &507 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67057,9 +67305,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -67079,9 +67327,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: - - *456 - *457 - - *506 + - *458 + - *507 responses: '204': description: Response @@ -67105,8 +67353,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: - - *456 - *457 + - *458 responses: '200': description: Response if Dependabot is enabled @@ -67154,8 +67402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -67176,8 +67424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -67197,8 +67445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *456 - *457 + - *458 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67236,7 +67484,7 @@ paths: - url protected: type: boolean - protection: &508 + protection: &509 title: Branch Protection description: Branch Protection type: object @@ -67278,7 +67526,7 @@ paths: required: - contexts - checks - enforce_admins: &511 + enforce_admins: &512 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67293,7 +67541,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &513 + required_pull_request_reviews: &514 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67369,7 +67617,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &510 + restrictions: &511 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67646,9 +67894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *456 - *457 - - &509 + - *458 + - &510 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). @@ -67662,14 +67910,14 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &573 + commit: &574 title: Commit description: Commit type: object @@ -67703,7 +67951,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &507 + properties: &508 name: type: string example: '"Chris Wanstrath"' @@ -67719,7 +67967,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true message: type: string @@ -67740,7 +67988,7 @@ paths: required: - sha - url - verification: &635 + verification: &636 title: Verification type: object properties: @@ -67810,7 +68058,7 @@ paths: type: integer files: type: array - items: &586 + items: &587 title: Diff Entry description: Diff Entry type: object @@ -67894,7 +68142,7 @@ paths: - self protected: type: boolean - protection: *508 + protection: *509 protection_url: type: string format: uri @@ -68001,7 +68249,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *462 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -68023,15 +68271,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -68225,9 +68473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -68482,7 +68730,7 @@ paths: url: type: string format: uri - required_status_checks: &516 + required_status_checks: &517 title: Status Check Policy description: Status Check Policy type: object @@ -68634,7 +68882,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *510 + restrictions: *511 required_conversation_resolution: type: object properties: @@ -68746,9 +68994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -68773,17 +69021,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &512 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68805,17 +69053,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68834,9 +69082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -68861,17 +69109,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: &514 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68967,9 +69215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69067,9 +69315,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -69090,9 +69338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69119,17 +69367,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &515 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69152,17 +69400,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *515 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -69182,9 +69430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69209,17 +69457,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &517 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69245,9 +69493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69299,9 +69547,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '404': *6 '422': *15 x-github: @@ -69323,9 +69571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69349,9 +69597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69385,9 +69633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69454,9 +69702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69520,9 +69768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: content: application/json: @@ -69588,15 +69836,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -69687,9 +69935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69712,9 +69960,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: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69724,7 +69972,7 @@ paths: type: array items: *5 examples: - default: &518 + default: &519 value: - id: 1 slug: octoapp @@ -69781,9 +70029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69817,7 +70065,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69838,9 +70086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69874,7 +70122,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69895,9 +70143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69931,7 +70179,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69953,9 +70201,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: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69985,9 +70233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -70046,9 +70294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -70107,9 +70355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: content: application/json: @@ -70168,9 +70416,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: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -70204,9 +70452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70264,9 +70512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70324,9 +70572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70386,9 +70634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70410,7 +70658,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -70524,8 +70772,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -70561,8 +70809,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70635,8 +70883,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -70676,8 +70924,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70747,8 +70995,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70819,8 +71067,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_response_id in: path required: true @@ -70853,8 +71101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -71133,7 +71381,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &521 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71253,7 +71501,7 @@ paths: check. type: array items: *226 - deployment: &857 + deployment: &860 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71533,9 +71781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *456 - *457 - - &521 + - *458 + - &522 name: check_run_id description: The unique identifier of the check run. in: path @@ -71547,9 +71795,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &522 + default: &523 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71649,9 +71897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *456 - *457 - - *521 + - *458 + - *522 requestBody: required: true content: @@ -71891,9 +72139,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *522 + default: *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71913,9 +72161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *456 - *457 - - *521 + - *458 + - *522 - *17 - *19 responses: @@ -72010,9 +72258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *456 - *457 - - *521 + - *458 + - *522 responses: '201': description: Response @@ -72056,8 +72304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -72079,7 +72327,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &525 + schema: &526 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72165,12 +72413,12 @@ paths: type: string format: date-time nullable: true - head_commit: &888 + head_commit: &891 title: Simple Commit description: A commit. type: object - properties: *523 - required: *524 + properties: *524 + required: *525 latest_check_runs_count: type: integer check_runs_url: @@ -72198,7 +72446,7 @@ paths: - check_runs_url - pull_requests examples: - default: &526 + default: &527 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72489,9 +72737,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72510,8 +72758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -72820,9 +73068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *456 - *457 - - &527 + - *458 + - &528 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72834,9 +73082,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72859,17 +73107,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: - - *456 - *457 - - *527 - - &579 + - *458 + - *528 + - &580 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &580 + - &581 name: status description: Returns check runs with the specified `status`. in: query @@ -72908,9 +73156,9 @@ paths: type: integer check_runs: type: array - items: *520 + items: *521 examples: - default: &581 + default: &582 value: total_count: 1 check_runs: @@ -73012,9 +73260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *456 - *457 - - *527 + - *458 + - *528 responses: '201': description: Response @@ -73047,21 +73295,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: - - *456 - *457 + - *458 - *317 - *318 - *19 - *17 - - &543 + - &544 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: *528 - - &544 + schema: *529 + - &545 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73092,7 +73340,7 @@ paths: be returned. in: query required: false - schema: *529 + schema: *530 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73116,7 +73364,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *530 + instances_url: *531 state: *113 fixed_at: *138 dismissed_by: @@ -73127,11 +73375,11 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *531 - dismissed_comment: *532 - rule: *533 - tool: *534 - most_recent_instance: *535 + dismissed_reason: *532 + dismissed_comment: *533 + rule: *534 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73257,7 +73505,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &536 + '403': &537 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73284,9 +73532,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: - - *456 - *457 - - &537 + - *458 + - &538 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73300,7 +73548,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &539 type: object properties: number: *128 @@ -73308,7 +73556,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *530 + instances_url: *531 state: *113 fixed_at: *138 dismissed_by: @@ -73319,8 +73567,8 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *531 - dismissed_comment: *532 + dismissed_reason: *532 + dismissed_comment: *533 rule: type: object properties: @@ -73374,8 +73622,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *534 - most_recent_instance: *535 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73474,7 +73722,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73494,9 +73742,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: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: true content: @@ -73511,8 +73759,8 @@ paths: enum: - open - dismissed - dismissed_reason: *531 - dismissed_comment: *532 + dismissed_reason: *532 + dismissed_comment: *533 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73540,7 +73788,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: default: value: @@ -73616,7 +73864,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &542 + '403': &543 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73643,15 +73891,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: - - *456 - *457 - - *537 + - *458 + - *538 responses: '200': description: Response content: application/json: - schema: &539 + schema: &540 type: object properties: status: @@ -73677,13 +73925,13 @@ paths: - description - started_at examples: - default: &540 + default: &541 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &541 + '400': &542 description: Bad Request content: application/json: @@ -73694,7 +73942,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': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73719,29 +73967,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: - - *456 - *457 - - *537 + - *458 + - *538 responses: '200': description: OK content: application/json: - schema: *539 + schema: *540 examples: - default: *540 + default: *541 '202': description: Accepted content: application/json: - schema: *539 + schema: *540 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *541 + '400': *542 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73773,9 +74021,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: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: false content: @@ -73820,8 +74068,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *541 - '403': *542 + '400': *542 + '403': *543 '404': *6 '422': description: Unprocessable Entity @@ -73845,13 +74093,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: - - *456 - *457 - - *537 + - *458 + - *538 - *19 - *17 - - *543 - *544 + - *545 responses: '200': description: Response @@ -73862,10 +74110,10 @@ paths: items: type: object properties: - ref: *528 - analysis_key: *545 - environment: *546 - category: *547 + ref: *529 + analysis_key: *546 + environment: *547 + category: *548 state: type: string description: State of a code scanning alert instance. @@ -73880,7 +74128,7 @@ paths: properties: text: type: string - location: *548 + location: *549 html_url: type: string classifications: @@ -73888,7 +74136,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: *549 + items: *550 examples: default: value: @@ -73927,7 +74175,7 @@ paths: end_column: 50 classifications: - source - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73961,25 +74209,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: - - *456 - *457 + - *458 - *317 - *318 - *19 - *17 - - *544 + - *545 - 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: *528 + schema: *529 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &550 + schema: &551 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74000,23 +74248,23 @@ paths: application/json: schema: type: array - items: &551 + items: &552 type: object properties: - ref: *528 - commit_sha: &559 + ref: *529 + commit_sha: &560 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: *545 + analysis_key: *546 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *547 + category: *548 error: type: string example: error reading field xyz @@ -74040,8 +74288,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *550 - tool: *534 + sarif_id: *551 + tool: *535 deletable: type: boolean warning: @@ -74102,7 +74350,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74138,8 +74386,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: - - *456 - *457 + - *458 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74152,7 +74400,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: response: summary: application/json response @@ -74175,13 +74423,13 @@ paths: version: 2.4.0 deletable: true warning: '' - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true examples: response: - summary: application/json+sarif response + summary: application/sarif+json response value: runs: - tool: @@ -74206,7 +74454,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *536 + '403': *537 '404': *6 '422': description: Response if analysis could not be processed @@ -74293,8 +74541,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: - - *456 - *457 + - *458 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74347,7 +74595,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': *542 + '403': *543 '404': *6 '503': *196 x-github: @@ -74369,8 +74617,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -74378,7 +74626,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: CodeQL Database description: A CodeQL database. type: object @@ -74489,7 +74737,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': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74518,8 +74766,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: - - *456 - *457 + - *458 - name: language in: path description: The language of the CodeQL database. @@ -74531,7 +74779,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -74563,9 +74811,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': &588 + '302': &589 description: Found - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74587,8 +74835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *456 - *457 + - *458 - name: language in: path description: The language of the CodeQL database. @@ -74598,7 +74846,7 @@ paths: responses: '204': description: Response - '403': *542 + '403': *543 '404': *6 '503': *196 x-github: @@ -74626,8 +74874,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -74636,7 +74884,7 @@ paths: type: object additionalProperties: false properties: - language: &553 + language: &554 type: string description: The language targeted by the CodeQL query enum: @@ -74716,7 +74964,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &557 + schema: &558 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74726,7 +74974,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *553 + query_language: *554 query_pack_url: type: string description: The download url for the query pack. @@ -74773,7 +75021,7 @@ paths: items: type: object properties: - repository: &554 + repository: &555 title: Repository Identifier description: Repository Identifier type: object @@ -74809,7 +75057,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &558 + analysis_status: &559 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74841,7 +75089,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &555 + access_mismatch_repos: &556 type: object properties: repository_count: @@ -74855,7 +75103,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: *554 + items: *555 required: - repository_count - repositories @@ -74877,8 +75125,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *555 - over_limit_repos: *555 + no_codeql_db_repos: *556 + over_limit_repos: *556 required: - access_mismatch_repos - not_found_repos @@ -74894,7 +75142,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &556 + value: &557 summary: Default response value: id: 1 @@ -75040,10 +75288,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *556 + value: *557 repository_lists: summary: Response for a successful variant analysis submission - value: *556 + value: *557 '404': *6 '422': description: Unable to process variant analysis submission @@ -75071,8 +75319,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: - - *456 - *457 + - *458 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75084,9 +75332,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *556 + default: *557 '404': *6 '503': *196 x-github: @@ -75109,7 +75357,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: - - *456 + - *457 - name: repo in: path description: The name of the controller repository. @@ -75144,7 +75392,7 @@ paths: type: object properties: repository: *120 - analysis_status: *558 + analysis_status: *559 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75269,8 +75517,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -75355,7 +75603,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -75376,8 +75624,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -75469,7 +75717,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *542 + '403': *543 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75540,8 +75788,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -75549,7 +75797,7 @@ paths: schema: type: object properties: - commit_sha: *559 + commit_sha: *560 ref: type: string description: |- @@ -75607,7 +75855,7 @@ paths: schema: type: object properties: - id: *550 + id: *551 url: type: string description: The REST API URL for checking the status of the upload. @@ -75621,7 +75869,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': *542 + '403': *543 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75644,8 +75892,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: - - *456 - *457 + - *458 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75691,7 +75939,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': *536 + '403': *537 '404': description: Not Found if the sarif id does not match any upload '503': *196 @@ -75716,8 +75964,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -75798,8 +76046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *456 - *457 + - *458 - 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 @@ -75919,8 +76167,8 @@ paths: parameters: - *17 - *19 - - *456 - *457 + - *458 responses: '200': description: Response @@ -76234,8 +76482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -76300,7 +76548,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76308,7 +76556,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '400': *14 '401': *25 '403': *29 @@ -76337,8 +76585,8 @@ paths: parameters: - *17 - *19 - - *456 - *457 + - *458 responses: '200': description: Response @@ -76402,8 +76650,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: - - *456 - *457 + - *458 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76438,14 +76686,14 @@ paths: type: integer machines: type: array - items: &804 + items: &805 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *561 - required: *562 + properties: *562 + required: *563 examples: - default: &805 + default: &806 value: total_count: 2 machines: @@ -76485,8 +76733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *456 - *457 + - *458 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76570,8 +76818,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: - - *456 - *457 + - *458 - 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 @@ -76637,8 +76885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -76656,7 +76904,7 @@ paths: type: integer secrets: type: array - items: &566 + items: &567 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76676,7 +76924,7 @@ paths: - created_at - updated_at examples: - default: *563 + default: *564 headers: Link: *47 x-github: @@ -76699,16 +76947,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76728,17 +76976,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76758,8 +77006,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: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -76812,8 +77060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -76842,8 +77090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *456 - *457 + - *458 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76885,7 +77133,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &568 + properties: &569 login: type: string example: octocat @@ -76978,7 +77226,7 @@ paths: user_view_type: type: string example: public - required: &569 + required: &570 - avatar_url - events_url - followers_url @@ -77052,8 +77300,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: - - *456 - *457 + - *458 - *143 responses: '204': @@ -77100,8 +77348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 requestBody: required: false @@ -77128,7 +77376,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &648 + schema: &649 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77357,8 +77605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 responses: '204': @@ -77390,8 +77638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *456 - *457 + - *458 - *143 responses: '200': @@ -77412,8 +77660,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *568 - required: *569 + properties: *569 + required: *570 nullable: true required: - permission @@ -77468,8 +77716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -77479,7 +77727,7 @@ paths: application/json: schema: type: array - items: &570 + items: &571 title: Commit Comment description: Commit Comment type: object @@ -77537,7 +77785,7 @@ paths: - created_at - updated_at examples: - default: &575 + default: &576 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77596,17 +77844,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: &576 + default: &577 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77663,8 +77911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -77687,7 +77935,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -77738,8 +77986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -77761,8 +78009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -77789,7 +78037,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77832,7 +78080,7 @@ paths: - content - created_at examples: - default: &652 + default: &653 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77877,8 +78125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -77911,9 +78159,9 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: &572 + default: &573 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77942,9 +78190,9 @@ paths: description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -77966,10 +78214,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - &653 + - &654 name: reaction_id description: The unique identifier of the reaction. in: path @@ -78024,8 +78272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *456 - *457 + - *458 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78081,9 +78329,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: &702 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78177,9 +78425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *456 - *457 - - &574 + - *458 + - &575 name: commit_sha description: The SHA of the commit. in: path @@ -78251,9 +78499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *456 - *457 - - *574 + - *458 + - *575 - *17 - *19 responses: @@ -78263,9 +78511,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: *575 + default: *576 headers: Link: *47 x-github: @@ -78293,9 +78541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *456 - *457 - - *574 + - *458 + - *575 requestBody: required: true content: @@ -78330,9 +78578,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *576 + default: *577 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78360,9 +78608,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: - - *456 - *457 - - *574 + - *458 + - *575 - *17 - *19 responses: @@ -78372,9 +78620,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: &694 + default: &695 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78911,11 +79159,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *456 - *457 + - *458 - *19 - *17 - - &578 + - &579 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)" @@ -78930,9 +79178,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &679 + default: &680 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79045,11 +79293,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: - - *456 - *457 - - *578 + - *458 - *579 - *580 + - *581 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79083,9 +79331,9 @@ paths: type: integer check_runs: type: array - items: *520 + items: *521 examples: - default: *581 + default: *582 headers: Link: *47 x-github: @@ -79110,9 +79358,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: - - *456 - *457 - - *578 + - *458 + - *579 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79120,7 +79368,7 @@ paths: schema: type: integer example: 1 - - *579 + - *580 - *17 - *19 responses: @@ -79138,7 +79386,7 @@ paths: type: integer check_suites: type: array - items: *525 + items: *526 examples: default: value: @@ -79338,9 +79586,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: - - *456 - *457 - - *578 + - *458 + - *579 - *17 - *19 responses: @@ -79538,9 +79786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *456 - *457 - - *578 + - *458 + - *579 - *17 - *19 responses: @@ -79550,7 +79798,7 @@ paths: application/json: schema: type: array - items: &755 + items: &756 title: Status description: The status of a commit. type: object @@ -79631,7 +79879,7 @@ paths: site_admin: false headers: Link: *47 - '301': *462 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79659,8 +79907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -79689,20 +79937,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *582 - required: *583 + properties: *583 + required: *584 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &584 + properties: &585 url: type: string format: uri html_url: type: string format: uri - required: &585 + required: &586 - url - html_url nullable: true @@ -79716,26 +79964,26 @@ paths: contributing: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true readme: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true issue_template: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true pull_request_template: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - code_of_conduct @@ -79862,8 +80110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *456 - *457 + - *458 - *19 - *17 - name: basehead @@ -79906,8 +80154,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *573 - merge_base_commit: *573 + base_commit: *574 + merge_base_commit: *574 status: type: string enum: @@ -79927,10 +80175,10 @@ paths: example: 6 commits: type: array - items: *573 + items: *574 files: type: array - items: *586 + items: *587 required: - url - html_url @@ -80216,8 +80464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -80360,7 +80608,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &587 + response-if-content-is-a-file: &588 summary: Response if content is a file value: type: file @@ -80492,7 +80740,7 @@ paths: - size - type - url - - &707 + - &708 title: Content File description: Content File type: object @@ -80693,7 +80941,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *587 + response-if-content-is-a-file: *588 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80762,7 +81010,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *588 + '302': *589 '304': *37 x-github: githubCloudOnly: false @@ -80785,8 +81033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -80879,7 +81127,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &590 title: File Commit description: File Commit type: object @@ -81031,7 +81279,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: example-for-creating-a-file: value: @@ -81085,7 +81333,7 @@ paths: schema: oneOf: - *3 - - &630 + - &631 description: Repository rule violation was detected type: object properties: @@ -81106,7 +81354,7 @@ paths: items: type: object properties: - placeholder_id: &747 + placeholder_id: &748 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81138,8 +81386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -81200,7 +81448,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -81255,8 +81503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *456 - *457 + - *458 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81379,8 +81627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *456 - *457 + - *458 - *332 - *333 - *334 @@ -81392,7 +81640,7 @@ paths: schema: type: string - *336 - - *590 + - *591 - *337 - *338 - *110 @@ -81413,7 +81661,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 type: object description: A Dependabot alert. properties: @@ -81459,7 +81707,7 @@ paths: - unknown - direct - transitive - security_advisory: *591 + security_advisory: *592 security_vulnerability: *132 url: *133 html_url: *134 @@ -81490,8 +81738,8 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: *592 - dismissal_request: *593 + auto_dismissed_at: *593 + dismissal_request: *594 required: - number - state @@ -81721,9 +81969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *456 - *457 - - &595 + - *458 + - &596 name: alert_number in: path description: |- @@ -81738,7 +81986,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -81851,9 +82099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *456 - *457 - - *595 + - *458 + - *596 requestBody: required: true content: @@ -81898,7 +82146,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -82027,8 +82275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -82046,7 +82294,7 @@ paths: type: integer secrets: type: array - items: &598 + items: &599 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82099,16 +82347,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82128,15 +82376,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *598 + schema: *599 examples: default: value: @@ -82162,8 +82410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -82216,8 +82464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -82240,8 +82488,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: - - *456 - *457 + - *458 - 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 @@ -82401,8 +82649,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -82641,8 +82889,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -82717,7 +82965,7 @@ paths: - version - url additionalProperties: false - metadata: &599 + metadata: &600 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82750,7 +82998,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *599 + metadata: *600 resolved: type: object description: A collection of resolved package dependencies. @@ -82763,7 +83011,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *599 + metadata: *600 relationship: type: string description: A notation of whether a dependency is requested @@ -82892,8 +83140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *456 - *457 + - *458 - name: sha description: The SHA recorded at creation time. in: query @@ -82933,9 +83181,9 @@ paths: application/json: schema: type: array - items: *600 + items: *601 examples: - default: *601 + default: *602 headers: Link: *47 x-github: @@ -83001,8 +83249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -83083,7 +83331,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: simple-example: summary: Simple example @@ -83156,9 +83404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *456 - *457 - - &602 + - *458 + - &603 name: deployment_id description: deployment_id parameter in: path @@ -83170,7 +83418,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: default: value: @@ -83235,9 +83483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *456 - *457 - - *602 + - *458 + - *603 responses: '204': description: Response @@ -83259,9 +83507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *456 - *457 - - *602 + - *458 + - *603 - *17 - *19 responses: @@ -83271,7 +83519,7 @@ paths: application/json: schema: type: array - items: &603 + items: &604 title: Deployment Status description: The status of a deployment. type: object @@ -83432,9 +83680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *456 - *457 - - *602 + - *458 + - *603 requestBody: required: true content: @@ -83509,9 +83757,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &604 + default: &605 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83567,9 +83815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *456 - *457 - - *602 + - *458 + - *603 - name: status_id in: path required: true @@ -83580,9 +83828,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *604 + default: *605 '404': *6 x-github: githubCloudOnly: false @@ -83609,12 +83857,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 - - *605 + - *458 - *606 - *607 - *608 + - *609 - *17 - *19 responses: @@ -83624,9 +83872,9 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: - default: *610 + default: *611 '404': *6 '403': *29 '500': *40 @@ -83650,8 +83898,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83663,7 +83911,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *609 + schema: *610 examples: default: value: @@ -83719,8 +83967,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83779,12 +84027,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 - - *605 + - *458 - *606 - *607 - *608 + - *609 - *17 - *19 responses: @@ -83794,9 +84042,9 @@ paths: application/json: schema: type: array - items: *611 + items: *612 examples: - default: *612 + default: *613 '404': *6 '403': *29 '500': *40 @@ -83820,8 +84068,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83833,7 +84081,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -83884,8 +84132,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83923,7 +84171,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -83974,8 +84222,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84046,8 +84294,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84080,8 +84328,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -84095,9 +84343,9 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: - default: *614 + default: *615 '404': *6 '403': *29 '500': *40 @@ -84122,8 +84370,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84135,7 +84383,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -84193,8 +84441,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84263,8 +84511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -84321,8 +84569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -84339,7 +84587,7 @@ paths: type: integer environments: type: array - items: &616 + items: &617 title: Environment description: Details of a deployment environment type: object @@ -84391,7 +84639,7 @@ paths: type: type: string example: wait_timer - wait_timer: &618 + wait_timer: &619 type: integer example: 30 description: The amount of time to delay a job after @@ -84428,7 +84676,7 @@ paths: items: type: object properties: - type: *615 + type: *616 reviewer: anyOf: - *4 @@ -84452,7 +84700,7 @@ paths: - id - node_id - type - deployment_branch_policy: &619 + deployment_branch_policy: &620 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -84568,9 +84816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *456 - *457 - - &617 + - *458 + - &618 name: environment_name in: path required: true @@ -84583,9 +84831,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &620 + default: &621 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84669,9 +84917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: false content: @@ -84680,7 +84928,7 @@ paths: type: object nullable: true properties: - wait_timer: *618 + wait_timer: *619 prevent_self_review: type: boolean example: false @@ -84697,13 +84945,13 @@ paths: items: type: object properties: - type: *615 + type: *616 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *619 + deployment_branch_policy: *620 additionalProperties: false examples: default: @@ -84723,9 +84971,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *620 + default: *621 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84749,9 +84997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *456 - *457 - - *617 + - *458 + - *618 responses: '204': description: Default response @@ -84776,9 +85024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *17 - *19 responses: @@ -84796,7 +85044,7 @@ paths: example: 2 branch_policies: type: array - items: &621 + items: &622 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84853,9 +85101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: true content: @@ -84901,9 +85149,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - example-wildcard: &622 + example-wildcard: &623 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84945,10 +85193,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - &623 + - *458 + - *618 + - &624 name: branch_policy_id in: path required: true @@ -84960,9 +85208,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84981,10 +85229,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - *623 + - *458 + - *618 + - *624 requestBody: required: true content: @@ -85012,9 +85260,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85033,10 +85281,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - *623 + - *458 + - *618 + - *624 responses: '204': description: Response @@ -85061,9 +85309,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: - - *617 + - *618 + - *458 - *457 - - *456 responses: '200': description: List of deployment protection rules @@ -85079,7 +85327,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &624 + items: &625 title: Deployment protection rule description: Deployment protection rule type: object @@ -85098,7 +85346,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &625 + app: &626 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85197,9 +85445,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: - - *617 + - *618 + - *458 - *457 - - *456 requestBody: content: application/json: @@ -85220,9 +85468,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *624 + schema: *625 examples: - default: &626 + default: &627 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85257,9 +85505,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: - - *617 + - *618 + - *458 - *457 - - *456 - *19 - *17 responses: @@ -85278,7 +85526,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *625 + items: *626 examples: default: value: @@ -85313,10 +85561,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: - - *456 - *457 - - *617 - - &627 + - *458 + - *618 + - &628 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85328,9 +85576,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85351,10 +85599,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: - - *617 + - *618 + - *458 - *457 - - *456 - - *627 + - *628 responses: '204': description: Response @@ -85380,9 +85628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *17 - *19 responses: @@ -85400,9 +85648,9 @@ paths: type: integer secrets: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *47 x-github: @@ -85427,17 +85675,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *456 - *457 - - *617 + - *458 + - *618 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85459,18 +85707,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *628 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85492,9 +85740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 requestBody: required: true @@ -85552,9 +85800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 responses: '204': @@ -85580,10 +85828,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *456 - *457 - - *617 - - *474 + - *458 + - *618 + - *475 - *19 responses: '200': @@ -85600,9 +85848,9 @@ paths: type: integer variables: type: array - items: *491 + items: *492 examples: - default: *492 + default: *493 headers: Link: *47 x-github: @@ -85625,9 +85873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: true content: @@ -85679,18 +85927,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *297 responses: '200': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85711,10 +85959,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *456 - *457 + - *458 - *297 - - *617 + - *618 requestBody: required: true content: @@ -85756,10 +86004,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *456 - *457 + - *458 - *297 - - *617 + - *618 responses: '204': description: Response @@ -85781,8 +86029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -85850,8 +86098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *456 - *457 + - *458 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86010,8 +86258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -86043,9 +86291,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 '400': *14 '422': *15 '403': *29 @@ -86066,8 +86314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86127,7 +86375,7 @@ paths: schema: oneOf: - *259 - - *630 + - *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86152,8 +86400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *456 - *457 + - *458 - name: file_sha in: path required: true @@ -86252,8 +86500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86362,7 +86610,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &632 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86576,15 +86824,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *456 - *457 - - *574 + - *458 + - *575 responses: '200': description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -86640,9 +86888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *456 - *457 - - &632 + - *458 + - &633 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. @@ -86659,7 +86907,7 @@ paths: application/json: schema: type: array - items: &633 + items: &634 title: Git Reference description: Git references within a repository type: object @@ -86734,17 +86982,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 responses: '200': description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: &634 + default: &635 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86773,8 +87021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86803,9 +87051,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *634 + default: *635 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86831,9 +87079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 requestBody: required: true content: @@ -86862,9 +87110,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *634 + default: *635 '422': *15 '409': *119 x-github: @@ -86882,9 +87130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 responses: '204': description: Response @@ -86939,8 +87187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -87007,7 +87255,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &637 title: Git Tag description: Metadata for a Git tag type: object @@ -87058,7 +87306,7 @@ paths: - sha - type - url - verification: *635 + verification: *636 required: - sha - url @@ -87068,7 +87316,7 @@ paths: - tag - message examples: - default: &637 + default: &638 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87141,8 +87389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *456 - *457 + - *458 - name: tag_sha in: path required: true @@ -87153,9 +87401,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 '404': *6 '409': *119 x-github: @@ -87179,8 +87427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -87253,7 +87501,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &639 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87349,8 +87597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *456 - *457 + - *458 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87373,7 +87621,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default-response: summary: Default response @@ -87432,8 +87680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -87443,7 +87691,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Webhook description: Webhooks for repositories. type: object @@ -87497,7 +87745,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &896 + last_response: &899 title: Hook Response type: object properties: @@ -87571,8 +87819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -87624,9 +87872,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &640 + default: &641 value: type: Repository id: 12345678 @@ -87674,17 +87922,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '200': description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -87704,8 +87952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 requestBody: required: true @@ -87751,9 +87999,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '422': *15 '404': *6 x-github: @@ -87774,8 +88022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -87800,8 +88048,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: - - *456 - *457 + - *458 - *348 responses: '200': @@ -87829,8 +88077,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: - - *456 - *457 + - *458 - *348 requestBody: required: false @@ -87875,8 +88123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 - *17 - *349 @@ -87908,8 +88156,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: - - *456 - *457 + - *458 - *348 - *16 responses: @@ -87938,8 +88186,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: - - *456 - *457 + - *458 - *348 - *16 responses: @@ -87963,8 +88211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -87990,8 +88238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -88015,8 +88263,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: - - *456 - *457 + - *458 responses: '200': description: Response if immutable releases are enabled @@ -88062,8 +88310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *456 - *457 + - *458 responses: '204': *155 '409': *119 @@ -88083,8 +88331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *456 - *457 + - *458 responses: '204': *155 '409': *119 @@ -88141,14 +88389,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &641 + schema: &642 title: Import description: A repository import from an external source. type: object @@ -88247,7 +88495,7 @@ paths: - html_url - authors_url examples: - default: &644 + default: &645 value: vcs: subversion use_lfs: true @@ -88263,7 +88511,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': &642 + '503': &643 description: Unavailable due to service under maintenance. content: application/json: @@ -88292,8 +88540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -88341,7 +88589,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -88366,7 +88614,7 @@ paths: type: string '422': *15 '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88394,8 +88642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -88444,7 +88692,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: example-1: summary: Example 1 @@ -88492,7 +88740,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': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88515,12 +88763,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *456 - *457 + - *458 responses: '204': description: Response - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88546,9 +88794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *456 - *457 - - &826 + - *458 + - &827 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88562,7 +88810,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Porter Author description: Porter Author type: object @@ -88616,7 +88864,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': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88641,8 +88889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *456 - *457 + - *458 - name: author_id in: path required: true @@ -88672,7 +88920,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: default: value: @@ -88685,7 +88933,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88709,8 +88957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88751,7 +88999,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88779,8 +89027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -88807,11 +89055,11 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *644 + default: *645 '422': *15 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88834,8 +89082,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88843,8 +89091,8 @@ paths: application/json: schema: *22 examples: - default: *645 - '301': *462 + default: *646 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -88864,8 +89112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88878,7 +89126,7 @@ paths: properties: {} additionalProperties: false examples: - default: &647 + default: &648 value: limit: collaborators_only origin: repository @@ -88903,13 +89151,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *646 + schema: *647 examples: default: summary: Example request body @@ -88923,7 +89171,7 @@ paths: application/json: schema: *366 examples: - default: *647 + default: *648 '409': description: Response x-github: @@ -88945,8 +89193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -88969,8 +89217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -88980,9 +89228,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: &819 + default: &820 value: - id: 1 repository: @@ -89113,8 +89361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *456 - *457 + - *458 - *370 requestBody: required: false @@ -89144,7 +89392,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: default: value: @@ -89275,8 +89523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *456 - *457 + - *458 - *370 responses: '204': @@ -89308,8 +89556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *456 - *457 + - *458 - 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 @@ -89382,7 +89630,7 @@ paths: type: array items: *221 examples: - default: &660 + default: &661 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89530,7 +89778,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *462 + '301': *463 '422': *15 '404': *6 x-github: @@ -89559,8 +89807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -89644,7 +89892,7 @@ paths: application/json: schema: *221 examples: - default: &657 + default: &658 value: id: 1 node_id: MDU6SXNzdWUx @@ -89800,7 +90048,7 @@ paths: '422': *15 '503': *196 '404': *6 - '410': *649 + '410': *650 x-github: triggersNotification: true githubCloudOnly: false @@ -89828,8 +90076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *456 - *457 + - *458 - *245 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89850,9 +90098,9 @@ paths: application/json: schema: type: array - items: *650 + items: *651 examples: - default: &659 + default: &660 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89910,17 +90158,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89974,8 +90222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -89998,9 +90246,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '422': *15 x-github: githubCloudOnly: false @@ -90018,8 +90266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -90040,8 +90288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90068,9 +90316,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -90091,8 +90339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -90125,16 +90373,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -90156,10 +90404,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - *653 + - *654 responses: '204': description: Response @@ -90179,8 +90427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -90190,7 +90438,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Issue Event description: Issue Event type: object @@ -90233,8 +90481,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *654 - required: *655 + properties: *655 + required: *656 nullable: true label: title: Issue Event Label @@ -90541,8 +90789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *456 - *457 + - *458 - name: event_id in: path required: true @@ -90553,7 +90801,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: default: value: @@ -90745,7 +90993,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *649 + '410': *650 '403': *29 x-github: githubCloudOnly: false @@ -90779,9 +91027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *456 - *457 - - &658 + - *458 + - &659 name: issue_number description: The number that identifies the issue. in: path @@ -90795,10 +91043,10 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '404': *6 - '410': *649 + '410': *650 '304': *37 x-github: githubCloudOnly: false @@ -90823,9 +91071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -90931,13 +91179,13 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 '422': *15 '503': *196 '403': *29 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90955,9 +91203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -90985,7 +91233,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91001,9 +91249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: content: application/json: @@ -91030,7 +91278,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,9 +91300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: assignee in: path required: true @@ -91094,9 +91342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *228 - *17 - *19 @@ -91107,13 +91355,13 @@ paths: application/json: schema: type: array - items: *650 + items: *651 examples: - default: *659 + default: *660 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91142,9 +91390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -91166,16 +91414,16 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -91203,9 +91451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91217,12 +91465,12 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91250,9 +91498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -91276,15 +91524,15 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *462 + '301': *463 '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -91315,9 +91563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91331,13 +91579,13 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *649 + '410': *650 x-github: triggersNotification: true githubCloudOnly: false @@ -91363,9 +91611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91377,12 +91625,12 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91399,9 +91647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91415,7 +91663,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &662 + - &663 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91469,7 +91717,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &663 + - &664 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91605,7 +91853,7 @@ paths: - performed_via_github_app - assignee - assigner - - &664 + - &665 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91656,7 +91904,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &665 + - &666 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91707,7 +91955,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &666 + - &667 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91761,7 +92009,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &667 + - &668 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91808,7 +92056,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &668 + - &669 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91855,7 +92103,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &670 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91915,7 +92163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &671 title: Locked Issue Event description: Locked Issue Event type: object @@ -91963,7 +92211,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &672 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92029,7 +92277,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &673 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92095,7 +92343,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &674 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92161,7 +92409,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &675 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92252,7 +92500,7 @@ paths: color: red headers: Link: *47 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92269,9 +92517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -92283,7 +92531,7 @@ paths: type: array items: *220 examples: - default: &661 + default: &662 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92301,9 +92549,9 @@ paths: default: false headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92320,9 +92568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92383,10 +92631,10 @@ paths: type: array items: *220 examples: - default: *661 - '301': *462 + default: *662 + '301': *463 '404': *6 - '410': *649 + '410': *650 '422': *15 x-github: githubCloudOnly: false @@ -92403,9 +92651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92467,10 +92715,10 @@ paths: type: array items: *220 examples: - default: *661 - '301': *462 + default: *662 + '301': *463 '404': *6 - '410': *649 + '410': *650 '422': *15 x-github: githubCloudOnly: false @@ -92487,15 +92735,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '204': description: Response - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92514,9 +92762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: name in: path required: true @@ -92540,9 +92788,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92562,9 +92810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92592,7 +92840,7 @@ paths: '204': description: Response '403': *29 - '410': *649 + '410': *650 '404': *6 '422': *15 x-github: @@ -92610,9 +92858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '204': description: Response @@ -92642,9 +92890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '200': description: Response @@ -92652,10 +92900,10 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92672,9 +92920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -92700,13 +92948,13 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92724,9 +92972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92758,16 +93006,16 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -92789,10 +93037,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *456 - *457 - - *658 - - *653 + - *458 + - *659 + - *654 responses: '204': description: Response @@ -92821,9 +93069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92847,7 +93095,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92880,9 +93128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -92894,11 +93142,11 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92926,9 +93174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92957,14 +93205,14 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -92984,9 +93232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -93019,7 +93267,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 '403': *29 '404': *6 '422': *7 @@ -93041,9 +93289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -93058,7 +93306,6 @@ paths: description: Timeline Event type: object anyOf: - - *662 - *663 - *664 - *665 @@ -93071,6 +93318,7 @@ paths: - *672 - *673 - *674 + - *675 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93379,7 +93627,7 @@ paths: type: string comments: type: array - items: &696 + items: &697 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93594,7 +93842,7 @@ paths: type: string comments: type: array - items: *570 + items: *571 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93883,7 +94131,7 @@ paths: headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93900,8 +94148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -93911,7 +94159,7 @@ paths: application/json: schema: type: array - items: &675 + items: &676 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93977,8 +94225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94014,9 +94262,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: &676 + default: &677 value: id: 1 key: ssh-rsa AAA... @@ -94050,9 +94298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *456 - *457 - - &677 + - *458 + - &678 name: key_id description: The unique identifier of the key. in: path @@ -94064,9 +94312,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: *676 + default: *677 '404': *6 x-github: githubCloudOnly: false @@ -94084,9 +94332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *456 - *457 - - *677 + - *458 + - *678 responses: '204': description: Response @@ -94106,8 +94354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -94119,7 +94367,7 @@ paths: type: array items: *220 examples: - default: *661 + default: *662 headers: Link: *47 '404': *6 @@ -94140,8 +94388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94179,7 +94427,7 @@ paths: application/json: schema: *220 examples: - default: &678 + default: &679 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94211,8 +94459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94225,7 +94473,7 @@ paths: application/json: schema: *220 examples: - default: *678 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -94242,8 +94490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94308,8 +94556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94335,8 +94583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -94372,8 +94620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *456 - *457 + - *458 responses: '202': *39 '403': @@ -94401,8 +94649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -94428,9 +94676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *456 - *457 - - *543 + - *458 + - *544 responses: '200': description: Response @@ -94575,8 +94823,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94641,8 +94889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94676,9 +94924,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *573 + schema: *574 examples: - default: *679 + default: *680 '204': description: Response when already merged '404': @@ -94703,8 +94951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *456 - *457 + - *458 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94745,7 +94993,7 @@ paths: application/json: schema: type: array - items: &680 + items: &681 title: Milestone description: A collection of related issues and pull requests. type: object @@ -94806,8 +95054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94847,9 +95095,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: &681 + default: &682 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94908,9 +95156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *456 - *457 - - &682 + - *458 + - &683 name: milestone_number description: The number that identifies the milestone. in: path @@ -94922,9 +95170,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 '404': *6 x-github: githubCloudOnly: false @@ -94941,9 +95189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 requestBody: required: false content: @@ -94981,9 +95229,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94999,9 +95247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 responses: '204': description: Response @@ -95022,9 +95270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 - *17 - *19 responses: @@ -95036,7 +95284,7 @@ paths: type: array items: *220 examples: - default: *661 + default: *662 headers: Link: *47 x-github: @@ -95055,12 +95303,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *456 - *457 - - *683 + - *458 - *684 - - *228 - *685 + - *228 + - *686 - *17 - *19 responses: @@ -95072,7 +95320,7 @@ paths: type: array items: *248 examples: - default: *686 + default: *687 headers: Link: *47 x-github: @@ -95096,8 +95344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -95155,14 +95403,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &687 + schema: &688 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95287,7 +95535,7 @@ paths: - custom_404 - public examples: - default: &688 + default: &689 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95328,8 +95576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95383,9 +95631,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *688 + default: *689 '422': *15 '409': *119 x-github: @@ -95408,8 +95656,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95516,8 +95764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -95543,8 +95791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -95554,7 +95802,7 @@ paths: application/json: schema: type: array - items: &689 + items: &690 title: Page Build description: Page Build type: object @@ -95648,8 +95896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *456 - *457 + - *458 responses: '201': description: Response @@ -95694,16 +95942,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: &690 + default: &691 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95751,8 +95999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *456 - *457 + - *458 - name: build_id in: path required: true @@ -95763,9 +96011,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: *690 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95785,8 +96033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95891,9 +96139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *456 - *457 - - &691 + - *458 + - &692 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95951,9 +96199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *456 - *457 - - *691 + - *458 + - *692 responses: '204': *155 '404': *6 @@ -95980,8 +96228,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -96239,8 +96487,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: - - *456 - *457 + - *458 responses: '200': description: Private vulnerability reporting status @@ -96277,8 +96525,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: - - *456 - *457 + - *458 responses: '204': *155 '422': *14 @@ -96299,8 +96547,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: - - *456 - *457 + - *458 responses: '204': *155 '422': *14 @@ -96322,8 +96570,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -96333,7 +96581,7 @@ paths: type: array items: *156 examples: - default: *692 + default: *693 '403': *29 '404': *6 x-github: @@ -96355,8 +96603,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -96372,7 +96620,7 @@ paths: required: - properties examples: - default: *693 + default: *694 responses: '204': description: No Content when custom property values are successfully created @@ -96410,8 +96658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *456 - *457 + - *458 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96471,9 +96719,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: *694 + default: *695 headers: Link: *47 '304': *37 @@ -96505,8 +96753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -96571,7 +96819,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &699 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96728,7 +96976,7 @@ paths: nullable: true requested_teams: type: array - items: *441 + items: *442 nullable: true head: type: object @@ -96785,7 +97033,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: *695 + auto_merge: *696 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96877,7 +97125,7 @@ paths: - merged_by - review_comments examples: - default: &699 + default: &700 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97404,8 +97652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *456 - *457 + - *458 - name: sort in: query required: false @@ -97434,9 +97682,9 @@ paths: application/json: schema: type: array - items: *696 + items: *697 examples: - default: &701 + default: &702 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97513,17 +97761,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: &697 + default: &698 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97598,8 +97846,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: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -97622,9 +97870,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: *697 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97640,8 +97888,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: - - *456 - *457 + - *458 - *237 responses: '204': @@ -97663,8 +97911,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: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -97691,9 +97939,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -97714,8 +97962,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: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -97748,16 +97996,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -97779,10 +98027,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - *653 + - *654 responses: '204': description: Response @@ -97825,9 +98073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *456 - *457 - - &700 + - *458 + - &701 name: pull_number description: The number that identifies the pull request. in: path @@ -97840,9 +98088,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '304': *37 '404': *6 '406': @@ -97877,9 +98125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -97921,9 +98169,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '422': *15 '403': *29 x-github: @@ -97945,9 +98193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -98009,7 +98257,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -98017,7 +98265,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -98047,9 +98295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *245 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98070,9 +98318,9 @@ paths: application/json: schema: type: array - items: *696 + items: *697 examples: - default: *701 + default: *702 headers: Link: *47 x-github: @@ -98105,9 +98353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -98212,7 +98460,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: example-for-a-multi-line-comment: value: @@ -98300,9 +98548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *237 requestBody: required: true @@ -98325,7 +98573,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: default: value: @@ -98411,9 +98659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -98423,9 +98671,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *702 + default: *703 headers: Link: *47 x-github: @@ -98455,9 +98703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -98467,7 +98715,7 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: default: value: @@ -98505,9 +98753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *456 - *457 - - *700 + - *458 + - *701 responses: '204': description: Response if pull request has been merged @@ -98530,9 +98778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -98643,9 +98891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 responses: '200': description: Response @@ -98720,9 +98968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -98759,7 +99007,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -99295,9 +99543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -99331,7 +99579,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -99836,9 +100084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -99848,7 +100096,7 @@ paths: application/json: schema: type: array - items: &703 + items: &704 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99999,9 +100247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -100087,9 +100335,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: &705 + default: &706 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100152,10 +100400,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - &704 + - *458 + - *701 + - &705 name: review_id description: The unique identifier of the review. in: path @@ -100167,9 +100415,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: &706 + default: &707 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100228,10 +100476,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100254,7 +100502,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: default: value: @@ -100316,18 +100564,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 responses: '200': description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: *705 + default: *706 '422': *7 '404': *6 x-github: @@ -100354,10 +100602,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 - *17 - *19 responses: @@ -100592,10 +100840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100623,7 +100871,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: default: value: @@ -100686,10 +100934,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100724,9 +100972,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: *706 + default: *707 '404': *6 '422': *7 '403': *29 @@ -100748,9 +100996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -100813,8 +101061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *456 - *457 + - *458 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100827,9 +101075,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: &708 + default: &709 value: type: file encoding: base64 @@ -100871,8 +101119,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: - - *456 - *457 + - *458 - name: dir description: The alternate path to look for a README file in: path @@ -100892,9 +101140,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: *708 + default: *709 '404': *6 '422': *15 x-github: @@ -100916,8 +101164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -100927,7 +101175,7 @@ paths: application/json: schema: type: array - items: *709 + items: *710 examples: default: value: @@ -101021,8 +101269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -101098,9 +101346,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: &713 + default: &714 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101205,9 +101453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *456 - *457 - - &711 + - *458 + - &712 name: asset_id description: The unique identifier of the asset. in: path @@ -101219,9 +101467,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: &712 + default: &713 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -101256,7 +101504,7 @@ paths: type: User site_admin: false '404': *6 - '302': *588 + '302': *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101272,9 +101520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *456 - *457 - - *711 + - *458 + - *712 requestBody: required: false content: @@ -101302,9 +101550,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: *712 + default: *713 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101320,9 +101568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *456 - *457 - - *711 + - *458 + - *712 responses: '204': description: Response @@ -101346,8 +101594,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -101432,16 +101680,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101458,8 +101706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *456 - *457 + - *458 - name: tag description: tag parameter in: path @@ -101472,9 +101720,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '404': *6 x-github: githubCloudOnly: false @@ -101496,9 +101744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *456 - *457 - - &714 + - *458 + - &715 name: release_id description: The unique identifier of the release. in: path @@ -101512,9 +101760,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '401': description: Unauthorized x-github: @@ -101532,9 +101780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 requestBody: required: false content: @@ -101598,9 +101846,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '404': description: Not Found if the discussion category name is invalid content: @@ -101621,9 +101869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 responses: '204': description: Response @@ -101643,9 +101891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *456 - *457 - - *714 + - *458 + - *715 - *17 - *19 responses: @@ -101655,7 +101903,7 @@ paths: application/json: schema: type: array - items: *710 + items: *711 examples: default: value: @@ -101737,9 +101985,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *456 - *457 - - *714 + - *458 + - *715 - name: name in: query required: true @@ -101765,7 +102013,7 @@ paths: description: Response for successful upload content: application/json: - schema: *710 + schema: *711 examples: response-for-successful-upload: value: @@ -101820,9 +102068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -101846,9 +102094,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -101869,9 +102117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 requestBody: required: true content: @@ -101901,16 +102149,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -101932,10 +102180,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *456 - *457 - - *714 - - *653 + - *458 + - *715 + - *654 responses: '204': description: Response @@ -101959,9 +102207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 - *17 - *19 responses: @@ -101978,7 +102226,7 @@ paths: oneOf: - allOf: - *170 - - &715 + - &716 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101999,67 +102247,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *171 - - *715 + - *716 - allOf: - *172 - - *715 + - *716 - allOf: - *173 - - *715 + - *716 - allOf: + - *717 - *716 - - *715 - allOf: - *174 - - *715 + - *716 - allOf: - *175 - - *715 + - *716 - allOf: - *176 - - *715 + - *716 - allOf: - *177 - - *715 + - *716 - allOf: - *178 - - *715 + - *716 - allOf: - *179 - - *715 + - *716 - allOf: - *180 - - *715 + - *716 - allOf: - *181 - - *715 + - *716 - allOf: - *182 - - *715 + - *716 - allOf: - *183 - - *715 + - *716 - allOf: - *184 - - *715 + - *716 - allOf: - *185 - - *715 + - *716 - allOf: - *186 - - *715 + - *716 - allOf: - *187 - - *715 + - *716 - allOf: - *188 - - *715 + - *716 - allOf: - *189 - - *715 + - *716 - allOf: - *190 - - *715 + - *716 examples: default: value: @@ -102098,8 +102346,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - *17 - *19 - name: includes_parents @@ -102110,7 +102358,7 @@ paths: schema: type: boolean default: true - - *717 + - *718 responses: '200': description: Response @@ -102165,8 +102413,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 requestBody: description: Request body required: true @@ -102195,7 +102443,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *718 + items: *719 required: - name - enforcement @@ -102228,7 +102476,7 @@ paths: application/json: schema: *191 examples: - default: &727 + default: &728 value: id: 42 name: super cool ruleset @@ -102275,12 +102523,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *456 - *457 - - *719 - - *105 + - *458 - *720 + - *105 - *721 + - *722 - *17 - *19 responses: @@ -102288,9 +102536,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *723 examples: - default: *723 + default: *724 '404': *6 '500': *40 x-github: @@ -102311,17 +102559,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *456 - *457 - - *724 + - *458 + - *725 responses: '200': description: Response content: application/json: - schema: *725 + schema: *726 examples: - default: *726 + default: *727 '404': *6 '500': *40 x-github: @@ -102349,8 +102597,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102372,7 +102620,7 @@ paths: application/json: schema: *191 examples: - default: *727 + default: *728 '404': *6 '500': *40 put: @@ -102390,8 +102638,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102425,7 +102673,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *718 + items: *719 examples: default: value: @@ -102455,7 +102703,7 @@ paths: application/json: schema: *191 examples: - default: *727 + default: *728 '404': *6 '500': *40 delete: @@ -102473,8 +102721,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102497,8 +102745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *456 - *457 + - *458 - *17 - *19 - name: ruleset_id @@ -102516,7 +102764,7 @@ paths: type: array items: *195 examples: - default: *425 + default: *426 '404': *6 '500': *40 x-github: @@ -102535,8 +102783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102554,7 +102802,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -102609,22 +102857,22 @@ 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: - - *456 - *457 - - *427 + - *458 - *428 - *429 - *430 - *431 + - *432 - *110 - *19 - *17 - - *728 - *729 - - *432 + - *730 - *433 - *434 - *435 + - *436 responses: '200': description: Response @@ -102632,7 +102880,7 @@ paths: application/json: schema: type: array - items: &733 + items: &734 type: object properties: number: *128 @@ -102651,8 +102899,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *730 - resolution: *731 + state: *731 + resolution: *732 resolved_at: type: string format: date-time @@ -102748,7 +102996,7 @@ paths: pull request. ' - oneOf: *732 + oneOf: *733 nullable: true has_more_locations: type: boolean @@ -102897,16 +103145,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *456 - *457 - - *537 - - *435 + - *458 + - *538 + - *436 responses: '200': description: Response content: application/json: - schema: *733 + schema: *734 examples: default: value: @@ -102960,9 +103208,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: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: true content: @@ -102970,8 +103218,8 @@ paths: schema: type: object properties: - state: *730 - resolution: *731 + state: *731 + resolution: *732 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103005,7 +103253,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: default: value: @@ -103100,9 +103348,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: - - *456 - *457 - - *537 + - *458 + - *538 - *19 - *17 responses: @@ -103113,7 +103361,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &918 + items: &921 type: object properties: type: @@ -103139,7 +103387,6 @@ paths: example: commit details: oneOf: - - *734 - *735 - *736 - *737 @@ -103152,6 +103399,7 @@ paths: - *744 - *745 - *746 + - *747 examples: default: value: @@ -103237,8 +103485,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -103246,14 +103494,14 @@ paths: schema: type: object properties: - reason: &748 + reason: &749 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *747 + placeholder_id: *748 required: - reason - placeholder_id @@ -103270,7 +103518,7 @@ paths: schema: type: object properties: - reason: *748 + reason: *749 expire_at: type: string format: date-time @@ -103316,8 +103564,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: - - *456 - *457 + - *458 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103332,7 +103580,7 @@ paths: properties: incremental_scans: type: array - items: &749 + items: &750 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103358,15 +103606,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *749 + items: *750 backfill_scans: type: array - items: *749 + items: *750 custom_pattern_backfill_scans: type: array items: allOf: - - *749 + - *750 - type: object properties: pattern_name: @@ -103436,8 +103684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *456 - *457 + - *458 - *110 - name: sort description: The property to sort the results by. @@ -103481,9 +103729,9 @@ paths: application/json: schema: type: array - items: *750 + items: *751 examples: - default: *751 + default: *752 '400': *14 '404': *6 x-github: @@ -103506,8 +103754,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -103580,7 +103828,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 required: - login - type @@ -103667,9 +103915,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &753 + default: &754 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103902,8 +104150,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -104007,7 +104255,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -104154,17 +104402,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '200': description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 + default: *754 '403': *29 '404': *6 x-github: @@ -104188,9 +104436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 requestBody: required: true content: @@ -104263,7 +104511,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 required: - login - type @@ -104349,10 +104597,10 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 - add_credit: *753 + default: *754 + add_credit: *754 '403': *29 '404': *6 '422': @@ -104390,9 +104638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '202': *39 '400': *14 @@ -104419,17 +104667,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: - - *456 - *457 - - *752 + - *458 + - *753 responses: '202': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 '400': *14 '422': *15 '403': *29 @@ -104455,8 +104703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -104555,8 +104803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104565,7 +104813,7 @@ paths: application/json: schema: type: array - items: &754 + items: &755 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104598,8 +104846,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -104675,8 +104923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -104772,8 +105020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *456 - *457 + - *458 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104927,8 +105175,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: - - *456 - *457 + - *458 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104938,7 +105186,7 @@ paths: application/json: schema: type: array - items: *754 + items: *755 examples: default: value: @@ -104971,8 +105219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *456 - *457 + - *458 - name: sha in: path required: true @@ -105026,7 +105274,7 @@ paths: description: Response content: application/json: - schema: *755 + schema: *756 examples: default: value: @@ -105080,8 +105328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105113,14 +105361,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *456 - *457 + - *458 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &756 + schema: &757 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105188,8 +105436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -105215,7 +105463,7 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: default: value: @@ -105242,8 +105490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -105263,8 +105511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105343,8 +105591,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105352,7 +105600,7 @@ paths: application/json: schema: type: array - items: &757 + items: &758 title: Tag protection description: Tag protection type: object @@ -105404,8 +105652,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -105428,7 +105676,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: default: value: @@ -105459,8 +105707,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: - - *456 - *457 + - *458 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105497,8 +105745,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *456 - *457 + - *458 - name: ref in: path required: true @@ -105534,8 +105782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105567,8 +105815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *456 - *457 + - *458 - *19 - *17 responses: @@ -105576,7 +105824,7 @@ paths: description: Response content: application/json: - schema: &758 + schema: &759 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105588,7 +105836,7 @@ paths: required: - names examples: - default: &759 + default: &760 value: names: - octocat @@ -105611,8 +105859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -105643,9 +105891,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *759 examples: - default: *759 + default: *760 '404': *6 '422': *7 x-github: @@ -105666,9 +105914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *456 - *457 - - &760 + - *458 + - &761 name: per description: The time frame to display results for. in: query @@ -105697,7 +105945,7 @@ paths: example: 128 clones: type: array - items: &761 + items: &762 title: Traffic type: object properties: @@ -105784,8 +106032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105875,8 +106123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105936,9 +106184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *456 - *457 - - *760 + - *458 + - *761 responses: '200': description: Response @@ -105957,7 +106205,7 @@ paths: example: 3782 views: type: array - items: *761 + items: *762 required: - uniques - count @@ -106034,8 +106282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -106309,8 +106557,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: - - *456 - *457 + - *458 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106333,8 +106581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -106356,8 +106604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -106383,8 +106631,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *456 - *457 + - *458 - name: ref in: path required: true @@ -106476,9 +106724,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106629,7 +106877,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &769 + - &770 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106638,7 +106886,7 @@ paths: schema: type: string example: members - - &774 + - &775 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106649,7 +106897,7 @@ paths: default: 1 format: int32 example: 1 - - &775 + - &776 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106691,7 +106939,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &764 + items: &765 allOf: - type: object required: @@ -106766,7 +107014,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &776 + meta: &777 type: object description: The metadata associated with the creation/updates to the user. @@ -106826,30 +107074,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &765 + '400': &766 description: Bad request content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '401': *763 - '403': &766 + schema: *763 + '401': *764 + '403': &767 description: Permission denied - '429': &767 + '429': &768 description: Too many requests content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '500': &768 + schema: *763 + '500': &769 description: Internal server error content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 + schema: *763 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106873,7 +107121,7 @@ paths: required: true content: application/json: - schema: &772 + schema: &773 type: object required: - schemas @@ -106933,9 +107181,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *764 + schema: *765 examples: - group: &770 + group: &771 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106954,13 +107202,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *765 - '401': *763 - '403': *766 - '409': &773 + '400': *766 + '401': *764 + '403': *767 + '409': &774 description: Duplicate record detected - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106977,7 +107225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &771 + - &772 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106985,22 +107233,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *769 + - *770 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *764 + schema: *765 examples: - default: *770 - '400': *765 - '401': *763 - '403': *766 + default: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107019,13 +107267,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *771 + - *772 - *41 requestBody: required: true content: application/json: - schema: *772 + schema: *773 examples: group: summary: Group @@ -107051,17 +107299,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *764 + schema: *765 examples: - group: *770 - groupWithMembers: *770 - '400': *765 - '401': *763 - '403': *766 + group: *771 + groupWithMembers: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107085,13 +107333,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *771 + - *772 - *41 requestBody: required: true content: application/json: - schema: &783 + schema: &784 type: object required: - Operations @@ -107151,17 +107399,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *764 + schema: *765 examples: - updateGroup: *770 - addMembers: *770 - '400': *765 - '401': *763 - '403': *766 + updateGroup: *771 + addMembers: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107177,17 +107425,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *771 + - *772 - *41 responses: '204': description: Group was deleted, no content - '400': *765 - '401': *763 - '403': *766 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107221,8 +107469,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *774 - *775 + - *776 - *41 responses: '200': @@ -107255,7 +107503,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &778 + items: &779 allOf: - type: object required: @@ -107334,7 +107582,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &777 + roles: &778 type: array description: The roles assigned to the user. items: @@ -107390,7 +107638,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *776 + meta: *777 startIndex: type: integer description: A starting index for the returned page @@ -107427,11 +107675,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *765 - '401': *763 - '403': *766 - '429': *767 - '500': *768 + '400': *766 + '401': *764 + '403': *767 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107455,7 +107703,7 @@ paths: required: true content: application/json: - schema: &781 + schema: &782 type: object required: - schemas @@ -107537,9 +107785,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *777 + roles: *778 examples: - user: &782 + user: &783 summary: User value: schemas: @@ -107586,9 +107834,9 @@ paths: description: User has been created content: application/scim+json: - schema: *778 + schema: *779 examples: - user: &779 + user: &780 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107614,13 +107862,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *779 - '400': *765 - '401': *763 - '403': *766 - '409': *773 - '429': *767 - '500': *768 + enterpriseOwner: *780 + '400': *766 + '401': *764 + '403': *767 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,7 +107885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &780 + - &781 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107650,15 +107898,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *778 + schema: *779 examples: - default: *779 - '400': *765 - '401': *763 - '403': *766 + default: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107680,30 +107928,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *780 + - *781 - *41 requestBody: required: true content: application/json: - schema: *781 + schema: *782 examples: - user: *782 + user: *783 responses: '200': description: User was updated content: application/scim+json: - schema: *778 + schema: *779 examples: - user: *779 - '400': *765 - '401': *763 - '403': *766 + user: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107738,13 +107986,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *780 + - *781 - *41 requestBody: required: true content: application/json: - schema: *783 + schema: *784 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107784,18 +108032,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *778 + schema: *779 examples: - userMultiValuedProperties: *779 - userSingleValuedProperties: *779 - disableUser: *779 - '400': *765 - '401': *763 - '403': *766 + userMultiValuedProperties: *780 + userSingleValuedProperties: *780 + disableUser: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107815,17 +108063,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *780 + - *781 - *41 responses: '204': description: User was deleted, no content - '400': *765 - '401': *763 - '403': *766 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107912,7 +108160,7 @@ paths: example: 1 Resources: type: array - items: &784 + items: &785 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108143,22 +108391,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &785 + '404': &786 description: Resource not found content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '403': &786 + schema: *763 + '403': &787 description: Forbidden content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '400': *765 - '429': *767 + schema: *763 + '400': *766 + '429': *768 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108184,9 +108432,9 @@ paths: description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: &787 + default: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108209,17 +108457,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *785 - '403': *786 - '500': *768 + '404': *786 + '403': *787 + '500': *769 '409': description: Conflict content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '400': *765 + schema: *763 + '400': *766 requestBody: required: true content: @@ -108317,17 +108565,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 - '404': *785 - '403': *786 + default: *788 + '404': *786 + '403': *787 '304': *37 x-github: githubCloudOnly: true @@ -108351,18 +108599,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 + default: *788 '304': *37 - '404': *785 - '403': *786 + '404': *786 + '403': *787 requestBody: required: true content: @@ -108475,19 +108723,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 + default: *788 '304': *37 - '404': *785 - '403': *786 - '400': *765 + '404': *786 + '403': *787 + '400': *766 '429': description: Response content: @@ -108578,12 +108826,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *780 + - *781 responses: '204': description: Response - '404': *785 - '403': *786 + '404': *786 + '403': *787 '304': *37 x-github: githubCloudOnly: true @@ -108716,7 +108964,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &788 + text_matches: &789 title: Search Result Text Matches type: array items: @@ -108879,7 +109127,7 @@ paths: enum: - author-date - committer-date - - &789 + - &790 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -108950,7 +109198,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true comment_count: type: integer @@ -108970,7 +109218,7 @@ paths: url: type: string format: uri - verification: *635 + verification: *636 required: - author - committer @@ -108989,7 +109237,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true parents: type: array @@ -109007,7 +109255,7 @@ paths: type: number node_id: type: string - text_matches: *788 + text_matches: *789 required: - sha - node_id @@ -109200,7 +109448,7 @@ paths: - interactions - created - updated - - *789 + - *790 - *17 - *19 - name: advanced_search @@ -109297,11 +109545,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: type: string state_reason: @@ -109333,7 +109581,7 @@ paths: type: string format: date-time nullable: true - text_matches: *788 + text_matches: *789 pull_request: type: object properties: @@ -109558,7 +109806,7 @@ paths: enum: - created - updated - - *789 + - *790 - *17 - *19 responses: @@ -109602,7 +109850,7 @@ paths: nullable: true score: type: number - text_matches: *788 + text_matches: *789 required: - id - node_id @@ -109688,7 +109936,7 @@ paths: - forks - help-wanted-issues - updated - - *789 + - *790 - *17 - *19 responses: @@ -109927,7 +110175,7 @@ paths: - admin - pull - push - text_matches: *788 + text_matches: *789 temp_clone_token: type: string allow_merge_commit: @@ -110228,7 +110476,7 @@ paths: type: string format: uri nullable: true - text_matches: *788 + text_matches: *789 related: type: array nullable: true @@ -110421,7 +110669,7 @@ paths: - followers - repositories - joined - - *789 + - *790 - *17 - *19 responses: @@ -110525,7 +110773,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *788 + text_matches: *789 blog: type: string nullable: true @@ -110604,7 +110852,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &793 + - &794 name: team_id description: The unique identifier of the team. in: path @@ -110616,9 +110864,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -110645,7 +110893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *793 + - *794 requestBody: required: true content: @@ -110708,16 +110956,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '201': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 '422': *15 '403': *29 @@ -110745,7 +110993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *793 + - *794 responses: '204': description: Response @@ -110774,7 +111022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -110812,7 +111060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *793 + - *794 - name: role description: Filters members returned by their role in the team. in: query @@ -110863,7 +111111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110900,7 +111148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110940,7 +111188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110977,16 +111225,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-user-is-a-team-maintainer: *794 + response-if-user-is-a-team-maintainer: *795 '404': *6 x-github: githubCloudOnly: false @@ -111019,7 +111267,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 requestBody: required: false @@ -111045,9 +111293,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-users-membership-with-team-is-now-pending: *795 + response-if-users-membership-with-team-is-now-pending: *796 '403': description: Forbidden if team synchronization is set up '422': @@ -111081,7 +111329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -111109,7 +111357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -111151,15 +111399,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *796 + schema: *797 examples: alternative-response-with-extra-repository-information: value: @@ -111310,9 +111558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 requestBody: required: false content: @@ -111362,9 +111610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 responses: '204': description: Response @@ -111393,15 +111641,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *793 + - *794 responses: '200': description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '403': *29 '404': *6 x-github: @@ -111428,7 +111676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *793 + - *794 requestBody: required: true content: @@ -111485,7 +111733,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -111516,7 +111764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -111528,7 +111776,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: *797 + response-if-child-teams-exist: *798 headers: Link: *47 '404': *6 @@ -111561,7 +111809,7 @@ paths: application/json: schema: oneOf: - - &799 + - &800 title: Private User description: Private User type: object @@ -111764,7 +112012,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *798 + - *799 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -111917,7 +112165,7 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: default: value: @@ -112263,7 +112511,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -112271,7 +112519,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -112315,7 +112563,7 @@ paths: type: integer secrets: type: array - items: &800 + items: &801 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112355,7 +112603,7 @@ paths: - visibility - selected_repositories_url examples: - default: *563 + default: *564 headers: Link: *47 x-github: @@ -112431,7 +112679,7 @@ paths: description: Response content: application/json: - schema: *800 + schema: *801 examples: default: value: @@ -112577,7 +112825,7 @@ paths: type: array items: *284 examples: - default: *801 + default: *802 '401': *25 '403': *29 '404': *6 @@ -112729,7 +112977,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '304': *37 '500': *40 '401': *25 @@ -112787,7 +113035,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -112844,7 +113092,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &803 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112885,7 +113133,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &803 + default: &804 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112930,9 +113178,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *803 examples: - default: *803 + default: *804 '404': *6 x-github: githubCloudOnly: false @@ -112969,9 +113217,9 @@ paths: type: integer machines: type: array - items: *804 + items: *805 examples: - default: *805 + default: *806 '304': *37 '500': *40 '401': *25 @@ -113050,13 +113298,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *461 + repository: *462 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *561 - required: *562 + properties: *562 + required: *563 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -113838,7 +114086,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '304': *37 '500': *40 '400': *14 @@ -113878,7 +114126,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '500': *40 '401': *25 '403': *29 @@ -113910,7 +114158,7 @@ paths: type: array items: *387 examples: - default: &816 + default: &817 value: - id: 197 name: hello_docker @@ -114011,7 +114259,7 @@ paths: application/json: schema: type: array - items: &806 + items: &807 title: Email description: Email type: object @@ -114076,9 +114324,9 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: - default: &818 + default: &819 value: - email: octocat@github.com verified: true @@ -114153,7 +114401,7 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: default: value: @@ -114409,7 +114657,7 @@ paths: application/json: schema: type: array - items: &807 + items: &808 title: GPG Key description: A unique encryption key type: object @@ -114540,7 +114788,7 @@ paths: - subkeys - revoked examples: - default: &832 + default: &835 value: - id: 3 name: Octocat's GPG Key @@ -114625,9 +114873,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: &808 + default: &809 value: id: 3 name: Octocat's GPG Key @@ -114684,7 +114932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &809 + - &810 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114696,9 +114944,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: *808 + default: *809 '404': *6 '304': *37 '403': *29 @@ -114721,7 +114969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *809 + - *810 responses: '204': description: Response @@ -115026,7 +115274,7 @@ paths: required: true content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -115176,7 +115424,7 @@ paths: application/json: schema: type: array - items: &810 + items: &811 title: Key description: Key type: object @@ -115277,9 +115525,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *811 examples: - default: &811 + default: &812 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115312,15 +115560,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *677 + - *678 responses: '200': description: Response content: application/json: - schema: *810 + schema: *811 examples: - default: *811 + default: *812 '404': *6 '304': *37 '403': *29 @@ -115343,7 +115591,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *677 + - *678 responses: '204': description: Response @@ -115376,7 +115624,7 @@ paths: application/json: schema: type: array - items: &812 + items: &813 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115444,7 +115692,7 @@ paths: - account - plan examples: - default: &813 + default: &814 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115506,9 +115754,9 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: - default: *813 + default: *814 headers: Link: *47 '304': *37 @@ -116517,7 +116765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *382 - - *814 + - *815 responses: '204': description: Response @@ -116632,7 +116880,7 @@ paths: - docker - nuget - container - - *815 + - *816 - *19 - *17 responses: @@ -116644,8 +116892,8 @@ paths: type: array items: *387 examples: - default: *816 - '400': *817 + default: *817 + '400': *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116674,7 +116922,7 @@ paths: application/json: schema: *387 examples: - default: &833 + default: &836 value: id: 40201 name: octo-name @@ -117036,9 +117284,9 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: - default: *818 + default: *819 headers: Link: *47 '304': *37 @@ -117151,7 +117399,7 @@ paths: type: array items: *78 examples: - default: &825 + default: &826 summary: Default response value: - id: 1296269 @@ -117455,9 +117703,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117495,9 +117743,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *819 + default: *820 headers: Link: *47 '304': *37 @@ -117576,7 +117824,7 @@ paths: application/json: schema: type: array - items: &820 + items: &821 title: Social account description: Social media account type: object @@ -117591,7 +117839,7 @@ paths: - provider - url examples: - default: &821 + default: &822 value: - provider: twitter url: https://twitter.com/github @@ -117653,9 +117901,9 @@ paths: application/json: schema: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 '422': *15 '304': *37 '404': *6 @@ -117742,7 +117990,7 @@ paths: application/json: schema: type: array - items: &822 + items: &823 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117762,7 +118010,7 @@ paths: - title - created_at examples: - default: &847 + default: &850 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117826,9 +118074,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *823 examples: - default: &823 + default: &824 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117858,7 +118106,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &824 + - &825 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117870,9 +118118,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *823 examples: - default: *823 + default: *824 '404': *6 '304': *37 '403': *29 @@ -117895,7 +118143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *824 + - *825 responses: '204': description: Response @@ -117924,7 +118172,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: - - &848 + - &851 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 @@ -117949,11 +118197,11 @@ paths: type: array items: *78 examples: - default-response: *825 + default-response: *826 application/vnd.github.v3.star+json: schema: type: array - items: &849 + items: &852 title: Starred Repository description: Starred Repository type: object @@ -118109,8 +118357,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: - - *456 - *457 + - *458 responses: '204': description: Response if this repository is starred by you @@ -118138,8 +118386,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -118163,8 +118411,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -118236,7 +118484,7 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: default: value: @@ -118322,10 +118570,10 @@ paths: application/json: schema: oneOf: + - *800 - *799 - - *798 examples: - default-response: &827 + default-response: &830 summary: Default response value: login: octocat @@ -118360,7 +118608,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &828 + response-with-git-hub-plan-information: &831 summary: Response with GitHub plan information value: login: octocat @@ -118417,7 +118665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - name: user_id + - &828 + name: user_id description: The unique identifier of the user. in: path required: true @@ -118482,7 +118731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *826 + - *827 - *17 responses: '200': @@ -118505,6 +118754,116 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - *828 + - *405 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: *829 + examples: + table_view: + summary: Response for creating a table view + value: *416 + board_view: + summary: Response for creating a board view with filter + value: *416 + roadmap_view: + summary: Response for creating a roadmap view + value: *416 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -118531,11 +118890,11 @@ paths: application/json: schema: oneOf: + - *800 - *799 - - *798 examples: - default-response: *827 - response-with-git-hub-plan-information: *828 + default-response: *830 + response-with-git-hub-plan-information: *831 '404': *6 x-github: githubCloudOnly: false @@ -118585,8 +118944,8 @@ paths: required: - subject_digests examples: - default: *829 - withPredicateType: *830 + default: *832 + withPredicateType: *833 responses: '200': description: Response @@ -118639,7 +118998,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *831 + default: *834 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118844,7 +119203,7 @@ paths: initiator: type: string examples: - default: *503 + default: *504 '201': description: Response content: @@ -118885,7 +119244,7 @@ paths: type: array items: *387 examples: - default: *816 + default: *817 '403': *29 '401': *25 x-github: @@ -119269,9 +119628,9 @@ paths: application/json: schema: type: array - items: *807 + items: *808 examples: - default: *832 + default: *835 headers: Link: *47 x-github: @@ -119375,7 +119734,7 @@ paths: application/json: schema: *22 examples: - default: *645 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119499,7 +119858,7 @@ paths: - docker - nuget - container - - *815 + - *816 - *143 - *19 - *17 @@ -119512,10 +119871,10 @@ paths: type: array items: *387 examples: - default: *816 + default: *817 '403': *29 '401': *25 - '400': *817 + '400': *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119545,7 +119904,7 @@ paths: application/json: schema: *387 examples: - default: *833 + default: *836 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119894,7 +120253,7 @@ paths: type: array items: *409 examples: - default: *834 + default: *837 headers: Link: *47 '304': *37 @@ -119954,7 +120313,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *835 + items: *838 required: - name - data_type @@ -119970,7 +120329,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *836 + iteration_configuration: *839 required: - name - data_type @@ -119992,8 +120351,8 @@ paths: value: name: Due date data_type: date - single_select_field: *837 - iteration_field: *838 + single_select_field: *840 + iteration_field: *841 responses: '201': description: Response @@ -120001,11 +120360,11 @@ paths: application/json: schema: *409 examples: - text_field: *839 - number_field: *840 - date_field: *841 - single_select_field: *842 - iteration_field: *843 + text_field: *842 + number_field: *843 + date_field: *844 + single_select_field: *845 + iteration_field: *846 '304': *37 '403': *29 '401': *25 @@ -120027,7 +120386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *405 - - *844 + - *847 - *143 responses: '200': @@ -120036,7 +120395,7 @@ paths: application/json: schema: *409 examples: - default: *845 + default: *848 headers: Link: *47 '304': *37 @@ -120390,7 +120749,7 @@ paths: parameters: - *405 - *143 - - *846 + - *849 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -120669,9 +121028,9 @@ paths: application/json: schema: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 headers: Link: *47 x-github: @@ -120701,9 +121060,9 @@ paths: application/json: schema: type: array - items: *822 + items: *823 examples: - default: *847 + default: *850 headers: Link: *47 x-github: @@ -120728,7 +121087,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *143 - - *848 + - *851 - *110 - *17 - *19 @@ -120740,11 +121099,11 @@ paths: schema: anyOf: - type: array - items: *849 + items: *852 - type: array items: *78 examples: - default-response: *825 + default-response: *826 headers: Link: *47 x-github: @@ -120903,7 +121262,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &850 + enterprise: &853 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120961,7 +121320,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &851 + installation: &854 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120980,7 +121339,7 @@ x-webhooks: required: - id - node_id - organization: &852 + organization: &855 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121040,13 +121399,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &853 + repository: &856 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: &890 + properties: &893 id: description: Unique identifier of the repository example: 42 @@ -121729,7 +122088,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &891 + required: &894 - archive_url - assignees_url - blobs_url @@ -121880,10 +122239,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -121959,11 +122318,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: &854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: &857 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) @@ -122186,11 +122545,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: *854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: *857 sender: *4 required: - action @@ -122373,11 +122732,11 @@ x-webhooks: - everyone required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: *854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: *857 sender: *4 required: - action @@ -122450,7 +122809,7 @@ x-webhooks: required: true content: application/json: - schema: &874 + schema: &877 title: Exemption request cancellation event type: object properties: @@ -122458,11 +122817,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: &855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: &858 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -122731,7 +123090,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &856 + items: &859 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -122841,7 +123200,7 @@ x-webhooks: required: true content: application/json: - schema: &875 + schema: &878 title: Exemption request completed event type: object properties: @@ -122849,11 +123208,11 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 sender: *4 required: - action @@ -122925,7 +123284,7 @@ x-webhooks: required: true content: application/json: - schema: &872 + schema: &875 title: Exemption request created event type: object properties: @@ -122933,11 +123292,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 sender: *4 required: - action @@ -123009,7 +123368,7 @@ x-webhooks: required: true content: application/json: - schema: &876 + schema: &879 title: Exemption response dismissed event type: object properties: @@ -123017,12 +123376,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 - exemption_response: *856 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 + exemption_response: *859 sender: *4 required: - action @@ -123096,7 +123455,7 @@ x-webhooks: required: true content: application/json: - schema: &873 + schema: &876 title: Exemption response submitted event type: object properties: @@ -123104,12 +123463,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 - exemption_response: *856 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 + exemption_response: *859 sender: *4 required: - action @@ -123193,7 +123552,7 @@ x-webhooks: type: string enum: - completed - check_run: &858 + check_run: &861 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123284,7 +123643,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *857 + deployment: *860 details_url: example: https://example.com type: string @@ -123369,10 +123728,10 @@ x-webhooks: - output - app - pull_requests - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -123765,11 +124124,11 @@ x-webhooks: type: string enum: - created - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -124165,11 +124524,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 requested_action: description: The action requested by the user. type: object @@ -124574,11 +124933,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -125555,10 +125914,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -126252,10 +126611,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -126943,10 +127302,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -127112,7 +127471,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127257,20 +127616,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &859 + commit_oid: &862 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: *850 - installation: *851 - organization: *852 - ref: &860 + enterprise: *853 + installation: *854 + organization: *855 + ref: &863 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: *853 + repository: *856 sender: *4 required: - action @@ -127435,7 +127794,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127665,12 +128024,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -127765,7 +128124,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127936,12 +128295,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128107,7 +128466,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128273,12 +128632,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128377,7 +128736,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128552,16 +128911,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 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: *853 + repository: *856 sender: *4 required: - action @@ -128658,7 +129017,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128798,12 +129157,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128969,7 +129328,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129114,10 +129473,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -129372,10 +129731,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -129455,18 +129814,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *852 - pusher_type: &861 + organization: *855 + pusher_type: &864 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &862 + ref: &865 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129476,7 +129835,7 @@ x-webhooks: enum: - tag - branch - repository: *853 + repository: *856 sender: *4 required: - ref @@ -129559,9 +129918,9 @@ x-webhooks: enum: - created definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129646,9 +130005,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129726,9 +130085,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129806,9 +130165,9 @@ x-webhooks: enum: - updated definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129885,10 +130244,10 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - repository: *853 - organization: *852 + enterprise: *853 + installation: *854 + repository: *856 + organization: *855 sender: *4 new_property_values: type: array @@ -129973,18 +130332,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - pusher_type: *861 - ref: *862 + enterprise: *853 + installation: *854 + organization: *855 + pusher_type: *864 + ref: *865 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *853 + repository: *856 sender: *4 required: - ref @@ -130068,11 +130427,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130156,11 +130515,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130244,11 +130603,11 @@ x-webhooks: type: string enum: - created - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130330,11 +130689,11 @@ x-webhooks: type: string enum: - dismissed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130416,11 +130775,11 @@ x-webhooks: type: string enum: - fixed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130503,11 +130862,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130589,11 +130948,11 @@ x-webhooks: type: string enum: - reopened - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130670,9 +131029,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - key: &863 + enterprise: *853 + installation: *854 + key: &866 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130708,8 +131067,8 @@ x-webhooks: - verified - created_at - read_only - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -130786,11 +131145,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - key: *863 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + key: *866 + organization: *855 + repository: *856 sender: *4 required: - action @@ -131351,12 +131710,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: &867 + workflow: &870 title: Workflow type: object nullable: true @@ -132082,13 +132441,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *600 + deployment: *601 pull_requests: type: array - items: *698 - repository: *853 - organization: *852 - installation: *851 + items: *699 + repository: *856 + organization: *855 + installation: *854 sender: *4 responses: '200': @@ -132159,7 +132518,7 @@ x-webhooks: type: string enum: - approved - approver: &864 + approver: &867 type: object properties: avatar_url: @@ -132202,11 +132561,11 @@ x-webhooks: type: string comment: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - reviewers: &865 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + reviewers: &868 type: array items: type: object @@ -132285,7 +132644,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &866 + workflow_job_run: &869 type: object properties: conclusion: @@ -133016,18 +133375,18 @@ x-webhooks: type: string enum: - rejected - approver: *864 + approver: *867 comment: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - reviewers: *865 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + reviewers: *868 sender: *4 since: type: string - workflow_job_run: *866 + workflow_job_run: *869 workflow_job_runs: type: array items: @@ -133731,13 +134090,13 @@ x-webhooks: type: string enum: - requested - enterprise: *850 + enterprise: *853 environment: type: string - installation: *851 - organization: *852 - repository: *853 - requestor: &877 + installation: *854 + organization: *855 + repository: *856 + requestor: &880 title: User type: object nullable: true @@ -135636,12 +135995,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Deployment Workflow Run type: object @@ -136321,7 +136680,7 @@ x-webhooks: type: string enum: - answered - answer: &870 + answer: &873 type: object properties: author_association: @@ -136478,11 +136837,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136609,11 +136968,11 @@ x-webhooks: - from required: - category - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136696,11 +137055,11 @@ x-webhooks: type: string enum: - closed - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136782,7 +137141,7 @@ x-webhooks: type: string enum: - created - comment: &869 + comment: &872 type: object properties: author_association: @@ -136939,11 +137298,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137026,12 +137385,12 @@ x-webhooks: type: string enum: - deleted - comment: *869 - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + comment: *872 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137126,12 +137485,12 @@ x-webhooks: - from required: - body - comment: *869 - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + comment: *872 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137215,11 +137574,11 @@ x-webhooks: type: string enum: - created - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137301,11 +137660,11 @@ x-webhooks: type: string enum: - deleted - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137405,11 +137764,11 @@ x-webhooks: type: string required: - from - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137491,10 +137850,10 @@ x-webhooks: type: string enum: - labeled - discussion: *868 - enterprise: *850 - installation: *851 - label: &871 + discussion: *871 + enterprise: *853 + installation: *854 + label: &874 title: Label type: object properties: @@ -137526,8 +137885,8 @@ x-webhooks: - color - default - description - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137610,11 +137969,11 @@ x-webhooks: type: string enum: - locked - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137696,11 +138055,11 @@ x-webhooks: type: string enum: - pinned - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137782,11 +138141,11 @@ x-webhooks: type: string enum: - reopened - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137871,16 +138230,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *868 - new_repository: *853 + new_discussion: *871 + new_repository: *856 required: - new_discussion - new_repository - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137963,10 +138322,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *868 - old_answer: *870 - organization: *852 - repository: *853 + discussion: *871 + old_answer: *873 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138048,12 +138407,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *868 - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138136,11 +138495,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138222,11 +138581,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138295,7 +138654,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138358,7 +138717,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138421,7 +138780,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138484,7 +138843,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138547,7 +138906,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138613,7 +138972,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138679,7 +139038,7 @@ x-webhooks: required: true content: application/json: - schema: *875 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138745,7 +139104,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138811,7 +139170,7 @@ x-webhooks: required: true content: application/json: - schema: *876 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138877,7 +139236,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138942,7 +139301,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139007,7 +139366,7 @@ x-webhooks: required: true content: application/json: - schema: *875 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139072,7 +139431,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139137,7 +139496,7 @@ x-webhooks: required: true content: application/json: - schema: *876 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139203,7 +139562,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139270,7 +139629,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *850 + enterprise: *853 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139930,9 +140289,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - forkee @@ -140078,9 +140437,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pages: description: The pages that were updated. type: array @@ -140117,7 +140476,7 @@ x-webhooks: - action - sha - html_url - repository: *853 + repository: *856 sender: *4 required: - pages @@ -140193,10 +140552,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: &878 + organization: *855 + repositories: &881 description: An array of repository objects that the installation can access. type: array @@ -140222,8 +140581,8 @@ x-webhooks: - name - full_name - private - repository: *853 - requester: *877 + repository: *856 + requester: *880 sender: *4 required: - action @@ -140298,11 +140657,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140378,11 +140737,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140458,10 +140817,10 @@ x-webhooks: type: string enum: - added - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories_added: &879 + organization: *855 + repositories_added: &882 description: An array of repository objects, which were added to the installation. type: array @@ -140507,15 +140866,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *853 - repository_selection: &880 + repository: *856 + repository_selection: &883 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *877 + requester: *880 sender: *4 required: - action @@ -140594,10 +140953,10 @@ x-webhooks: type: string enum: - removed - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories_added: *879 + organization: *855 + repositories_added: *882 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140624,9 +140983,9 @@ x-webhooks: - name - full_name - private - repository: *853 - repository_selection: *880 - requester: *877 + repository: *856 + repository_selection: *883 + requester: *880 sender: *4 required: - action @@ -140705,11 +141064,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140888,10 +141247,10 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 target_type: type: string @@ -140970,11 +141329,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -141226,8 +141585,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142021,8 +142380,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142371,8 +142730,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -142452,7 +142811,7 @@ x-webhooks: type: string enum: - deleted - comment: &881 + comment: &884 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142617,8 +142976,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143408,8 +143767,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143760,8 +144119,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -143841,7 +144200,7 @@ x-webhooks: type: string enum: - edited - changes: &910 + changes: &913 description: The changes to the comment. type: object properties: @@ -143853,9 +144212,9 @@ x-webhooks: type: string required: - from - comment: *881 - enterprise: *850 - installation: *851 + comment: *884 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144648,8 +145007,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144998,8 +145357,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145089,9 +145448,9 @@ x-webhooks: type: number blocking_issue: *221 blocking_issue_repo: *78 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145180,9 +145539,9 @@ x-webhooks: type: number blocking_issue: *221 blocking_issue_repo: *78 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145270,9 +145629,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145361,9 +145720,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145443,10 +145802,10 @@ x-webhooks: type: string enum: - assigned - assignee: *877 - enterprise: *850 - installation: *851 - issue: &884 + assignee: *880 + enterprise: *853 + installation: *854 + issue: &887 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146235,11 +146594,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146356,8 +146715,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -146437,8 +146796,8 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147232,11 +147591,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147488,8 +147847,8 @@ x-webhooks: required: - state - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -147568,8 +147927,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148354,11 +148713,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148474,8 +148833,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -148554,8 +148913,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149362,11 +149721,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149461,7 +149820,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &882 + milestone: &885 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149599,8 +149958,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -149699,8 +150058,8 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150489,11 +150848,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150610,9 +150969,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *871 - organization: *852 - repository: *853 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -150692,8 +151051,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151481,11 +151840,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151602,9 +151961,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *871 - organization: *852 - repository: *853 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -151684,8 +152043,8 @@ x-webhooks: type: string enum: - locked - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152497,11 +152856,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152595,8 +152954,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -152675,8 +153034,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153482,11 +153841,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153580,9 +153939,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *882 - organization: *852 - repository: *853 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -154450,11 +154809,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155016,8 +155375,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155806,11 +156165,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155926,8 +156285,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -156007,9 +156366,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *850 - installation: *851 - issue: &883 + enterprise: *853 + installation: *854 + issue: &886 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156792,11 +157151,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156912,8 +157271,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -156992,8 +157351,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157803,11 +158162,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157902,8 +158261,8 @@ x-webhooks: user_view_type: type: string type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -158769,11 +159128,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159357,11 +159716,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *850 - installation: *851 - issue: *883 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *886 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159441,12 +159800,12 @@ x-webhooks: type: string enum: - typed - enterprise: *850 - installation: *851 - issue: *884 + enterprise: *853 + installation: *854 + issue: *887 type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159527,7 +159886,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &913 + assignee: &916 title: User type: object nullable: true @@ -159597,11 +159956,11 @@ x-webhooks: required: - login - id - enterprise: *850 - installation: *851 - issue: *884 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *887 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159680,12 +160039,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *850 - installation: *851 - issue: *884 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *887 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159765,8 +160124,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160576,11 +160935,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160674,8 +161033,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160755,11 +161114,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *850 - installation: *851 - issue: *883 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *886 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160838,12 +161197,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *850 - installation: *851 - issue: *884 + enterprise: *853 + installation: *854 + issue: *887 type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160923,11 +161282,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161005,11 +161364,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161119,11 +161478,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161205,9 +161564,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: &885 + enterprise: *853 + installation: *854 + marketplace_purchase: &888 title: Marketplace Purchase type: object required: @@ -161290,8 +161649,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *852 - previous_marketplace_purchase: &886 + organization: *855 + previous_marketplace_purchase: &889 title: Marketplace Purchase type: object properties: @@ -161371,7 +161730,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161451,10 +161810,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161537,7 +161896,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161619,10 +161978,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161704,7 +162063,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161785,8 +162144,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 marketplace_purchase: title: Marketplace Purchase type: object @@ -161868,9 +162227,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *852 - previous_marketplace_purchase: *886 - repository: *853 + organization: *855 + previous_marketplace_purchase: *889 + repository: *856 sender: *4 required: - action @@ -161950,12 +162309,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 - previous_marketplace_purchase: *886 - repository: *853 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 + previous_marketplace_purchase: *889 + repository: *856 sender: *4 required: - action @@ -162057,11 +162416,11 @@ x-webhooks: type: string required: - to - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162161,11 +162520,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162244,11 +162603,11 @@ x-webhooks: type: string enum: - removed - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162326,11 +162685,11 @@ x-webhooks: type: string enum: - added - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162406,7 +162765,7 @@ x-webhooks: required: - login - id - team: &887 + team: &890 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162629,11 +162988,11 @@ x-webhooks: type: string enum: - removed - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162710,7 +163069,7 @@ x-webhooks: required: - login - id - team: *887 + team: *890 required: - action - scope @@ -162792,8 +163151,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *851 - merge_group: &889 + installation: *854 + merge_group: &892 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162812,15 +163171,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *888 + head_commit: *891 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162906,10 +163265,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *851 - merge_group: *889 - organization: *852 - repository: *853 + installation: *854 + merge_group: *892 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162982,7 +163341,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 + enterprise: *853 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163091,16 +163450,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *851 - organization: *852 + installation: *854 + organization: *855 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: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -163181,11 +163540,11 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163264,9 +163623,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - milestone: &892 + enterprise: *853 + installation: *854 + milestone: &895 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163403,8 +163762,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163483,11 +163842,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163597,11 +163956,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163681,11 +164040,11 @@ x-webhooks: type: string enum: - opened - enterprise: *850 - installation: *851 - milestone: *892 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *895 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163764,11 +164123,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *877 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + blocked_user: *880 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163847,11 +164206,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *877 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + blocked_user: *880 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163927,7 +164286,7 @@ x-webhooks: enum: - created definition: *151 - enterprise: *850 + enterprise: *853 sender: *4 required: - action @@ -164007,8 +164366,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 sender: *4 required: - action @@ -164081,8 +164440,8 @@ x-webhooks: enum: - updated definition: *151 - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 sender: *4 required: - action @@ -164154,9 +164513,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 new_property_values: type: array @@ -164244,9 +164603,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - membership: &893 + enterprise: *853 + installation: *854 + membership: &896 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164353,8 +164712,8 @@ x-webhooks: - role - organization_url - user - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164432,11 +164791,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164515,8 +164874,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164632,10 +164991,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 - user: *877 + user: *880 required: - action - invitation @@ -164713,11 +165072,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164804,11 +165163,11 @@ x-webhooks: properties: from: type: string - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164884,9 +165243,9 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 package: description: Information about the package. type: object @@ -165385,7 +165744,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &894 + items: &897 title: Ruby Gems metadata type: object properties: @@ -165480,7 +165839,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -165556,9 +165915,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 package: description: Information about the package. type: object @@ -165911,7 +166270,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *897 source_url: type: string format: uri @@ -165981,7 +166340,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -166158,12 +166517,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *850 + enterprise: *853 id: type: integer - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - id @@ -166240,7 +166599,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &895 + personal_access_token_request: &898 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166386,10 +166745,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *850 - organization: *852 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166466,11 +166825,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *895 - enterprise: *850 - organization: *852 + personal_access_token_request: *898 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166546,11 +166905,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *895 - enterprise: *850 - organization: *852 + personal_access_token_request: *898 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166625,11 +166984,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *895 - organization: *852 - enterprise: *850 + personal_access_token_request: *898 + organization: *855 + enterprise: *853 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166734,7 +167093,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *896 + last_response: *899 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166766,8 +167125,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 zen: description: Random string of GitHub zen. @@ -167012,10 +167371,10 @@ x-webhooks: - from required: - note - enterprise: *850 - installation: *851 - organization: *852 - project_card: &897 + enterprise: *853 + installation: *854 + organization: *855 + project_card: &900 title: Project Card type: object properties: @@ -167134,7 +167493,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -167215,11 +167574,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project_card: *897 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_card: *900 + repository: *856 sender: *4 required: - action @@ -167299,9 +167658,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 project_card: title: Project Card type: object @@ -167429,8 +167788,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: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -167524,11 +167883,11 @@ x-webhooks: - from required: - note - enterprise: *850 - installation: *851 - organization: *852 - project_card: *897 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_card: *900 + repository: *856 sender: *4 required: - action @@ -167622,9 +167981,9 @@ x-webhooks: - from required: - column_id - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 project_card: allOf: - title: Project Card @@ -167814,7 +168173,7 @@ x-webhooks: type: string required: - after_id - repository: *853 + repository: *856 sender: *4 required: - action @@ -167894,10 +168253,10 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - organization: *852 - project: &899 + enterprise: *853 + installation: *854 + organization: *855 + project: &902 title: Project type: object properties: @@ -168021,7 +168380,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -168101,10 +168460,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project_column: &898 + enterprise: *853 + installation: *854 + organization: *855 + project_column: &901 title: Project Column type: object properties: @@ -168143,7 +168502,7 @@ x-webhooks: - name - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -168222,18 +168581,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 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: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -168323,11 +168682,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 + repository: *856 sender: *4 required: - action @@ -168407,11 +168766,11 @@ x-webhooks: type: string enum: - moved - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 + repository: *856 sender: *4 required: - action @@ -168491,11 +168850,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168575,18 +168934,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - project: *899 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 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: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -168688,11 +169047,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168771,11 +169130,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168856,8 +169215,8 @@ x-webhooks: type: string enum: - closed - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -168939,8 +169298,8 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169022,8 +169381,8 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169141,8 +169500,8 @@ x-webhooks: type: string to: type: string - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169226,7 +169585,7 @@ x-webhooks: type: string enum: - archived - changes: &903 + changes: &906 type: object properties: archived_at: @@ -169240,9 +169599,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *851 - organization: *852 - projects_v2_item: &900 + installation: *854 + organization: *855 + projects_v2_item: &903 title: Projects v2 Item description: An item belonging to a project type: object @@ -169377,9 +169736,9 @@ x-webhooks: nullable: true to: type: string - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169461,9 +169820,9 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169544,9 +169903,9 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169652,7 +170011,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &901 + - &904 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169674,7 +170033,7 @@ x-webhooks: required: - id - name - - &902 + - &905 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169708,8 +170067,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *901 - - *902 + - *904 + - *905 required: - field_value - type: object @@ -169725,9 +170084,9 @@ x-webhooks: nullable: true required: - body - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169822,9 +170181,9 @@ x-webhooks: to: type: string nullable: true - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169907,10 +170266,10 @@ x-webhooks: type: string enum: - restored - changes: *903 - installation: *851 - organization: *852 - projects_v2_item: *900 + changes: *906 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169992,8 +170351,8 @@ x-webhooks: type: string enum: - reopened - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -170075,14 +170434,14 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 - projects_v2_status_update: &906 + installation: *854 + organization: *855 + projects_v2_status_update: &909 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *904 - required: *905 + properties: *907 + required: *908 sender: *4 required: - action @@ -170163,9 +170522,9 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 - projects_v2_status_update: *906 + installation: *854 + organization: *855 + projects_v2_status_update: *909 sender: *4 required: - action @@ -170301,9 +170660,9 @@ x-webhooks: type: string format: date nullable: true - installation: *851 - organization: *852 - projects_v2_status_update: *906 + installation: *854 + organization: *855 + projects_v2_status_update: *909 sender: *4 required: - action @@ -170374,10 +170733,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - repository @@ -170454,13 +170813,13 @@ x-webhooks: type: string enum: - assigned - assignee: *877 - enterprise: *850 - installation: *851 - number: &907 + assignee: *880 + enterprise: *853 + installation: *854 + number: &910 description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -172743,7 +173102,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -172825,11 +173184,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -175107,7 +175466,7 @@ x-webhooks: - draft reason: type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -175189,11 +175548,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -177471,7 +177830,7 @@ x-webhooks: - draft reason: type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -177553,13 +177912,13 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: &908 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: &911 allOf: - - *698 + - *699 - type: object properties: allow_auto_merge: @@ -177621,7 +177980,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *853 + repository: *856 sender: *4 required: - action @@ -177702,12 +178061,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -177787,11 +178146,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *850 - milestone: *680 - number: *907 - organization: *852 - pull_request: &909 + enterprise: *853 + milestone: *681 + number: *910 + organization: *855 + pull_request: &912 title: Pull Request type: object properties: @@ -180054,7 +180413,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -180133,11 +180492,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -182419,7 +182778,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *853 + repository: *856 sender: *4 required: - action @@ -182543,12 +182902,12 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -182628,11 +182987,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -184899,7 +185258,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -184979,11 +185338,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *850 - installation: *851 - label: *871 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + label: *874 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -187265,7 +187624,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -187346,10 +187705,10 @@ x-webhooks: type: string enum: - locked - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -189629,7 +189988,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -189709,12 +190068,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *850 - milestone: *680 - number: *907 - organization: *852 - pull_request: *909 - repository: *853 + enterprise: *853 + milestone: *681 + number: *910 + organization: *855 + pull_request: *912 + repository: *856 sender: *4 required: - action @@ -189793,12 +190152,12 @@ x-webhooks: type: string enum: - opened - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -189879,12 +190238,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -189964,12 +190323,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -190335,9 +190694,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -192507,7 +192866,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -192587,7 +192946,7 @@ x-webhooks: type: string enum: - deleted - comment: &911 + comment: &914 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. @@ -192872,9 +193231,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -195032,7 +195391,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -195112,11 +195471,11 @@ x-webhooks: type: string enum: - edited - changes: *910 - comment: *911 - enterprise: *850 - installation: *851 - organization: *852 + changes: *913 + comment: *914 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -197277,7 +197636,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -197358,9 +197717,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -199533,7 +199892,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 review: description: The review that was affected. type: object @@ -199780,9 +200139,9 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -201836,8 +202195,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 - review: &912 + repository: *856 + review: &915 description: The review that was affected. type: object properties: @@ -202070,12 +202429,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -204358,7 +204717,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_reviewer: title: User type: object @@ -204442,12 +204801,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -206737,7 +207096,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206929,12 +207288,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -209219,7 +209578,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_reviewer: title: User type: object @@ -209304,12 +209663,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -211585,7 +211944,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211766,9 +212125,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -213943,8 +214302,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 - review: *912 + repository: *856 + review: *915 sender: *4 required: - action @@ -214024,9 +214383,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -216096,7 +216455,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 sender: *4 thread: type: object @@ -216483,9 +216842,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -218541,7 +218900,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 sender: *4 thread: type: object @@ -218931,10 +219290,10 @@ x-webhooks: type: string before: type: string - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -221205,7 +221564,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -221287,11 +221646,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *913 - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + assignee: *916 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -223574,7 +223933,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -223653,11 +224012,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *850 - installation: *851 - label: *871 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + label: *874 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -225930,7 +226289,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -226011,10 +226370,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -228279,7 +228638,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -228479,7 +228838,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *850 + enterprise: *853 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228571,8 +228930,8 @@ x-webhooks: - url - author - committer - installation: *851 - organization: *852 + installation: *854 + organization: *855 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229147,9 +229506,9 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 registry_package: type: object properties: @@ -229595,7 +229954,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *894 + items: *897 summary: type: string tag_name: @@ -229649,7 +230008,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -229727,9 +230086,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 registry_package: type: object properties: @@ -230037,7 +230396,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *897 summary: type: string tag_name: @@ -230086,7 +230445,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -230163,10 +230522,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - release: &914 + enterprise: *853 + installation: *854 + organization: *855 + release: &917 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -230484,7 +230843,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *853 + repository: *856 sender: *4 required: - action @@ -230561,11 +230920,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -230682,11 +231041,11 @@ x-webhooks: type: boolean required: - to - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -230764,9 +231123,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231088,7 +231447,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *853 + repository: *856 sender: *4 required: - action @@ -231164,10 +231523,10 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - release: &915 + enterprise: *853 + installation: *854 + organization: *855 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231486,7 +231845,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *853 + repository: *856 sender: *4 required: - action @@ -231562,11 +231921,11 @@ x-webhooks: type: string enum: - released - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -231642,11 +232001,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *850 - installation: *851 - organization: *852 - release: *915 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *918 + repository: *856 sender: *4 required: - action @@ -231722,11 +232081,11 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - repository_advisory: *750 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + repository_advisory: *751 sender: *4 required: - action @@ -231802,11 +232161,11 @@ x-webhooks: type: string enum: - reported - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - repository_advisory: *750 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + repository_advisory: *751 sender: *4 required: - action @@ -231882,10 +232241,10 @@ x-webhooks: type: string enum: - archived - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -231962,10 +232321,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232043,10 +232402,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232130,10 +232489,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232245,10 +232604,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232320,10 +232679,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 status: type: string @@ -232404,10 +232763,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232484,10 +232843,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232581,10 +232940,10 @@ x-webhooks: - name required: - repository - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232664,10 +233023,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 sender: *4 required: @@ -232746,10 +233105,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 sender: *4 required: @@ -232828,10 +233187,10 @@ x-webhooks: type: string enum: - edited - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 changes: type: object @@ -232893,16 +233252,16 @@ x-webhooks: properties: added: type: array - items: *718 + items: *719 deleted: type: array - items: *718 + items: *719 updated: type: array items: type: object properties: - rule: *718 + rule: *719 changes: type: object properties: @@ -233136,10 +233495,10 @@ x-webhooks: - from required: - owner - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233217,10 +233576,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233298,7 +233657,7 @@ x-webhooks: type: string enum: - create - alert: &916 + alert: &919 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233419,10 +233778,10 @@ x-webhooks: type: string enum: - open - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233628,10 +233987,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233709,11 +234068,11 @@ x-webhooks: type: string enum: - reopen - alert: *916 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233912,10 +234271,10 @@ x-webhooks: enum: - fixed - open - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233993,7 +234352,7 @@ x-webhooks: type: string enum: - assigned - alert: &917 + alert: &920 type: object properties: number: *128 @@ -234112,10 +234471,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234193,11 +234552,11 @@ x-webhooks: type: string enum: - created - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234278,11 +234637,11 @@ x-webhooks: type: string enum: - created - alert: *917 - installation: *851 - location: *918 - organization: *852 - repository: *853 + alert: *920 + installation: *854 + location: *921 + organization: *855 + repository: *856 sender: *4 required: - location @@ -234520,11 +234879,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234602,11 +234961,11 @@ x-webhooks: type: string enum: - reopened - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234684,11 +235043,11 @@ x-webhooks: type: string enum: - resolved - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234766,12 +235125,12 @@ x-webhooks: type: string enum: - unassigned - alert: *917 + alert: *920 assignee: *4 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234849,11 +235208,11 @@ x-webhooks: type: string enum: - validated - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234979,10 +235338,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *853 - enterprise: *850 - installation: *851 - organization: *852 + repository: *856 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -235060,11 +235419,11 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - security_advisory: &919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + security_advisory: &922 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235247,11 +235606,11 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - security_advisory: *919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + security_advisory: *922 sender: *4 required: - action @@ -235324,10 +235683,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235511,11 +235870,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *419 - enterprise: *850 - installation: *851 - organization: *852 - repository: *461 + security_and_analysis: *420 + enterprise: *853 + installation: *854 + organization: *855 + repository: *462 sender: *4 required: - changes @@ -235593,12 +235952,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: &920 + sponsorship: &923 type: object properties: created_at: @@ -235899,12 +236258,12 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - sponsorship @@ -235992,12 +236351,12 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236074,17 +236433,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &921 + effective_date: &924 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: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - sponsorship @@ -236158,7 +236517,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &922 + changes: &925 type: object properties: tier: @@ -236202,13 +236561,13 @@ x-webhooks: - from required: - tier - effective_date: *921 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + effective_date: *924 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236285,13 +236644,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *922 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + changes: *925 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236365,10 +236724,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236451,10 +236810,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236874,15 +237233,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *850 + enterprise: *853 id: description: The unique identifier of the status. type: integer - installation: *851 + installation: *854 name: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 sha: description: The Commit SHA. @@ -236997,9 +237356,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237089,9 +237448,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237181,9 +237540,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237273,9 +237632,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237352,12 +237711,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - team: &923 + team: &926 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237580,9 +237939,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -238040,7 +238399,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -238116,9 +238475,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -238576,7 +238935,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -238653,9 +239012,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -239113,7 +239472,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -239257,9 +239616,9 @@ x-webhooks: - from required: - permissions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -239717,7 +240076,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - changes @@ -239795,9 +240154,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -240255,7 +240614,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -240331,10 +240690,10 @@ x-webhooks: type: string enum: - started - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -240407,16 +240766,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *850 + enterprise: *853 inputs: type: object nullable: true additionalProperties: true - installation: *851 - organization: *852 + installation: *854 + organization: *855 ref: type: string - repository: *853 + repository: *856 sender: *4 workflow: type: string @@ -240498,10 +240857,10 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: allOf: @@ -240738,7 +241097,7 @@ x-webhooks: type: string required: - conclusion - deployment: *600 + deployment: *601 required: - action - repository @@ -240817,10 +241176,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: allOf: @@ -241080,7 +241439,7 @@ x-webhooks: required: - status - steps - deployment: *600 + deployment: *601 required: - action - repository @@ -241159,10 +241518,10 @@ x-webhooks: type: string enum: - queued - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: type: object @@ -241297,7 +241656,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *600 + deployment: *601 required: - action - repository @@ -241376,10 +241735,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: type: object @@ -241515,7 +241874,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *600 + deployment: *601 required: - action - repository @@ -241595,12 +241954,12 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object @@ -242599,12 +242958,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object @@ -243588,12 +243947,12 @@ x-webhooks: type: string enum: - requested - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index d232d58c0b..2f9ffe5065 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -107212,7 +107212,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -108361,7 +108362,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -121840,7 +121842,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -127348,7 +127351,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -128896,7 +128900,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -142647,7 +142652,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -145457,7 +145463,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -155069,7 +155076,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -157728,7 +157736,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -179403,7 +179412,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -181421,7 +181431,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -188406,7 +188417,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -192804,7 +192816,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -193881,7 +193894,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -196933,7 +196947,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -198932,7 +198947,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -222606,6 +222622,736 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "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 view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "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": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -226322,7 +227068,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -245808,7 +246555,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -252696,7 +253444,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -272437,7 +273186,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -273129,7 +273879,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -274757,7 +275508,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -275449,7 +276201,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -277811,7 +278564,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -278503,7 +279257,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -284891,7 +285646,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -285583,7 +286339,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -318806,7 +319563,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -320409,7 +321167,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -321654,7 +322413,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -323127,7 +323887,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -329385,14 +330146,14 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true }, "examples": { "response": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { @@ -336499,7 +337260,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -338258,7 +339020,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -339655,7 +340418,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -343016,7 +343780,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -355307,7 +356072,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -356473,7 +357239,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -389100,7 +389867,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -403808,7 +404576,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -405028,7 +405797,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -487760,7 +488530,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -511333,7 +512104,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -512730,7 +513502,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -570654,7 +571427,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -575585,7 +576359,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -586566,7 +587341,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -587936,7 +588712,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -596521,7 +597298,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -601588,7 +602366,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -603540,7 +604319,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -604937,7 +605717,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -606725,7 +607506,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -608553,7 +609335,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -610122,7 +610905,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -616934,7 +617718,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -618583,7 +619368,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -620006,7 +620792,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -636419,7 +637206,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -637733,7 +638521,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -638749,7 +639538,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -646082,7 +646872,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -651165,7 +651956,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -658815,226 +659607,956 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "drafts" - } - } - }, - "/users": { - "get": { - "summary": "List users", - "description": "Lists all users, in the order that they signed up on GitHub Enterprise Cloud. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", - "tags": [ - "users" - ], - "operationId": "users/list", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users" - }, - "parameters": [ - { - "name": "since", - "description": "A user ID. Only return users with an ID greater than this ID.", - "in": "query", - "required": false, - "schema": { - "type": "integer" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "drafts" + } + } + }, + "/users": { + "get": { + "summary": "List users", + "description": "Lists all users, in the order that they signed up on GitHub Enterprise Cloud. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of users.", + "tags": [ + "users" + ], + "operationId": "users/list", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users" + }, + "parameters": [ + { + "name": "since", + "description": "A user ID. Only return users with an ID greater than this ID.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "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": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\"", + "schema": { + "type": "string" + } + } + } + }, + "304": { + "description": "Not modified" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "users", + "subcategory": "users" + } + } + }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "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 view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "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" + } + } + } + } + } }, - { - "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", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" - } + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "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" + } + } + ] + } + } } - ] + } } } } - }, - "headers": { - "Link": { - "example": "; rel=\"next\"", + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { "schema": { - "type": "string" + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } } } } - }, - "304": { - "description": "Not modified" } }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" } } }, @@ -661282,7 +662804,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -691433,7 +692956,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -692510,7 +694034,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -729293,7 +730818,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -732096,7 +733622,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -752744,7 +754271,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -756802,7 +758330,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -760860,7 +762389,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -764931,7 +766461,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 75d43ffe34..6bde319634 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &440 + type: &441 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &752 + - &753 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &762 + schema: &763 title: Scim Error description: Scim Error type: object @@ -2918,7 +2918,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &417 + properties: &418 id: description: Unique identifier of the repository example: 42 @@ -3356,7 +3356,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &418 + required: &419 - archive_url - assignees_url - blobs_url @@ -8897,7 +8897,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &763 + '401': &764 description: Authorization failure '404': *6 x-github: @@ -13108,7 +13108,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &530 + instances_url: &531 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: &531 + dismissed_reason: &532 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: &532 + dismissed_comment: &533 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &533 + rule: &534 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: &534 + tool: &535 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: &535 + most_recent_instance: &536 type: object properties: - ref: &528 + ref: &529 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &545 + analysis_key: &546 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: &546 + environment: &547 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: &547 + category: &548 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: &548 + location: &549 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: &549 + items: &550 type: string description: A classification of the file. For example to identify it as generated. @@ -16939,7 +16939,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 - - &590 + - &591 name: has in: query description: |- @@ -17052,7 +17052,7 @@ paths: - unknown - direct - transitive - security_advisory: &591 + security_advisory: &592 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17284,14 +17284,14 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: &592 + auto_dismissed_at: &593 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: &593 + dismissal_request: &594 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18484,7 +18484,7 @@ paths: - name - created_on examples: - default: &445 + default: &446 value: total_count: 2 network_configurations: @@ -18707,7 +18707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &446 + - &447 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18719,7 +18719,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &448 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18753,7 +18753,7 @@ paths: - subnet_id - region examples: - default: &448 + default: &449 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19568,7 +19568,7 @@ paths: required: true content: application/json: - schema: &416 + schema: &417 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20752,7 +20752,7 @@ paths: nullable: true anyOf: - *162 - - &422 + - &423 title: Organization ruleset conditions type: object description: |- @@ -20799,7 +20799,7 @@ paths: - *165 rules: type: array - items: &718 + items: &719 title: Repository Rule type: object description: A repository rule. @@ -20808,7 +20808,7 @@ paths: - *171 - *172 - *173 - - &716 + - &717 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21136,7 +21136,7 @@ paths: type: string format: date-time examples: - default: &425 + default: &426 value: - version_id: 3 actor: @@ -21189,7 +21189,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &427 allOf: - *195 - type: object @@ -21244,7 +21244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &427 + - &428 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21255,7 +21255,7 @@ paths: enum: - open - resolved - - &428 + - &429 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21265,7 +21265,7 @@ paths: required: false schema: type: string - - &429 + - &430 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21274,7 +21274,7 @@ paths: required: false schema: type: string - - &430 + - &431 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21293,7 +21293,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &431 + - &432 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21309,7 +21309,7 @@ paths: - *17 - *108 - *109 - - &432 + - &433 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21318,7 +21318,7 @@ paths: required: false schema: type: string - - &433 + - &434 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21327,7 +21327,7 @@ paths: schema: type: boolean default: false - - &434 + - &435 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21336,7 +21336,7 @@ paths: schema: type: boolean default: false - - &435 + - &436 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21352,7 +21352,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: number: *128 @@ -21371,14 +21371,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &730 + state: &731 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &731 + resolution: &732 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21485,8 +21485,8 @@ paths: pull request. ' - oneOf: &732 - - &734 + oneOf: &733 + - &735 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21538,7 +21538,7 @@ paths: - blob_url - commit_sha - commit_url - - &735 + - &736 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -21593,7 +21593,7 @@ paths: - page_url - commit_sha - commit_url - - &736 + - &737 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21607,7 +21607,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &737 + - &738 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21621,7 +21621,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &738 + - &739 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21635,7 +21635,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &739 + - &740 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21649,7 +21649,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &740 + - &741 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21663,7 +21663,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &741 + - &742 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21677,7 +21677,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &742 + - &743 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -21691,7 +21691,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &743 + - &744 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -21705,7 +21705,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &744 + - &745 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -21719,7 +21719,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &745 + - &746 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -21733,7 +21733,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &746 + - &747 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21760,7 +21760,7 @@ paths: required: *21 nullable: true examples: - default: &437 + default: &438 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21969,7 +21969,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &439 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22052,7 +22052,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &439 + default: &440 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22188,7 +22188,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &442 + - &443 name: advanced_security_product in: query description: | @@ -22208,7 +22208,7 @@ paths: description: Success content: application/json: - schema: &443 + schema: &444 type: object properties: total_advanced_security_committers: @@ -22263,7 +22263,7 @@ paths: required: - repositories examples: - default: &444 + default: &445 value: total_advanced_security_committers: 2 total_count: 2 @@ -25027,7 +25027,7 @@ paths: properties: action: type: string - discussion: &868 + discussion: &871 title: Discussion description: A Discussion in a repository. type: object @@ -25394,7 +25394,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &654 + properties: &655 id: type: integer format: int64 @@ -25771,7 +25771,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &790 + sub_issues_summary: &791 title: Sub-issues Summary type: object properties: @@ -25791,7 +25791,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &791 + issue_dependencies_summary: &792 title: Issue Dependencies Summary type: object properties: @@ -25810,7 +25810,7 @@ paths: - total_blocking issue_field_values: type: array - items: &792 + items: &793 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25871,7 +25871,7 @@ paths: - node_id - data_type - value - required: &655 + required: &656 - assignee - closed_at - comments @@ -25909,7 +25909,7 @@ paths: action: type: string issue: *221 - comment: &650 + comment: &651 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -26628,7 +26628,7 @@ paths: type: string release: allOf: - - &709 + - &710 title: Release description: A release. type: object @@ -26699,7 +26699,7 @@ paths: author: *4 assets: type: array - items: &710 + items: &711 title: Release Asset description: Data related to a release. type: object @@ -27278,7 +27278,7 @@ paths: url: type: string format: uri - user: &798 + user: &799 title: Public User description: Public User type: object @@ -30583,14 +30583,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: - - &456 + - &457 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &457 + - &458 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -30652,7 +30652,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &462 + '301': &463 description: Moved permanently content: application/json: @@ -30674,7 +30674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &683 + - &684 name: all description: If `true`, show notifications marked as read. in: query @@ -30682,7 +30682,7 @@ paths: schema: type: boolean default: false - - &684 + - &685 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -30692,7 +30692,7 @@ paths: type: boolean default: false - *228 - - &685 + - &686 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -30987,6 +30987,7 @@ paths: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -31004,7 +31005,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &419 + security_and_analysis: &420 nullable: true type: object properties: @@ -31174,7 +31175,7 @@ paths: - url - subscription_url examples: - default: &686 + default: &687 value: - id: '1' repository: @@ -32291,7 +32292,7 @@ paths: type: array items: *156 examples: - default: &692 + default: &693 value: - property_name: environment value: production @@ -32341,7 +32342,7 @@ paths: required: - properties examples: - default: &693 + default: &694 value: properties: - property_name: environment @@ -33154,7 +33155,7 @@ paths: type: integer repository_cache_usages: type: array - items: &469 + items: &470 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -35268,7 +35269,7 @@ paths: type: array items: *284 examples: - default: &801 + default: &802 value: total_count: 1 repositories: @@ -36310,7 +36311,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &490 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36339,7 +36340,7 @@ paths: - key_id - key examples: - default: &490 + default: &491 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36752,7 +36753,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &474 + - &475 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)." @@ -37967,12 +37968,12 @@ paths: required: - subject_digests examples: - default: &829 + default: &832 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &830 + withPredicateType: &833 value: subject_digests: - sha256:abc123 @@ -38030,7 +38031,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &831 + default: &834 value: attestations_subject_digests: - sha256:abc: @@ -38379,7 +38380,7 @@ paths: initiator: type: string examples: - default: &503 + default: &504 value: attestations: - bundle: @@ -39296,7 +39297,7 @@ paths: be returned. in: query required: false - schema: &529 + schema: &530 type: string description: Severity of a code scanning alert. enum: @@ -40351,7 +40352,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &561 + properties: &562 name: type: string description: The name of the machine. @@ -40393,7 +40394,7 @@ paths: - ready - in_progress nullable: true - required: &562 + required: &563 - name - display_name - operating_system @@ -41261,7 +41262,7 @@ paths: - updated_at - visibility examples: - default: &563 + default: &564 value: total_count: 2 secrets: @@ -41299,7 +41300,7 @@ paths: description: Response content: application/json: - schema: &564 + schema: &565 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41328,7 +41329,7 @@ paths: - key_id - key examples: - default: &565 + default: &566 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41360,7 +41361,7 @@ paths: application/json: schema: *327 examples: - default: &567 + default: &568 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43219,7 +43220,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &597 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43236,7 +43237,7 @@ paths: - key_id - key examples: - default: &597 + default: &598 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43566,7 +43567,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &605 + - &606 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -43574,7 +43575,7 @@ paths: required: false schema: type: string - - &606 + - &607 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -43582,7 +43583,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: time_period description: |- The time period to filter by. @@ -43598,7 +43599,7 @@ paths: - week - month default: month - - &608 + - &609 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -43623,7 +43624,7 @@ paths: application/json: schema: type: array - items: &609 + items: &610 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -43779,7 +43780,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &610 + default: &611 value: - id: 21 number: 42 @@ -43897,7 +43898,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -44014,7 +44015,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &612 + default: &613 value: - id: 21 number: 42 @@ -44116,7 +44117,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -44237,7 +44238,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &614 + default: &615 value: - id: 21 number: 42 @@ -44582,7 +44583,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -44663,7 +44664,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &454 + default: &455 value: group_id: '123' group_name: Octocat admins @@ -44718,7 +44719,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -44755,7 +44756,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &452 + default: &453 value: groups: - group_id: '123' @@ -44913,7 +44914,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -44927,7 +44928,7 @@ paths: - name - description examples: - default: &421 + default: &422 value: - name: add_assignee description: Assign or remove a user @@ -46057,7 +46058,7 @@ paths: application/json: schema: *22 examples: - default: &645 + default: &646 value: id: 1 account: @@ -46282,7 +46283,7 @@ paths: required: true content: application/json: - schema: &646 + schema: &647 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -47143,7 +47144,7 @@ paths: application/json: schema: *376 examples: - default: &560 + default: &561 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -48392,7 +48393,7 @@ paths: parameters: - *87 - *382 - - &814 + - &815 name: repo_name description: repo_name parameter in: path @@ -49424,7 +49425,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &441 + items: &442 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -49718,7 +49719,7 @@ paths: - nuget - container - *87 - - &815 + - &816 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -49759,7 +49760,7 @@ paths: default: *388 '403': *29 '401': *25 - '400': &817 + '400': &818 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -51551,7 +51552,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &904 + properties: &907 id: type: number description: The unique identifier of the status update. @@ -51599,7 +51600,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &905 + required: &908 - id - node_id - created_at @@ -51813,7 +51814,7 @@ paths: content: oneOf: - *221 - - &577 + - &578 title: Pull Request Simple description: Pull Request Simple type: object @@ -52042,7 +52043,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: &695 + auto_merge: &696 title: Auto merge description: The status of auto merging a pull request. type: object @@ -52417,7 +52418,7 @@ paths: - updated_at - project_url examples: - default: &834 + default: &837 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52594,7 +52595,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &835 + items: &838 type: object properties: name: @@ -52630,7 +52631,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &836 + iteration_configuration: &839 type: object description: The configuration for iteration fields. properties: @@ -52679,7 +52680,7 @@ paths: value: name: Due date data_type: date - single_select_field: &837 + single_select_field: &840 summary: Create a single select field value: name: Priority @@ -52706,7 +52707,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &838 + iteration_field: &841 summary: Create an iteration field value: name: Sprint @@ -52732,7 +52733,7 @@ paths: application/json: schema: *409 examples: - text_field: &839 + text_field: &842 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -52741,7 +52742,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &840 + number_field: &843 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -52750,7 +52751,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &841 + date_field: &844 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -52759,7 +52760,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &842 + single_select_field: &845 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52793,7 +52794,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &843 + iteration_field: &846 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -52839,7 +52840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *405 - - &844 + - &847 name: field_id description: The unique identifier of the field. in: path @@ -52854,7 +52855,7 @@ paths: application/json: schema: *409 examples: - default: &845 + default: &848 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53966,6 +53967,253 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - *87 + - *405 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: &829 + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element + is a tuple of [field_id, direction] where direction is "asc" + or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping + (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by + examples: + table_view: + summary: Response for creating a table view + value: &416 + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 + board_view: + summary: Response for creating a board view with filter + value: *416 + roadmap_view: + summary: Response for creating a roadmap view + value: *416 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -53980,7 +54228,7 @@ paths: parameters: - *405 - *87 - - &846 + - &849 name: view_number description: The number that identifies the project view. in: path @@ -54178,7 +54426,7 @@ paths: required: true content: application/json: - schema: *416 + schema: *417 examples: default: value: @@ -54746,7 +54994,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &462 title: Full Repository description: Full Repository type: object @@ -55023,8 +55271,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true temp_clone_token: type: string @@ -55139,7 +55387,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &582 + properties: &583 url: type: string format: uri @@ -55155,12 +55403,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &583 + required: &584 - url - key - name - html_url - security_and_analysis: *419 + security_and_analysis: *420 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -55244,7 +55492,7 @@ paths: - network_count - subscribers_count examples: - default: &463 + default: &464 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55770,9 +56018,9 @@ paths: application/json: schema: type: array - items: *420 + items: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55797,7 +56045,7 @@ paths: - *87 - *17 - *19 - - &717 + - &718 name: targets description: | A comma-separated list of rule targets to filter by. @@ -55888,11 +56136,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *422 + conditions: *423 rules: type: array description: An array of rules within the ruleset. - items: &424 + items: &425 title: Repository Rule type: object description: A repository rule. @@ -55957,7 +56205,7 @@ paths: application/json: schema: *191 examples: - default: &423 + default: &424 value: id: 21 name: super cool ruleset @@ -56012,7 +56260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &719 + - &720 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -56024,14 +56272,14 @@ paths: x-multi-segment: true - *310 - *105 - - &720 + - &721 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &721 + - &722 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -56051,7 +56299,7 @@ paths: description: Response content: application/json: - schema: &722 + schema: &723 title: Rule Suites description: Response type: array @@ -56106,7 +56354,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &723 + default: &724 value: - id: 21 actor_id: 12 @@ -56150,7 +56398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &724 + - &725 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -56166,7 +56414,7 @@ paths: description: Response content: application/json: - schema: &725 + schema: &726 title: Rule Suite description: Response type: object @@ -56265,7 +56513,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &726 + default: &727 value: id: 21 actor_id: 12 @@ -56340,7 +56588,7 @@ paths: application/json: schema: *191 examples: - default: *423 + default: *424 '404': *6 '500': *40 put: @@ -56389,11 +56637,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *422 + conditions: *423 rules: description: An array of rules within the ruleset. type: array - items: *424 + items: *425 examples: default: value: @@ -56430,7 +56678,7 @@ paths: application/json: schema: *191 examples: - default: *423 + default: *424 '404': *6 '500': *40 delete: @@ -56489,7 +56737,7 @@ paths: type: array items: *195 examples: - default: *425 + default: *426 '404': *6 '500': *40 x-github: @@ -56526,7 +56774,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -56589,15 +56837,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *427 - *428 - *429 - *430 - *431 + - *432 - *110 - *19 - *17 - - &728 + - &729 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -56607,7 +56855,7 @@ paths: required: false schema: type: string - - &729 + - &730 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -56617,10 +56865,10 @@ paths: required: false schema: type: string - - *432 - *433 - *434 - *435 + - *436 responses: '200': description: Response @@ -56628,9 +56876,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *437 + default: *438 headers: Link: *47 '404': *6 @@ -56665,9 +56913,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '403': *29 '404': *6 patch: @@ -56820,7 +57068,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 description: A repository security advisory. type: object properties: @@ -57040,7 +57288,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 credits_detailed: type: array nullable: true @@ -57050,7 +57298,7 @@ paths: type: object properties: user: *4 - type: *440 + type: *441 state: type: string description: The state of the user's acceptance of the @@ -57111,7 +57359,7 @@ paths: - private_fork additionalProperties: false examples: - default: &751 + default: &752 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -57498,7 +57746,7 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: default: *386 x-github: @@ -57582,7 +57830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *442 + - *443 - *17 - *19 responses: @@ -57590,9 +57838,9 @@ paths: description: Success content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57873,7 +58121,7 @@ paths: type: array items: *148 examples: - default: *445 + default: *446 headers: Link: *47 x-github: @@ -58074,15 +58322,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 headers: Link: *47 x-github: @@ -58120,7 +58368,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &459 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -58166,7 +58414,7 @@ paths: type: string nullable: true examples: - default: &459 + default: &460 value: groups: - group_id: '123' @@ -58374,7 +58622,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -58701,7 +58949,7 @@ paths: - repos_count - organization examples: - default: &450 + default: &451 value: id: 1 node_id: MDQ6VGVhbTE= @@ -58778,9 +59026,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -58864,16 +59112,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '201': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 '422': *15 '403': *29 @@ -58929,9 +59177,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58974,9 +59222,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *454 + default: *455 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59117,7 +59365,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &456 title: Team Membership description: Team Membership type: object @@ -59144,7 +59392,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &794 + response-if-user-is-a-team-maintainer: &795 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59207,9 +59455,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-users-membership-with-team-is-now-pending: &795 + response-if-users-membership-with-team-is-now-pending: &796 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -59316,14 +59564,14 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &796 + schema: &797 title: Team Repository description: A team's access to a repository. type: object @@ -59894,8 +60142,8 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 requestBody: required: false content: @@ -59942,8 +60190,8 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 responses: '204': description: Response @@ -59976,9 +60224,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60044,7 +60292,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -60089,7 +60337,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: &797 + response-if-child-teams-exist: &798 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60243,7 +60491,7 @@ paths: resources: type: object properties: - core: &460 + core: &461 title: Rate Limit type: object properties: @@ -60260,21 +60508,21 @@ paths: - remaining - reset - used - graphql: *460 - search: *460 - code_search: *460 - source_import: *460 - integration_manifest: *460 - code_scanning_upload: *460 - actions_runner_registration: *460 - scim: *460 - dependency_snapshots: *460 - dependency_sbom: *460 - code_scanning_autofix: *460 + graphql: *461 + search: *461 + code_search: *461 + source_import: *461 + integration_manifest: *461 + code_scanning_upload: *461 + actions_runner_registration: *461 + scim: *461 + dependency_snapshots: *461 + dependency_sbom: *461 + code_scanning_autofix: *461 required: - core - search - rate: *460 + rate: *461 required: - rate - resources @@ -60379,14 +60627,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: default-response: summary: Default response @@ -60891,7 +61139,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *462 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60909,8 +61157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -61167,10 +61415,10 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 - '307': &464 + default: *464 + '307': &465 description: Temporary Redirect content: application/json: @@ -61199,8 +61447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -61222,7 +61470,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': *464 + '307': *465 '404': *6 '409': *119 x-github: @@ -61246,11 +61494,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 - - &481 + - &482 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61273,7 +61521,7 @@ paths: type: integer artifacts: type: array - items: &465 + items: &466 title: Artifact description: An artifact type: object @@ -61351,7 +61599,7 @@ paths: - expires_at - updated_at examples: - default: &482 + default: &483 value: total_count: 2 artifacts: @@ -61412,9 +61660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *456 - *457 - - &466 + - *458 + - &467 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61426,7 +61674,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -61464,9 +61712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *456 - *457 - - *466 + - *458 + - *467 responses: '204': description: Response @@ -61490,9 +61738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *456 - *457 - - *466 + - *458 + - *467 - name: archive_format in: path required: true @@ -61506,7 +61754,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': &649 + '410': &650 description: Gone content: application/json: @@ -61531,14 +61779,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: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &467 + schema: &468 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -61571,13 +61819,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: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *467 + schema: *468 examples: selected_actions: *44 responses: @@ -61606,14 +61854,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: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &468 + schema: &469 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -61646,13 +61894,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: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *468 + schema: *469 examples: selected_actions: *46 responses: @@ -61683,14 +61931,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: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -61716,11 +61964,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: - - *456 - *457 + - *458 - *17 - *19 - - &470 + - &471 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 @@ -61754,7 +62002,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: Repository actions caches description: Repository actions caches type: object @@ -61796,7 +62044,7 @@ paths: - total_count - actions_caches examples: - default: &472 + default: &473 value: total_count: 1 actions_caches: @@ -61828,23 +62076,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: - - *456 - *457 + - *458 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61864,8 +62112,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: - - *456 - *457 + - *458 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61896,9 +62144,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: - - *456 - *457 - - &473 + - *458 + - &474 name: job_id description: The unique identifier of the job. in: path @@ -61910,7 +62158,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: Job description: Information of a job execution in a workflow run type: object @@ -62217,9 +62465,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: - - *456 - *457 - - *473 + - *458 + - *474 responses: '302': description: Response @@ -62247,9 +62495,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: - - *456 - *457 - - *473 + - *458 + - *474 requestBody: required: false content: @@ -62294,8 +62542,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: - - *456 - *457 + - *458 responses: '200': description: Status response @@ -62345,8 +62593,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -62409,8 +62657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -62428,7 +62676,7 @@ paths: type: integer secrets: type: array - items: &487 + items: &488 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62448,7 +62696,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &489 value: total_count: 2 secrets: @@ -62481,9 +62729,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *456 - *457 - - *474 + - *458 + - *475 - *19 responses: '200': @@ -62500,7 +62748,7 @@ paths: type: integer variables: type: array - items: &491 + items: &492 title: Actions Variable type: object properties: @@ -62530,7 +62778,7 @@ paths: - created_at - updated_at examples: - default: &492 + default: &493 value: total_count: 2 variables: @@ -62563,8 +62811,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62573,7 +62821,7 @@ paths: schema: type: object properties: - enabled: &475 + enabled: &476 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -62608,8 +62856,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62620,7 +62868,7 @@ paths: schema: type: object properties: - enabled: *475 + enabled: *476 allowed_actions: *60 sha_pinning_required: *61 required: @@ -62653,14 +62901,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: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &476 + schema: &477 type: object properties: access_level: @@ -62678,7 +62926,7 @@ paths: required: - access_level examples: - default: &477 + default: &478 value: access_level: organization x-github: @@ -62703,15 +62951,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: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *476 + schema: *477 examples: - default: *477 + default: *478 responses: '204': description: Response @@ -62735,8 +62983,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62766,8 +63014,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: - - *456 - *457 + - *458 responses: '204': description: Empty response for successful settings update @@ -62801,8 +63049,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62829,8 +63077,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62864,8 +63112,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62893,8 +63141,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -62925,8 +63173,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62957,8 +63205,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62990,8 +63238,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -63020,8 +63268,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: - - *456 - *457 + - *458 responses: '204': description: Success response @@ -63061,8 +63309,8 @@ paths: in: query schema: type: string - - *456 - *457 + - *458 - *17 - *19 responses: @@ -63106,8 +63354,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -63139,8 +63387,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -63214,8 +63462,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: - - *456 - *457 + - *458 responses: '201': description: Response @@ -63251,8 +63499,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: - - *456 - *457 + - *458 responses: '201': description: Response @@ -63282,8 +63530,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: - - *456 - *457 + - *458 - *75 responses: '200': @@ -63313,8 +63561,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: - - *456 - *457 + - *458 - *75 responses: '204': @@ -63341,8 +63589,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: - - *456 - *457 + - *458 - *75 responses: '200': *81 @@ -63367,8 +63615,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: - - *456 - *457 + - *458 - *75 requestBody: required: true @@ -63417,8 +63665,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: - - *456 - *457 + - *458 - *75 requestBody: required: true @@ -63468,8 +63716,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: - - *456 - *457 + - *458 - *75 responses: '200': *291 @@ -63499,8 +63747,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: - - *456 - *457 + - *458 - *75 - *292 responses: @@ -63530,9 +63778,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: - - *456 - *457 - - &495 + - *458 + - &496 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. @@ -63540,7 +63788,7 @@ paths: required: false schema: type: string - - &496 + - &497 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63548,7 +63796,7 @@ paths: required: false schema: type: string - - &497 + - &498 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63557,7 +63805,7 @@ paths: required: false schema: type: string - - &498 + - &499 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 @@ -63584,7 +63832,7 @@ paths: - pending - *17 - *19 - - &499 + - &500 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)." @@ -63593,7 +63841,7 @@ paths: schema: type: string format: date-time - - &478 + - &479 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63602,13 +63850,13 @@ paths: schema: type: boolean default: false - - &500 + - &501 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &501 + - &502 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63631,7 +63879,7 @@ paths: type: integer workflow_runs: type: array - items: &479 + items: &480 title: Workflow Run description: An invocation of a workflow type: object @@ -63779,7 +64027,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &523 + properties: &524 id: type: string description: SHA for the commit @@ -63830,7 +64078,7 @@ paths: - name - email nullable: true - required: &524 + required: &525 - id - tree_id - message @@ -63877,7 +64125,7 @@ paths: - workflow_url - pull_requests examples: - default: &502 + default: &503 value: total_count: 1 workflow_runs: @@ -64113,24 +64361,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *456 - *457 - - &480 + - *458 + - &481 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *478 + - *479 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: &483 + default: &484 value: id: 30433642 name: Build @@ -64371,9 +64619,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '204': description: Response @@ -64396,9 +64644,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: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -64517,9 +64765,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: - - *456 - *457 - - *480 + - *458 + - *481 responses: '201': description: Response @@ -64552,12 +64800,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *456 - *457 - - *480 + - *458 + - *481 - *17 - *19 - - *481 + - *482 responses: '200': description: Response @@ -64573,9 +64821,9 @@ paths: type: integer artifacts: type: array - items: *465 + items: *466 examples: - default: *482 + default: *483 headers: Link: *47 x-github: @@ -64599,25 +64847,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *456 - *457 - - *480 - - &484 + - *458 + - *481 + - &485 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *478 + - *479 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64640,10 +64888,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: - - *456 - *457 - - *480 - - *484 + - *458 + - *481 + - *485 - *17 - *19 responses: @@ -64661,9 +64909,9 @@ paths: type: integer jobs: type: array - items: *485 + items: *486 examples: - default: &486 + default: &487 value: total_count: 1 jobs: @@ -64776,10 +65024,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *456 - *457 - - *480 - - *484 + - *458 + - *481 + - *485 responses: '302': description: Response @@ -64807,9 +65055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '202': description: Response @@ -64842,9 +65090,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: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: true content: @@ -64911,9 +65159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '202': description: Response @@ -64946,9 +65194,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: - - *456 - *457 - - *480 + - *458 + - *481 - 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 @@ -64978,9 +65226,9 @@ paths: type: integer jobs: type: array - items: *485 + items: *486 examples: - default: *486 + default: *487 headers: Link: *47 x-github: @@ -65005,9 +65253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '302': description: Response @@ -65034,9 +65282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '204': description: Response @@ -65063,9 +65311,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: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -65125,7 +65373,7 @@ paths: items: type: object properties: - type: &615 + type: &616 type: string description: The type of reviewer. enum: @@ -65210,9 +65458,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: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: true content: @@ -65259,7 +65507,7 @@ paths: application/json: schema: type: array - items: &600 + items: &601 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65365,7 +65613,7 @@ paths: - created_at - updated_at examples: - default: &601 + default: &602 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65421,9 +65669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: false content: @@ -65467,9 +65715,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: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: false content: @@ -65523,9 +65771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -65662,8 +65910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -65681,9 +65929,9 @@ paths: type: integer secrets: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *47 x-github: @@ -65708,16 +65956,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65739,17 +65987,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &628 + default: &629 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65775,8 +66023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -65834,8 +66082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -65861,9 +66109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *456 - *457 - - *474 + - *458 + - *475 - *19 responses: '200': @@ -65880,9 +66128,9 @@ paths: type: integer variables: type: array - items: *491 + items: *492 examples: - default: *492 + default: *493 headers: Link: *47 x-github: @@ -65905,8 +66153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -65958,17 +66206,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 responses: '200': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &629 + default: &630 value: name: USERNAME value: octocat @@ -65994,8 +66242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 requestBody: required: true @@ -66038,8 +66286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 responses: '204': @@ -66065,8 +66313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -66084,7 +66332,7 @@ paths: type: integer workflows: type: array - items: &493 + items: &494 title: Workflow description: A GitHub Actions workflow type: object @@ -66191,9 +66439,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *456 - *457 - - &494 + - *458 + - &495 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66208,7 +66456,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: value: @@ -66241,9 +66489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66268,9 +66516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66321,9 +66569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66350,19 +66598,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: - - *456 - *457 - - *494 + - *458 - *495 - *496 - *497 - *498 + - *499 - *17 - *19 - - *499 - - *478 - *500 + - *479 - *501 + - *502 responses: '200': description: Response @@ -66378,9 +66626,9 @@ paths: type: integer workflow_runs: type: array - items: *479 + items: *480 examples: - default: *502 + default: *503 headers: Link: *47 x-github: @@ -66413,9 +66661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '200': description: Response @@ -66476,8 +66724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *456 - *457 + - *458 - *110 - *17 - *108 @@ -66641,8 +66889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -66679,8 +66927,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: - - *456 - *457 + - *458 - name: assignee in: path required: true @@ -66716,8 +66964,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -66829,8 +67077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *456 - *457 + - *458 - *17 - *108 - *109 @@ -66887,7 +67135,7 @@ paths: initiator: type: string examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66907,8 +67155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -66916,7 +67164,7 @@ paths: application/json: schema: type: array - items: &504 + items: &505 title: Autolink reference description: An autolink reference. type: object @@ -66970,8 +67218,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -67010,9 +67258,9 @@ paths: description: response content: application/json: - schema: *504 + schema: *505 examples: - default: &505 + default: &506 value: id: 1 key_prefix: TICKET- @@ -67043,9 +67291,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: - - *456 - *457 - - &506 + - *458 + - &507 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67057,9 +67305,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -67079,9 +67327,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: - - *456 - *457 - - *506 + - *458 + - *507 responses: '204': description: Response @@ -67105,8 +67353,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: - - *456 - *457 + - *458 responses: '200': description: Response if Dependabot is enabled @@ -67154,8 +67402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -67176,8 +67424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -67197,8 +67445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *456 - *457 + - *458 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67236,7 +67484,7 @@ paths: - url protected: type: boolean - protection: &508 + protection: &509 title: Branch Protection description: Branch Protection type: object @@ -67278,7 +67526,7 @@ paths: required: - contexts - checks - enforce_admins: &511 + enforce_admins: &512 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67293,7 +67541,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &513 + required_pull_request_reviews: &514 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67369,7 +67617,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &510 + restrictions: &511 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67646,9 +67894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *456 - *457 - - &509 + - *458 + - &510 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). @@ -67662,14 +67910,14 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &573 + commit: &574 title: Commit description: Commit type: object @@ -67703,7 +67951,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &507 + properties: &508 name: type: string example: '"Chris Wanstrath"' @@ -67719,7 +67967,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true message: type: string @@ -67740,7 +67988,7 @@ paths: required: - sha - url - verification: &635 + verification: &636 title: Verification type: object properties: @@ -67810,7 +68058,7 @@ paths: type: integer files: type: array - items: &586 + items: &587 title: Diff Entry description: Diff Entry type: object @@ -67894,7 +68142,7 @@ paths: - self protected: type: boolean - protection: *508 + protection: *509 protection_url: type: string format: uri @@ -68001,7 +68249,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *462 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -68023,15 +68271,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -68225,9 +68473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -68482,7 +68730,7 @@ paths: url: type: string format: uri - required_status_checks: &516 + required_status_checks: &517 title: Status Check Policy description: Status Check Policy type: object @@ -68634,7 +68882,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *510 + restrictions: *511 required_conversation_resolution: type: object properties: @@ -68746,9 +68994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -68773,17 +69021,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &512 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68805,17 +69053,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68834,9 +69082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -68861,17 +69109,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: &514 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68967,9 +69215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69067,9 +69315,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -69090,9 +69338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69119,17 +69367,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &515 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69152,17 +69400,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *515 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -69182,9 +69430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69209,17 +69457,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &517 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69245,9 +69493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69299,9 +69547,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '404': *6 '422': *15 x-github: @@ -69323,9 +69571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69349,9 +69597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69385,9 +69633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69454,9 +69702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69520,9 +69768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: content: application/json: @@ -69588,15 +69836,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -69687,9 +69935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69712,9 +69960,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: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69724,7 +69972,7 @@ paths: type: array items: *5 examples: - default: &518 + default: &519 value: - id: 1 slug: octoapp @@ -69781,9 +70029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69817,7 +70065,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69838,9 +70086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69874,7 +70122,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69895,9 +70143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69931,7 +70179,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69953,9 +70201,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: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69985,9 +70233,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -70046,9 +70294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -70107,9 +70355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: content: application/json: @@ -70168,9 +70416,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: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -70204,9 +70452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70264,9 +70512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70324,9 +70572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70386,9 +70634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70410,7 +70658,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -70524,8 +70772,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -70561,8 +70809,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70635,8 +70883,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -70676,8 +70924,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70747,8 +70995,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70819,8 +71067,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_response_id in: path required: true @@ -70853,8 +71101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -71133,7 +71381,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &521 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71253,7 +71501,7 @@ paths: check. type: array items: *226 - deployment: &857 + deployment: &860 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71533,9 +71781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *456 - *457 - - &521 + - *458 + - &522 name: check_run_id description: The unique identifier of the check run. in: path @@ -71547,9 +71795,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &522 + default: &523 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71649,9 +71897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *456 - *457 - - *521 + - *458 + - *522 requestBody: required: true content: @@ -71891,9 +72139,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *522 + default: *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71913,9 +72161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *456 - *457 - - *521 + - *458 + - *522 - *17 - *19 responses: @@ -72010,9 +72258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *456 - *457 - - *521 + - *458 + - *522 responses: '201': description: Response @@ -72056,8 +72304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -72079,7 +72327,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &525 + schema: &526 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72165,12 +72413,12 @@ paths: type: string format: date-time nullable: true - head_commit: &888 + head_commit: &891 title: Simple Commit description: A commit. type: object - properties: *523 - required: *524 + properties: *524 + required: *525 latest_check_runs_count: type: integer check_runs_url: @@ -72198,7 +72446,7 @@ paths: - check_runs_url - pull_requests examples: - default: &526 + default: &527 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72489,9 +72737,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72510,8 +72758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -72820,9 +73068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *456 - *457 - - &527 + - *458 + - &528 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72834,9 +73082,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72859,17 +73107,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: - - *456 - *457 - - *527 - - &579 + - *458 + - *528 + - &580 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &580 + - &581 name: status description: Returns check runs with the specified `status`. in: query @@ -72908,9 +73156,9 @@ paths: type: integer check_runs: type: array - items: *520 + items: *521 examples: - default: &581 + default: &582 value: total_count: 1 check_runs: @@ -73012,9 +73260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *456 - *457 - - *527 + - *458 + - *528 responses: '201': description: Response @@ -73047,21 +73295,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: - - *456 - *457 + - *458 - *317 - *318 - *19 - *17 - - &543 + - &544 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: *528 - - &544 + schema: *529 + - &545 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73092,7 +73340,7 @@ paths: be returned. in: query required: false - schema: *529 + schema: *530 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73116,7 +73364,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *530 + instances_url: *531 state: *113 fixed_at: *138 dismissed_by: @@ -73127,11 +73375,11 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *531 - dismissed_comment: *532 - rule: *533 - tool: *534 - most_recent_instance: *535 + dismissed_reason: *532 + dismissed_comment: *533 + rule: *534 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73257,7 +73505,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &536 + '403': &537 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73284,9 +73532,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: - - *456 - *457 - - &537 + - *458 + - &538 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73300,7 +73548,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &539 type: object properties: number: *128 @@ -73308,7 +73556,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *530 + instances_url: *531 state: *113 fixed_at: *138 dismissed_by: @@ -73319,8 +73567,8 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *531 - dismissed_comment: *532 + dismissed_reason: *532 + dismissed_comment: *533 rule: type: object properties: @@ -73374,8 +73622,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *534 - most_recent_instance: *535 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73474,7 +73722,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73494,9 +73742,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: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: true content: @@ -73511,8 +73759,8 @@ paths: enum: - open - dismissed - dismissed_reason: *531 - dismissed_comment: *532 + dismissed_reason: *532 + dismissed_comment: *533 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73540,7 +73788,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: default: value: @@ -73616,7 +73864,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &542 + '403': &543 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73643,15 +73891,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: - - *456 - *457 - - *537 + - *458 + - *538 responses: '200': description: Response content: application/json: - schema: &539 + schema: &540 type: object properties: status: @@ -73677,13 +73925,13 @@ paths: - description - started_at examples: - default: &540 + default: &541 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &541 + '400': &542 description: Bad Request content: application/json: @@ -73694,7 +73942,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': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73719,29 +73967,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: - - *456 - *457 - - *537 + - *458 + - *538 responses: '200': description: OK content: application/json: - schema: *539 + schema: *540 examples: - default: *540 + default: *541 '202': description: Accepted content: application/json: - schema: *539 + schema: *540 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *541 + '400': *542 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73773,9 +74021,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: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: false content: @@ -73820,8 +74068,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *541 - '403': *542 + '400': *542 + '403': *543 '404': *6 '422': description: Unprocessable Entity @@ -73845,13 +74093,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: - - *456 - *457 - - *537 + - *458 + - *538 - *19 - *17 - - *543 - *544 + - *545 responses: '200': description: Response @@ -73862,10 +74110,10 @@ paths: items: type: object properties: - ref: *528 - analysis_key: *545 - environment: *546 - category: *547 + ref: *529 + analysis_key: *546 + environment: *547 + category: *548 state: type: string description: State of a code scanning alert instance. @@ -73880,7 +74128,7 @@ paths: properties: text: type: string - location: *548 + location: *549 html_url: type: string classifications: @@ -73888,7 +74136,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: *549 + items: *550 examples: default: value: @@ -73927,7 +74175,7 @@ paths: end_column: 50 classifications: - source - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73961,25 +74209,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: - - *456 - *457 + - *458 - *317 - *318 - *19 - *17 - - *544 + - *545 - 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: *528 + schema: *529 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &550 + schema: &551 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74000,23 +74248,23 @@ paths: application/json: schema: type: array - items: &551 + items: &552 type: object properties: - ref: *528 - commit_sha: &559 + ref: *529 + commit_sha: &560 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: *545 + analysis_key: *546 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *547 + category: *548 error: type: string example: error reading field xyz @@ -74040,8 +74288,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *550 - tool: *534 + sarif_id: *551 + tool: *535 deletable: type: boolean warning: @@ -74102,7 +74350,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74138,8 +74386,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: - - *456 - *457 + - *458 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74152,7 +74400,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: response: summary: application/json response @@ -74175,13 +74423,13 @@ paths: version: 2.4.0 deletable: true warning: '' - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true examples: response: - summary: application/json+sarif response + summary: application/sarif+json response value: runs: - tool: @@ -74206,7 +74454,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *536 + '403': *537 '404': *6 '422': description: Response if analysis could not be processed @@ -74293,8 +74541,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: - - *456 - *457 + - *458 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74347,7 +74595,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': *542 + '403': *543 '404': *6 '503': *196 x-github: @@ -74369,8 +74617,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -74378,7 +74626,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: CodeQL Database description: A CodeQL database. type: object @@ -74489,7 +74737,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': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74518,8 +74766,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: - - *456 - *457 + - *458 - name: language in: path description: The language of the CodeQL database. @@ -74531,7 +74779,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -74563,9 +74811,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': &588 + '302': &589 description: Found - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74587,8 +74835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *456 - *457 + - *458 - name: language in: path description: The language of the CodeQL database. @@ -74598,7 +74846,7 @@ paths: responses: '204': description: Response - '403': *542 + '403': *543 '404': *6 '503': *196 x-github: @@ -74626,8 +74874,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -74636,7 +74884,7 @@ paths: type: object additionalProperties: false properties: - language: &553 + language: &554 type: string description: The language targeted by the CodeQL query enum: @@ -74716,7 +74964,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &557 + schema: &558 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74726,7 +74974,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *553 + query_language: *554 query_pack_url: type: string description: The download url for the query pack. @@ -74773,7 +75021,7 @@ paths: items: type: object properties: - repository: &554 + repository: &555 title: Repository Identifier description: Repository Identifier type: object @@ -74809,7 +75057,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &558 + analysis_status: &559 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74841,7 +75089,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &555 + access_mismatch_repos: &556 type: object properties: repository_count: @@ -74855,7 +75103,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: *554 + items: *555 required: - repository_count - repositories @@ -74877,8 +75125,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *555 - over_limit_repos: *555 + no_codeql_db_repos: *556 + over_limit_repos: *556 required: - access_mismatch_repos - not_found_repos @@ -74894,7 +75142,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &556 + value: &557 summary: Default response value: id: 1 @@ -75040,10 +75288,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *556 + value: *557 repository_lists: summary: Response for a successful variant analysis submission - value: *556 + value: *557 '404': *6 '422': description: Unable to process variant analysis submission @@ -75071,8 +75319,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: - - *456 - *457 + - *458 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75084,9 +75332,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *556 + default: *557 '404': *6 '503': *196 x-github: @@ -75109,7 +75357,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: - - *456 + - *457 - name: repo in: path description: The name of the controller repository. @@ -75144,7 +75392,7 @@ paths: type: object properties: repository: *120 - analysis_status: *558 + analysis_status: *559 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75269,8 +75517,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -75355,7 +75603,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -75376,8 +75624,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -75469,7 +75717,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *542 + '403': *543 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75540,8 +75788,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -75549,7 +75797,7 @@ paths: schema: type: object properties: - commit_sha: *559 + commit_sha: *560 ref: type: string description: |- @@ -75607,7 +75855,7 @@ paths: schema: type: object properties: - id: *550 + id: *551 url: type: string description: The REST API URL for checking the status of the upload. @@ -75621,7 +75869,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': *542 + '403': *543 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75644,8 +75892,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: - - *456 - *457 + - *458 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75691,7 +75939,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': *536 + '403': *537 '404': description: Not Found if the sarif id does not match any upload '503': *196 @@ -75716,8 +75964,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -75798,8 +76046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *456 - *457 + - *458 - 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 @@ -75919,8 +76167,8 @@ paths: parameters: - *17 - *19 - - *456 - *457 + - *458 responses: '200': description: Response @@ -76234,8 +76482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -76300,7 +76548,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76308,7 +76556,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '400': *14 '401': *25 '403': *29 @@ -76337,8 +76585,8 @@ paths: parameters: - *17 - *19 - - *456 - *457 + - *458 responses: '200': description: Response @@ -76402,8 +76650,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: - - *456 - *457 + - *458 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76438,14 +76686,14 @@ paths: type: integer machines: type: array - items: &804 + items: &805 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *561 - required: *562 + properties: *562 + required: *563 examples: - default: &805 + default: &806 value: total_count: 2 machines: @@ -76485,8 +76733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *456 - *457 + - *458 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76570,8 +76818,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: - - *456 - *457 + - *458 - 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 @@ -76637,8 +76885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -76656,7 +76904,7 @@ paths: type: integer secrets: type: array - items: &566 + items: &567 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76676,7 +76924,7 @@ paths: - created_at - updated_at examples: - default: *563 + default: *564 headers: Link: *47 x-github: @@ -76699,16 +76947,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76728,17 +76976,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76758,8 +77006,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: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -76812,8 +77060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -76842,8 +77090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *456 - *457 + - *458 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76885,7 +77133,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &568 + properties: &569 login: type: string example: octocat @@ -76978,7 +77226,7 @@ paths: user_view_type: type: string example: public - required: &569 + required: &570 - avatar_url - events_url - followers_url @@ -77052,8 +77300,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: - - *456 - *457 + - *458 - *143 responses: '204': @@ -77100,8 +77348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 requestBody: required: false @@ -77128,7 +77376,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &648 + schema: &649 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77357,8 +77605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 responses: '204': @@ -77390,8 +77638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *456 - *457 + - *458 - *143 responses: '200': @@ -77412,8 +77660,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *568 - required: *569 + properties: *569 + required: *570 nullable: true required: - permission @@ -77468,8 +77716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -77479,7 +77727,7 @@ paths: application/json: schema: type: array - items: &570 + items: &571 title: Commit Comment description: Commit Comment type: object @@ -77537,7 +77785,7 @@ paths: - created_at - updated_at examples: - default: &575 + default: &576 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77596,17 +77844,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: &576 + default: &577 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77663,8 +77911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -77687,7 +77935,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -77738,8 +77986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -77761,8 +78009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -77789,7 +78037,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77832,7 +78080,7 @@ paths: - content - created_at examples: - default: &652 + default: &653 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77877,8 +78125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -77911,9 +78159,9 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: &572 + default: &573 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77942,9 +78190,9 @@ paths: description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -77966,10 +78214,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - &653 + - &654 name: reaction_id description: The unique identifier of the reaction. in: path @@ -78024,8 +78272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *456 - *457 + - *458 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78081,9 +78329,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: &702 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78177,9 +78425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *456 - *457 - - &574 + - *458 + - &575 name: commit_sha description: The SHA of the commit. in: path @@ -78251,9 +78499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *456 - *457 - - *574 + - *458 + - *575 - *17 - *19 responses: @@ -78263,9 +78511,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: *575 + default: *576 headers: Link: *47 x-github: @@ -78293,9 +78541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *456 - *457 - - *574 + - *458 + - *575 requestBody: required: true content: @@ -78330,9 +78578,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *576 + default: *577 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78360,9 +78608,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: - - *456 - *457 - - *574 + - *458 + - *575 - *17 - *19 responses: @@ -78372,9 +78620,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: &694 + default: &695 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78911,11 +79159,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *456 - *457 + - *458 - *19 - *17 - - &578 + - &579 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)" @@ -78930,9 +79178,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &679 + default: &680 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79045,11 +79293,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: - - *456 - *457 - - *578 + - *458 - *579 - *580 + - *581 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79083,9 +79331,9 @@ paths: type: integer check_runs: type: array - items: *520 + items: *521 examples: - default: *581 + default: *582 headers: Link: *47 x-github: @@ -79110,9 +79358,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: - - *456 - *457 - - *578 + - *458 + - *579 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79120,7 +79368,7 @@ paths: schema: type: integer example: 1 - - *579 + - *580 - *17 - *19 responses: @@ -79138,7 +79386,7 @@ paths: type: integer check_suites: type: array - items: *525 + items: *526 examples: default: value: @@ -79338,9 +79586,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: - - *456 - *457 - - *578 + - *458 + - *579 - *17 - *19 responses: @@ -79538,9 +79786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *456 - *457 - - *578 + - *458 + - *579 - *17 - *19 responses: @@ -79550,7 +79798,7 @@ paths: application/json: schema: type: array - items: &755 + items: &756 title: Status description: The status of a commit. type: object @@ -79631,7 +79879,7 @@ paths: site_admin: false headers: Link: *47 - '301': *462 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79659,8 +79907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -79689,20 +79937,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *582 - required: *583 + properties: *583 + required: *584 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &584 + properties: &585 url: type: string format: uri html_url: type: string format: uri - required: &585 + required: &586 - url - html_url nullable: true @@ -79716,26 +79964,26 @@ paths: contributing: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true readme: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true issue_template: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true pull_request_template: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - code_of_conduct @@ -79862,8 +80110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *456 - *457 + - *458 - *19 - *17 - name: basehead @@ -79906,8 +80154,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *573 - merge_base_commit: *573 + base_commit: *574 + merge_base_commit: *574 status: type: string enum: @@ -79927,10 +80175,10 @@ paths: example: 6 commits: type: array - items: *573 + items: *574 files: type: array - items: *586 + items: *587 required: - url - html_url @@ -80216,8 +80464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -80360,7 +80608,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &587 + response-if-content-is-a-file: &588 summary: Response if content is a file value: type: file @@ -80492,7 +80740,7 @@ paths: - size - type - url - - &707 + - &708 title: Content File description: Content File type: object @@ -80693,7 +80941,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *587 + response-if-content-is-a-file: *588 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80762,7 +81010,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *588 + '302': *589 '304': *37 x-github: githubCloudOnly: false @@ -80785,8 +81033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -80879,7 +81127,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &590 title: File Commit description: File Commit type: object @@ -81031,7 +81279,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: example-for-creating-a-file: value: @@ -81085,7 +81333,7 @@ paths: schema: oneOf: - *3 - - &630 + - &631 description: Repository rule violation was detected type: object properties: @@ -81106,7 +81354,7 @@ paths: items: type: object properties: - placeholder_id: &747 + placeholder_id: &748 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81138,8 +81386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -81200,7 +81448,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -81255,8 +81503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *456 - *457 + - *458 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81379,8 +81627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *456 - *457 + - *458 - *332 - *333 - *334 @@ -81392,7 +81640,7 @@ paths: schema: type: string - *336 - - *590 + - *591 - *337 - *338 - *110 @@ -81413,7 +81661,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 type: object description: A Dependabot alert. properties: @@ -81459,7 +81707,7 @@ paths: - unknown - direct - transitive - security_advisory: *591 + security_advisory: *592 security_vulnerability: *132 url: *133 html_url: *134 @@ -81490,8 +81738,8 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: *592 - dismissal_request: *593 + auto_dismissed_at: *593 + dismissal_request: *594 required: - number - state @@ -81721,9 +81969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *456 - *457 - - &595 + - *458 + - &596 name: alert_number in: path description: |- @@ -81738,7 +81986,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -81851,9 +82099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *456 - *457 - - *595 + - *458 + - *596 requestBody: required: true content: @@ -81898,7 +82146,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -82027,8 +82275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -82046,7 +82294,7 @@ paths: type: integer secrets: type: array - items: &598 + items: &599 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82099,16 +82347,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82128,15 +82376,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *598 + schema: *599 examples: default: value: @@ -82162,8 +82410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -82216,8 +82464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -82240,8 +82488,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: - - *456 - *457 + - *458 - 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 @@ -82401,8 +82649,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -82641,8 +82889,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -82717,7 +82965,7 @@ paths: - version - url additionalProperties: false - metadata: &599 + metadata: &600 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82750,7 +82998,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *599 + metadata: *600 resolved: type: object description: A collection of resolved package dependencies. @@ -82763,7 +83011,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *599 + metadata: *600 relationship: type: string description: A notation of whether a dependency is requested @@ -82892,8 +83140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *456 - *457 + - *458 - name: sha description: The SHA recorded at creation time. in: query @@ -82933,9 +83181,9 @@ paths: application/json: schema: type: array - items: *600 + items: *601 examples: - default: *601 + default: *602 headers: Link: *47 x-github: @@ -83001,8 +83249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -83083,7 +83331,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: simple-example: summary: Simple example @@ -83156,9 +83404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *456 - *457 - - &602 + - *458 + - &603 name: deployment_id description: deployment_id parameter in: path @@ -83170,7 +83418,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: default: value: @@ -83235,9 +83483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *456 - *457 - - *602 + - *458 + - *603 responses: '204': description: Response @@ -83259,9 +83507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *456 - *457 - - *602 + - *458 + - *603 - *17 - *19 responses: @@ -83271,7 +83519,7 @@ paths: application/json: schema: type: array - items: &603 + items: &604 title: Deployment Status description: The status of a deployment. type: object @@ -83432,9 +83680,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *456 - *457 - - *602 + - *458 + - *603 requestBody: required: true content: @@ -83509,9 +83757,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &604 + default: &605 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83567,9 +83815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *456 - *457 - - *602 + - *458 + - *603 - name: status_id in: path required: true @@ -83580,9 +83828,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *604 + default: *605 '404': *6 x-github: githubCloudOnly: false @@ -83609,12 +83857,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 - - *605 + - *458 - *606 - *607 - *608 + - *609 - *17 - *19 responses: @@ -83624,9 +83872,9 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: - default: *610 + default: *611 '404': *6 '403': *29 '500': *40 @@ -83650,8 +83898,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83663,7 +83911,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *609 + schema: *610 examples: default: value: @@ -83719,8 +83967,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83779,12 +84027,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 - - *605 + - *458 - *606 - *607 - *608 + - *609 - *17 - *19 responses: @@ -83794,9 +84042,9 @@ paths: application/json: schema: type: array - items: *611 + items: *612 examples: - default: *612 + default: *613 '404': *6 '403': *29 '500': *40 @@ -83820,8 +84068,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83833,7 +84081,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -83884,8 +84132,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83923,7 +84171,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -83974,8 +84222,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84046,8 +84294,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84080,8 +84328,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -84095,9 +84343,9 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: - default: *614 + default: *615 '404': *6 '403': *29 '500': *40 @@ -84122,8 +84370,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84135,7 +84383,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -84193,8 +84441,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84263,8 +84511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -84321,8 +84569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -84339,7 +84587,7 @@ paths: type: integer environments: type: array - items: &616 + items: &617 title: Environment description: Details of a deployment environment type: object @@ -84391,7 +84639,7 @@ paths: type: type: string example: wait_timer - wait_timer: &618 + wait_timer: &619 type: integer example: 30 description: The amount of time to delay a job after @@ -84428,7 +84676,7 @@ paths: items: type: object properties: - type: *615 + type: *616 reviewer: anyOf: - *4 @@ -84452,7 +84700,7 @@ paths: - id - node_id - type - deployment_branch_policy: &619 + deployment_branch_policy: &620 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -84568,9 +84816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *456 - *457 - - &617 + - *458 + - &618 name: environment_name in: path required: true @@ -84583,9 +84831,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &620 + default: &621 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84669,9 +84917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: false content: @@ -84680,7 +84928,7 @@ paths: type: object nullable: true properties: - wait_timer: *618 + wait_timer: *619 prevent_self_review: type: boolean example: false @@ -84697,13 +84945,13 @@ paths: items: type: object properties: - type: *615 + type: *616 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *619 + deployment_branch_policy: *620 additionalProperties: false examples: default: @@ -84723,9 +84971,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *620 + default: *621 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84749,9 +84997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *456 - *457 - - *617 + - *458 + - *618 responses: '204': description: Default response @@ -84776,9 +85024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *17 - *19 responses: @@ -84796,7 +85044,7 @@ paths: example: 2 branch_policies: type: array - items: &621 + items: &622 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84853,9 +85101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: true content: @@ -84901,9 +85149,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - example-wildcard: &622 + example-wildcard: &623 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84945,10 +85193,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - &623 + - *458 + - *618 + - &624 name: branch_policy_id in: path required: true @@ -84960,9 +85208,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84981,10 +85229,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - *623 + - *458 + - *618 + - *624 requestBody: required: true content: @@ -85012,9 +85260,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85033,10 +85281,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - *623 + - *458 + - *618 + - *624 responses: '204': description: Response @@ -85061,9 +85309,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: - - *617 + - *618 + - *458 - *457 - - *456 responses: '200': description: List of deployment protection rules @@ -85079,7 +85327,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &624 + items: &625 title: Deployment protection rule description: Deployment protection rule type: object @@ -85098,7 +85346,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &625 + app: &626 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85197,9 +85445,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: - - *617 + - *618 + - *458 - *457 - - *456 requestBody: content: application/json: @@ -85220,9 +85468,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *624 + schema: *625 examples: - default: &626 + default: &627 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85257,9 +85505,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: - - *617 + - *618 + - *458 - *457 - - *456 - *19 - *17 responses: @@ -85278,7 +85526,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *625 + items: *626 examples: default: value: @@ -85313,10 +85561,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: - - *456 - *457 - - *617 - - &627 + - *458 + - *618 + - &628 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85328,9 +85576,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85351,10 +85599,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: - - *617 + - *618 + - *458 - *457 - - *456 - - *627 + - *628 responses: '204': description: Response @@ -85380,9 +85628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *17 - *19 responses: @@ -85400,9 +85648,9 @@ paths: type: integer secrets: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *47 x-github: @@ -85427,17 +85675,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *456 - *457 - - *617 + - *458 + - *618 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85459,18 +85707,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *628 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85492,9 +85740,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 requestBody: required: true @@ -85552,9 +85800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 responses: '204': @@ -85580,10 +85828,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *456 - *457 - - *617 - - *474 + - *458 + - *618 + - *475 - *19 responses: '200': @@ -85600,9 +85848,9 @@ paths: type: integer variables: type: array - items: *491 + items: *492 examples: - default: *492 + default: *493 headers: Link: *47 x-github: @@ -85625,9 +85873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: true content: @@ -85679,18 +85927,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *297 responses: '200': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85711,10 +85959,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *456 - *457 + - *458 - *297 - - *617 + - *618 requestBody: required: true content: @@ -85756,10 +86004,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *456 - *457 + - *458 - *297 - - *617 + - *618 responses: '204': description: Response @@ -85781,8 +86029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -85850,8 +86098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *456 - *457 + - *458 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86010,8 +86258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -86043,9 +86291,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 '400': *14 '422': *15 '403': *29 @@ -86066,8 +86314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86127,7 +86375,7 @@ paths: schema: oneOf: - *259 - - *630 + - *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86152,8 +86400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *456 - *457 + - *458 - name: file_sha in: path required: true @@ -86252,8 +86500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86362,7 +86610,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &632 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86576,15 +86824,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *456 - *457 - - *574 + - *458 + - *575 responses: '200': description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -86640,9 +86888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *456 - *457 - - &632 + - *458 + - &633 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. @@ -86659,7 +86907,7 @@ paths: application/json: schema: type: array - items: &633 + items: &634 title: Git Reference description: Git references within a repository type: object @@ -86734,17 +86982,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 responses: '200': description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: &634 + default: &635 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86773,8 +87021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86803,9 +87051,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *634 + default: *635 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86831,9 +87079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 requestBody: required: true content: @@ -86862,9 +87110,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *634 + default: *635 '422': *15 '409': *119 x-github: @@ -86882,9 +87130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 responses: '204': description: Response @@ -86939,8 +87187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -87007,7 +87255,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &637 title: Git Tag description: Metadata for a Git tag type: object @@ -87058,7 +87306,7 @@ paths: - sha - type - url - verification: *635 + verification: *636 required: - sha - url @@ -87068,7 +87316,7 @@ paths: - tag - message examples: - default: &637 + default: &638 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87141,8 +87389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *456 - *457 + - *458 - name: tag_sha in: path required: true @@ -87153,9 +87401,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 '404': *6 '409': *119 x-github: @@ -87179,8 +87427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -87253,7 +87501,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &639 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87349,8 +87597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *456 - *457 + - *458 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87373,7 +87621,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default-response: summary: Default response @@ -87432,8 +87680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -87443,7 +87691,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Webhook description: Webhooks for repositories. type: object @@ -87497,7 +87745,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &896 + last_response: &899 title: Hook Response type: object properties: @@ -87571,8 +87819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -87624,9 +87872,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &640 + default: &641 value: type: Repository id: 12345678 @@ -87674,17 +87922,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '200': description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -87704,8 +87952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 requestBody: required: true @@ -87751,9 +87999,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '422': *15 '404': *6 x-github: @@ -87774,8 +88022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -87800,8 +88048,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: - - *456 - *457 + - *458 - *348 responses: '200': @@ -87829,8 +88077,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: - - *456 - *457 + - *458 - *348 requestBody: required: false @@ -87875,8 +88123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 - *17 - *349 @@ -87908,8 +88156,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: - - *456 - *457 + - *458 - *348 - *16 responses: @@ -87938,8 +88186,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: - - *456 - *457 + - *458 - *348 - *16 responses: @@ -87963,8 +88211,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -87990,8 +88238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -88015,8 +88263,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: - - *456 - *457 + - *458 responses: '200': description: Response if immutable releases are enabled @@ -88062,8 +88310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *456 - *457 + - *458 responses: '204': *155 '409': *119 @@ -88083,8 +88331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *456 - *457 + - *458 responses: '204': *155 '409': *119 @@ -88141,14 +88389,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &641 + schema: &642 title: Import description: A repository import from an external source. type: object @@ -88247,7 +88495,7 @@ paths: - html_url - authors_url examples: - default: &644 + default: &645 value: vcs: subversion use_lfs: true @@ -88263,7 +88511,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': &642 + '503': &643 description: Unavailable due to service under maintenance. content: application/json: @@ -88292,8 +88540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -88341,7 +88589,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -88366,7 +88614,7 @@ paths: type: string '422': *15 '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88394,8 +88642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -88444,7 +88692,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: example-1: summary: Example 1 @@ -88492,7 +88740,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': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88515,12 +88763,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *456 - *457 + - *458 responses: '204': description: Response - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88546,9 +88794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *456 - *457 - - &826 + - *458 + - &827 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88562,7 +88810,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Porter Author description: Porter Author type: object @@ -88616,7 +88864,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': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88641,8 +88889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *456 - *457 + - *458 - name: author_id in: path required: true @@ -88672,7 +88920,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: default: value: @@ -88685,7 +88933,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88709,8 +88957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88751,7 +88999,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88779,8 +89027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -88807,11 +89055,11 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *644 + default: *645 '422': *15 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88834,8 +89082,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88843,8 +89091,8 @@ paths: application/json: schema: *22 examples: - default: *645 - '301': *462 + default: *646 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -88864,8 +89112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88878,7 +89126,7 @@ paths: properties: {} additionalProperties: false examples: - default: &647 + default: &648 value: limit: collaborators_only origin: repository @@ -88903,13 +89151,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *646 + schema: *647 examples: default: summary: Example request body @@ -88923,7 +89171,7 @@ paths: application/json: schema: *366 examples: - default: *647 + default: *648 '409': description: Response x-github: @@ -88945,8 +89193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -88969,8 +89217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -88980,9 +89228,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: &819 + default: &820 value: - id: 1 repository: @@ -89113,8 +89361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *456 - *457 + - *458 - *370 requestBody: required: false @@ -89144,7 +89392,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: default: value: @@ -89275,8 +89523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *456 - *457 + - *458 - *370 responses: '204': @@ -89308,8 +89556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *456 - *457 + - *458 - 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 @@ -89382,7 +89630,7 @@ paths: type: array items: *221 examples: - default: &660 + default: &661 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89530,7 +89778,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *462 + '301': *463 '422': *15 '404': *6 x-github: @@ -89559,8 +89807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -89644,7 +89892,7 @@ paths: application/json: schema: *221 examples: - default: &657 + default: &658 value: id: 1 node_id: MDU6SXNzdWUx @@ -89800,7 +90048,7 @@ paths: '422': *15 '503': *196 '404': *6 - '410': *649 + '410': *650 x-github: triggersNotification: true githubCloudOnly: false @@ -89828,8 +90076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *456 - *457 + - *458 - *245 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89850,9 +90098,9 @@ paths: application/json: schema: type: array - items: *650 + items: *651 examples: - default: &659 + default: &660 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89910,17 +90158,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89974,8 +90222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -89998,9 +90246,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '422': *15 x-github: githubCloudOnly: false @@ -90018,8 +90266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -90040,8 +90288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90068,9 +90316,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -90091,8 +90339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -90125,16 +90373,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -90156,10 +90404,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - *653 + - *654 responses: '204': description: Response @@ -90179,8 +90427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -90190,7 +90438,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Issue Event description: Issue Event type: object @@ -90233,8 +90481,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *654 - required: *655 + properties: *655 + required: *656 nullable: true label: title: Issue Event Label @@ -90541,8 +90789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *456 - *457 + - *458 - name: event_id in: path required: true @@ -90553,7 +90801,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: default: value: @@ -90745,7 +90993,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *649 + '410': *650 '403': *29 x-github: githubCloudOnly: false @@ -90779,9 +91027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *456 - *457 - - &658 + - *458 + - &659 name: issue_number description: The number that identifies the issue. in: path @@ -90795,10 +91043,10 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '404': *6 - '410': *649 + '410': *650 '304': *37 x-github: githubCloudOnly: false @@ -90823,9 +91071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -90931,13 +91179,13 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 '422': *15 '503': *196 '403': *29 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90955,9 +91203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -90985,7 +91233,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91001,9 +91249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: content: application/json: @@ -91030,7 +91278,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,9 +91300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: assignee in: path required: true @@ -91094,9 +91342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *228 - *17 - *19 @@ -91107,13 +91355,13 @@ paths: application/json: schema: type: array - items: *650 + items: *651 examples: - default: *659 + default: *660 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91142,9 +91390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -91166,16 +91414,16 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -91203,9 +91451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91217,12 +91465,12 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91250,9 +91498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -91276,15 +91524,15 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *462 + '301': *463 '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -91315,9 +91563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91331,13 +91579,13 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *649 + '410': *650 x-github: triggersNotification: true githubCloudOnly: false @@ -91363,9 +91611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91377,12 +91625,12 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91399,9 +91647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91415,7 +91663,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &662 + - &663 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91469,7 +91717,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &663 + - &664 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91605,7 +91853,7 @@ paths: - performed_via_github_app - assignee - assigner - - &664 + - &665 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91656,7 +91904,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &665 + - &666 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91707,7 +91955,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &666 + - &667 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91761,7 +92009,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &667 + - &668 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91808,7 +92056,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &668 + - &669 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91855,7 +92103,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &670 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91915,7 +92163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &671 title: Locked Issue Event description: Locked Issue Event type: object @@ -91963,7 +92211,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &672 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92029,7 +92277,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &673 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92095,7 +92343,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &674 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92161,7 +92409,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &675 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92252,7 +92500,7 @@ paths: color: red headers: Link: *47 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92269,9 +92517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -92283,7 +92531,7 @@ paths: type: array items: *220 examples: - default: &661 + default: &662 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92301,9 +92549,9 @@ paths: default: false headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92320,9 +92568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92383,10 +92631,10 @@ paths: type: array items: *220 examples: - default: *661 - '301': *462 + default: *662 + '301': *463 '404': *6 - '410': *649 + '410': *650 '422': *15 x-github: githubCloudOnly: false @@ -92403,9 +92651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92467,10 +92715,10 @@ paths: type: array items: *220 examples: - default: *661 - '301': *462 + default: *662 + '301': *463 '404': *6 - '410': *649 + '410': *650 '422': *15 x-github: githubCloudOnly: false @@ -92487,15 +92735,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '204': description: Response - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92514,9 +92762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: name in: path required: true @@ -92540,9 +92788,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92562,9 +92810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92592,7 +92840,7 @@ paths: '204': description: Response '403': *29 - '410': *649 + '410': *650 '404': *6 '422': *15 x-github: @@ -92610,9 +92858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '204': description: Response @@ -92642,9 +92890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '200': description: Response @@ -92652,10 +92900,10 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92672,9 +92920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -92700,13 +92948,13 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92724,9 +92972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92758,16 +93006,16 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -92789,10 +93037,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *456 - *457 - - *658 - - *653 + - *458 + - *659 + - *654 responses: '204': description: Response @@ -92821,9 +93069,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92847,7 +93095,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92880,9 +93128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -92894,11 +93142,11 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92926,9 +93174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92957,14 +93205,14 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -92984,9 +93232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -93019,7 +93267,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 '403': *29 '404': *6 '422': *7 @@ -93041,9 +93289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -93058,7 +93306,6 @@ paths: description: Timeline Event type: object anyOf: - - *662 - *663 - *664 - *665 @@ -93071,6 +93318,7 @@ paths: - *672 - *673 - *674 + - *675 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93379,7 +93627,7 @@ paths: type: string comments: type: array - items: &696 + items: &697 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93594,7 +93842,7 @@ paths: type: string comments: type: array - items: *570 + items: *571 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93883,7 +94131,7 @@ paths: headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93900,8 +94148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -93911,7 +94159,7 @@ paths: application/json: schema: type: array - items: &675 + items: &676 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93977,8 +94225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94014,9 +94262,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: &676 + default: &677 value: id: 1 key: ssh-rsa AAA... @@ -94050,9 +94298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *456 - *457 - - &677 + - *458 + - &678 name: key_id description: The unique identifier of the key. in: path @@ -94064,9 +94312,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: *676 + default: *677 '404': *6 x-github: githubCloudOnly: false @@ -94084,9 +94332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *456 - *457 - - *677 + - *458 + - *678 responses: '204': description: Response @@ -94106,8 +94354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -94119,7 +94367,7 @@ paths: type: array items: *220 examples: - default: *661 + default: *662 headers: Link: *47 '404': *6 @@ -94140,8 +94388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94179,7 +94427,7 @@ paths: application/json: schema: *220 examples: - default: &678 + default: &679 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94211,8 +94459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94225,7 +94473,7 @@ paths: application/json: schema: *220 examples: - default: *678 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -94242,8 +94490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94308,8 +94556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94335,8 +94583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -94372,8 +94620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *456 - *457 + - *458 responses: '202': *39 '403': @@ -94401,8 +94649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -94428,9 +94676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *456 - *457 - - *543 + - *458 + - *544 responses: '200': description: Response @@ -94575,8 +94823,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94641,8 +94889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94676,9 +94924,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *573 + schema: *574 examples: - default: *679 + default: *680 '204': description: Response when already merged '404': @@ -94703,8 +94951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *456 - *457 + - *458 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94745,7 +94993,7 @@ paths: application/json: schema: type: array - items: &680 + items: &681 title: Milestone description: A collection of related issues and pull requests. type: object @@ -94806,8 +95054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94847,9 +95095,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: &681 + default: &682 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94908,9 +95156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *456 - *457 - - &682 + - *458 + - &683 name: milestone_number description: The number that identifies the milestone. in: path @@ -94922,9 +95170,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 '404': *6 x-github: githubCloudOnly: false @@ -94941,9 +95189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 requestBody: required: false content: @@ -94981,9 +95229,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94999,9 +95247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 responses: '204': description: Response @@ -95022,9 +95270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 - *17 - *19 responses: @@ -95036,7 +95284,7 @@ paths: type: array items: *220 examples: - default: *661 + default: *662 headers: Link: *47 x-github: @@ -95055,12 +95303,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *456 - *457 - - *683 + - *458 - *684 - - *228 - *685 + - *228 + - *686 - *17 - *19 responses: @@ -95072,7 +95320,7 @@ paths: type: array items: *248 examples: - default: *686 + default: *687 headers: Link: *47 x-github: @@ -95096,8 +95344,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -95155,14 +95403,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &687 + schema: &688 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95287,7 +95535,7 @@ paths: - custom_404 - public examples: - default: &688 + default: &689 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95328,8 +95576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95383,9 +95631,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *688 + default: *689 '422': *15 '409': *119 x-github: @@ -95408,8 +95656,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95516,8 +95764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -95543,8 +95791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -95554,7 +95802,7 @@ paths: application/json: schema: type: array - items: &689 + items: &690 title: Page Build description: Page Build type: object @@ -95648,8 +95896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *456 - *457 + - *458 responses: '201': description: Response @@ -95694,16 +95942,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: &690 + default: &691 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95751,8 +95999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *456 - *457 + - *458 - name: build_id in: path required: true @@ -95763,9 +96011,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: *690 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95785,8 +96033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95891,9 +96139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *456 - *457 - - &691 + - *458 + - &692 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95951,9 +96199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *456 - *457 - - *691 + - *458 + - *692 responses: '204': *155 '404': *6 @@ -95980,8 +96228,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -96239,8 +96487,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: - - *456 - *457 + - *458 responses: '200': description: Private vulnerability reporting status @@ -96277,8 +96525,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: - - *456 - *457 + - *458 responses: '204': *155 '422': *14 @@ -96299,8 +96547,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: - - *456 - *457 + - *458 responses: '204': *155 '422': *14 @@ -96322,8 +96570,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -96333,7 +96581,7 @@ paths: type: array items: *156 examples: - default: *692 + default: *693 '403': *29 '404': *6 x-github: @@ -96355,8 +96603,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -96372,7 +96620,7 @@ paths: required: - properties examples: - default: *693 + default: *694 responses: '204': description: No Content when custom property values are successfully created @@ -96410,8 +96658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *456 - *457 + - *458 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96471,9 +96719,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: *694 + default: *695 headers: Link: *47 '304': *37 @@ -96505,8 +96753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -96571,7 +96819,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &699 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96728,7 +96976,7 @@ paths: nullable: true requested_teams: type: array - items: *441 + items: *442 nullable: true head: type: object @@ -96785,7 +97033,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: *695 + auto_merge: *696 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96877,7 +97125,7 @@ paths: - merged_by - review_comments examples: - default: &699 + default: &700 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97404,8 +97652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *456 - *457 + - *458 - name: sort in: query required: false @@ -97434,9 +97682,9 @@ paths: application/json: schema: type: array - items: *696 + items: *697 examples: - default: &701 + default: &702 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97513,17 +97761,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: &697 + default: &698 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97598,8 +97846,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: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -97622,9 +97870,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: *697 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97640,8 +97888,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: - - *456 - *457 + - *458 - *237 responses: '204': @@ -97663,8 +97911,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: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -97691,9 +97939,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -97714,8 +97962,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: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -97748,16 +97996,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -97779,10 +98027,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - *653 + - *654 responses: '204': description: Response @@ -97825,9 +98073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *456 - *457 - - &700 + - *458 + - &701 name: pull_number description: The number that identifies the pull request. in: path @@ -97840,9 +98088,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '304': *37 '404': *6 '406': @@ -97877,9 +98125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -97921,9 +98169,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '422': *15 '403': *29 x-github: @@ -97945,9 +98193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -98009,7 +98257,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -98017,7 +98265,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -98047,9 +98295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *245 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98070,9 +98318,9 @@ paths: application/json: schema: type: array - items: *696 + items: *697 examples: - default: *701 + default: *702 headers: Link: *47 x-github: @@ -98105,9 +98353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -98212,7 +98460,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: example-for-a-multi-line-comment: value: @@ -98300,9 +98548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *237 requestBody: required: true @@ -98325,7 +98573,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: default: value: @@ -98411,9 +98659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -98423,9 +98671,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *702 + default: *703 headers: Link: *47 x-github: @@ -98455,9 +98703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -98467,7 +98715,7 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: default: value: @@ -98505,9 +98753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *456 - *457 - - *700 + - *458 + - *701 responses: '204': description: Response if pull request has been merged @@ -98530,9 +98778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -98643,9 +98891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 responses: '200': description: Response @@ -98720,9 +98968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -98759,7 +99007,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -99295,9 +99543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -99331,7 +99579,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -99836,9 +100084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -99848,7 +100096,7 @@ paths: application/json: schema: type: array - items: &703 + items: &704 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99999,9 +100247,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -100087,9 +100335,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: &705 + default: &706 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100152,10 +100400,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - &704 + - *458 + - *701 + - &705 name: review_id description: The unique identifier of the review. in: path @@ -100167,9 +100415,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: &706 + default: &707 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100228,10 +100476,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100254,7 +100502,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: default: value: @@ -100316,18 +100564,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 responses: '200': description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: *705 + default: *706 '422': *7 '404': *6 x-github: @@ -100354,10 +100602,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 - *17 - *19 responses: @@ -100592,10 +100840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100623,7 +100871,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: default: value: @@ -100686,10 +100934,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100724,9 +100972,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: *706 + default: *707 '404': *6 '422': *7 '403': *29 @@ -100748,9 +100996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -100813,8 +101061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *456 - *457 + - *458 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100827,9 +101075,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: &708 + default: &709 value: type: file encoding: base64 @@ -100871,8 +101119,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: - - *456 - *457 + - *458 - name: dir description: The alternate path to look for a README file in: path @@ -100892,9 +101140,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: *708 + default: *709 '404': *6 '422': *15 x-github: @@ -100916,8 +101164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -100927,7 +101175,7 @@ paths: application/json: schema: type: array - items: *709 + items: *710 examples: default: value: @@ -101021,8 +101269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -101098,9 +101346,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: &713 + default: &714 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101205,9 +101453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *456 - *457 - - &711 + - *458 + - &712 name: asset_id description: The unique identifier of the asset. in: path @@ -101219,9 +101467,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: &712 + default: &713 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -101256,7 +101504,7 @@ paths: type: User site_admin: false '404': *6 - '302': *588 + '302': *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101272,9 +101520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *456 - *457 - - *711 + - *458 + - *712 requestBody: required: false content: @@ -101302,9 +101550,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: *712 + default: *713 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101320,9 +101568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *456 - *457 - - *711 + - *458 + - *712 responses: '204': description: Response @@ -101346,8 +101594,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -101432,16 +101680,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101458,8 +101706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *456 - *457 + - *458 - name: tag description: tag parameter in: path @@ -101472,9 +101720,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '404': *6 x-github: githubCloudOnly: false @@ -101496,9 +101744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *456 - *457 - - &714 + - *458 + - &715 name: release_id description: The unique identifier of the release. in: path @@ -101512,9 +101760,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '401': description: Unauthorized x-github: @@ -101532,9 +101780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 requestBody: required: false content: @@ -101598,9 +101846,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '404': description: Not Found if the discussion category name is invalid content: @@ -101621,9 +101869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 responses: '204': description: Response @@ -101643,9 +101891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *456 - *457 - - *714 + - *458 + - *715 - *17 - *19 responses: @@ -101655,7 +101903,7 @@ paths: application/json: schema: type: array - items: *710 + items: *711 examples: default: value: @@ -101737,9 +101985,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *456 - *457 - - *714 + - *458 + - *715 - name: name in: query required: true @@ -101765,7 +102013,7 @@ paths: description: Response for successful upload content: application/json: - schema: *710 + schema: *711 examples: response-for-successful-upload: value: @@ -101820,9 +102068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -101846,9 +102094,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -101869,9 +102117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 requestBody: required: true content: @@ -101901,16 +102149,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -101932,10 +102180,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *456 - *457 - - *714 - - *653 + - *458 + - *715 + - *654 responses: '204': description: Response @@ -101959,9 +102207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 - *17 - *19 responses: @@ -101978,7 +102226,7 @@ paths: oneOf: - allOf: - *170 - - &715 + - &716 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101999,67 +102247,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *171 - - *715 + - *716 - allOf: - *172 - - *715 + - *716 - allOf: - *173 - - *715 + - *716 - allOf: + - *717 - *716 - - *715 - allOf: - *174 - - *715 + - *716 - allOf: - *175 - - *715 + - *716 - allOf: - *176 - - *715 + - *716 - allOf: - *177 - - *715 + - *716 - allOf: - *178 - - *715 + - *716 - allOf: - *179 - - *715 + - *716 - allOf: - *180 - - *715 + - *716 - allOf: - *181 - - *715 + - *716 - allOf: - *182 - - *715 + - *716 - allOf: - *183 - - *715 + - *716 - allOf: - *184 - - *715 + - *716 - allOf: - *185 - - *715 + - *716 - allOf: - *186 - - *715 + - *716 - allOf: - *187 - - *715 + - *716 - allOf: - *188 - - *715 + - *716 - allOf: - *189 - - *715 + - *716 - allOf: - *190 - - *715 + - *716 examples: default: value: @@ -102098,8 +102346,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - *17 - *19 - name: includes_parents @@ -102110,7 +102358,7 @@ paths: schema: type: boolean default: true - - *717 + - *718 responses: '200': description: Response @@ -102165,8 +102413,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 requestBody: description: Request body required: true @@ -102195,7 +102443,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *718 + items: *719 required: - name - enforcement @@ -102228,7 +102476,7 @@ paths: application/json: schema: *191 examples: - default: &727 + default: &728 value: id: 42 name: super cool ruleset @@ -102275,12 +102523,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *456 - *457 - - *719 - - *105 + - *458 - *720 + - *105 - *721 + - *722 - *17 - *19 responses: @@ -102288,9 +102536,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *723 examples: - default: *723 + default: *724 '404': *6 '500': *40 x-github: @@ -102311,17 +102559,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *456 - *457 - - *724 + - *458 + - *725 responses: '200': description: Response content: application/json: - schema: *725 + schema: *726 examples: - default: *726 + default: *727 '404': *6 '500': *40 x-github: @@ -102349,8 +102597,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102372,7 +102620,7 @@ paths: application/json: schema: *191 examples: - default: *727 + default: *728 '404': *6 '500': *40 put: @@ -102390,8 +102638,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102425,7 +102673,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *718 + items: *719 examples: default: value: @@ -102455,7 +102703,7 @@ paths: application/json: schema: *191 examples: - default: *727 + default: *728 '404': *6 '500': *40 delete: @@ -102473,8 +102721,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102497,8 +102745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *456 - *457 + - *458 - *17 - *19 - name: ruleset_id @@ -102516,7 +102764,7 @@ paths: type: array items: *195 examples: - default: *425 + default: *426 '404': *6 '500': *40 x-github: @@ -102535,8 +102783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102554,7 +102802,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -102609,22 +102857,22 @@ 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: - - *456 - *457 - - *427 + - *458 - *428 - *429 - *430 - *431 + - *432 - *110 - *19 - *17 - - *728 - *729 - - *432 + - *730 - *433 - *434 - *435 + - *436 responses: '200': description: Response @@ -102632,7 +102880,7 @@ paths: application/json: schema: type: array - items: &733 + items: &734 type: object properties: number: *128 @@ -102651,8 +102899,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *730 - resolution: *731 + state: *731 + resolution: *732 resolved_at: type: string format: date-time @@ -102748,7 +102996,7 @@ paths: pull request. ' - oneOf: *732 + oneOf: *733 nullable: true has_more_locations: type: boolean @@ -102897,16 +103145,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *456 - *457 - - *537 - - *435 + - *458 + - *538 + - *436 responses: '200': description: Response content: application/json: - schema: *733 + schema: *734 examples: default: value: @@ -102960,9 +103208,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: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: true content: @@ -102970,8 +103218,8 @@ paths: schema: type: object properties: - state: *730 - resolution: *731 + state: *731 + resolution: *732 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103005,7 +103253,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: default: value: @@ -103100,9 +103348,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: - - *456 - *457 - - *537 + - *458 + - *538 - *19 - *17 responses: @@ -103113,7 +103361,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &918 + items: &921 type: object properties: type: @@ -103139,7 +103387,6 @@ paths: example: commit details: oneOf: - - *734 - *735 - *736 - *737 @@ -103152,6 +103399,7 @@ paths: - *744 - *745 - *746 + - *747 examples: default: value: @@ -103237,8 +103485,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -103246,14 +103494,14 @@ paths: schema: type: object properties: - reason: &748 + reason: &749 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *747 + placeholder_id: *748 required: - reason - placeholder_id @@ -103270,7 +103518,7 @@ paths: schema: type: object properties: - reason: *748 + reason: *749 expire_at: type: string format: date-time @@ -103316,8 +103564,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: - - *456 - *457 + - *458 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103332,7 +103580,7 @@ paths: properties: incremental_scans: type: array - items: &749 + items: &750 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103358,15 +103606,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *749 + items: *750 backfill_scans: type: array - items: *749 + items: *750 custom_pattern_backfill_scans: type: array items: allOf: - - *749 + - *750 - type: object properties: pattern_name: @@ -103436,8 +103684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *456 - *457 + - *458 - *110 - name: sort description: The property to sort the results by. @@ -103481,9 +103729,9 @@ paths: application/json: schema: type: array - items: *750 + items: *751 examples: - default: *751 + default: *752 '400': *14 '404': *6 x-github: @@ -103506,8 +103754,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -103580,7 +103828,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 required: - login - type @@ -103667,9 +103915,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &753 + default: &754 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103902,8 +104150,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -104007,7 +104255,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -104154,17 +104402,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '200': description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 + default: *754 '403': *29 '404': *6 x-github: @@ -104188,9 +104436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 requestBody: required: true content: @@ -104263,7 +104511,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 required: - login - type @@ -104349,10 +104597,10 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 - add_credit: *753 + default: *754 + add_credit: *754 '403': *29 '404': *6 '422': @@ -104390,9 +104638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '202': *39 '400': *14 @@ -104419,17 +104667,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: - - *456 - *457 - - *752 + - *458 + - *753 responses: '202': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 '400': *14 '422': *15 '403': *29 @@ -104455,8 +104703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -104555,8 +104803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104565,7 +104813,7 @@ paths: application/json: schema: type: array - items: &754 + items: &755 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104598,8 +104846,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -104675,8 +104923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -104772,8 +105020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *456 - *457 + - *458 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104927,8 +105175,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: - - *456 - *457 + - *458 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104938,7 +105186,7 @@ paths: application/json: schema: type: array - items: *754 + items: *755 examples: default: value: @@ -104971,8 +105219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *456 - *457 + - *458 - name: sha in: path required: true @@ -105026,7 +105274,7 @@ paths: description: Response content: application/json: - schema: *755 + schema: *756 examples: default: value: @@ -105080,8 +105328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105113,14 +105361,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *456 - *457 + - *458 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &756 + schema: &757 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105188,8 +105436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -105215,7 +105463,7 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: default: value: @@ -105242,8 +105490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -105263,8 +105511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105343,8 +105591,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: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105352,7 +105600,7 @@ paths: application/json: schema: type: array - items: &757 + items: &758 title: Tag protection description: Tag protection type: object @@ -105404,8 +105652,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: - - *456 - *457 + - *458 requestBody: required: true content: @@ -105428,7 +105676,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: default: value: @@ -105459,8 +105707,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: - - *456 - *457 + - *458 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105497,8 +105745,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *456 - *457 + - *458 - name: ref in: path required: true @@ -105534,8 +105782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105567,8 +105815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *456 - *457 + - *458 - *19 - *17 responses: @@ -105576,7 +105824,7 @@ paths: description: Response content: application/json: - schema: &758 + schema: &759 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105588,7 +105836,7 @@ paths: required: - names examples: - default: &759 + default: &760 value: names: - octocat @@ -105611,8 +105859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -105643,9 +105891,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *759 examples: - default: *759 + default: *760 '404': *6 '422': *7 x-github: @@ -105666,9 +105914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *456 - *457 - - &760 + - *458 + - &761 name: per description: The time frame to display results for. in: query @@ -105697,7 +105945,7 @@ paths: example: 128 clones: type: array - items: &761 + items: &762 title: Traffic type: object properties: @@ -105784,8 +106032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105875,8 +106123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105936,9 +106184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *456 - *457 - - *760 + - *458 + - *761 responses: '200': description: Response @@ -105957,7 +106205,7 @@ paths: example: 3782 views: type: array - items: *761 + items: *762 required: - uniques - count @@ -106034,8 +106282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -106309,8 +106557,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: - - *456 - *457 + - *458 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106333,8 +106581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -106356,8 +106604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -106383,8 +106631,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *456 - *457 + - *458 - name: ref in: path required: true @@ -106476,9 +106724,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106629,7 +106877,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &769 + - &770 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106638,7 +106886,7 @@ paths: schema: type: string example: members - - &774 + - &775 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106649,7 +106897,7 @@ paths: default: 1 format: int32 example: 1 - - &775 + - &776 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106691,7 +106939,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &764 + items: &765 allOf: - type: object required: @@ -106766,7 +107014,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &776 + meta: &777 type: object description: The metadata associated with the creation/updates to the user. @@ -106826,30 +107074,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &765 + '400': &766 description: Bad request content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '401': *763 - '403': &766 + schema: *763 + '401': *764 + '403': &767 description: Permission denied - '429': &767 + '429': &768 description: Too many requests content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '500': &768 + schema: *763 + '500': &769 description: Internal server error content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 + schema: *763 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106873,7 +107121,7 @@ paths: required: true content: application/json: - schema: &772 + schema: &773 type: object required: - schemas @@ -106933,9 +107181,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *764 + schema: *765 examples: - group: &770 + group: &771 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106954,13 +107202,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *765 - '401': *763 - '403': *766 - '409': &773 + '400': *766 + '401': *764 + '403': *767 + '409': &774 description: Duplicate record detected - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106977,7 +107225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &771 + - &772 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106985,22 +107233,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *769 + - *770 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *764 + schema: *765 examples: - default: *770 - '400': *765 - '401': *763 - '403': *766 + default: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107019,13 +107267,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *771 + - *772 - *41 requestBody: required: true content: application/json: - schema: *772 + schema: *773 examples: group: summary: Group @@ -107051,17 +107299,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *764 + schema: *765 examples: - group: *770 - groupWithMembers: *770 - '400': *765 - '401': *763 - '403': *766 + group: *771 + groupWithMembers: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107085,13 +107333,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *771 + - *772 - *41 requestBody: required: true content: application/json: - schema: &783 + schema: &784 type: object required: - Operations @@ -107151,17 +107399,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *764 + schema: *765 examples: - updateGroup: *770 - addMembers: *770 - '400': *765 - '401': *763 - '403': *766 + updateGroup: *771 + addMembers: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107177,17 +107425,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *771 + - *772 - *41 responses: '204': description: Group was deleted, no content - '400': *765 - '401': *763 - '403': *766 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107221,8 +107469,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *774 - *775 + - *776 - *41 responses: '200': @@ -107255,7 +107503,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &778 + items: &779 allOf: - type: object required: @@ -107334,7 +107582,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &777 + roles: &778 type: array description: The roles assigned to the user. items: @@ -107390,7 +107638,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *776 + meta: *777 startIndex: type: integer description: A starting index for the returned page @@ -107427,11 +107675,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *765 - '401': *763 - '403': *766 - '429': *767 - '500': *768 + '400': *766 + '401': *764 + '403': *767 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107455,7 +107703,7 @@ paths: required: true content: application/json: - schema: &781 + schema: &782 type: object required: - schemas @@ -107537,9 +107785,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *777 + roles: *778 examples: - user: &782 + user: &783 summary: User value: schemas: @@ -107586,9 +107834,9 @@ paths: description: User has been created content: application/scim+json: - schema: *778 + schema: *779 examples: - user: &779 + user: &780 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107614,13 +107862,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *779 - '400': *765 - '401': *763 - '403': *766 - '409': *773 - '429': *767 - '500': *768 + enterpriseOwner: *780 + '400': *766 + '401': *764 + '403': *767 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,7 +107885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &780 + - &781 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107650,15 +107898,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *778 + schema: *779 examples: - default: *779 - '400': *765 - '401': *763 - '403': *766 + default: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107680,30 +107928,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *780 + - *781 - *41 requestBody: required: true content: application/json: - schema: *781 + schema: *782 examples: - user: *782 + user: *783 responses: '200': description: User was updated content: application/scim+json: - schema: *778 + schema: *779 examples: - user: *779 - '400': *765 - '401': *763 - '403': *766 + user: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107738,13 +107986,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *780 + - *781 - *41 requestBody: required: true content: application/json: - schema: *783 + schema: *784 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107784,18 +108032,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *778 + schema: *779 examples: - userMultiValuedProperties: *779 - userSingleValuedProperties: *779 - disableUser: *779 - '400': *765 - '401': *763 - '403': *766 + userMultiValuedProperties: *780 + userSingleValuedProperties: *780 + disableUser: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107815,17 +108063,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *780 + - *781 - *41 responses: '204': description: User was deleted, no content - '400': *765 - '401': *763 - '403': *766 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107912,7 +108160,7 @@ paths: example: 1 Resources: type: array - items: &784 + items: &785 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108143,22 +108391,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &785 + '404': &786 description: Resource not found content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '403': &786 + schema: *763 + '403': &787 description: Forbidden content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '400': *765 - '429': *767 + schema: *763 + '400': *766 + '429': *768 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108184,9 +108432,9 @@ paths: description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: &787 + default: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108209,17 +108457,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *785 - '403': *786 - '500': *768 + '404': *786 + '403': *787 + '500': *769 '409': description: Conflict content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '400': *765 + schema: *763 + '400': *766 requestBody: required: true content: @@ -108317,17 +108565,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 - '404': *785 - '403': *786 + default: *788 + '404': *786 + '403': *787 '304': *37 x-github: githubCloudOnly: true @@ -108351,18 +108599,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 + default: *788 '304': *37 - '404': *785 - '403': *786 + '404': *786 + '403': *787 requestBody: required: true content: @@ -108475,19 +108723,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 + default: *788 '304': *37 - '404': *785 - '403': *786 - '400': *765 + '404': *786 + '403': *787 + '400': *766 '429': description: Response content: @@ -108578,12 +108826,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *780 + - *781 responses: '204': description: Response - '404': *785 - '403': *786 + '404': *786 + '403': *787 '304': *37 x-github: githubCloudOnly: true @@ -108716,7 +108964,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &788 + text_matches: &789 title: Search Result Text Matches type: array items: @@ -108879,7 +109127,7 @@ paths: enum: - author-date - committer-date - - &789 + - &790 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -108950,7 +109198,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true comment_count: type: integer @@ -108970,7 +109218,7 @@ paths: url: type: string format: uri - verification: *635 + verification: *636 required: - author - committer @@ -108989,7 +109237,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true parents: type: array @@ -109007,7 +109255,7 @@ paths: type: number node_id: type: string - text_matches: *788 + text_matches: *789 required: - sha - node_id @@ -109200,7 +109448,7 @@ paths: - interactions - created - updated - - *789 + - *790 - *17 - *19 - name: advanced_search @@ -109297,11 +109545,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: type: string state_reason: @@ -109333,7 +109581,7 @@ paths: type: string format: date-time nullable: true - text_matches: *788 + text_matches: *789 pull_request: type: object properties: @@ -109558,7 +109806,7 @@ paths: enum: - created - updated - - *789 + - *790 - *17 - *19 responses: @@ -109602,7 +109850,7 @@ paths: nullable: true score: type: number - text_matches: *788 + text_matches: *789 required: - id - node_id @@ -109688,7 +109936,7 @@ paths: - forks - help-wanted-issues - updated - - *789 + - *790 - *17 - *19 responses: @@ -109927,7 +110175,7 @@ paths: - admin - pull - push - text_matches: *788 + text_matches: *789 temp_clone_token: type: string allow_merge_commit: @@ -110228,7 +110476,7 @@ paths: type: string format: uri nullable: true - text_matches: *788 + text_matches: *789 related: type: array nullable: true @@ -110421,7 +110669,7 @@ paths: - followers - repositories - joined - - *789 + - *790 - *17 - *19 responses: @@ -110525,7 +110773,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *788 + text_matches: *789 blog: type: string nullable: true @@ -110604,7 +110852,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &793 + - &794 name: team_id description: The unique identifier of the team. in: path @@ -110616,9 +110864,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -110645,7 +110893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *793 + - *794 requestBody: required: true content: @@ -110708,16 +110956,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '201': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 '422': *15 '403': *29 @@ -110745,7 +110993,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *793 + - *794 responses: '204': description: Response @@ -110774,7 +111022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -110812,7 +111060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *793 + - *794 - name: role description: Filters members returned by their role in the team. in: query @@ -110863,7 +111111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110900,7 +111148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110940,7 +111188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110977,16 +111225,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-user-is-a-team-maintainer: *794 + response-if-user-is-a-team-maintainer: *795 '404': *6 x-github: githubCloudOnly: false @@ -111019,7 +111267,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 requestBody: required: false @@ -111045,9 +111293,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-users-membership-with-team-is-now-pending: *795 + response-if-users-membership-with-team-is-now-pending: *796 '403': description: Forbidden if team synchronization is set up '422': @@ -111081,7 +111329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -111109,7 +111357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -111151,15 +111399,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *796 + schema: *797 examples: alternative-response-with-extra-repository-information: value: @@ -111310,9 +111558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 requestBody: required: false content: @@ -111362,9 +111610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 responses: '204': description: Response @@ -111393,15 +111641,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *793 + - *794 responses: '200': description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '403': *29 '404': *6 x-github: @@ -111428,7 +111676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *793 + - *794 requestBody: required: true content: @@ -111485,7 +111733,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -111516,7 +111764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -111528,7 +111776,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: *797 + response-if-child-teams-exist: *798 headers: Link: *47 '404': *6 @@ -111561,7 +111809,7 @@ paths: application/json: schema: oneOf: - - &799 + - &800 title: Private User description: Private User type: object @@ -111764,7 +112012,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *798 + - *799 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -111917,7 +112165,7 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: default: value: @@ -112263,7 +112511,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -112271,7 +112519,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -112315,7 +112563,7 @@ paths: type: integer secrets: type: array - items: &800 + items: &801 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112355,7 +112603,7 @@ paths: - visibility - selected_repositories_url examples: - default: *563 + default: *564 headers: Link: *47 x-github: @@ -112431,7 +112679,7 @@ paths: description: Response content: application/json: - schema: *800 + schema: *801 examples: default: value: @@ -112577,7 +112825,7 @@ paths: type: array items: *284 examples: - default: *801 + default: *802 '401': *25 '403': *29 '404': *6 @@ -112729,7 +112977,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '304': *37 '500': *40 '401': *25 @@ -112787,7 +113035,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -112844,7 +113092,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &803 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112885,7 +113133,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &803 + default: &804 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112930,9 +113178,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *803 examples: - default: *803 + default: *804 '404': *6 x-github: githubCloudOnly: false @@ -112969,9 +113217,9 @@ paths: type: integer machines: type: array - items: *804 + items: *805 examples: - default: *805 + default: *806 '304': *37 '500': *40 '401': *25 @@ -113050,13 +113298,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *461 + repository: *462 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *561 - required: *562 + properties: *562 + required: *563 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -113838,7 +114086,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '304': *37 '500': *40 '400': *14 @@ -113878,7 +114126,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '500': *40 '401': *25 '403': *29 @@ -113910,7 +114158,7 @@ paths: type: array items: *387 examples: - default: &816 + default: &817 value: - id: 197 name: hello_docker @@ -114011,7 +114259,7 @@ paths: application/json: schema: type: array - items: &806 + items: &807 title: Email description: Email type: object @@ -114076,9 +114324,9 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: - default: &818 + default: &819 value: - email: octocat@github.com verified: true @@ -114153,7 +114401,7 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: default: value: @@ -114409,7 +114657,7 @@ paths: application/json: schema: type: array - items: &807 + items: &808 title: GPG Key description: A unique encryption key type: object @@ -114540,7 +114788,7 @@ paths: - subkeys - revoked examples: - default: &832 + default: &835 value: - id: 3 name: Octocat's GPG Key @@ -114625,9 +114873,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: &808 + default: &809 value: id: 3 name: Octocat's GPG Key @@ -114684,7 +114932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &809 + - &810 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114696,9 +114944,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: *808 + default: *809 '404': *6 '304': *37 '403': *29 @@ -114721,7 +114969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *809 + - *810 responses: '204': description: Response @@ -115026,7 +115274,7 @@ paths: required: true content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -115176,7 +115424,7 @@ paths: application/json: schema: type: array - items: &810 + items: &811 title: Key description: Key type: object @@ -115277,9 +115525,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *811 examples: - default: &811 + default: &812 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115312,15 +115560,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *677 + - *678 responses: '200': description: Response content: application/json: - schema: *810 + schema: *811 examples: - default: *811 + default: *812 '404': *6 '304': *37 '403': *29 @@ -115343,7 +115591,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *677 + - *678 responses: '204': description: Response @@ -115376,7 +115624,7 @@ paths: application/json: schema: type: array - items: &812 + items: &813 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115444,7 +115692,7 @@ paths: - account - plan examples: - default: &813 + default: &814 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115506,9 +115754,9 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: - default: *813 + default: *814 headers: Link: *47 '304': *37 @@ -116517,7 +116765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *382 - - *814 + - *815 responses: '204': description: Response @@ -116632,7 +116880,7 @@ paths: - docker - nuget - container - - *815 + - *816 - *19 - *17 responses: @@ -116644,8 +116892,8 @@ paths: type: array items: *387 examples: - default: *816 - '400': *817 + default: *817 + '400': *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116674,7 +116922,7 @@ paths: application/json: schema: *387 examples: - default: &833 + default: &836 value: id: 40201 name: octo-name @@ -117036,9 +117284,9 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: - default: *818 + default: *819 headers: Link: *47 '304': *37 @@ -117151,7 +117399,7 @@ paths: type: array items: *78 examples: - default: &825 + default: &826 summary: Default response value: - id: 1296269 @@ -117455,9 +117703,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117495,9 +117743,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *819 + default: *820 headers: Link: *47 '304': *37 @@ -117576,7 +117824,7 @@ paths: application/json: schema: type: array - items: &820 + items: &821 title: Social account description: Social media account type: object @@ -117591,7 +117839,7 @@ paths: - provider - url examples: - default: &821 + default: &822 value: - provider: twitter url: https://twitter.com/github @@ -117653,9 +117901,9 @@ paths: application/json: schema: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 '422': *15 '304': *37 '404': *6 @@ -117742,7 +117990,7 @@ paths: application/json: schema: type: array - items: &822 + items: &823 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117762,7 +118010,7 @@ paths: - title - created_at examples: - default: &847 + default: &850 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117826,9 +118074,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *823 examples: - default: &823 + default: &824 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117858,7 +118106,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &824 + - &825 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117870,9 +118118,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *823 examples: - default: *823 + default: *824 '404': *6 '304': *37 '403': *29 @@ -117895,7 +118143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *824 + - *825 responses: '204': description: Response @@ -117924,7 +118172,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: - - &848 + - &851 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 @@ -117949,11 +118197,11 @@ paths: type: array items: *78 examples: - default-response: *825 + default-response: *826 application/vnd.github.v3.star+json: schema: type: array - items: &849 + items: &852 title: Starred Repository description: Starred Repository type: object @@ -118109,8 +118357,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: - - *456 - *457 + - *458 responses: '204': description: Response if this repository is starred by you @@ -118138,8 +118386,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -118163,8 +118411,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: - - *456 - *457 + - *458 responses: '204': description: Response @@ -118236,7 +118484,7 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: default: value: @@ -118322,10 +118570,10 @@ paths: application/json: schema: oneOf: + - *800 - *799 - - *798 examples: - default-response: &827 + default-response: &830 summary: Default response value: login: octocat @@ -118360,7 +118608,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &828 + response-with-git-hub-plan-information: &831 summary: Response with GitHub plan information value: login: octocat @@ -118417,7 +118665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - name: user_id + - &828 + name: user_id description: The unique identifier of the user. in: path required: true @@ -118482,7 +118731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *826 + - *827 - *17 responses: '200': @@ -118505,6 +118754,116 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - *828 + - *405 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: *829 + examples: + table_view: + summary: Response for creating a table view + value: *416 + board_view: + summary: Response for creating a board view with filter + value: *416 + roadmap_view: + summary: Response for creating a roadmap view + value: *416 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -118531,11 +118890,11 @@ paths: application/json: schema: oneOf: + - *800 - *799 - - *798 examples: - default-response: *827 - response-with-git-hub-plan-information: *828 + default-response: *830 + response-with-git-hub-plan-information: *831 '404': *6 x-github: githubCloudOnly: false @@ -118585,8 +118944,8 @@ paths: required: - subject_digests examples: - default: *829 - withPredicateType: *830 + default: *832 + withPredicateType: *833 responses: '200': description: Response @@ -118639,7 +118998,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *831 + default: *834 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118844,7 +119203,7 @@ paths: initiator: type: string examples: - default: *503 + default: *504 '201': description: Response content: @@ -118885,7 +119244,7 @@ paths: type: array items: *387 examples: - default: *816 + default: *817 '403': *29 '401': *25 x-github: @@ -119269,9 +119628,9 @@ paths: application/json: schema: type: array - items: *807 + items: *808 examples: - default: *832 + default: *835 headers: Link: *47 x-github: @@ -119375,7 +119734,7 @@ paths: application/json: schema: *22 examples: - default: *645 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119499,7 +119858,7 @@ paths: - docker - nuget - container - - *815 + - *816 - *143 - *19 - *17 @@ -119512,10 +119871,10 @@ paths: type: array items: *387 examples: - default: *816 + default: *817 '403': *29 '401': *25 - '400': *817 + '400': *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119545,7 +119904,7 @@ paths: application/json: schema: *387 examples: - default: *833 + default: *836 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119894,7 +120253,7 @@ paths: type: array items: *409 examples: - default: *834 + default: *837 headers: Link: *47 '304': *37 @@ -119954,7 +120313,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *835 + items: *838 required: - name - data_type @@ -119970,7 +120329,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *836 + iteration_configuration: *839 required: - name - data_type @@ -119992,8 +120351,8 @@ paths: value: name: Due date data_type: date - single_select_field: *837 - iteration_field: *838 + single_select_field: *840 + iteration_field: *841 responses: '201': description: Response @@ -120001,11 +120360,11 @@ paths: application/json: schema: *409 examples: - text_field: *839 - number_field: *840 - date_field: *841 - single_select_field: *842 - iteration_field: *843 + text_field: *842 + number_field: *843 + date_field: *844 + single_select_field: *845 + iteration_field: *846 '304': *37 '403': *29 '401': *25 @@ -120027,7 +120386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *405 - - *844 + - *847 - *143 responses: '200': @@ -120036,7 +120395,7 @@ paths: application/json: schema: *409 examples: - default: *845 + default: *848 headers: Link: *47 '304': *37 @@ -120390,7 +120749,7 @@ paths: parameters: - *405 - *143 - - *846 + - *849 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -120669,9 +121028,9 @@ paths: application/json: schema: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 headers: Link: *47 x-github: @@ -120701,9 +121060,9 @@ paths: application/json: schema: type: array - items: *822 + items: *823 examples: - default: *847 + default: *850 headers: Link: *47 x-github: @@ -120728,7 +121087,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *143 - - *848 + - *851 - *110 - *17 - *19 @@ -120740,11 +121099,11 @@ paths: schema: anyOf: - type: array - items: *849 + items: *852 - type: array items: *78 examples: - default-response: *825 + default-response: *826 headers: Link: *47 x-github: @@ -120903,7 +121262,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &850 + enterprise: &853 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120961,7 +121320,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &851 + installation: &854 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120980,7 +121339,7 @@ x-webhooks: required: - id - node_id - organization: &852 + organization: &855 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121040,13 +121399,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &853 + repository: &856 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: &890 + properties: &893 id: description: Unique identifier of the repository example: 42 @@ -121729,7 +122088,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &891 + required: &894 - archive_url - assignees_url - blobs_url @@ -121880,10 +122239,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -121959,11 +122318,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: &854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: &857 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) @@ -122186,11 +122545,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: *854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: *857 sender: *4 required: - action @@ -122373,11 +122732,11 @@ x-webhooks: - everyone required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: *854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: *857 sender: *4 required: - action @@ -122450,7 +122809,7 @@ x-webhooks: required: true content: application/json: - schema: &874 + schema: &877 title: Exemption request cancellation event type: object properties: @@ -122458,11 +122817,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: &855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: &858 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -122731,7 +123090,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &856 + items: &859 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -122841,7 +123200,7 @@ x-webhooks: required: true content: application/json: - schema: &875 + schema: &878 title: Exemption request completed event type: object properties: @@ -122849,11 +123208,11 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 sender: *4 required: - action @@ -122925,7 +123284,7 @@ x-webhooks: required: true content: application/json: - schema: &872 + schema: &875 title: Exemption request created event type: object properties: @@ -122933,11 +123292,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 sender: *4 required: - action @@ -123009,7 +123368,7 @@ x-webhooks: required: true content: application/json: - schema: &876 + schema: &879 title: Exemption response dismissed event type: object properties: @@ -123017,12 +123376,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 - exemption_response: *856 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 + exemption_response: *859 sender: *4 required: - action @@ -123096,7 +123455,7 @@ x-webhooks: required: true content: application/json: - schema: &873 + schema: &876 title: Exemption response submitted event type: object properties: @@ -123104,12 +123463,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 - exemption_response: *856 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 + exemption_response: *859 sender: *4 required: - action @@ -123193,7 +123552,7 @@ x-webhooks: type: string enum: - completed - check_run: &858 + check_run: &861 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123284,7 +123643,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *857 + deployment: *860 details_url: example: https://example.com type: string @@ -123369,10 +123728,10 @@ x-webhooks: - output - app - pull_requests - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -123765,11 +124124,11 @@ x-webhooks: type: string enum: - created - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -124165,11 +124524,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 requested_action: description: The action requested by the user. type: object @@ -124574,11 +124933,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -125555,10 +125914,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -126252,10 +126611,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -126943,10 +127302,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -127112,7 +127471,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127257,20 +127616,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &859 + commit_oid: &862 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: *850 - installation: *851 - organization: *852 - ref: &860 + enterprise: *853 + installation: *854 + organization: *855 + ref: &863 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: *853 + repository: *856 sender: *4 required: - action @@ -127435,7 +127794,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127665,12 +128024,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -127765,7 +128124,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127936,12 +128295,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128107,7 +128466,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128273,12 +128632,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128377,7 +128736,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128552,16 +128911,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 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: *853 + repository: *856 sender: *4 required: - action @@ -128658,7 +129017,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128798,12 +129157,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128969,7 +129328,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129114,10 +129473,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -129372,10 +129731,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -129455,18 +129814,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *852 - pusher_type: &861 + organization: *855 + pusher_type: &864 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &862 + ref: &865 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129476,7 +129835,7 @@ x-webhooks: enum: - tag - branch - repository: *853 + repository: *856 sender: *4 required: - ref @@ -129559,9 +129918,9 @@ x-webhooks: enum: - created definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129646,9 +130005,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129726,9 +130085,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129806,9 +130165,9 @@ x-webhooks: enum: - updated definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129885,10 +130244,10 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - repository: *853 - organization: *852 + enterprise: *853 + installation: *854 + repository: *856 + organization: *855 sender: *4 new_property_values: type: array @@ -129973,18 +130332,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - pusher_type: *861 - ref: *862 + enterprise: *853 + installation: *854 + organization: *855 + pusher_type: *864 + ref: *865 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *853 + repository: *856 sender: *4 required: - ref @@ -130068,11 +130427,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130156,11 +130515,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130244,11 +130603,11 @@ x-webhooks: type: string enum: - created - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130330,11 +130689,11 @@ x-webhooks: type: string enum: - dismissed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130416,11 +130775,11 @@ x-webhooks: type: string enum: - fixed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130503,11 +130862,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130589,11 +130948,11 @@ x-webhooks: type: string enum: - reopened - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130670,9 +131029,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - key: &863 + enterprise: *853 + installation: *854 + key: &866 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130708,8 +131067,8 @@ x-webhooks: - verified - created_at - read_only - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -130786,11 +131145,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - key: *863 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + key: *866 + organization: *855 + repository: *856 sender: *4 required: - action @@ -131351,12 +131710,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: &867 + workflow: &870 title: Workflow type: object nullable: true @@ -132082,13 +132441,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *600 + deployment: *601 pull_requests: type: array - items: *698 - repository: *853 - organization: *852 - installation: *851 + items: *699 + repository: *856 + organization: *855 + installation: *854 sender: *4 responses: '200': @@ -132159,7 +132518,7 @@ x-webhooks: type: string enum: - approved - approver: &864 + approver: &867 type: object properties: avatar_url: @@ -132202,11 +132561,11 @@ x-webhooks: type: string comment: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - reviewers: &865 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + reviewers: &868 type: array items: type: object @@ -132285,7 +132644,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &866 + workflow_job_run: &869 type: object properties: conclusion: @@ -133016,18 +133375,18 @@ x-webhooks: type: string enum: - rejected - approver: *864 + approver: *867 comment: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - reviewers: *865 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + reviewers: *868 sender: *4 since: type: string - workflow_job_run: *866 + workflow_job_run: *869 workflow_job_runs: type: array items: @@ -133731,13 +134090,13 @@ x-webhooks: type: string enum: - requested - enterprise: *850 + enterprise: *853 environment: type: string - installation: *851 - organization: *852 - repository: *853 - requestor: &877 + installation: *854 + organization: *855 + repository: *856 + requestor: &880 title: User type: object nullable: true @@ -135636,12 +135995,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Deployment Workflow Run type: object @@ -136321,7 +136680,7 @@ x-webhooks: type: string enum: - answered - answer: &870 + answer: &873 type: object properties: author_association: @@ -136478,11 +136837,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136609,11 +136968,11 @@ x-webhooks: - from required: - category - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136696,11 +137055,11 @@ x-webhooks: type: string enum: - closed - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136782,7 +137141,7 @@ x-webhooks: type: string enum: - created - comment: &869 + comment: &872 type: object properties: author_association: @@ -136939,11 +137298,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137026,12 +137385,12 @@ x-webhooks: type: string enum: - deleted - comment: *869 - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + comment: *872 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137126,12 +137485,12 @@ x-webhooks: - from required: - body - comment: *869 - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + comment: *872 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137215,11 +137574,11 @@ x-webhooks: type: string enum: - created - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137301,11 +137660,11 @@ x-webhooks: type: string enum: - deleted - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137405,11 +137764,11 @@ x-webhooks: type: string required: - from - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137491,10 +137850,10 @@ x-webhooks: type: string enum: - labeled - discussion: *868 - enterprise: *850 - installation: *851 - label: &871 + discussion: *871 + enterprise: *853 + installation: *854 + label: &874 title: Label type: object properties: @@ -137526,8 +137885,8 @@ x-webhooks: - color - default - description - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137610,11 +137969,11 @@ x-webhooks: type: string enum: - locked - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137696,11 +138055,11 @@ x-webhooks: type: string enum: - pinned - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137782,11 +138141,11 @@ x-webhooks: type: string enum: - reopened - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137871,16 +138230,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *868 - new_repository: *853 + new_discussion: *871 + new_repository: *856 required: - new_discussion - new_repository - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137963,10 +138322,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *868 - old_answer: *870 - organization: *852 - repository: *853 + discussion: *871 + old_answer: *873 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138048,12 +138407,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *868 - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138136,11 +138495,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138222,11 +138581,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138295,7 +138654,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138358,7 +138717,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138421,7 +138780,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138484,7 +138843,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138547,7 +138906,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138613,7 +138972,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138679,7 +139038,7 @@ x-webhooks: required: true content: application/json: - schema: *875 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138745,7 +139104,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138811,7 +139170,7 @@ x-webhooks: required: true content: application/json: - schema: *876 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138877,7 +139236,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138942,7 +139301,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139007,7 +139366,7 @@ x-webhooks: required: true content: application/json: - schema: *875 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139072,7 +139431,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139137,7 +139496,7 @@ x-webhooks: required: true content: application/json: - schema: *876 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139203,7 +139562,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139270,7 +139629,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *850 + enterprise: *853 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139930,9 +140289,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - forkee @@ -140078,9 +140437,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pages: description: The pages that were updated. type: array @@ -140117,7 +140476,7 @@ x-webhooks: - action - sha - html_url - repository: *853 + repository: *856 sender: *4 required: - pages @@ -140193,10 +140552,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: &878 + organization: *855 + repositories: &881 description: An array of repository objects that the installation can access. type: array @@ -140222,8 +140581,8 @@ x-webhooks: - name - full_name - private - repository: *853 - requester: *877 + repository: *856 + requester: *880 sender: *4 required: - action @@ -140298,11 +140657,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140378,11 +140737,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140458,10 +140817,10 @@ x-webhooks: type: string enum: - added - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories_added: &879 + organization: *855 + repositories_added: &882 description: An array of repository objects, which were added to the installation. type: array @@ -140507,15 +140866,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *853 - repository_selection: &880 + repository: *856 + repository_selection: &883 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *877 + requester: *880 sender: *4 required: - action @@ -140594,10 +140953,10 @@ x-webhooks: type: string enum: - removed - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories_added: *879 + organization: *855 + repositories_added: *882 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140624,9 +140983,9 @@ x-webhooks: - name - full_name - private - repository: *853 - repository_selection: *880 - requester: *877 + repository: *856 + repository_selection: *883 + requester: *880 sender: *4 required: - action @@ -140705,11 +141064,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140888,10 +141247,10 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 target_type: type: string @@ -140970,11 +141329,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -141226,8 +141585,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142021,8 +142380,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142371,8 +142730,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -142452,7 +142811,7 @@ x-webhooks: type: string enum: - deleted - comment: &881 + comment: &884 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142617,8 +142976,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143408,8 +143767,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143760,8 +144119,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -143841,7 +144200,7 @@ x-webhooks: type: string enum: - edited - changes: &910 + changes: &913 description: The changes to the comment. type: object properties: @@ -143853,9 +144212,9 @@ x-webhooks: type: string required: - from - comment: *881 - enterprise: *850 - installation: *851 + comment: *884 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144648,8 +145007,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144998,8 +145357,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145089,9 +145448,9 @@ x-webhooks: type: number blocking_issue: *221 blocking_issue_repo: *78 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145180,9 +145539,9 @@ x-webhooks: type: number blocking_issue: *221 blocking_issue_repo: *78 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145270,9 +145629,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145361,9 +145720,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145443,10 +145802,10 @@ x-webhooks: type: string enum: - assigned - assignee: *877 - enterprise: *850 - installation: *851 - issue: &884 + assignee: *880 + enterprise: *853 + installation: *854 + issue: &887 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146235,11 +146594,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146356,8 +146715,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -146437,8 +146796,8 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147232,11 +147591,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147488,8 +147847,8 @@ x-webhooks: required: - state - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -147568,8 +147927,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148354,11 +148713,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148474,8 +148833,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -148554,8 +148913,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149362,11 +149721,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149461,7 +149820,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &882 + milestone: &885 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149599,8 +149958,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -149699,8 +150058,8 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150489,11 +150848,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150610,9 +150969,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *871 - organization: *852 - repository: *853 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -150692,8 +151051,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151481,11 +151840,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151602,9 +151961,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *871 - organization: *852 - repository: *853 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -151684,8 +152043,8 @@ x-webhooks: type: string enum: - locked - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152497,11 +152856,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152595,8 +152954,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -152675,8 +153034,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153482,11 +153841,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153580,9 +153939,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *882 - organization: *852 - repository: *853 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -154450,11 +154809,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155016,8 +155375,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155806,11 +156165,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155926,8 +156285,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -156007,9 +156366,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *850 - installation: *851 - issue: &883 + enterprise: *853 + installation: *854 + issue: &886 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156792,11 +157151,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156912,8 +157271,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -156992,8 +157351,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157803,11 +158162,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157902,8 +158261,8 @@ x-webhooks: user_view_type: type: string type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -158769,11 +159128,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159357,11 +159716,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *850 - installation: *851 - issue: *883 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *886 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159441,12 +159800,12 @@ x-webhooks: type: string enum: - typed - enterprise: *850 - installation: *851 - issue: *884 + enterprise: *853 + installation: *854 + issue: *887 type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159527,7 +159886,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &913 + assignee: &916 title: User type: object nullable: true @@ -159597,11 +159956,11 @@ x-webhooks: required: - login - id - enterprise: *850 - installation: *851 - issue: *884 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *887 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159680,12 +160039,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *850 - installation: *851 - issue: *884 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *887 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159765,8 +160124,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160576,11 +160935,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160674,8 +161033,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160755,11 +161114,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *850 - installation: *851 - issue: *883 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *886 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160838,12 +161197,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *850 - installation: *851 - issue: *884 + enterprise: *853 + installation: *854 + issue: *887 type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160923,11 +161282,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161005,11 +161364,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161119,11 +161478,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161205,9 +161564,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: &885 + enterprise: *853 + installation: *854 + marketplace_purchase: &888 title: Marketplace Purchase type: object required: @@ -161290,8 +161649,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *852 - previous_marketplace_purchase: &886 + organization: *855 + previous_marketplace_purchase: &889 title: Marketplace Purchase type: object properties: @@ -161371,7 +161730,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161451,10 +161810,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161537,7 +161896,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161619,10 +161978,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161704,7 +162063,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161785,8 +162144,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 marketplace_purchase: title: Marketplace Purchase type: object @@ -161868,9 +162227,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *852 - previous_marketplace_purchase: *886 - repository: *853 + organization: *855 + previous_marketplace_purchase: *889 + repository: *856 sender: *4 required: - action @@ -161950,12 +162309,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 - previous_marketplace_purchase: *886 - repository: *853 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 + previous_marketplace_purchase: *889 + repository: *856 sender: *4 required: - action @@ -162057,11 +162416,11 @@ x-webhooks: type: string required: - to - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162161,11 +162520,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162244,11 +162603,11 @@ x-webhooks: type: string enum: - removed - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162326,11 +162685,11 @@ x-webhooks: type: string enum: - added - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162406,7 +162765,7 @@ x-webhooks: required: - login - id - team: &887 + team: &890 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162629,11 +162988,11 @@ x-webhooks: type: string enum: - removed - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162710,7 +163069,7 @@ x-webhooks: required: - login - id - team: *887 + team: *890 required: - action - scope @@ -162792,8 +163151,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *851 - merge_group: &889 + installation: *854 + merge_group: &892 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162812,15 +163171,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *888 + head_commit: *891 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162906,10 +163265,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *851 - merge_group: *889 - organization: *852 - repository: *853 + installation: *854 + merge_group: *892 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162982,7 +163341,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 + enterprise: *853 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163091,16 +163450,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *851 - organization: *852 + installation: *854 + organization: *855 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: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -163181,11 +163540,11 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163264,9 +163623,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - milestone: &892 + enterprise: *853 + installation: *854 + milestone: &895 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163403,8 +163762,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163483,11 +163842,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163597,11 +163956,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163681,11 +164040,11 @@ x-webhooks: type: string enum: - opened - enterprise: *850 - installation: *851 - milestone: *892 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *895 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163764,11 +164123,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *877 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + blocked_user: *880 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163847,11 +164206,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *877 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + blocked_user: *880 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163927,7 +164286,7 @@ x-webhooks: enum: - created definition: *151 - enterprise: *850 + enterprise: *853 sender: *4 required: - action @@ -164007,8 +164366,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 sender: *4 required: - action @@ -164081,8 +164440,8 @@ x-webhooks: enum: - updated definition: *151 - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 sender: *4 required: - action @@ -164154,9 +164513,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 new_property_values: type: array @@ -164244,9 +164603,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - membership: &893 + enterprise: *853 + installation: *854 + membership: &896 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164353,8 +164712,8 @@ x-webhooks: - role - organization_url - user - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164432,11 +164791,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164515,8 +164874,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164632,10 +164991,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 - user: *877 + user: *880 required: - action - invitation @@ -164713,11 +165072,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164804,11 +165163,11 @@ x-webhooks: properties: from: type: string - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164884,9 +165243,9 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 package: description: Information about the package. type: object @@ -165385,7 +165744,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &894 + items: &897 title: Ruby Gems metadata type: object properties: @@ -165480,7 +165839,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -165556,9 +165915,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 package: description: Information about the package. type: object @@ -165911,7 +166270,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *897 source_url: type: string format: uri @@ -165981,7 +166340,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -166158,12 +166517,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *850 + enterprise: *853 id: type: integer - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - id @@ -166240,7 +166599,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &895 + personal_access_token_request: &898 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166386,10 +166745,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *850 - organization: *852 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166466,11 +166825,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *895 - enterprise: *850 - organization: *852 + personal_access_token_request: *898 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166546,11 +166905,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *895 - enterprise: *850 - organization: *852 + personal_access_token_request: *898 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166625,11 +166984,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *895 - organization: *852 - enterprise: *850 + personal_access_token_request: *898 + organization: *855 + enterprise: *853 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166734,7 +167093,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *896 + last_response: *899 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166766,8 +167125,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 zen: description: Random string of GitHub zen. @@ -167012,10 +167371,10 @@ x-webhooks: - from required: - note - enterprise: *850 - installation: *851 - organization: *852 - project_card: &897 + enterprise: *853 + installation: *854 + organization: *855 + project_card: &900 title: Project Card type: object properties: @@ -167134,7 +167493,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -167215,11 +167574,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project_card: *897 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_card: *900 + repository: *856 sender: *4 required: - action @@ -167299,9 +167658,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 project_card: title: Project Card type: object @@ -167429,8 +167788,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: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -167524,11 +167883,11 @@ x-webhooks: - from required: - note - enterprise: *850 - installation: *851 - organization: *852 - project_card: *897 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_card: *900 + repository: *856 sender: *4 required: - action @@ -167622,9 +167981,9 @@ x-webhooks: - from required: - column_id - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 project_card: allOf: - title: Project Card @@ -167814,7 +168173,7 @@ x-webhooks: type: string required: - after_id - repository: *853 + repository: *856 sender: *4 required: - action @@ -167894,10 +168253,10 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - organization: *852 - project: &899 + enterprise: *853 + installation: *854 + organization: *855 + project: &902 title: Project type: object properties: @@ -168021,7 +168380,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -168101,10 +168460,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project_column: &898 + enterprise: *853 + installation: *854 + organization: *855 + project_column: &901 title: Project Column type: object properties: @@ -168143,7 +168502,7 @@ x-webhooks: - name - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -168222,18 +168581,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 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: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -168323,11 +168682,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 + repository: *856 sender: *4 required: - action @@ -168407,11 +168766,11 @@ x-webhooks: type: string enum: - moved - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 + repository: *856 sender: *4 required: - action @@ -168491,11 +168850,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168575,18 +168934,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - project: *899 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 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: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -168688,11 +169047,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168771,11 +169130,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168856,8 +169215,8 @@ x-webhooks: type: string enum: - closed - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -168939,8 +169298,8 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169022,8 +169381,8 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169141,8 +169500,8 @@ x-webhooks: type: string to: type: string - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169226,7 +169585,7 @@ x-webhooks: type: string enum: - archived - changes: &903 + changes: &906 type: object properties: archived_at: @@ -169240,9 +169599,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *851 - organization: *852 - projects_v2_item: &900 + installation: *854 + organization: *855 + projects_v2_item: &903 title: Projects v2 Item description: An item belonging to a project type: object @@ -169377,9 +169736,9 @@ x-webhooks: nullable: true to: type: string - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169461,9 +169820,9 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169544,9 +169903,9 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169652,7 +170011,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &901 + - &904 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169674,7 +170033,7 @@ x-webhooks: required: - id - name - - &902 + - &905 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169708,8 +170067,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *901 - - *902 + - *904 + - *905 required: - field_value - type: object @@ -169725,9 +170084,9 @@ x-webhooks: nullable: true required: - body - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169822,9 +170181,9 @@ x-webhooks: to: type: string nullable: true - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169907,10 +170266,10 @@ x-webhooks: type: string enum: - restored - changes: *903 - installation: *851 - organization: *852 - projects_v2_item: *900 + changes: *906 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169992,8 +170351,8 @@ x-webhooks: type: string enum: - reopened - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -170075,14 +170434,14 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 - projects_v2_status_update: &906 + installation: *854 + organization: *855 + projects_v2_status_update: &909 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *904 - required: *905 + properties: *907 + required: *908 sender: *4 required: - action @@ -170163,9 +170522,9 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 - projects_v2_status_update: *906 + installation: *854 + organization: *855 + projects_v2_status_update: *909 sender: *4 required: - action @@ -170301,9 +170660,9 @@ x-webhooks: type: string format: date nullable: true - installation: *851 - organization: *852 - projects_v2_status_update: *906 + installation: *854 + organization: *855 + projects_v2_status_update: *909 sender: *4 required: - action @@ -170374,10 +170733,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - repository @@ -170454,13 +170813,13 @@ x-webhooks: type: string enum: - assigned - assignee: *877 - enterprise: *850 - installation: *851 - number: &907 + assignee: *880 + enterprise: *853 + installation: *854 + number: &910 description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -172743,7 +173102,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -172825,11 +173184,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -175107,7 +175466,7 @@ x-webhooks: - draft reason: type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -175189,11 +175548,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -177471,7 +177830,7 @@ x-webhooks: - draft reason: type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -177553,13 +177912,13 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: &908 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: &911 allOf: - - *698 + - *699 - type: object properties: allow_auto_merge: @@ -177621,7 +177980,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *853 + repository: *856 sender: *4 required: - action @@ -177702,12 +178061,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -177787,11 +178146,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *850 - milestone: *680 - number: *907 - organization: *852 - pull_request: &909 + enterprise: *853 + milestone: *681 + number: *910 + organization: *855 + pull_request: &912 title: Pull Request type: object properties: @@ -180054,7 +180413,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -180133,11 +180492,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -182419,7 +182778,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *853 + repository: *856 sender: *4 required: - action @@ -182543,12 +182902,12 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -182628,11 +182987,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -184899,7 +185258,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -184979,11 +185338,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *850 - installation: *851 - label: *871 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + label: *874 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -187265,7 +187624,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -187346,10 +187705,10 @@ x-webhooks: type: string enum: - locked - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -189629,7 +189988,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -189709,12 +190068,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *850 - milestone: *680 - number: *907 - organization: *852 - pull_request: *909 - repository: *853 + enterprise: *853 + milestone: *681 + number: *910 + organization: *855 + pull_request: *912 + repository: *856 sender: *4 required: - action @@ -189793,12 +190152,12 @@ x-webhooks: type: string enum: - opened - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -189879,12 +190238,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -189964,12 +190323,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -190335,9 +190694,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -192507,7 +192866,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -192587,7 +192946,7 @@ x-webhooks: type: string enum: - deleted - comment: &911 + comment: &914 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. @@ -192872,9 +193231,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -195032,7 +195391,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -195112,11 +195471,11 @@ x-webhooks: type: string enum: - edited - changes: *910 - comment: *911 - enterprise: *850 - installation: *851 - organization: *852 + changes: *913 + comment: *914 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -197277,7 +197636,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -197358,9 +197717,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -199533,7 +199892,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 review: description: The review that was affected. type: object @@ -199780,9 +200139,9 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -201836,8 +202195,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 - review: &912 + repository: *856 + review: &915 description: The review that was affected. type: object properties: @@ -202070,12 +202429,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -204358,7 +204717,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_reviewer: title: User type: object @@ -204442,12 +204801,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -206737,7 +207096,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206929,12 +207288,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -209219,7 +209578,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_reviewer: title: User type: object @@ -209304,12 +209663,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -211585,7 +211944,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211766,9 +212125,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -213943,8 +214302,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 - review: *912 + repository: *856 + review: *915 sender: *4 required: - action @@ -214024,9 +214383,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -216096,7 +216455,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 sender: *4 thread: type: object @@ -216483,9 +216842,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -218541,7 +218900,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 sender: *4 thread: type: object @@ -218931,10 +219290,10 @@ x-webhooks: type: string before: type: string - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -221205,7 +221564,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -221287,11 +221646,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *913 - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + assignee: *916 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -223574,7 +223933,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -223653,11 +224012,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *850 - installation: *851 - label: *871 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + label: *874 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -225930,7 +226289,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -226011,10 +226370,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -228279,7 +228638,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -228479,7 +228838,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *850 + enterprise: *853 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228571,8 +228930,8 @@ x-webhooks: - url - author - committer - installation: *851 - organization: *852 + installation: *854 + organization: *855 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229147,9 +229506,9 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 registry_package: type: object properties: @@ -229595,7 +229954,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *894 + items: *897 summary: type: string tag_name: @@ -229649,7 +230008,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -229727,9 +230086,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 registry_package: type: object properties: @@ -230037,7 +230396,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *897 summary: type: string tag_name: @@ -230086,7 +230445,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -230163,10 +230522,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - release: &914 + enterprise: *853 + installation: *854 + organization: *855 + release: &917 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -230484,7 +230843,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *853 + repository: *856 sender: *4 required: - action @@ -230561,11 +230920,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -230682,11 +231041,11 @@ x-webhooks: type: boolean required: - to - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -230764,9 +231123,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231088,7 +231447,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *853 + repository: *856 sender: *4 required: - action @@ -231164,10 +231523,10 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - release: &915 + enterprise: *853 + installation: *854 + organization: *855 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231486,7 +231845,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *853 + repository: *856 sender: *4 required: - action @@ -231562,11 +231921,11 @@ x-webhooks: type: string enum: - released - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -231642,11 +232001,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *850 - installation: *851 - organization: *852 - release: *915 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *918 + repository: *856 sender: *4 required: - action @@ -231722,11 +232081,11 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - repository_advisory: *750 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + repository_advisory: *751 sender: *4 required: - action @@ -231802,11 +232161,11 @@ x-webhooks: type: string enum: - reported - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - repository_advisory: *750 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + repository_advisory: *751 sender: *4 required: - action @@ -231882,10 +232241,10 @@ x-webhooks: type: string enum: - archived - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -231962,10 +232321,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232043,10 +232402,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232130,10 +232489,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232245,10 +232604,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232320,10 +232679,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 status: type: string @@ -232404,10 +232763,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232484,10 +232843,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232581,10 +232940,10 @@ x-webhooks: - name required: - repository - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232664,10 +233023,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 sender: *4 required: @@ -232746,10 +233105,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 sender: *4 required: @@ -232828,10 +233187,10 @@ x-webhooks: type: string enum: - edited - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 changes: type: object @@ -232893,16 +233252,16 @@ x-webhooks: properties: added: type: array - items: *718 + items: *719 deleted: type: array - items: *718 + items: *719 updated: type: array items: type: object properties: - rule: *718 + rule: *719 changes: type: object properties: @@ -233136,10 +233495,10 @@ x-webhooks: - from required: - owner - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233217,10 +233576,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233298,7 +233657,7 @@ x-webhooks: type: string enum: - create - alert: &916 + alert: &919 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233419,10 +233778,10 @@ x-webhooks: type: string enum: - open - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233628,10 +233987,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233709,11 +234068,11 @@ x-webhooks: type: string enum: - reopen - alert: *916 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233912,10 +234271,10 @@ x-webhooks: enum: - fixed - open - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233993,7 +234352,7 @@ x-webhooks: type: string enum: - assigned - alert: &917 + alert: &920 type: object properties: number: *128 @@ -234112,10 +234471,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234193,11 +234552,11 @@ x-webhooks: type: string enum: - created - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234278,11 +234637,11 @@ x-webhooks: type: string enum: - created - alert: *917 - installation: *851 - location: *918 - organization: *852 - repository: *853 + alert: *920 + installation: *854 + location: *921 + organization: *855 + repository: *856 sender: *4 required: - location @@ -234520,11 +234879,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234602,11 +234961,11 @@ x-webhooks: type: string enum: - reopened - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234684,11 +235043,11 @@ x-webhooks: type: string enum: - resolved - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234766,12 +235125,12 @@ x-webhooks: type: string enum: - unassigned - alert: *917 + alert: *920 assignee: *4 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234849,11 +235208,11 @@ x-webhooks: type: string enum: - validated - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234979,10 +235338,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *853 - enterprise: *850 - installation: *851 - organization: *852 + repository: *856 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -235060,11 +235419,11 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - security_advisory: &919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + security_advisory: &922 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235247,11 +235606,11 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - security_advisory: *919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + security_advisory: *922 sender: *4 required: - action @@ -235324,10 +235683,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235511,11 +235870,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *419 - enterprise: *850 - installation: *851 - organization: *852 - repository: *461 + security_and_analysis: *420 + enterprise: *853 + installation: *854 + organization: *855 + repository: *462 sender: *4 required: - changes @@ -235593,12 +235952,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: &920 + sponsorship: &923 type: object properties: created_at: @@ -235899,12 +236258,12 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - sponsorship @@ -235992,12 +236351,12 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236074,17 +236433,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &921 + effective_date: &924 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: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - sponsorship @@ -236158,7 +236517,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &922 + changes: &925 type: object properties: tier: @@ -236202,13 +236561,13 @@ x-webhooks: - from required: - tier - effective_date: *921 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + effective_date: *924 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236285,13 +236644,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *922 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + changes: *925 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236365,10 +236724,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236451,10 +236810,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236874,15 +237233,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *850 + enterprise: *853 id: description: The unique identifier of the status. type: integer - installation: *851 + installation: *854 name: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 sha: description: The Commit SHA. @@ -236997,9 +237356,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237089,9 +237448,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237181,9 +237540,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237273,9 +237632,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237352,12 +237711,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - team: &923 + team: &926 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237580,9 +237939,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -238040,7 +238399,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -238116,9 +238475,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -238576,7 +238935,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -238653,9 +239012,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -239113,7 +239472,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -239257,9 +239616,9 @@ x-webhooks: - from required: - permissions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -239717,7 +240076,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - changes @@ -239795,9 +240154,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -240255,7 +240614,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -240331,10 +240690,10 @@ x-webhooks: type: string enum: - started - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -240407,16 +240766,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *850 + enterprise: *853 inputs: type: object nullable: true additionalProperties: true - installation: *851 - organization: *852 + installation: *854 + organization: *855 ref: type: string - repository: *853 + repository: *856 sender: *4 workflow: type: string @@ -240498,10 +240857,10 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: allOf: @@ -240738,7 +241097,7 @@ x-webhooks: type: string required: - conclusion - deployment: *600 + deployment: *601 required: - action - repository @@ -240817,10 +241176,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: allOf: @@ -241080,7 +241439,7 @@ x-webhooks: required: - status - steps - deployment: *600 + deployment: *601 required: - action - repository @@ -241159,10 +241518,10 @@ x-webhooks: type: string enum: - queued - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: type: object @@ -241297,7 +241656,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *600 + deployment: *601 required: - action - repository @@ -241376,10 +241735,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: type: object @@ -241515,7 +241874,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *600 + deployment: *601 required: - action - repository @@ -241595,12 +241954,12 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object @@ -242599,12 +242958,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object @@ -243588,12 +243947,12 @@ x-webhooks: type: string enum: - requested - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 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 8addcd15c8..1adee120cf 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -37115,6 +37115,175 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -52649,7 +52818,7 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true @@ -86866,6 +87035,175 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", @@ -132311,7 +132649,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -135297,7 +135636,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -138214,6 +138554,130 @@ "archived_at" ] }, + "projects-v2-view": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, "org-repo-custom-property-values": { "title": "Organization Repository Custom Property Values", "description": "List of custom property values for a repository", @@ -311835,6 +312299,61 @@ ] } }, + "projects-v2-view": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, "org-repo-custom-property-values": { "value": [ { @@ -317350,7 +317869,7 @@ } }, "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 0a24b15cbf..a34e25123e 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -26791,6 +26791,126 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -38038,7 +38158,7 @@ paths: examples: response: "$ref": "#/components/examples/code-scanning-analysis-default" - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true @@ -62896,6 +63016,126 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -96267,6 +96507,7 @@ components: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -98750,6 +98991,7 @@ components: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -101044,6 +101286,99 @@ components: - created_at - updated_at - archived_at + projects-v2-view: + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element is a tuple + of [field_id, direction] where direction is "asc" or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by org-repo-custom-property-values: title: Organization Repository Custom Property Values description: List of custom property values for a repository @@ -233417,6 +233752,50 @@ components: name: Sub-issues progress type: sub_issues_progress value: + projects-v2-view: + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 org-repo-custom-property-values: value: - repository_id: 1296269 @@ -238126,7 +238505,7 @@ components: deletable: true warning: '' code-scanning-analysis-sarif: - summary: application/json+sarif response + summary: application/sarif+json response value: runs: - tool: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 8addcd15c8..1adee120cf 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -37115,6 +37115,175 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -52649,7 +52818,7 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true @@ -86866,6 +87035,175 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", @@ -132311,7 +132649,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -135297,7 +135636,8 @@ "type": "string" }, "url": { - "type": "string" + "type": "string", + "nullable": true }, "node_id": { "type": "string" @@ -138214,6 +138554,130 @@ "archived_at" ] }, + "projects-v2-view": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, "org-repo-custom-property-values": { "title": "Organization Repository Custom Property Values", "description": "List of custom property values for a repository", @@ -311835,6 +312299,61 @@ ] } }, + "projects-v2-view": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + }, "org-repo-custom-property-values": { "value": [ { @@ -317350,7 +317869,7 @@ } }, "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 0a24b15cbf..a34e25123e 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -26791,6 +26791,126 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -38038,7 +38158,7 @@ paths: examples: response: "$ref": "#/components/examples/code-scanning-analysis-default" - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true @@ -62896,6 +63016,126 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -96267,6 +96507,7 @@ components: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -98750,6 +98991,7 @@ components: type: string url: type: string + nullable: true node_id: type: string nullable: true @@ -101044,6 +101286,99 @@ components: - created_at - updated_at - archived_at + projects-v2-view: + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element is a tuple + of [field_id, direction] where direction is "asc" or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by org-repo-custom-property-values: title: Organization Repository Custom Property Values description: List of custom property values for a repository @@ -233417,6 +233752,50 @@ components: name: Sub-issues progress type: sub_issues_progress value: + projects-v2-view: + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}