diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 31189261a..779554a1f 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -25705,6 +25705,181 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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", @@ -40374,7 +40549,7 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true @@ -71943,6 +72118,181 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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", @@ -109259,7 +109609,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -116483,6 +116836,142 @@ "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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", @@ -296360,6 +296849,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": [ { @@ -302089,7 +302633,7 @@ } }, "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 9afccd074..415a2f66d 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -18555,6 +18555,129 @@ 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. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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 @@ -29187,7 +29310,7 @@ paths: examples: response: "$ref": "#/components/examples/code-scanning-analysis-default" - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true @@ -52140,6 +52263,129 @@ 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. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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 @@ -78954,7 +79200,9 @@ components: spdx_id: type: string url: - type: string + type: + - string + - 'null' node_id: type: string forks: @@ -84441,6 +84689,105 @@ 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. + examples: + - https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + examples: + - https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + description: The time when the view was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the view was last updated. + examples: + - '2022-04-28T12:00:00Z' + filter: + type: + - string + - 'null' + description: The filter query for the view. + examples: + - 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 @@ -219007,6 +219354,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 @@ -223912,7 +224303,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 31189261a..779554a1f 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -25705,6 +25705,181 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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", @@ -40374,7 +40549,7 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true @@ -71943,6 +72118,181 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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", @@ -109259,7 +109609,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -116483,6 +116836,142 @@ "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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", @@ -296360,6 +296849,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": [ { @@ -302089,7 +302633,7 @@ } }, "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 9afccd074..415a2f66d 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -18555,6 +18555,129 @@ 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. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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 @@ -29187,7 +29310,7 @@ paths: examples: response: "$ref": "#/components/examples/code-scanning-analysis-default" - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true @@ -52140,6 +52263,129 @@ 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. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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 @@ -78954,7 +79200,9 @@ components: spdx_id: type: string url: - type: string + type: + - string + - 'null' node_id: type: string forks: @@ -84441,6 +84689,105 @@ 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. + examples: + - https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + examples: + - https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + description: The time when the view was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the view was last updated. + examples: + - '2022-04-28T12:00:00Z' + filter: + type: + - string + - 'null' + description: The filter query for the view. + examples: + - 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 @@ -219007,6 +219354,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 @@ -223912,7 +224303,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 45acc0ce8..2d71ee308 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -72658,7 +72658,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -73979,7 +73982,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -90760,7 +90766,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -96950,7 +96959,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -98680,7 +98692,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -112278,7 +112293,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -115369,7 +115387,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -122105,7 +122126,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -123508,7 +123532,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -148741,7 +148768,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -151096,7 +151126,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -159521,7 +159554,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -163359,7 +163395,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -164668,7 +164707,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -168003,7 +168045,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -170238,7 +170283,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -198133,6 +198181,804 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", @@ -202239,7 +203085,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -223532,7 +224381,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -231065,7 +231917,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253747,7 +254602,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -254601,7 +255459,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -256569,7 +257430,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -257423,7 +258287,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -260221,7 +261088,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -261075,7 +261945,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -268338,7 +269211,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -269192,7 +270068,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -305961,7 +306840,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -307880,7 +308762,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -309309,7 +310194,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -311076,7 +311964,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -318217,14 +319108,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": [ { @@ -326360,7 +327251,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -328458,7 +329352,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -330192,7 +331089,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -333951,7 +334851,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -348801,7 +349704,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -350159,7 +351065,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -384132,7 +385041,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -400683,7 +401595,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -402175,7 +403090,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -506022,7 +506940,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -534830,7 +535751,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -536564,7 +537488,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -603594,7 +604521,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -609637,7 +610567,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -610781,7 +611714,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -612403,7 +613339,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -622603,7 +623542,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -628053,7 +628995,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -630342,7 +631287,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -632076,7 +633024,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -634119,7 +635070,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -636209,7 +637163,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -638115,7 +639072,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -646462,7 +647422,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -648456,7 +649419,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -650185,7 +651151,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -669310,7 +670279,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -670881,7 +671853,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -672129,7 +673104,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -680895,7 +681873,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -686720,7 +687701,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -696445,266 +697429,1064 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\"", + "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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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": false, "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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "subcategory": "views" } } }, @@ -699312,7 +701094,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -736588,7 +738373,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -737897,7 +739685,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -781695,7 +783486,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -786171,7 +787965,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -798942,7 +800739,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -803903,7 +805703,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -808864,7 +810667,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -813838,7 +815644,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 273ca19f4..6db5a69e9 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &298 + type: &299 type: string description: The type of credit the user is receiving. enum: @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &613 + - &614 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9170,7 +9170,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 - - &454 + - &455 name: has in: query description: |- @@ -9290,7 +9290,7 @@ paths: - direct - transitive - - security_advisory: &455 + security_advisory: &456 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9558,7 +9558,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &456 + auto_dismissed_at: &457 type: - string - 'null' @@ -9566,7 +9566,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &457 + dismissal_request: &458 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10957,7 +10957,7 @@ paths: properties: action: type: string - discussion: &704 + discussion: &707 title: Discussion description: A Discussion in a repository. type: object @@ -11743,7 +11743,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &625 + sub_issues_summary: &626 title: Sub-issues Summary type: object properties: @@ -11764,7 +11764,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &626 + issue_dependencies_summary: &627 title: Issue Dependencies Summary type: object properties: @@ -11783,7 +11783,7 @@ paths: - total_blocking issue_field_values: type: array - items: &627 + items: &628 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11896,7 +11896,7 @@ paths: action: type: string issue: *71 - comment: &504 + comment: &505 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12619,7 +12619,7 @@ paths: type: string release: allOf: - - &558 + - &559 title: Release description: A release. type: object @@ -12701,7 +12701,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &560 title: Release Asset description: Data related to a release. type: object @@ -13304,7 +13304,7 @@ paths: url: type: string format: uri - user: &633 + user: &634 title: Public User description: Public User type: object @@ -16661,14 +16661,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &308 + - &309 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &309 + - &310 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16730,7 +16730,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &312 + '301': &313 description: Moved permanently content: application/json: @@ -16752,7 +16752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &535 name: all description: If `true`, show notifications marked as read. in: query @@ -16760,7 +16760,7 @@ paths: schema: type: boolean default: false - - &535 + - &536 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16770,7 +16770,7 @@ paths: type: boolean default: false - *77 - - &536 + - &537 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: @@ -17120,7 +17120,9 @@ paths: spdx_id: type: string url: - type: string + type: + - string + - 'null' node_id: type: string forks: @@ -17141,7 +17143,7 @@ paths: type: boolean examples: - false - security_and_analysis: &265 + security_and_analysis: &266 type: - object - 'null' @@ -17306,7 +17308,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &538 value: - id: '1' repository: @@ -18836,7 +18838,7 @@ paths: required: false schema: type: string - - &681 + - &684 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18982,7 +18984,7 @@ paths: parameters: - *66 - *107 - - &682 + - &685 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 @@ -19094,7 +19096,7 @@ paths: - *107 - *109 - *108 - - &683 + - &686 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19102,7 +19104,7 @@ paths: schema: type: string - *110 - - &684 + - &687 name: sku description: The SKU to query for usage. in: query @@ -20081,7 +20083,7 @@ paths: type: integer repository_cache_usages: type: array - items: &319 + items: &320 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21319,7 +21321,7 @@ paths: - all - local_only - selected - selected_actions_url: &325 + selected_actions_url: &326 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` @@ -21402,7 +21404,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &330 type: object properties: days: @@ -21444,7 +21446,7 @@ paths: required: true content: application/json: - schema: &330 + schema: &331 type: object properties: days: @@ -21501,7 +21503,7 @@ paths: required: - approval_policy examples: - default: &331 + default: &332 value: approval_policy: first_time_contributors '404': *6 @@ -21560,7 +21562,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 type: object required: - run_workflows_from_fork_pull_requests @@ -21614,7 +21616,7 @@ paths: required: true content: application/json: - schema: &333 + schema: &334 type: object required: - run_workflows_from_fork_pull_requests @@ -22249,7 +22251,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 type: object properties: default_workflow_permissions: &137 @@ -22300,7 +22302,7 @@ paths: required: false content: application/json: - schema: &335 + schema: &336 type: object properties: default_workflow_permissions: *137 @@ -22793,7 +22795,7 @@ paths: type: array items: *144 examples: - default: &636 + default: &637 value: total_count: 1 repositories: @@ -23440,7 +23442,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 title: Runner Application description: Runner Application type: object @@ -23465,7 +23467,7 @@ paths: - download_url - filename examples: - default: &337 + default: &338 value: - os: osx architecture: x64 @@ -23551,7 +23553,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &338 + '201': &339 description: Response content: application/json: @@ -23666,7 +23668,7 @@ paths: - token - expires_at examples: - default: &339 + default: &340 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23705,7 +23707,7 @@ paths: application/json: schema: *148 examples: - default: &340 + default: &341 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23739,7 +23741,7 @@ paths: application/json: schema: *146 examples: - default: &341 + default: &342 value: id: 23 name: MBP @@ -23965,7 +23967,7 @@ paths: - *66 - *145 responses: - '200': &342 + '200': &343 description: Response content: application/json: @@ -24022,7 +24024,7 @@ paths: parameters: - *66 - *145 - - &343 + - &344 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24154,7 +24156,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &356 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24189,7 +24191,7 @@ paths: - key_id - key examples: - default: &356 + default: &357 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24602,7 +24604,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *66 - - &324 + - &325 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)." @@ -25764,12 +25766,12 @@ paths: required: - subject_digests examples: - default: &663 + default: &666 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &664 + withPredicateType: &667 value: subject_digests: - sha256:abc123 @@ -25828,7 +25830,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &665 + default: &668 value: attestations_subject_digests: - sha256:abc: @@ -26177,7 +26179,7 @@ paths: initiator: type: string examples: - default: &369 + default: &370 value: attestations: - bundle: @@ -27133,7 +27135,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *66 - - &393 + - &394 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`, @@ -27143,7 +27145,7 @@ paths: schema: &169 type: string description: The name of the tool used to generate the code scanning analysis. - - &394 + - &395 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 @@ -27167,7 +27169,7 @@ paths: be returned. in: query required: false - schema: &396 + schema: &397 type: string description: State of a code scanning alert. enum: @@ -27190,7 +27192,7 @@ paths: be returned. in: query required: false - schema: &397 + schema: &398 type: string description: Severity of a code scanning alert. enum: @@ -27224,7 +27226,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: &398 + instances_url: &399 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27246,7 +27248,7 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: &399 + dismissed_reason: &400 type: - string - 'null' @@ -27257,14 +27259,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &400 + dismissed_comment: &401 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &401 + rule: &402 type: object properties: id: @@ -27325,7 +27327,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &402 + tool: &403 type: object properties: name: *169 @@ -27336,26 +27338,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *170 - most_recent_instance: &403 + most_recent_instance: &404 type: object properties: - ref: &395 + ref: &396 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &413 + analysis_key: &414 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: &414 + environment: &415 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: &415 + category: &416 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27369,7 +27371,7 @@ paths: properties: text: type: string - location: &416 + location: &417 type: object description: Describe a region within a file for the alert. properties: @@ -27390,7 +27392,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: &417 + items: &418 type: - string - 'null' @@ -28684,7 +28686,7 @@ paths: machine: anyOf: - type: 'null' - - &429 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29636,7 +29638,7 @@ paths: - updated_at - visibility examples: - default: &430 + default: &431 value: total_count: 2 secrets: @@ -29674,7 +29676,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &432 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29709,7 +29711,7 @@ paths: - key_id - key examples: - default: &432 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29741,7 +29743,7 @@ paths: application/json: schema: *178 examples: - default: &434 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30739,7 +30741,7 @@ paths: application/json: schema: type: array - items: &302 + items: &303 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31054,7 +31056,7 @@ paths: - date additionalProperties: true examples: - default: &303 + default: &304 value: - date: '2024-06-24' total_active_users: 24 @@ -31156,7 +31158,7 @@ paths: '500': *104 '403': *27 '404': *6 - '422': &304 + '422': &305 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -31364,7 +31366,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &461 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31383,7 +31385,7 @@ paths: - key_id - key examples: - default: &461 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33211,7 +33213,7 @@ paths: application/json: schema: *20 examples: - default: &499 + default: &500 value: id: 1 account: @@ -33439,7 +33441,7 @@ paths: required: true content: application/json: - schema: &500 + schema: &501 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -34299,7 +34301,7 @@ paths: application/json: schema: *220 examples: - default: &428 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35561,7 +35563,7 @@ paths: parameters: - *66 - *227 - - &648 + - &649 name: repo_name description: repo_name parameter in: path @@ -36620,7 +36622,7 @@ paths: - nuget - container - *66 - - &649 + - &650 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -36661,7 +36663,7 @@ paths: default: *233 '403': *27 '401': *23 - '400': &651 + '400': &652 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38487,7 +38489,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &732 + - &735 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -38761,7 +38763,7 @@ paths: content: oneOf: - *71 - - &443 + - &444 title: Pull Request Simple description: Pull Request Simple type: object @@ -39006,7 +39008,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: &544 + auto_merge: &545 title: Auto merge description: The status of auto merging a pull request. type: @@ -39388,7 +39390,7 @@ paths: - updated_at - project_url examples: - default: &668 + default: &671 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39565,7 +39567,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &669 + items: &672 type: object properties: name: @@ -39601,7 +39603,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &670 + iteration_configuration: &673 type: object description: The configuration for iteration fields. properties: @@ -39650,7 +39652,7 @@ paths: value: name: Due date data_type: date - single_select_field: &671 + single_select_field: &674 summary: Create a single select field value: name: Priority @@ -39677,7 +39679,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &672 + iteration_field: &675 summary: Create an iteration field value: name: Sprint @@ -39703,7 +39705,7 @@ paths: application/json: schema: *253 examples: - text_field: &673 + text_field: &676 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -39712,7 +39714,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: &674 + number_field: &677 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -39721,7 +39723,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: &675 + date_field: &678 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -39730,7 +39732,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: &676 + single_select_field: &679 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39764,7 +39766,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &677 + iteration_field: &680 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -39810,7 +39812,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *250 - - &678 + - &681 name: field_id description: The unique identifier of the field. in: path @@ -39825,7 +39827,7 @@ paths: application/json: schema: *253 examples: - default: &679 + default: &682 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40948,6 +40950,262 @@ 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: + - *66 + - *250 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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: &663 + 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. + examples: + - https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + examples: + - https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + description: The time when the view was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the view was last updated. + examples: + - '2022-04-28T12:00:00Z' + filter: + type: + - string + - 'null' + description: The filter query for the view. + examples: + - 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: &260 + 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: *260 + roadmap_view: + summary: Response for creating a roadmap view + value: *260 + '304': *35 + '403': *27 + '401': *23 + '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 @@ -40962,7 +41220,7 @@ paths: parameters: - *250 - *66 - - &680 + - &683 name: view_number description: The number that identifies the project view. in: path @@ -41029,7 +41287,7 @@ paths: application/json: schema: type: array - items: &260 + items: &261 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41104,7 +41362,7 @@ paths: - property_name - value_type examples: - default: &261 + default: &262 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41163,7 +41421,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *260 + items: *261 minItems: 1 maxItems: 100 required: @@ -41193,9 +41451,9 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: - default: *261 + default: *262 '403': *27 '404': *6 x-github: @@ -41217,7 +41475,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *66 - - &262 + - &263 name: custom_property_name description: The custom property name in: path @@ -41229,9 +41487,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: &263 + default: &264 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41266,7 +41524,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *66 - - *262 + - *263 requestBody: required: true content: @@ -41343,9 +41601,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *263 + default: *264 '403': *27 '404': *6 x-github: @@ -41369,7 +41627,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *66 - - *262 + - *263 responses: '204': *175 '403': *27 @@ -41433,7 +41691,7 @@ paths: - octocat/Hello-World properties: type: array - items: &264 + items: &265 title: Custom Property Value description: Custom property name and associated value type: object @@ -41523,7 +41781,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *264 + items: *265 required: - repository_names - properties @@ -41918,7 +42176,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: Full Repository description: Full Repository type: object @@ -42383,7 +42641,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &448 + code_of_conduct: &449 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42413,7 +42671,7 @@ paths: - key - name - html_url - security_and_analysis: *265 + security_and_analysis: *266 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42497,7 +42755,7 @@ paths: - network_count - subscribers_count examples: - default: &313 + default: &314 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43018,7 +43276,7 @@ paths: - *66 - *17 - *19 - - &566 + - &567 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43037,7 +43295,7 @@ paths: application/json: schema: type: array - items: &292 + items: &293 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -43072,7 +43330,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &269 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -43085,7 +43343,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &270 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43156,7 +43414,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &266 + - &267 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43180,7 +43438,7 @@ paths: match. items: type: string - - &270 + - &271 title: Organization ruleset conditions type: object description: |- @@ -43194,7 +43452,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43228,7 +43486,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43250,7 +43508,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43263,7 +43521,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &268 title: Repository ruleset property targeting definition type: object @@ -43296,7 +43554,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *268 required: - repository_property type: @@ -43304,12 +43562,12 @@ paths: - object rules: type: array - items: &567 + items: &568 title: Repository Rule type: object description: A repository rule. oneOf: - - &271 + - &272 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43321,7 +43579,7 @@ paths: type: string enum: - creation - - &272 + - &273 title: update description: Only allow users with bypass permission to update matching refs. @@ -43342,7 +43600,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &273 + - &274 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -43354,7 +43612,7 @@ paths: type: string enum: - deletion - - &274 + - &275 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43366,7 +43624,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &566 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -43444,7 +43702,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &275 + - &276 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -43468,7 +43726,7 @@ paths: type: string required: - required_deployment_environments - - &276 + - &277 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -43480,7 +43738,7 @@ paths: type: string enum: - required_signatures - - &277 + - &278 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -43586,7 +43844,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &278 + - &279 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -43634,7 +43892,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &279 + - &280 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -43646,7 +43904,7 @@ paths: type: string enum: - non_fast_forward - - &280 + - &281 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -43682,7 +43940,7 @@ paths: required: - operator - pattern - - &281 + - &282 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -43718,7 +43976,7 @@ paths: required: - operator - pattern - - &282 + - &283 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43754,7 +44012,7 @@ paths: required: - operator - pattern - - &283 + - &284 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43790,7 +44048,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43826,7 +44084,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -43851,7 +44109,7 @@ paths: type: string required: - restricted_file_paths - - &286 + - &287 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -43875,7 +44133,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &287 + - &288 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -43898,7 +44156,7 @@ paths: type: string required: - restricted_file_extensions - - &288 + - &289 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -43923,7 +44181,7 @@ paths: maximum: 100 required: - max_file_size - - &289 + - &290 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -43973,7 +44231,7 @@ paths: - repository_id required: - workflows - - &290 + - &291 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44034,7 +44292,7 @@ paths: - tool required: - code_scanning_tools - - &291 + - &292 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -44133,21 +44391,20 @@ paths: - push - repository default: branch - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *270 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: &294 + items: &295 title: Repository Rule type: object description: A repository rule. oneOf: - - *271 - *272 - *273 - *274 @@ -44168,6 +44425,7 @@ paths: - *289 - *290 - *291 + - *292 required: - name - enforcement @@ -44205,9 +44463,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &293 + default: &294 value: id: 21 name: super cool ruleset @@ -44262,7 +44520,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *66 - - &568 + - &569 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 @@ -44277,7 +44535,7 @@ paths: in: query schema: type: string - - &569 + - &570 name: time_period description: |- The time period to filter by. @@ -44293,14 +44551,14 @@ paths: - week - month default: day - - &570 + - &571 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 - - &571 + - &572 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44320,7 +44578,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &573 title: Rule Suites description: Response type: array @@ -44376,7 +44634,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &573 + default: &574 value: - id: 21 actor_id: 12 @@ -44420,7 +44678,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *66 - - &574 + - &575 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44436,7 +44694,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &576 title: Rule Suite description: Response type: object @@ -44543,7 +44801,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &576 + default: &577 value: id: 21 actor_id: 12 @@ -44616,9 +44874,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '500': *104 put: @@ -44662,16 +44920,16 @@ paths: - tag - push - repository - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *270 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *294 + items: *295 examples: default: value: @@ -44706,9 +44964,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '500': *104 delete: @@ -44765,7 +45023,7 @@ paths: application/json: schema: type: array - items: &295 + items: &296 title: Ruleset version type: object description: The historical version of a ruleset @@ -44789,7 +45047,7 @@ paths: type: string format: date-time examples: - default: &578 + default: &579 value: - version_id: 3 actor: @@ -44842,9 +45100,9 @@ paths: description: Response content: application/json: - schema: &579 + schema: &580 allOf: - - *295 + - *296 - type: object required: - state @@ -44914,7 +45172,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *66 - - &580 + - &581 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -44925,7 +45183,7 @@ paths: enum: - open - resolved - - &581 + - &582 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -44935,7 +45193,7 @@ paths: required: false schema: type: string - - &582 + - &583 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -44944,7 +45202,7 @@ paths: required: false schema: type: string - - &583 + - &584 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -44963,7 +45221,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &584 + - &585 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. @@ -44978,7 +45236,7 @@ paths: - *51 - *19 - *17 - - &585 + - &586 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 @@ -44988,7 +45246,7 @@ paths: required: false schema: type: string - - &586 + - &587 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 @@ -44998,7 +45256,7 @@ paths: required: false schema: type: string - - &587 + - &588 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45007,7 +45265,7 @@ paths: required: false schema: type: string - - &588 + - &589 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45016,7 +45274,7 @@ paths: schema: type: boolean default: false - - &589 + - &590 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45025,7 +45283,7 @@ paths: schema: type: boolean default: false - - &590 + - &591 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45057,14 +45315,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &591 + state: &592 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: &592 + resolution: &593 type: - string - 'null' @@ -45171,14 +45429,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &593 + - &594 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &595 + - &596 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45235,7 +45493,7 @@ paths: - blob_url - commit_sha - commit_url - - &596 + - &597 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. @@ -45296,7 +45554,7 @@ paths: - page_url - commit_sha - commit_url - - &597 + - &598 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45311,7 +45569,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &598 + - &599 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45326,7 +45584,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &599 + - &600 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45341,7 +45599,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &600 + - &601 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45356,7 +45614,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &601 + - &602 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -45371,7 +45629,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &602 + - &603 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -45386,7 +45644,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &603 + - &604 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. @@ -45401,7 +45659,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &604 + - &605 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. @@ -45416,7 +45674,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &605 + - &606 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. @@ -45431,7 +45689,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &606 + - &607 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. @@ -45446,7 +45704,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &607 + - &608 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 @@ -45686,7 +45944,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &297 + pattern_config_version: &298 type: - string - 'null' @@ -45696,7 +45954,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &296 + items: &297 type: object properties: token_type: @@ -45765,7 +46023,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *296 + items: *297 examples: default: value: @@ -45822,7 +46080,7 @@ paths: schema: type: object properties: - pattern_config_version: *297 + pattern_config_version: *298 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -45848,7 +46106,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *297 + custom_pattern_version: *298 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -45946,7 +46204,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 description: A repository security advisory. type: object properties: @@ -46190,7 +46448,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 credits_detailed: type: - array @@ -46201,7 +46459,7 @@ paths: type: object properties: user: *4 - type: *298 + type: *299 state: type: string description: The state of the user's acceptance of the @@ -46265,7 +46523,7 @@ paths: - private_fork additionalProperties: false examples: - default: &612 + default: &613 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46992,7 +47250,7 @@ paths: type: integer network_configurations: type: array - items: &299 + items: &300 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -47131,9 +47389,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: &300 + default: &301 value: id: 123456789ABCDEF name: My network configuration @@ -47162,7 +47420,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *66 - - &301 + - &302 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -47174,9 +47432,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 headers: Link: *57 x-github: @@ -47198,7 +47456,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *66 - - *301 + - *302 requestBody: required: true content: @@ -47237,9 +47495,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47259,7 +47517,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *66 - - *301 + - *302 responses: '204': description: Response @@ -47404,13 +47662,13 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 '500': *104 '403': *27 '404': *6 - '422': *304 + '422': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47534,7 +47792,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &306 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -47933,7 +48191,7 @@ paths: - repos_count - organization examples: - default: &306 + default: &307 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48010,9 +48268,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 x-github: githubCloudOnly: false @@ -48097,16 +48355,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '201': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 '422': *15 '403': *27 @@ -48253,7 +48511,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &308 title: Team Membership description: Team Membership type: object @@ -48281,7 +48539,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &629 + response-if-user-is-a-team-maintainer: &630 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48344,9 +48602,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: &630 + response-if-users-membership-with-team-is-now-pending: &631 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48453,14 +48711,14 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &631 + schema: &632 title: Team Repository description: A team's access to a repository. type: object @@ -49103,8 +49361,8 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 requestBody: required: false content: @@ -49151,8 +49409,8 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 responses: '204': description: Response @@ -49189,7 +49447,7 @@ paths: type: array items: *179 examples: - response-if-child-teams-exist: &632 + response-if-child-teams-exist: &633 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49343,7 +49601,7 @@ paths: resources: type: object properties: - core: &310 + core: &311 title: Rate Limit type: object properties: @@ -49360,21 +49618,21 @@ paths: - remaining - reset - used - graphql: *310 - search: *310 - code_search: *310 - source_import: *310 - integration_manifest: *310 - code_scanning_upload: *310 - actions_runner_registration: *310 - scim: *310 - dependency_snapshots: *310 - dependency_sbom: *310 - code_scanning_autofix: *310 + graphql: *311 + search: *311 + code_search: *311 + source_import: *311 + integration_manifest: *311 + code_scanning_upload: *311 + actions_runner_registration: *311 + scim: *311 + dependency_snapshots: *311 + dependency_sbom: *311 + code_scanning_autofix: *311 required: - core - search - rate: *310 + rate: *311 required: - rate - resources @@ -49479,14 +49737,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: default-response: summary: Default response @@ -49987,7 +50245,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *312 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50005,8 +50263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -50254,10 +50512,10 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 - '307': &314 + default: *314 + '307': &315 description: Temporary Redirect content: application/json: @@ -50286,8 +50544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -50309,7 +50567,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *314 + '307': *315 '404': *6 '409': *50 x-github: @@ -50333,11 +50591,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 - - &347 + - &348 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50360,7 +50618,7 @@ paths: type: integer artifacts: type: array - items: &315 + items: &316 title: Artifact description: An artifact type: object @@ -50455,7 +50713,7 @@ paths: - expires_at - updated_at examples: - default: &348 + default: &349 value: total_count: 2 artifacts: @@ -50516,9 +50774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *308 - *309 - - &316 + - *310 + - &317 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50530,7 +50788,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: default: value: @@ -50568,9 +50826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *308 - *309 - - *316 + - *310 + - *317 responses: '204': description: Response @@ -50594,9 +50852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *308 - *309 - - *316 + - *310 + - *317 - name: archive_format in: path required: true @@ -50610,7 +50868,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': &503 + '410': &504 description: Gone content: application/json: @@ -50635,14 +50893,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &317 + schema: &318 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -50676,13 +50934,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *317 + schema: *318 examples: selected_actions: *40 responses: @@ -50711,14 +50969,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &318 + schema: &319 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -50752,13 +51010,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *318 + schema: *319 examples: selected_actions: *42 responses: @@ -50789,14 +51047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -50822,11 +51080,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 - - &320 + - &321 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 @@ -50860,7 +51118,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Repository actions caches description: Repository actions caches type: object @@ -50910,7 +51168,7 @@ paths: - total_count - actions_caches examples: - default: &322 + default: &323 value: total_count: 1 actions_caches: @@ -50942,23 +51200,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: - - *308 - *309 + - *310 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50978,8 +51236,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: - - *308 - *309 + - *310 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51010,9 +51268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *308 - *309 - - &323 + - *310 + - &324 name: job_id description: The unique identifier of the job. in: path @@ -51024,7 +51282,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &352 title: Job description: Information of a job execution in a workflow run type: object @@ -51371,9 +51629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *308 - *309 - - *323 + - *310 + - *324 responses: '302': description: Response @@ -51401,9 +51659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *308 - *309 - - *323 + - *310 + - *324 requestBody: required: false content: @@ -51449,8 +51707,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: - - *308 - *309 + - *310 responses: '200': description: Status response @@ -51500,8 +51758,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -51564,8 +51822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -51583,7 +51841,7 @@ paths: type: integer secrets: type: array - items: &353 + items: &354 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51604,7 +51862,7 @@ paths: - created_at - updated_at examples: - default: &354 + default: &355 value: total_count: 2 secrets: @@ -51637,9 +51895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *308 - *309 - - *324 + - *310 + - *325 - *19 responses: '200': @@ -51656,7 +51914,7 @@ paths: type: integer variables: type: array - items: &357 + items: &358 title: Actions Variable type: object properties: @@ -51690,7 +51948,7 @@ paths: - created_at - updated_at examples: - default: &358 + default: &359 value: total_count: 2 variables: @@ -51723,8 +51981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51733,11 +51991,11 @@ paths: schema: type: object properties: - enabled: &326 + enabled: &327 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *129 - selected_actions_url: *325 + selected_actions_url: *326 sha_pinning_required: *130 required: - enabled @@ -51766,8 +52024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -51778,7 +52036,7 @@ paths: schema: type: object properties: - enabled: *326 + enabled: *327 allowed_actions: *129 sha_pinning_required: *130 required: @@ -51810,14 +52068,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: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &327 + schema: &328 type: object properties: access_level: @@ -51834,7 +52092,7 @@ paths: required: - access_level examples: - default: &328 + default: &329 value: access_level: organization x-github: @@ -51858,15 +52116,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: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 responses: '204': description: Response @@ -51890,14 +52148,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -51921,8 +52179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Empty response for successful settings update @@ -51932,7 +52190,7 @@ paths: required: true content: application/json: - schema: *330 + schema: *331 examples: default: summary: Set retention days @@ -51956,8 +52214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51965,7 +52223,7 @@ paths: application/json: schema: *131 examples: - default: *331 + default: *332 '404': *6 x-github: enabledForGitHubApps: true @@ -51984,8 +52242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -52019,14 +52277,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: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: default: *132 '403': *27 @@ -52048,13 +52306,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: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *333 + schema: *334 examples: default: *132 responses: @@ -52080,8 +52338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -52108,8 +52366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -52141,14 +52399,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *334 + schema: *335 examples: default: *139 x-github: @@ -52171,8 +52429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Success response @@ -52183,7 +52441,7 @@ paths: required: true content: application/json: - schema: *335 + schema: *336 examples: default: *139 x-github: @@ -52212,8 +52470,8 @@ paths: in: query schema: type: string - - *308 - *309 + - *310 - *17 - *19 responses: @@ -52257,8 +52515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -52266,9 +52524,9 @@ paths: application/json: schema: type: array - items: *336 + items: *337 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52290,8 +52548,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -52334,7 +52592,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *338 + '201': *339 '404': *6 '422': *7 '409': *50 @@ -52365,8 +52623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -52374,7 +52632,7 @@ paths: application/json: schema: *148 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52402,8 +52660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -52411,7 +52669,7 @@ paths: application/json: schema: *148 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52433,8 +52691,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: - - *308 - *309 + - *310 - *145 responses: '200': @@ -52443,7 +52701,7 @@ paths: application/json: schema: *146 examples: - default: *341 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52464,8 +52722,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: - - *308 - *309 + - *310 - *145 responses: '204': @@ -52492,8 +52750,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: - - *308 - *309 + - *310 - *145 responses: '200': *150 @@ -52518,8 +52776,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: - - *308 - *309 + - *310 - *145 requestBody: required: true @@ -52568,8 +52826,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: - - *308 - *309 + - *310 - *145 requestBody: required: true @@ -52619,11 +52877,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: - - *308 - *309 + - *310 - *145 responses: - '200': *342 + '200': *343 '404': *6 x-github: githubCloudOnly: false @@ -52650,10 +52908,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: - - *308 - *309 + - *310 - *145 - - *343 + - *344 responses: '200': *150 '404': *6 @@ -52681,9 +52939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *308 - *309 - - &361 + - *310 + - &362 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. @@ -52691,7 +52949,7 @@ paths: required: false schema: type: string - - &362 + - &363 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52699,7 +52957,7 @@ paths: required: false schema: type: string - - &363 + - &364 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52708,7 +52966,7 @@ paths: required: false schema: type: string - - &364 + - &365 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 @@ -52735,7 +52993,7 @@ paths: - pending - *17 - *19 - - &365 + - &366 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)." @@ -52744,7 +53002,7 @@ paths: schema: type: string format: date-time - - &344 + - &345 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52753,13 +53011,13 @@ paths: schema: type: boolean default: false - - &366 + - &367 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &367 + - &368 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52782,7 +53040,7 @@ paths: type: integer workflow_runs: type: array - items: &345 + items: &346 title: Workflow Run description: An invocation of a workflow type: object @@ -52960,7 +53218,7 @@ paths: head_commit: anyOf: - type: 'null' - - &389 + - &390 title: Simple Commit description: A commit. type: object @@ -53075,7 +53333,7 @@ paths: - workflow_url - pull_requests examples: - default: &368 + default: &369 value: total_count: 1 workflow_runs: @@ -53311,24 +53569,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *308 - *309 - - &346 + - *310 + - &347 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: &349 + default: &350 value: id: 30433642 name: Build @@ -53569,9 +53827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '204': description: Response @@ -53594,9 +53852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '200': description: Response @@ -53724,9 +53982,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: - - *308 - *309 - - *346 + - *310 + - *347 responses: '201': description: Response @@ -53759,12 +54017,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *308 - *309 - - *346 + - *310 + - *347 - *17 - *19 - - *347 + - *348 responses: '200': description: Response @@ -53780,9 +54038,9 @@ paths: type: integer artifacts: type: array - items: *315 + items: *316 examples: - default: *348 + default: *349 headers: Link: *57 x-github: @@ -53806,25 +54064,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *308 - *309 - - *346 - - &350 + - *310 + - *347 + - &351 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *349 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53847,10 +54105,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *308 - *309 - - *346 - - *350 + - *310 + - *347 + - *351 - *17 - *19 responses: @@ -53868,9 +54126,9 @@ paths: type: integer jobs: type: array - items: *351 + items: *352 examples: - default: &352 + default: &353 value: total_count: 1 jobs: @@ -53983,10 +54241,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *308 - *309 - - *346 - - *350 + - *310 + - *347 + - *351 responses: '302': description: Response @@ -54014,9 +54272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '202': description: Response @@ -54049,9 +54307,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: - - *308 - *309 - - *346 + - *310 + - *347 requestBody: required: true content: @@ -54118,9 +54376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '202': description: Response @@ -54153,9 +54411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 - 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 @@ -54185,9 +54443,9 @@ paths: type: integer jobs: type: array - items: *351 + items: *352 examples: - default: *352 + default: *353 headers: Link: *57 x-github: @@ -54212,9 +54470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '302': description: Response @@ -54241,9 +54499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '204': description: Response @@ -54270,9 +54528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '200': description: Response @@ -54341,7 +54599,7 @@ paths: items: type: object properties: - type: &469 + type: &470 type: string description: The type of reviewer. enum: @@ -54427,9 +54685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 requestBody: required: true content: @@ -54479,7 +54737,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54591,7 +54849,7 @@ paths: - created_at - updated_at examples: - default: &465 + default: &466 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54647,9 +54905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *308 - *309 - - *346 + - *310 + - *347 requestBody: required: false content: @@ -54694,9 +54952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 requestBody: required: false content: @@ -54750,9 +55008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '200': description: Response @@ -54889,8 +55147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -54908,9 +55166,9 @@ paths: type: integer secrets: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *57 x-github: @@ -54935,16 +55193,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54966,17 +55224,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '200': description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: &482 + default: &483 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55002,8 +55260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 requestBody: required: true @@ -55061,8 +55319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '204': @@ -55088,9 +55346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *308 - *309 - - *324 + - *310 + - *325 - *19 responses: '200': @@ -55107,9 +55365,9 @@ paths: type: integer variables: type: array - items: *357 + items: *358 examples: - default: *358 + default: *359 headers: Link: *57 x-github: @@ -55132,8 +55390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -55185,17 +55443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *308 - *309 + - *310 - *155 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: &483 + default: &484 value: name: USERNAME value: octocat @@ -55221,8 +55479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *308 - *309 + - *310 - *155 requestBody: required: true @@ -55265,8 +55523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *308 - *309 + - *310 - *155 responses: '204': @@ -55292,8 +55550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -55311,7 +55569,7 @@ paths: type: integer workflows: type: array - items: &359 + items: &360 title: Workflow description: A GitHub Actions workflow type: object @@ -55429,9 +55687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *308 - *309 - - &360 + - *310 + - &361 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55446,7 +55704,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -55479,9 +55737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *308 - *309 - - *360 + - *310 + - *361 responses: '204': description: Response @@ -55506,9 +55764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *308 - *309 - - *360 + - *310 + - *361 responses: '204': description: Response @@ -55559,9 +55817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *308 - *309 - - *360 + - *310 + - *361 responses: '204': description: Response @@ -55588,19 +55846,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *308 - *309 - - *360 + - *310 - *361 - *362 - *363 - *364 + - *365 - *17 - *19 - - *365 - - *344 - *366 + - *345 - *367 + - *368 responses: '200': description: Response @@ -55616,9 +55874,9 @@ paths: type: integer workflow_runs: type: array - items: *345 + items: *346 examples: - default: *368 + default: *369 headers: Link: *57 x-github: @@ -55650,9 +55908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *308 - *309 - - *360 + - *310 + - *361 responses: '200': description: Response @@ -55713,8 +55971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *308 - *309 + - *310 - *51 - *17 - *43 @@ -55882,8 +56140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -55920,8 +56178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *308 - *309 + - *310 - name: assignee in: path required: true @@ -55957,8 +56215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -56070,8 +56328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *308 - *309 + - *310 - *17 - *43 - *44 @@ -56128,7 +56386,7 @@ paths: initiator: type: string examples: - default: *369 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56148,8 +56406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -56157,7 +56415,7 @@ paths: application/json: schema: type: array - items: &370 + items: &371 title: Autolink reference description: An autolink reference. type: object @@ -56216,8 +56474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -56256,9 +56514,9 @@ paths: description: response content: application/json: - schema: *370 + schema: *371 examples: - default: &371 + default: &372 value: id: 1 key_prefix: TICKET- @@ -56289,9 +56547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *308 - *309 - - &372 + - *310 + - &373 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56303,9 +56561,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *371 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -56325,9 +56583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *308 - *309 - - *372 + - *310 + - *373 responses: '204': description: Response @@ -56351,8 +56609,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: - - *308 - *309 + - *310 responses: '200': description: Response if Dependabot is enabled @@ -56402,8 +56660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -56424,8 +56682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -56445,8 +56703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *308 - *309 + - *310 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56484,7 +56742,7 @@ paths: - url protected: type: boolean - protection: &374 + protection: &375 title: Branch Protection description: Branch Protection type: object @@ -56527,7 +56785,7 @@ paths: required: - contexts - checks - enforce_admins: &377 + enforce_admins: &378 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56544,7 +56802,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &379 + required_pull_request_reviews: &380 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56628,7 +56886,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &376 + restrictions: &377 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56921,9 +57179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *308 - *309 - - &375 + - *310 + - &376 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). @@ -56937,14 +57195,14 @@ paths: description: Response content: application/json: - schema: &385 + schema: &386 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &439 + commit: &440 title: Commit description: Commit type: object @@ -56983,7 +57241,7 @@ paths: author: anyOf: - type: 'null' - - &373 + - &374 title: Git User description: Metaproperties for Git author/committer information. @@ -57005,7 +57263,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 message: type: string examples: @@ -57029,7 +57287,7 @@ paths: required: - sha - url - verification: &489 + verification: &490 title: Verification type: object properties: @@ -57109,7 +57367,7 @@ paths: type: integer files: type: array - items: &450 + items: &451 title: Diff Entry description: Diff Entry type: object @@ -57205,7 +57463,7 @@ paths: - self protected: type: boolean - protection: *374 + protection: *375 protection_url: type: string format: uri @@ -57314,7 +57572,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *312 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -57336,15 +57594,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -57538,9 +57796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -57800,7 +58058,7 @@ paths: url: type: string format: uri - required_status_checks: &382 + required_status_checks: &383 title: Status Check Policy description: Status Check Policy type: object @@ -57959,7 +58217,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *376 + restrictions: *377 required_conversation_resolution: type: object properties: @@ -58071,9 +58329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58098,17 +58356,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &378 + default: &379 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58130,17 +58388,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58159,9 +58417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58186,17 +58444,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: &380 + default: &381 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58292,9 +58550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -58392,9 +58650,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -58415,9 +58673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58444,17 +58702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &381 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58477,17 +58735,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *381 + default: *382 '404': *6 x-github: githubCloudOnly: false @@ -58507,9 +58765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58534,17 +58792,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &383 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58570,9 +58828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -58624,9 +58882,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 '404': *6 '422': *15 x-github: @@ -58648,9 +58906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58674,9 +58932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response @@ -58710,9 +58968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -58779,9 +59037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -58845,9 +59103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: content: application/json: @@ -58913,15 +59171,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -59012,9 +59270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -59037,9 +59295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response @@ -59049,7 +59307,7 @@ paths: type: array items: *5 examples: - default: &384 + default: &385 value: - id: 1 slug: octoapp @@ -59106,9 +59364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59142,7 +59400,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59163,9 +59421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59199,7 +59457,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59220,9 +59478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59256,7 +59514,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59278,9 +59536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response @@ -59310,9 +59568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -59371,9 +59629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -59432,9 +59690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: content: application/json: @@ -59493,9 +59751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response @@ -59529,9 +59787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59589,9 +59847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59649,9 +59907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59711,9 +59969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59735,7 +59993,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -59851,8 +60109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -60131,7 +60389,7 @@ paths: description: Response content: application/json: - schema: &386 + schema: &387 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60267,7 +60525,7 @@ paths: check. type: array items: *75 - deployment: &693 + deployment: &696 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60554,9 +60812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *308 - *309 - - &387 + - *310 + - &388 name: check_run_id description: The unique identifier of the check run. in: path @@ -60568,9 +60826,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: &388 + default: &389 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60670,9 +60928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *308 - *309 - - *387 + - *310 + - *388 requestBody: required: true content: @@ -60912,9 +61170,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60934,9 +61192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *308 - *309 - - *387 + - *310 + - *388 - *17 - *19 responses: @@ -61046,9 +61304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *308 - *309 - - *387 + - *310 + - *388 responses: '201': description: Response @@ -61092,8 +61350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -61115,7 +61373,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &390 + schema: &391 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61213,7 +61471,7 @@ paths: - string - 'null' format: date-time - head_commit: *389 + head_commit: *390 latest_check_runs_count: type: integer check_runs_url: @@ -61241,7 +61499,7 @@ paths: - check_runs_url - pull_requests examples: - default: &391 + default: &392 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61532,9 +61790,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61553,8 +61811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -61863,9 +62121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *308 - *309 - - &392 + - *310 + - &393 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61877,9 +62135,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61902,17 +62160,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *308 - *309 - - *392 - - &445 + - *310 + - *393 + - &446 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &446 + - &447 name: status description: Returns check runs with the specified `status`. in: query @@ -61951,9 +62209,9 @@ paths: type: integer check_runs: type: array - items: *386 + items: *387 examples: - default: &447 + default: &448 value: total_count: 1 check_runs: @@ -62055,9 +62313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *308 - *309 - - *392 + - *310 + - *393 responses: '201': description: Response @@ -62090,21 +62348,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *308 - *309 - - *393 + - *310 - *394 + - *395 - *19 - *17 - - &411 + - &412 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: *395 - - &412 + schema: *396 + - &413 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62129,13 +62387,13 @@ paths: be returned. in: query required: false - schema: *396 + schema: *397 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *397 + schema: *398 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -62159,7 +62417,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: *398 + instances_url: *399 state: *171 fixed_at: *167 dismissed_by: @@ -62167,11 +62425,11 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: *399 - dismissed_comment: *400 - rule: *401 - tool: *402 - most_recent_instance: *403 + dismissed_reason: *400 + dismissed_comment: *401 + rule: *402 + tool: *403 + most_recent_instance: *404 dismissal_approved_by: anyOf: - type: 'null' @@ -62294,7 +62552,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &404 + '403': &405 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62321,9 +62579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *308 - *309 - - &405 + - *310 + - &406 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62337,7 +62595,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &407 type: object properties: number: *162 @@ -62345,7 +62603,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: *398 + instances_url: *399 state: *171 fixed_at: *167 dismissed_by: @@ -62353,8 +62611,8 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: *399 - dismissed_comment: *400 + dismissed_reason: *400 + dismissed_comment: *401 rule: type: object properties: @@ -62416,8 +62674,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *402 - most_recent_instance: *403 + tool: *403 + most_recent_instance: *404 dismissal_approved_by: anyOf: - type: 'null' @@ -62513,7 +62771,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -62533,9 +62791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *308 - *309 - - *405 + - *310 + - *406 requestBody: required: true content: @@ -62550,8 +62808,8 @@ paths: enum: - open - dismissed - dismissed_reason: *399 - dismissed_comment: *400 + dismissed_reason: *400 + dismissed_comment: *401 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62579,7 +62837,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -62655,7 +62913,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &410 + '403': &411 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62682,15 +62940,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: - - *308 - *309 - - *405 + - *310 + - *406 responses: '200': description: Response content: application/json: - schema: &407 + schema: &408 type: object properties: status: @@ -62717,13 +62975,13 @@ paths: - description - started_at examples: - default: &408 + default: &409 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &409 + '400': &410 description: Bad Request content: application/json: @@ -62734,7 +62992,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': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -62759,29 +63017,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: - - *308 - *309 - - *405 + - *310 + - *406 responses: '200': description: OK content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 '202': description: Accepted content: application/json: - schema: *407 + schema: *408 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *409 + '400': *410 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62813,9 +63071,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: - - *308 - *309 - - *405 + - *310 + - *406 requestBody: required: false content: @@ -62861,8 +63119,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *409 - '403': *410 + '400': *410 + '403': *411 '404': *6 '422': description: Unprocessable Entity @@ -62886,13 +63144,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *308 - *309 - - *405 + - *310 + - *406 - *19 - *17 - - *411 - *412 + - *413 responses: '200': description: Response @@ -62903,10 +63161,10 @@ paths: items: type: object properties: - ref: *395 - analysis_key: *413 - environment: *414 - category: *415 + ref: *396 + analysis_key: *414 + environment: *415 + category: *416 state: type: - string @@ -62923,7 +63181,7 @@ paths: properties: text: type: string - location: *416 + location: *417 html_url: type: string classifications: @@ -62931,7 +63189,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: *417 + items: *418 examples: default: value: @@ -62970,7 +63228,7 @@ paths: end_column: 50 classifications: - source - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63004,25 +63262,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *308 - *309 - - *393 + - *310 - *394 + - *395 - *19 - *17 - - *412 + - *413 - 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: *395 + schema: *396 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &418 + schema: &419 type: string description: An identifier for the upload. examples: @@ -63044,23 +63302,23 @@ paths: application/json: schema: type: array - items: &419 + items: &420 type: object properties: - ref: *395 - commit_sha: &427 + ref: *396 + commit_sha: &428 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: *413 + analysis_key: *414 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *415 + category: *416 error: type: string examples: @@ -63085,8 +63343,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *418 - tool: *402 + sarif_id: *419 + tool: *403 deletable: type: boolean warning: @@ -63148,7 +63406,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63184,8 +63442,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: - - *308 - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63198,7 +63456,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: response: summary: application/json response @@ -63221,13 +63479,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: @@ -63252,7 +63510,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *404 + '403': *405 '404': *6 '422': description: Response if analysis could not be processed @@ -63339,8 +63597,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: - - *308 - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63396,7 +63654,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': *410 + '403': *411 '404': *6 '503': *105 x-github: @@ -63418,8 +63676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -63427,7 +63685,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -63539,7 +63797,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': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63568,8 +63826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *308 - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63581,7 +63839,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: default: value: @@ -63613,9 +63871,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': &452 + '302': &453 description: Found - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63637,8 +63895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *308 - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63648,7 +63906,7 @@ paths: responses: '204': description: Response - '403': *410 + '403': *411 '404': *6 '503': *105 x-github: @@ -63676,8 +63934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -63686,7 +63944,7 @@ paths: type: object additionalProperties: false properties: - language: &421 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63766,7 +64024,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &425 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63776,7 +64034,7 @@ paths: description: The ID of the variant analysis. controller_repo: *56 actor: *4 - query_language: *421 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -63824,7 +64082,7 @@ paths: items: type: object properties: - repository: &422 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63866,7 +64124,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &426 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63898,7 +64156,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &423 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -63913,7 +64171,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: *422 + items: *423 required: - repository_count - repositories @@ -63936,8 +64194,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *423 - over_limit_repos: *423 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -63953,7 +64211,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &424 + value: &425 summary: Default response value: id: 1 @@ -64099,10 +64357,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *424 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *424 + value: *425 '404': *6 '422': description: Unable to process variant analysis submission @@ -64130,8 +64388,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: - - *308 - *309 + - *310 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64143,9 +64401,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: - default: *424 + default: *425 '404': *6 '503': *105 x-github: @@ -64168,7 +64426,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: - - *308 + - *309 - name: repo in: path description: The name of the controller repository. @@ -64203,7 +64461,7 @@ paths: type: object properties: repository: *56 - analysis_status: *426 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64328,8 +64586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -64422,7 +64680,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -64443,8 +64701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64538,7 +64796,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *410 + '403': *411 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64609,8 +64867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64618,7 +64876,7 @@ paths: schema: type: object properties: - commit_sha: *427 + commit_sha: *428 ref: type: string description: |- @@ -64678,7 +64936,7 @@ paths: schema: type: object properties: - id: *418 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -64692,7 +64950,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': *410 + '403': *411 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64715,8 +64973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *308 - *309 + - *310 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64764,7 +65022,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': *404 + '403': *405 '404': description: Not Found if the sarif id does not match any upload '503': *105 @@ -64789,8 +65047,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: - - *308 - *309 + - *310 responses: '200': description: Response @@ -64871,8 +65129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *308 - *309 + - *310 - 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 @@ -65000,8 +65258,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65315,8 +65573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -65382,7 +65640,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -65390,7 +65648,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '400': *14 '401': *23 '403': *27 @@ -65419,8 +65677,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65484,8 +65742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *308 - *309 + - *310 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65522,9 +65780,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: &639 + default: &640 value: total_count: 2 machines: @@ -65564,8 +65822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *308 - *309 + - *310 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65652,8 +65910,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: - - *308 - *309 + - *310 - 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 @@ -65722,8 +65980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -65741,7 +65999,7 @@ paths: type: integer secrets: type: array - items: &433 + items: &434 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65762,7 +66020,7 @@ paths: - created_at - updated_at examples: - default: *430 + default: *431 headers: Link: *57 x-github: @@ -65785,16 +66043,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65814,17 +66072,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '200': description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65844,8 +66102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 requestBody: required: true @@ -65898,8 +66156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '204': @@ -65928,8 +66186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *308 - *309 + - *310 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65967,7 +66225,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Collaborator description: Collaborator type: object @@ -66160,8 +66418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *62 responses: '204': @@ -66208,8 +66466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *62 requestBody: required: false @@ -66236,7 +66494,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &502 + schema: &503 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66464,8 +66722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *62 responses: '204': @@ -66497,8 +66755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *308 - *309 + - *310 - *62 responses: '200': @@ -66519,7 +66777,7 @@ paths: user: anyOf: - type: 'null' - - *435 + - *436 required: - permission - role_name @@ -66573,8 +66831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -66584,7 +66842,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -66642,7 +66900,7 @@ paths: - created_at - updated_at examples: - default: &441 + default: &442 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66701,17 +66959,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 responses: '200': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: &442 + default: &443 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66768,8 +67026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -66792,7 +67050,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -66843,8 +67101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 responses: '204': @@ -66866,8 +67124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66894,7 +67152,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -66938,7 +67196,7 @@ paths: - content - created_at examples: - default: &506 + default: &507 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66983,8 +67241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -67017,9 +67275,9 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *438 examples: - default: &438 + default: &439 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67048,9 +67306,9 @@ paths: description: Reaction created content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -67072,10 +67330,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *308 - *309 + - *310 - *86 - - &507 + - &508 name: reaction_id description: The unique identifier of the reaction. in: path @@ -67130,8 +67388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *308 - *309 + - *310 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67187,9 +67445,9 @@ paths: application/json: schema: type: array - items: *439 + items: *440 examples: - default: &551 + default: &552 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67283,9 +67541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *308 - *309 - - &440 + - *310 + - &441 name: commit_sha description: The SHA of the commit. in: path @@ -67357,9 +67615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *308 - *309 - - *440 + - *310 + - *441 - *17 - *19 responses: @@ -67369,9 +67627,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *441 + default: *442 headers: Link: *57 x-github: @@ -67399,9 +67657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *308 - *309 - - *440 + - *310 + - *441 requestBody: required: true content: @@ -67436,9 +67694,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *442 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67466,9 +67724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *308 - *309 - - *440 + - *310 + - *441 - *17 - *19 responses: @@ -67478,9 +67736,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: &543 + default: &544 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68017,11 +68275,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *308 - *309 + - *310 - *19 - *17 - - &444 + - &445 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -68036,9 +68294,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68151,11 +68409,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *308 - *309 - - *444 + - *310 - *445 - *446 + - *447 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68189,9 +68447,9 @@ paths: type: integer check_runs: type: array - items: *386 + items: *387 examples: - default: *447 + default: *448 headers: Link: *57 x-github: @@ -68216,9 +68474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *308 - *309 - - *444 + - *310 + - *445 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68226,7 +68484,7 @@ paths: schema: type: integer example: 1 - - *445 + - *446 - *17 - *19 responses: @@ -68244,7 +68502,7 @@ paths: type: integer check_suites: type: array - items: *390 + items: *391 examples: default: value: @@ -68444,9 +68702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *308 - *309 - - *444 + - *310 + - *445 - *17 - *19 responses: @@ -68648,9 +68906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *308 - *309 - - *444 + - *310 + - *445 - *17 - *19 responses: @@ -68660,7 +68918,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Status description: The status of a commit. type: object @@ -68741,7 +68999,7 @@ paths: site_admin: false headers: Link: *57 - '301': *312 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68769,8 +69027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -68803,11 +69061,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *448 + - *449 code_of_conduct_file: anyOf: - type: 'null' - - &449 + - &450 title: Community Health File type: object properties: @@ -68827,19 +69085,19 @@ paths: contributing: anyOf: - type: 'null' - - *449 + - *450 readme: anyOf: - type: 'null' - - *449 + - *450 issue_template: anyOf: - type: 'null' - - *449 + - *450 pull_request_template: anyOf: - type: 'null' - - *449 + - *450 required: - code_of_conduct - code_of_conduct_file @@ -68968,8 +69226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *308 - *309 + - *310 - *19 - *17 - name: basehead @@ -69017,8 +69275,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *439 - merge_base_commit: *439 + base_commit: *440 + merge_base_commit: *440 status: type: string enum: @@ -69042,10 +69300,10 @@ paths: - 6 commits: type: array - items: *439 + items: *440 files: type: array - items: *450 + items: *451 required: - url - html_url @@ -69331,8 +69589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -69485,7 +69743,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &451 + response-if-content-is-a-file: &452 summary: Response if content is a file value: type: file @@ -69622,7 +69880,7 @@ paths: - size - type - url - - &556 + - &557 title: Content File description: Content File type: object @@ -69840,7 +70098,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *451 + response-if-content-is-a-file: *452 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69909,7 +70167,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *452 + '302': *453 '304': *35 x-github: githubCloudOnly: false @@ -69932,8 +70190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -70028,7 +70286,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: File Commit description: File Commit type: object @@ -70184,7 +70442,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: example-for-creating-a-file: value: @@ -70238,7 +70496,7 @@ paths: schema: oneOf: - *3 - - &484 + - &485 description: Repository rule violation was detected type: object properties: @@ -70259,7 +70517,7 @@ paths: items: type: object properties: - placeholder_id: &608 + placeholder_id: &609 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70291,8 +70549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -70353,7 +70611,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -70408,8 +70666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *308 - *309 + - *310 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70533,8 +70791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *308 - *309 + - *310 - *180 - *181 - *182 @@ -70546,7 +70804,7 @@ paths: schema: type: string - *184 - - *454 + - *455 - *185 - *186 - *51 @@ -70567,7 +70825,7 @@ paths: application/json: schema: type: array - items: &458 + items: &459 type: object description: A Dependabot alert. properties: @@ -70617,7 +70875,7 @@ paths: - direct - transitive - - security_advisory: *455 + security_advisory: *456 security_vulnerability: *55 url: *165 html_url: *166 @@ -70648,8 +70906,8 @@ paths: dismissal. maxLength: 280 fixed_at: *167 - auto_dismissed_at: *456 - dismissal_request: *457 + auto_dismissed_at: *457 + dismissal_request: *458 required: - number - state @@ -70879,9 +71137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *308 - *309 - - &459 + - *310 + - &460 name: alert_number in: path description: |- @@ -70896,7 +71154,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -71009,9 +71267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *308 - *309 - - *459 + - *310 + - *460 requestBody: required: true content: @@ -71056,7 +71314,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -71185,8 +71443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -71204,7 +71462,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &463 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71258,16 +71516,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71287,15 +71545,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '200': description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -71321,8 +71579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 requestBody: required: true @@ -71375,8 +71633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '204': @@ -71399,8 +71657,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: - - *308 - *309 + - *310 - 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 @@ -71574,8 +71832,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: - - *308 - *309 + - *310 responses: '200': description: Response @@ -71835,8 +72093,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -71919,7 +72177,7 @@ paths: - version - url additionalProperties: false - metadata: &463 + metadata: &464 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71958,7 +72216,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *463 + metadata: *464 resolved: type: object description: A collection of resolved package dependencies. @@ -71972,7 +72230,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *463 + metadata: *464 relationship: type: string description: A notation of whether a dependency is requested @@ -72105,8 +72363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *308 - *309 + - *310 - name: sha description: The SHA recorded at creation time. in: query @@ -72147,9 +72405,9 @@ paths: application/json: schema: type: array - items: *464 + items: *465 examples: - default: *465 + default: *466 headers: Link: *57 x-github: @@ -72215,8 +72473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -72298,7 +72556,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: simple-example: summary: Simple example @@ -72371,9 +72629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *308 - *309 - - &466 + - *310 + - &467 name: deployment_id description: deployment_id parameter in: path @@ -72385,7 +72643,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: default: value: @@ -72450,9 +72708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *308 - *309 - - *466 + - *310 + - *467 responses: '204': description: Response @@ -72474,9 +72732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *308 - *309 - - *466 + - *310 + - *467 - *17 - *19 responses: @@ -72486,7 +72744,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Deployment Status description: The status of a deployment. type: object @@ -72650,9 +72908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *308 - *309 - - *466 + - *310 + - *467 requestBody: required: true content: @@ -72727,9 +72985,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: &468 + default: &469 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72785,9 +73043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *308 - *309 - - *466 + - *310 + - *467 - name: status_id in: path required: true @@ -72798,9 +73056,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '404': *6 x-github: githubCloudOnly: false @@ -72825,8 +73083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -72883,8 +73141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -72902,7 +73160,7 @@ paths: - 5 environments: type: array - items: &470 + items: &471 title: Environment description: Details of a deployment environment type: object @@ -72964,7 +73222,7 @@ paths: type: string examples: - wait_timer - wait_timer: &472 + wait_timer: &473 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -73006,7 +73264,7 @@ paths: items: type: object properties: - type: *469 + type: *470 reviewer: anyOf: - *4 @@ -73033,7 +73291,7 @@ paths: - id - node_id - type - deployment_branch_policy: &473 + deployment_branch_policy: &474 type: - object - 'null' @@ -73150,9 +73408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *308 - *309 - - &471 + - *310 + - &472 name: environment_name in: path required: true @@ -73165,9 +73423,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &474 + default: &475 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73251,9 +73509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *308 - *309 - - *471 + - *310 + - *472 requestBody: required: false content: @@ -73263,7 +73521,7 @@ paths: - object - 'null' properties: - wait_timer: *472 + wait_timer: *473 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73282,14 +73540,14 @@ paths: items: type: object properties: - type: *469 + type: *470 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *473 + deployment_branch_policy: *474 additionalProperties: false examples: default: @@ -73309,9 +73567,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *474 + default: *475 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73335,9 +73593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *308 - *309 - - *471 + - *310 + - *472 responses: '204': description: Default response @@ -73362,9 +73620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *17 - *19 responses: @@ -73383,7 +73641,7 @@ paths: - 2 branch_policies: type: array - items: &475 + items: &476 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73444,9 +73702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *308 - *309 - - *471 + - *310 + - *472 requestBody: required: true content: @@ -73494,9 +73752,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - example-wildcard: &476 + example-wildcard: &477 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73538,10 +73796,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *308 - *309 - - *471 - - &477 + - *310 + - *472 + - &478 name: branch_policy_id in: path required: true @@ -73553,9 +73811,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73574,10 +73832,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *308 - *309 - - *471 - - *477 + - *310 + - *472 + - *478 requestBody: required: true content: @@ -73606,9 +73864,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73627,10 +73885,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *308 - *309 - - *471 - - *477 + - *310 + - *472 + - *478 responses: '204': description: Response @@ -73655,9 +73913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *471 + - *472 + - *310 - *309 - - *308 responses: '200': description: List of deployment protection rules @@ -73674,7 +73932,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &478 + items: &479 title: Deployment protection rule description: Deployment protection rule type: object @@ -73696,7 +73954,7 @@ paths: for the environment. examples: - true - app: &479 + app: &480 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73799,9 +74057,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: - - *471 + - *472 + - *310 - *309 - - *308 requestBody: content: application/json: @@ -73822,9 +74080,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *478 + schema: *479 examples: - default: &480 + default: &481 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73859,9 +74117,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: - - *471 + - *472 + - *310 - *309 - - *308 - *19 - *17 responses: @@ -73881,7 +74139,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *479 + items: *480 examples: default: value: @@ -73916,10 +74174,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *308 - *309 - - *471 - - &481 + - *310 + - *472 + - &482 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73931,9 +74189,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73954,10 +74212,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *471 + - *472 + - *310 - *309 - - *308 - - *481 + - *482 responses: '204': description: Response @@ -73983,9 +74241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *17 - *19 responses: @@ -74003,9 +74261,9 @@ paths: type: integer secrets: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *57 x-github: @@ -74030,17 +74288,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *308 - *309 - - *471 + - *310 + - *472 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74062,18 +74320,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *152 responses: '200': description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: *482 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74095,9 +74353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *152 requestBody: required: true @@ -74155,9 +74413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *152 responses: '204': @@ -74183,10 +74441,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *308 - *309 - - *471 - - *324 + - *310 + - *472 + - *325 - *19 responses: '200': @@ -74203,9 +74461,9 @@ paths: type: integer variables: type: array - items: *357 + items: *358 examples: - default: *358 + default: *359 headers: Link: *57 x-github: @@ -74228,9 +74486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *308 - *309 - - *471 + - *310 + - *472 requestBody: required: true content: @@ -74282,18 +74540,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *155 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74314,10 +74572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *308 - *309 + - *310 - *155 - - *471 + - *472 requestBody: required: true content: @@ -74359,10 +74617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *308 - *309 + - *310 - *155 - - *471 + - *472 responses: '204': description: Response @@ -74384,8 +74642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -74453,8 +74711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *308 - *309 + - *310 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74613,8 +74871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -74647,9 +74905,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 '400': *14 '422': *15 '403': *27 @@ -74670,8 +74928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74731,7 +74989,7 @@ paths: schema: oneOf: - *113 - - *484 + - *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74756,8 +75014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *308 - *309 + - *310 - name: file_sha in: path required: true @@ -74857,8 +75115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74967,7 +75225,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75194,15 +75452,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *308 - *309 - - *440 + - *310 + - *441 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -75258,9 +75516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *308 - *309 - - &486 + - *310 + - &487 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. @@ -75277,7 +75535,7 @@ paths: application/json: schema: type: array - items: &487 + items: &488 title: Git Reference description: Git references within a repository type: object @@ -75353,17 +75611,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *308 - *309 - - *486 + - *310 + - *487 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &488 + default: &489 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75392,8 +75650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75422,9 +75680,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75450,9 +75708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *308 - *309 - - *486 + - *310 + - *487 requestBody: required: true content: @@ -75481,9 +75739,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 '422': *15 '409': *50 x-github: @@ -75501,9 +75759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *308 - *309 - - *486 + - *310 + - *487 responses: '204': description: Response @@ -75558,8 +75816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75626,7 +75884,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &491 title: Git Tag description: Metadata for a Git tag type: object @@ -75682,7 +75940,7 @@ paths: - sha - type - url - verification: *489 + verification: *490 required: - sha - url @@ -75692,7 +75950,7 @@ paths: - tag - message examples: - default: &491 + default: &492 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75765,8 +76023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *308 - *309 + - *310 - name: tag_sha in: path required: true @@ -75777,9 +76035,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '404': *6 '409': *50 x-github: @@ -75803,8 +76061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75878,7 +76136,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &493 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75980,8 +76238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *308 - *309 + - *310 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76004,7 +76262,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default-response: summary: Default response @@ -76063,8 +76321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -76074,7 +76332,7 @@ paths: application/json: schema: type: array - items: &493 + items: &494 title: Webhook description: Webhooks for repositories. type: object @@ -76137,7 +76395,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &724 + last_response: &727 title: Hook Response type: object properties: @@ -76214,8 +76472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -76268,9 +76526,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &494 + default: &495 value: type: Repository id: 12345678 @@ -76318,17 +76576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '404': *6 x-github: githubCloudOnly: false @@ -76348,8 +76606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 requestBody: required: true @@ -76395,9 +76653,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '422': *15 '404': *6 x-github: @@ -76418,8 +76676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 responses: '204': @@ -76444,8 +76702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *308 - *309 + - *310 - *192 responses: '200': @@ -76473,8 +76731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *308 - *309 + - *310 - *192 requestBody: required: false @@ -76519,8 +76777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 - *17 - *193 @@ -76552,8 +76810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 - *16 responses: @@ -76582,8 +76840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 - *16 responses: @@ -76607,8 +76865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 responses: '204': @@ -76634,8 +76892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *308 - *309 + - *310 - *192 responses: '204': @@ -76659,8 +76917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response if immutable releases are enabled @@ -76708,8 +76966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *308 - *309 + - *310 responses: '204': *175 '409': *50 @@ -76729,8 +76987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *308 - *309 + - *310 responses: '204': *175 '409': *50 @@ -76787,14 +77045,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &495 + schema: &496 title: Import description: A repository import from an external source. type: object @@ -76901,7 +77159,7 @@ paths: - html_url - authors_url examples: - default: &498 + default: &499 value: vcs: subversion use_lfs: true @@ -76917,7 +77175,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': &496 + '503': &497 description: Unavailable due to service under maintenance. content: application/json: @@ -76946,8 +77204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -76995,7 +77253,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -77020,7 +77278,7 @@ paths: type: string '422': *15 '404': *6 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77048,8 +77306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -77101,7 +77359,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: example-1: summary: Example 1 @@ -77149,7 +77407,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': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77172,12 +77430,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *308 - *309 + - *310 responses: '204': description: Response - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77203,9 +77461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *308 - *309 - - &660 + - *310 + - &661 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77219,7 +77477,7 @@ paths: application/json: schema: type: array - items: &497 + items: &498 title: Porter Author description: Porter Author type: object @@ -77273,7 +77531,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': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77298,8 +77556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *308 - *309 + - *310 - name: author_id in: path required: true @@ -77329,7 +77587,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: default: value: @@ -77342,7 +77600,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77366,8 +77624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -77408,7 +77666,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77436,8 +77694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -77464,11 +77722,11 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *498 + default: *499 '422': *15 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77491,8 +77749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -77500,8 +77758,8 @@ paths: application/json: schema: *20 examples: - default: *499 - '301': *312 + default: *500 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -77521,8 +77779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -77535,7 +77793,7 @@ paths: properties: {} additionalProperties: false examples: - default: &501 + default: &502 value: limit: collaborators_only origin: repository @@ -77560,13 +77818,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *500 + schema: *501 examples: default: summary: Example request body @@ -77580,7 +77838,7 @@ paths: application/json: schema: *210 examples: - default: *501 + default: *502 '409': description: Response x-github: @@ -77602,8 +77860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -77626,8 +77884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -77637,9 +77895,9 @@ paths: application/json: schema: type: array - items: *502 + items: *503 examples: - default: &653 + default: &654 value: - id: 1 repository: @@ -77770,8 +78028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *308 - *309 + - *310 - *214 requestBody: required: false @@ -77801,7 +78059,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -77932,8 +78190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *308 - *309 + - *310 - *214 responses: '204': @@ -77965,8 +78223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *308 - *309 + - *310 - 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 @@ -78039,7 +78297,7 @@ paths: type: array items: *71 examples: - default: &512 + default: &513 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78187,7 +78445,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *312 + '301': *313 '422': *15 '404': *6 x-github: @@ -78216,8 +78474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -78309,7 +78567,7 @@ paths: application/json: schema: *71 examples: - default: &509 + default: &510 value: id: 1 node_id: MDU6SXNzdWUx @@ -78465,7 +78723,7 @@ paths: '422': *15 '503': *105 '404': *6 - '410': *503 + '410': *504 x-github: triggersNotification: true githubCloudOnly: false @@ -78493,8 +78751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *308 - *309 + - *310 - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -78515,9 +78773,9 @@ paths: application/json: schema: type: array - items: *504 + items: *505 examples: - default: &511 + default: &512 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78575,17 +78833,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &505 + default: &506 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78639,8 +78897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -78663,9 +78921,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -78683,8 +78941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 responses: '204': @@ -78705,8 +78963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78733,9 +78991,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -78756,8 +79014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -78790,16 +79048,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '201': description: Reaction created content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -78821,10 +79079,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *308 - *309 + - *310 - *86 - - *507 + - *508 responses: '204': description: Response @@ -78844,8 +79102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -78855,7 +79113,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Issue Event description: Issue Event type: object @@ -79194,8 +79452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *308 - *309 + - *310 - name: event_id in: path required: true @@ -79206,7 +79464,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -79398,7 +79656,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *503 + '410': *504 '403': *27 x-github: githubCloudOnly: false @@ -79432,9 +79690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *308 - *309 - - &510 + - *310 + - &511 name: issue_number description: The number that identifies the issue. in: path @@ -79448,10 +79706,10 @@ paths: application/json: schema: *71 examples: - default: *509 - '301': *312 + default: *510 + '301': *313 '404': *6 - '410': *503 + '410': *504 '304': *35 x-github: githubCloudOnly: false @@ -79476,9 +79734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -79599,13 +79857,13 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 '422': *15 '503': *105 '403': *27 - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79623,9 +79881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -79653,7 +79911,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79669,9 +79927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: content: application/json: @@ -79698,7 +79956,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79720,9 +79978,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: - - *308 - *309 - - *510 + - *310 + - *511 - name: assignee in: path required: true @@ -79762,9 +80020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *77 - *17 - *19 @@ -79775,13 +80033,13 @@ paths: application/json: schema: type: array - items: *504 + items: *505 examples: - default: *511 + default: *512 headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79810,9 +80068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -79834,16 +80092,16 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *503 + '410': *504 '422': *15 '404': *6 x-github: @@ -79871,9 +80129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -79885,12 +80143,12 @@ paths: type: array items: *71 examples: - default: *512 + default: *513 headers: Link: *57 - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79918,9 +80176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -79944,15 +80202,15 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *312 + '301': *313 '403': *27 - '410': *503 + '410': *504 '422': *15 '404': *6 x-github: @@ -79983,9 +80241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *308 - *309 - - *510 + - *310 + - *511 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79999,13 +80257,13 @@ paths: application/json: schema: *71 examples: - default: *509 - '301': *312 + default: *510 + '301': *313 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *503 + '410': *504 x-github: triggersNotification: true githubCloudOnly: false @@ -80031,9 +80289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -80045,12 +80303,12 @@ paths: type: array items: *71 examples: - default: *512 + default: *513 headers: Link: *57 - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80067,9 +80325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -80083,7 +80341,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &515 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80132,7 +80390,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &516 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80260,7 +80518,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &517 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80306,7 +80564,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80352,7 +80610,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80401,7 +80659,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &520 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80443,7 +80701,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80485,7 +80743,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80541,7 +80799,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &523 title: Locked Issue Event description: Locked Issue Event type: object @@ -80586,7 +80844,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &524 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80647,68 +80905,68 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 - title: Moved Column in Project Issue Event - description: Moved Column in Project Issue Event - type: object - properties: - id: - type: integer - node_id: - type: string - url: - type: string - actor: *4 - event: - type: string - commit_id: - type: - - string - - 'null' - commit_url: - type: - - string - - 'null' - created_at: - type: string - performed_via_github_app: - anyOf: - - type: 'null' - - *5 - project_card: - type: object - properties: - id: - type: integer - url: - type: string - format: uri - project_id: - type: integer - project_url: - type: string - format: uri - column_name: - type: string - previous_column_name: - type: string - required: - - id - - url - - project_id - - project_url - - column_name - required: - - id - - node_id - - url - - actor - - event - - commit_id - - commit_url - - created_at - - performed_via_github_app - &525 + title: Moved Column in Project Issue Event + description: Moved Column in Project Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: + - string + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + project_card: + type: object + properties: + id: + type: integer + url: + type: string + format: uri + project_id: + type: integer + project_url: + type: string + format: uri + column_name: + type: string + previous_column_name: + type: string + required: + - id + - url + - project_id + - project_url + - column_name + required: + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &526 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80769,7 +81027,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &527 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80862,7 +81120,7 @@ paths: color: red headers: Link: *57 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80879,9 +81137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -80893,7 +81151,7 @@ paths: type: array items: *70 examples: - default: &513 + default: &514 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80911,9 +81169,9 @@ paths: default: false headers: Link: *57 - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80930,9 +81188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -80993,10 +81251,10 @@ paths: type: array items: *70 examples: - default: *513 - '301': *312 + default: *514 + '301': *313 '404': *6 - '410': *503 + '410': *504 '422': *15 x-github: githubCloudOnly: false @@ -81013,9 +81271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -81077,10 +81335,10 @@ paths: type: array items: *70 examples: - default: *513 - '301': *312 + default: *514 + '301': *313 '404': *6 - '410': *503 + '410': *504 '422': *15 x-github: githubCloudOnly: false @@ -81097,15 +81355,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 responses: '204': description: Response - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81124,9 +81382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 - name: name in: path required: true @@ -81150,9 +81408,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81172,9 +81430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -81203,7 +81461,7 @@ paths: '204': description: Response '403': *27 - '410': *503 + '410': *504 '404': *6 '422': *15 x-github: @@ -81221,9 +81479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 responses: '204': description: Response @@ -81253,9 +81511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 responses: '200': description: Response @@ -81263,10 +81521,10 @@ paths: application/json: schema: *71 examples: - default: *509 - '301': *312 + default: *510 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81283,9 +81541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 - 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. @@ -81311,13 +81569,13 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81335,9 +81593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -81369,16 +81627,16 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '201': description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -81400,10 +81658,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *308 - *309 - - *510 - - *507 + - *310 + - *511 + - *508 responses: '204': description: Response @@ -81432,9 +81690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -81458,7 +81716,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81491,9 +81749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -81505,11 +81763,11 @@ paths: type: array items: *71 examples: - default: *512 + default: *513 headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81537,9 +81795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -81568,14 +81826,14 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *503 + '410': *504 '422': *15 '404': *6 x-github: @@ -81595,9 +81853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -81630,7 +81888,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 '403': *27 '404': *6 '422': *7 @@ -81652,9 +81910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -81669,7 +81927,6 @@ paths: description: Timeline Event type: object anyOf: - - *514 - *515 - *516 - *517 @@ -81682,6 +81939,7 @@ paths: - *524 - *525 - *526 + - *527 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82010,7 +82268,7 @@ paths: type: string comments: type: array - items: &545 + items: &546 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82251,7 +82509,7 @@ paths: type: string comments: type: array - items: *436 + items: *437 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82526,7 +82784,7 @@ paths: headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82543,8 +82801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -82554,7 +82812,7 @@ paths: application/json: schema: type: array - items: &527 + items: &528 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82622,8 +82880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82659,9 +82917,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &528 + default: &529 value: id: 1 key: ssh-rsa AAA... @@ -82695,9 +82953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *308 - *309 - - &529 + - *310 + - &530 name: key_id description: The unique identifier of the key. in: path @@ -82709,9 +82967,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -82729,9 +82987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *308 - *309 - - *529 + - *310 + - *530 responses: '204': description: Response @@ -82751,8 +83009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -82764,7 +83022,7 @@ paths: type: array items: *70 examples: - default: *513 + default: *514 headers: Link: *57 '404': *6 @@ -82785,8 +83043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82824,7 +83082,7 @@ paths: application/json: schema: *70 examples: - default: &530 + default: &531 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82856,8 +83114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82870,7 +83128,7 @@ paths: application/json: schema: *70 examples: - default: *530 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -82887,8 +83145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82953,8 +83211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82980,8 +83238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -83020,9 +83278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *308 - *309 - - *411 + - *310 + - *412 responses: '200': description: Response @@ -83169,8 +83427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83235,8 +83493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83270,9 +83528,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *439 + schema: *440 examples: - default: *531 + default: *532 '204': description: Response when already merged '404': @@ -83297,8 +83555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *308 - *309 + - *310 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83395,8 +83653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83438,7 +83696,7 @@ paths: application/json: schema: *251 examples: - default: &532 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83497,9 +83755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *308 - *309 - - &533 + - *310 + - &534 name: milestone_number description: The number that identifies the milestone. in: path @@ -83513,7 +83771,7 @@ paths: application/json: schema: *251 examples: - default: *532 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -83530,9 +83788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *308 - *309 - - *533 + - *310 + - *534 requestBody: required: false content: @@ -83572,7 +83830,7 @@ paths: application/json: schema: *251 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83588,9 +83846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *308 - *309 - - *533 + - *310 + - *534 responses: '204': description: Response @@ -83611,9 +83869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *308 - *309 - - *533 + - *310 + - *534 - *17 - *19 responses: @@ -83625,7 +83883,7 @@ paths: type: array items: *70 examples: - default: *513 + default: *514 headers: Link: *57 x-github: @@ -83644,12 +83902,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *308 - *309 - - *534 + - *310 - *535 - - *77 - *536 + - *77 + - *537 - *17 - *19 responses: @@ -83661,7 +83919,7 @@ paths: type: array items: *97 examples: - default: *537 + default: *538 headers: Link: *57 x-github: @@ -83685,8 +83943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -83744,14 +84002,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &538 + schema: &539 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83895,7 +84153,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &540 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83936,8 +84194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83992,9 +84250,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '422': *15 '409': *50 x-github: @@ -84017,8 +84275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84118,8 +84376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -84145,8 +84403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -84156,7 +84414,7 @@ paths: application/json: schema: type: array - items: &540 + items: &541 title: Page Build description: Page Build type: object @@ -84248,8 +84506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -84296,16 +84554,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: &541 + default: &542 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84353,8 +84611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *308 - *309 + - *310 - name: build_id in: path required: true @@ -84365,9 +84623,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84387,8 +84645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84496,9 +84754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *308 - *309 - - &542 + - *310 + - &543 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84556,9 +84814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *308 - *309 - - *542 + - *310 + - *543 responses: '204': *175 '404': *6 @@ -84585,8 +84843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -84881,8 +85139,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: - - *308 - *309 + - *310 responses: '200': description: Private vulnerability reporting status @@ -84919,8 +85177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': *175 '422': *14 @@ -84941,8 +85199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': *175 '422': *14 @@ -84964,8 +85222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -84973,7 +85231,7 @@ paths: application/json: schema: type: array - items: *264 + items: *265 examples: default: value: @@ -85004,8 +85262,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -85017,7 +85275,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *264 + items: *265 required: - properties examples: @@ -85067,8 +85325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *308 - *309 + - *310 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85128,9 +85386,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: *543 + default: *544 headers: Link: *57 '304': *35 @@ -85162,8 +85420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -85230,7 +85488,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &548 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85470,7 +85728,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: *544 + auto_merge: *545 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85572,7 +85830,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86099,8 +86357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *308 - *309 + - *310 - name: sort in: query required: false @@ -86129,9 +86387,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: &550 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86208,17 +86466,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *86 responses: '200': description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: &546 + default: &547 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86293,8 +86551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -86317,9 +86575,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86335,8 +86593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *86 responses: '204': @@ -86358,8 +86616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *308 - *309 + - *310 - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86386,9 +86644,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -86409,8 +86667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -86443,16 +86701,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '201': description: Reaction created content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -86474,10 +86732,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *308 - *309 + - *310 - *86 - - *507 + - *508 responses: '204': description: Response @@ -86520,9 +86778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *308 - *309 - - &549 + - *310 + - &550 name: pull_number description: The number that identifies the pull request. in: path @@ -86535,9 +86793,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '304': *35 '404': *6 '406': @@ -86572,9 +86830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -86616,9 +86874,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '422': *15 '403': *27 x-github: @@ -86640,9 +86898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: true content: @@ -86705,7 +86963,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86713,7 +86971,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -86743,9 +87001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86766,9 +87024,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: *550 + default: *551 headers: Link: *57 x-github: @@ -86801,9 +87059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: true content: @@ -86909,7 +87167,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: example-for-a-multi-line-comment: value: @@ -86997,9 +87255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *86 requestBody: required: true @@ -87022,7 +87280,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: default: value: @@ -87108,9 +87366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *17 - *19 responses: @@ -87120,9 +87378,9 @@ paths: application/json: schema: type: array - items: *439 + items: *440 examples: - default: *551 + default: *552 headers: Link: *57 x-github: @@ -87152,9 +87410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *17 - *19 responses: @@ -87164,7 +87422,7 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: default: value: @@ -87202,9 +87460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *308 - *309 - - *549 + - *310 + - *550 responses: '204': description: Response if pull request has been merged @@ -87227,9 +87485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -87341,9 +87599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 responses: '200': description: Response @@ -87418,9 +87676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -87457,7 +87715,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -87993,9 +88251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: true content: @@ -88029,7 +88287,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -88534,9 +88792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *17 - *19 responses: @@ -88546,7 +88804,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88702,9 +88960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -88794,9 +89052,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &554 + default: &555 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88859,10 +89117,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - &553 + - *310 + - *550 + - &554 name: review_id description: The unique identifier of the review. in: path @@ -88874,9 +89132,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &555 + default: &556 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88935,10 +89193,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 requestBody: required: true content: @@ -88961,7 +89219,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -89023,18 +89281,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 responses: '200': description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *554 + default: *555 '422': *7 '404': *6 x-github: @@ -89061,10 +89319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 - *17 - *19 responses: @@ -89322,10 +89580,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 requestBody: required: true content: @@ -89354,7 +89612,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -89417,10 +89675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 requestBody: required: true content: @@ -89455,9 +89713,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *555 + default: *556 '404': *6 '422': *7 '403': *27 @@ -89479,9 +89737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -89545,8 +89803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *308 - *309 + - *310 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89559,9 +89817,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: type: file encoding: base64 @@ -89603,8 +89861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *308 - *309 + - *310 - name: dir description: The alternate path to look for a README file in: path @@ -89624,9 +89882,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *6 '422': *15 x-github: @@ -89648,8 +89906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -89659,7 +89917,7 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: default: value: @@ -89753,8 +90011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -89830,9 +90088,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: &562 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89937,9 +90195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *308 - *309 - - &560 + - *310 + - &561 name: asset_id description: The unique identifier of the asset. in: path @@ -89951,9 +90209,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: &561 + default: &562 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 @@ -89988,7 +90246,7 @@ paths: type: User site_admin: false '404': *6 - '302': *452 + '302': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90004,9 +90262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *308 - *309 - - *560 + - *310 + - *561 requestBody: required: false content: @@ -90035,9 +90293,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *561 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90053,9 +90311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *308 - *309 - - *560 + - *310 + - *561 responses: '204': description: Response @@ -90079,8 +90337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -90166,16 +90424,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *562 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90192,8 +90450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *308 - *309 + - *310 - name: tag description: tag parameter in: path @@ -90206,9 +90464,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *562 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -90230,9 +90488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *308 - *309 - - &563 + - *310 + - &564 name: release_id description: The unique identifier of the release. in: path @@ -90246,9 +90504,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: *558 + schema: *559 examples: - default: *562 + default: *563 '401': description: Unauthorized x-github: @@ -90266,9 +90524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *308 - *309 - - *563 + - *310 + - *564 requestBody: required: false content: @@ -90332,9 +90590,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *562 + default: *563 '404': description: Not Found if the discussion category name is invalid content: @@ -90355,9 +90613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *308 - *309 - - *563 + - *310 + - *564 responses: '204': description: Response @@ -90377,9 +90635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *308 - *309 - - *563 + - *310 + - *564 - *17 - *19 responses: @@ -90389,7 +90647,7 @@ paths: application/json: schema: type: array - items: *559 + items: *560 examples: default: value: @@ -90470,9 +90728,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: - - *308 - *309 - - *563 + - *310 + - *564 - name: name in: query required: true @@ -90498,7 +90756,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *560 examples: response-for-successful-upload: value: @@ -90553,9 +90811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *308 - *309 - - *563 + - *310 + - *564 - 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. @@ -90579,9 +90837,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -90602,9 +90860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *308 - *309 - - *563 + - *310 + - *564 requestBody: required: true content: @@ -90634,16 +90892,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '201': description: Reaction created content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -90665,10 +90923,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *308 - *309 - - *563 - - *507 + - *310 + - *564 + - *508 responses: '204': description: Response @@ -90692,9 +90950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 - *17 - *19 responses: @@ -90710,8 +90968,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *271 - - &564 + - *272 + - &565 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90730,69 +90988,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *272 - - *564 - allOf: - *273 - - *564 + - *565 - allOf: - *274 - - *564 - - allOf: - *565 - - *564 - allOf: - *275 - - *564 + - *565 + - allOf: + - *566 + - *565 - allOf: - *276 - - *564 + - *565 - allOf: - *277 - - *564 + - *565 - allOf: - *278 - - *564 + - *565 - allOf: - *279 - - *564 + - *565 - allOf: - *280 - - *564 + - *565 - allOf: - *281 - - *564 + - *565 - allOf: - *282 - - *564 + - *565 - allOf: - *283 - - *564 + - *565 - allOf: - *284 - - *564 + - *565 - allOf: - *285 - - *564 + - *565 - allOf: - *286 - - *564 + - *565 - allOf: - *287 - - *564 + - *565 - allOf: - *288 - - *564 + - *565 - allOf: - *289 - - *564 + - *565 - allOf: - *290 - - *564 + - *565 - allOf: - *291 - - *564 + - *565 + - allOf: + - *292 + - *565 examples: default: value: @@ -90831,8 +91089,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90843,7 +91101,7 @@ paths: schema: type: boolean default: true - - *566 + - *567 responses: '200': description: Response @@ -90851,7 +91109,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: value: @@ -90898,8 +91156,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 requestBody: description: Request body required: true @@ -90919,16 +91177,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *270 + conditions: *267 rules: type: array description: An array of rules within the ruleset. - items: *567 + items: *568 required: - name - enforcement @@ -90959,9 +91217,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &577 + default: &578 value: id: 42 name: super cool ruleset @@ -91008,12 +91266,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *308 - *309 - - *568 + - *310 - *569 - *570 - *571 + - *572 - *17 - *19 responses: @@ -91021,9 +91279,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *573 + default: *574 '404': *6 '500': *104 x-github: @@ -91044,17 +91302,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *308 - *309 - - *574 + - *310 + - *575 responses: '200': description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: *576 + default: *577 '404': *6 '500': *104 x-github: @@ -91082,8 +91340,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91103,9 +91361,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *577 + default: *578 '404': *6 '500': *104 put: @@ -91123,8 +91381,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91149,16 +91407,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *270 + conditions: *267 rules: description: An array of rules within the ruleset. type: array - items: *567 + items: *568 examples: default: value: @@ -91186,9 +91444,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *577 + default: *578 '404': *6 '500': *104 delete: @@ -91206,8 +91464,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91230,8 +91488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *308 - *309 + - *310 - *17 - *19 - name: ruleset_id @@ -91247,9 +91505,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *578 + default: *579 '404': *6 '500': *104 x-github: @@ -91268,8 +91526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91287,7 +91545,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: default: value: @@ -91342,22 +91600,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *308 - *309 - - *580 + - *310 - *581 - *582 - *583 - *584 + - *585 - *51 - *19 - *17 - - *585 - *586 - *587 - *588 - *589 - *590 + - *591 responses: '200': description: Response @@ -91365,7 +91623,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 type: object properties: number: *162 @@ -91381,8 +91639,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *591 - resolution: *592 + state: *592 + resolution: *593 resolved_at: type: - string @@ -91476,7 +91734,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *593 + - *594 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91621,16 +91879,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *308 - *309 - - *405 - - *590 + - *310 + - *406 + - *591 responses: '200': description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -91684,9 +91942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *308 - *309 - - *405 + - *310 + - *406 requestBody: required: true content: @@ -91694,8 +91952,8 @@ paths: schema: type: object properties: - state: *591 - resolution: *592 + state: *592 + resolution: *593 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91731,7 +91989,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -91826,9 +92084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *308 - *309 - - *405 + - *310 + - *406 - *19 - *17 responses: @@ -91839,7 +92097,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &744 + items: &747 type: object properties: type: @@ -91866,7 +92124,6 @@ paths: - commit details: oneOf: - - *595 - *596 - *597 - *598 @@ -91879,6 +92136,7 @@ paths: - *605 - *606 - *607 + - *608 examples: default: value: @@ -91964,8 +92222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -91973,14 +92231,14 @@ paths: schema: type: object properties: - reason: &609 + reason: &610 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *608 + placeholder_id: *609 required: - reason - placeholder_id @@ -91997,7 +92255,7 @@ paths: schema: type: object properties: - reason: *609 + reason: *610 expire_at: type: - string @@ -92044,8 +92302,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: - - *308 - *309 + - *310 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -92060,7 +92318,7 @@ paths: properties: incremental_scans: type: array - items: &610 + items: &611 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92088,15 +92346,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *610 + items: *611 backfill_scans: type: array - items: *610 + items: *611 custom_pattern_backfill_scans: type: array items: allOf: - - *610 + - *611 - type: object properties: pattern_name: @@ -92166,8 +92424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *308 - *309 + - *310 - *51 - name: sort description: The property to sort the results by. @@ -92211,9 +92469,9 @@ paths: application/json: schema: type: array - items: *611 + items: *612 examples: - default: *612 + default: *613 '400': *14 '404': *6 x-github: @@ -92236,8 +92494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -92317,7 +92575,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 required: - login - type @@ -92407,9 +92665,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: &614 + default: &615 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92642,8 +92900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -92756,7 +93014,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -92903,17 +93161,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *308 - *309 - - *613 + - *310 + - *614 responses: '200': description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *614 + default: *615 '403': *27 '404': *6 x-github: @@ -92937,9 +93195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *308 - *309 - - *613 + - *310 + - *614 requestBody: required: true content: @@ -93019,7 +93277,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 required: - login - type @@ -93110,10 +93368,10 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *614 - add_credit: *614 + default: *615 + add_credit: *615 '403': *27 '404': *6 '422': @@ -93151,9 +93409,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: - - *308 - *309 - - *613 + - *310 + - *614 responses: '202': *37 '400': *14 @@ -93180,17 +93438,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *308 - *309 - - *613 + - *310 + - *614 responses: '202': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 '400': *14 '422': *15 '403': *27 @@ -93216,8 +93474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93313,8 +93571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93323,7 +93581,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93356,8 +93614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93435,8 +93693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93530,8 +93788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *308 - *309 + - *310 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93685,8 +93943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *308 - *309 + - *310 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93696,7 +93954,7 @@ paths: application/json: schema: type: array - items: *615 + items: *616 examples: default: value: @@ -93729,8 +93987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *308 - *309 + - *310 - name: sha in: path required: true @@ -93786,7 +94044,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: default: value: @@ -93840,8 +94098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93873,14 +94131,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *308 - *309 + - *310 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &617 + schema: &618 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93953,8 +94211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -93980,7 +94238,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -94007,8 +94265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -94028,8 +94286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -94111,8 +94369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94120,7 +94378,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 title: Tag protection description: Tag protection type: object @@ -94177,8 +94435,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -94201,7 +94459,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -94232,8 +94490,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: - - *308 - *309 + - *310 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94270,8 +94528,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *308 - *309 + - *310 - name: ref in: path required: true @@ -94307,8 +94565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -94340,8 +94598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *308 - *309 + - *310 - *19 - *17 responses: @@ -94349,7 +94607,7 @@ paths: description: Response content: application/json: - schema: &619 + schema: &620 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94361,7 +94619,7 @@ paths: required: - names examples: - default: &620 + default: &621 value: names: - octocat @@ -94384,8 +94642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -94416,9 +94674,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *620 examples: - default: *620 + default: *621 '404': *6 '422': *7 x-github: @@ -94439,9 +94697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *308 - *309 - - &621 + - *310 + - &622 name: per description: The time frame to display results for. in: query @@ -94472,7 +94730,7 @@ paths: - 128 clones: type: array - items: &622 + items: &623 title: Traffic type: object properties: @@ -94559,8 +94817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94654,8 +94912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94718,9 +94976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *308 - *309 - - *621 + - *310 + - *622 responses: '200': description: Response @@ -94741,7 +94999,7 @@ paths: - 3782 views: type: array - items: *622 + items: *623 required: - uniques - count @@ -94818,8 +95076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -95093,8 +95351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95117,8 +95375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -95140,8 +95398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -95167,8 +95425,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *308 - *309 + - *310 - name: ref in: path required: true @@ -95260,9 +95518,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95511,7 +95769,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &623 + text_matches: &624 title: Search Result Text Matches type: array items: @@ -95674,7 +95932,7 @@ paths: enum: - author-date - committer-date - - &624 + - &625 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 @@ -95743,7 +96001,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 comment_count: type: integer message: @@ -95762,7 +96020,7 @@ paths: url: type: string format: uri - verification: *489 + verification: *490 required: - author - committer @@ -95777,7 +96035,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 parents: type: array items: @@ -95794,7 +96052,7 @@ paths: type: number node_id: type: string - text_matches: *623 + text_matches: *624 required: - sha - node_id @@ -95986,7 +96244,7 @@ paths: - interactions - created - updated - - *624 + - *625 - *17 - *19 - name: advanced_search @@ -96083,11 +96341,11 @@ paths: type: - string - 'null' - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: type: string state_reason: @@ -96115,7 +96373,7 @@ paths: - string - 'null' format: date-time - text_matches: *623 + text_matches: *624 pull_request: type: object properties: @@ -96338,7 +96596,7 @@ paths: enum: - created - updated - - *624 + - *625 - *17 - *19 responses: @@ -96383,7 +96641,7 @@ paths: - 'null' score: type: number - text_matches: *623 + text_matches: *624 required: - id - node_id @@ -96468,7 +96726,7 @@ paths: - forks - help-wanted-issues - updated - - *624 + - *625 - *17 - *19 responses: @@ -96705,7 +96963,7 @@ paths: - admin - pull - push - text_matches: *623 + text_matches: *624 temp_clone_token: type: string allow_merge_commit: @@ -97013,7 +97271,7 @@ paths: - string - 'null' format: uri - text_matches: *623 + text_matches: *624 related: type: - array @@ -97206,7 +97464,7 @@ paths: - followers - repositories - joined - - *624 + - *625 - *17 - *19 responses: @@ -97316,7 +97574,7 @@ paths: type: - boolean - 'null' - text_matches: *623 + text_matches: *624 blog: type: - string @@ -97398,7 +97656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &628 + - &629 name: team_id description: The unique identifier of the team. in: path @@ -97410,9 +97668,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 x-github: githubCloudOnly: false @@ -97439,7 +97697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *628 + - *629 requestBody: required: true content: @@ -97503,16 +97761,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '201': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 '422': *15 '403': *27 @@ -97540,7 +97798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *628 + - *629 responses: '204': description: Response @@ -97569,7 +97827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *628 + - *629 - *17 - *19 responses: @@ -97607,7 +97865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *628 + - *629 - name: role description: Filters members returned by their role in the team. in: query @@ -97658,7 +97916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *628 + - *629 - *62 responses: '204': @@ -97695,7 +97953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *628 + - *629 - *62 responses: '204': @@ -97735,7 +97993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *628 + - *629 - *62 responses: '204': @@ -97772,16 +98030,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *628 + - *629 - *62 responses: '200': description: Response content: application/json: - schema: *307 + schema: *308 examples: - response-if-user-is-a-team-maintainer: *629 + response-if-user-is-a-team-maintainer: *630 '404': *6 x-github: githubCloudOnly: false @@ -97814,7 +98072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *628 + - *629 - *62 requestBody: required: false @@ -97840,9 +98098,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: *630 + response-if-users-membership-with-team-is-now-pending: *631 '403': description: Forbidden if team synchronization is set up '422': @@ -97876,7 +98134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *628 + - *629 - *62 responses: '204': @@ -97904,7 +98162,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *628 + - *629 - *17 - *19 responses: @@ -97946,15 +98204,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *628 - - *308 + - *629 - *309 + - *310 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *631 + schema: *632 examples: alternative-response-with-extra-repository-information: value: @@ -98105,9 +98363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *628 - - *308 + - *629 - *309 + - *310 requestBody: required: false content: @@ -98157,9 +98415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *628 - - *308 + - *629 - *309 + - *310 responses: '204': description: Response @@ -98184,7 +98442,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *628 + - *629 - *17 - *19 responses: @@ -98196,7 +98454,7 @@ paths: type: array items: *179 examples: - response-if-child-teams-exist: *632 + response-if-child-teams-exist: *633 headers: Link: *57 '404': *6 @@ -98229,7 +98487,7 @@ paths: application/json: schema: oneOf: - - &634 + - &635 title: Private User description: Private User type: object @@ -98479,7 +98737,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *633 + - *634 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -98639,7 +98897,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *635 examples: default: value: @@ -98985,7 +99243,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -98993,7 +99251,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99037,7 +99295,7 @@ paths: type: integer secrets: type: array - items: &635 + items: &636 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99079,7 +99337,7 @@ paths: - visibility - selected_repositories_url examples: - default: *430 + default: *431 headers: Link: *57 x-github: @@ -99157,7 +99415,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -99303,7 +99561,7 @@ paths: type: array items: *144 examples: - default: *636 + default: *637 '401': *23 '403': *27 '404': *6 @@ -99455,7 +99713,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '304': *35 '500': *104 '401': *23 @@ -99513,7 +99771,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99570,7 +99828,7 @@ paths: description: Response content: application/json: - schema: &637 + schema: &638 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -99623,7 +99881,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &638 + default: &639 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -99668,9 +99926,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -99707,9 +99965,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: *639 + default: *640 '304': *35 '500': *104 '401': *23 @@ -99794,11 +100052,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *311 + repository: *312 machine: anyOf: - type: 'null' - - *429 + - *430 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -100603,7 +100861,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '304': *35 '500': *104 '400': *14 @@ -100643,7 +100901,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '500': *104 '401': *23 '403': *27 @@ -100675,7 +100933,7 @@ paths: type: array items: *232 examples: - default: &650 + default: &651 value: - id: 197 name: hello_docker @@ -100776,7 +101034,7 @@ paths: application/json: schema: type: array - items: &640 + items: &641 title: Email description: Email type: object @@ -100846,9 +101104,9 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: - default: &652 + default: &653 value: - email: octocat@github.com verified: true @@ -100925,7 +101183,7 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: default: value: @@ -101183,7 +101441,7 @@ paths: application/json: schema: type: array - items: &641 + items: &642 title: GPG Key description: A unique encryption key type: object @@ -101328,7 +101586,7 @@ paths: - subkeys - revoked examples: - default: &666 + default: &669 value: - id: 3 name: Octocat's GPG Key @@ -101413,9 +101671,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: &642 + default: &643 value: id: 3 name: Octocat's GPG Key @@ -101472,7 +101730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &643 + - &644 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -101484,9 +101742,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *642 + default: *643 '404': *6 '304': *35 '403': *27 @@ -101509,7 +101767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *643 + - *644 responses: '204': description: Response @@ -101814,7 +102072,7 @@ paths: required: true content: application/json: - schema: *500 + schema: *501 examples: default: value: @@ -101964,7 +102222,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: Key description: Key type: object @@ -102067,9 +102325,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102102,15 +102360,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *530 responses: '200': description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: *645 + default: *646 '404': *6 '304': *35 '403': *27 @@ -102133,7 +102391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *530 responses: '204': description: Response @@ -102166,7 +102424,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102245,7 +102503,7 @@ paths: - account - plan examples: - default: &647 + default: &648 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102307,9 +102565,9 @@ paths: application/json: schema: type: array - items: *646 + items: *647 examples: - default: *647 + default: *648 headers: Link: *57 '304': *35 @@ -103327,7 +103585,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *227 - - *648 + - *649 responses: '204': description: Response @@ -103442,7 +103700,7 @@ paths: - docker - nuget - container - - *649 + - *650 - *19 - *17 responses: @@ -103454,8 +103712,8 @@ paths: type: array items: *232 examples: - default: *650 - '400': *651 + default: *651 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103484,7 +103742,7 @@ paths: application/json: schema: *232 examples: - default: &667 + default: &670 value: id: 40201 name: octo-name @@ -103846,9 +104104,9 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: - default: *652 + default: *653 headers: Link: *57 '304': *35 @@ -103961,7 +104219,7 @@ paths: type: array items: *69 examples: - default: &659 + default: &660 summary: Default response value: - id: 1296269 @@ -104279,9 +104537,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104319,9 +104577,9 @@ paths: application/json: schema: type: array - items: *502 + items: *503 examples: - default: *653 + default: *654 headers: Link: *57 '304': *35 @@ -104400,7 +104658,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Social account description: Social media account type: object @@ -104417,7 +104675,7 @@ paths: - provider - url examples: - default: &655 + default: &656 value: - provider: twitter url: https://twitter.com/github @@ -104480,9 +104738,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *655 + default: *656 '422': *15 '304': *35 '404': *6 @@ -104570,7 +104828,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -104590,7 +104848,7 @@ paths: - title - created_at examples: - default: &685 + default: &688 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104655,9 +104913,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: &657 + default: &658 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104687,7 +104945,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: - - &658 + - &659 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -104699,9 +104957,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *657 + default: *658 '404': *6 '304': *35 '403': *27 @@ -104724,7 +104982,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: - - *658 + - *659 responses: '204': description: Response @@ -104753,7 +105011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &686 + - &689 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 @@ -104778,11 +105036,11 @@ paths: type: array items: *69 examples: - default-response: *659 + default-response: *660 application/vnd.github.v3.star+json: schema: type: array - items: &687 + items: &690 title: Starred Repository description: Starred Repository type: object @@ -104938,8 +105196,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: - - *308 - *309 + - *310 responses: '204': description: Response if this repository is starred by you @@ -104967,8 +105225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -104992,8 +105250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -105065,7 +105323,7 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: default: value: @@ -105151,10 +105409,10 @@ paths: application/json: schema: oneOf: + - *635 - *634 - - *633 examples: - default-response: &661 + default-response: &664 summary: Default response value: login: octocat @@ -105189,7 +105447,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &662 + response-with-git-hub-plan-information: &665 summary: Response with GitHub plan information value: login: octocat @@ -105246,7 +105504,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 + - &662 + name: user_id description: The unique identifier of the user. in: path required: true @@ -105311,7 +105570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *660 + - *661 - *17 responses: '200': @@ -105334,6 +105593,119 @@ 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: + - *662 + - *250 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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: *663 + examples: + table_view: + summary: Response for creating a table view + value: *260 + board_view: + summary: Response for creating a board view with filter + value: *260 + roadmap_view: + summary: Response for creating a roadmap view + value: *260 + '304': *35 + '403': *27 + '401': *23 + '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 @@ -105360,11 +105732,11 @@ paths: application/json: schema: oneOf: + - *635 - *634 - - *633 examples: - default-response: *661 - response-with-git-hub-plan-information: *662 + default-response: *664 + response-with-git-hub-plan-information: *665 '404': *6 x-github: githubCloudOnly: false @@ -105414,8 +105786,8 @@ paths: required: - subject_digests examples: - default: *663 - withPredicateType: *664 + default: *666 + withPredicateType: *667 responses: '200': description: Response @@ -105469,7 +105841,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *665 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105674,7 +106046,7 @@ paths: initiator: type: string examples: - default: *369 + default: *370 '201': description: Response content: @@ -105715,7 +106087,7 @@ paths: type: array items: *232 examples: - default: *650 + default: *651 '403': *27 '401': *23 x-github: @@ -106099,9 +106471,9 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: - default: *666 + default: *669 headers: Link: *57 x-github: @@ -106205,7 +106577,7 @@ paths: application/json: schema: *20 examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106330,7 +106702,7 @@ paths: - docker - nuget - container - - *649 + - *650 - *62 - *19 - *17 @@ -106343,10 +106715,10 @@ paths: type: array items: *232 examples: - default: *650 + default: *651 '403': *27 '401': *23 - '400': *651 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106376,7 +106748,7 @@ paths: application/json: schema: *232 examples: - default: *667 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106725,7 +107097,7 @@ paths: type: array items: *253 examples: - default: *668 + default: *671 headers: Link: *57 '304': *35 @@ -106785,7 +107157,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *669 + items: *672 required: - name - data_type @@ -106801,7 +107173,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *670 + iteration_configuration: *673 required: - name - data_type @@ -106823,8 +107195,8 @@ paths: value: name: Due date data_type: date - single_select_field: *671 - iteration_field: *672 + single_select_field: *674 + iteration_field: *675 responses: '201': description: Response @@ -106832,11 +107204,11 @@ paths: application/json: schema: *253 examples: - text_field: *673 - number_field: *674 - date_field: *675 - single_select_field: *676 - iteration_field: *677 + text_field: *676 + number_field: *677 + date_field: *678 + single_select_field: *679 + iteration_field: *680 '304': *35 '403': *27 '401': *23 @@ -106858,7 +107230,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *250 - - *678 + - *681 - *62 responses: '200': @@ -106867,7 +107239,7 @@ paths: application/json: schema: *253 examples: - default: *679 + default: *682 headers: Link: *57 '304': *35 @@ -107224,7 +107596,7 @@ paths: parameters: - *250 - *62 - - *680 + - *683 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -107499,7 +107871,7 @@ paths: - *107 - *109 - *108 - - *681 + - *684 - *110 responses: '200': @@ -107630,7 +108002,7 @@ paths: parameters: - *62 - *107 - - *682 + - *685 - *108 responses: '200': @@ -107729,9 +108101,9 @@ paths: - *107 - *109 - *108 - - *683 + - *686 - *110 - - *684 + - *687 responses: '200': description: Response when getting a billing usage summary @@ -107865,9 +108237,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *655 + default: *656 headers: Link: *57 x-github: @@ -107897,9 +108269,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *685 + default: *688 headers: Link: *57 x-github: @@ -107924,7 +108296,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *62 - - *686 + - *689 - *51 - *17 - *19 @@ -107936,11 +108308,11 @@ paths: schema: anyOf: - type: array - items: *687 + items: *690 - type: array items: *69 examples: - default-response: *659 + default-response: *660 headers: Link: *57 x-github: @@ -108100,7 +108472,7 @@ webhooks: type: string enum: - disabled - enterprise: &688 + enterprise: &691 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108169,7 +108541,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &689 + installation: &692 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108190,7 +108562,7 @@ webhooks: required: - id - node_id - organization: &690 + organization: &693 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108263,7 +108635,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &691 + repository: &694 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109176,10 +109548,10 @@ webhooks: type: string enum: - enabled - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -109255,11 +109627,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: &692 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + rule: &695 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) @@ -109482,11 +109854,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: *692 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + rule: *695 sender: *4 required: - action @@ -109674,11 +110046,11 @@ webhooks: - everyone required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: *692 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + rule: *695 sender: *4 required: - action @@ -109762,7 +110134,7 @@ webhooks: type: string enum: - completed - check_run: &694 + check_run: &697 title: CheckRun description: A check performed on the code of a given code change type: object @@ -109872,7 +110244,7 @@ webhooks: - examples: - neutral - deployment: *693 + deployment: *696 details_url: type: string examples: @@ -109970,10 +110342,10 @@ webhooks: - output - app - pull_requests - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + installation: *692 + enterprise: *691 + organization: *693 + repository: *694 sender: *4 required: - check_run @@ -110366,11 +110738,11 @@ webhooks: type: string enum: - created - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *697 + installation: *692 + enterprise: *691 + organization: *693 + repository: *694 sender: *4 required: - check_run @@ -110766,11 +111138,11 @@ webhooks: type: string enum: - requested_action - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *697 + installation: *692 + enterprise: *691 + organization: *693 + repository: *694 requested_action: description: The action requested by the user. type: object @@ -111175,11 +111547,11 @@ webhooks: type: string enum: - rerequested - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *697 + installation: *692 + enterprise: *691 + organization: *693 + repository: *694 sender: *4 required: - check_run @@ -112171,10 +112543,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -112883,10 +113255,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -113589,10 +113961,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -113761,7 +114133,7 @@ webhooks: required: - login - id - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113913,20 +114285,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &695 + commit_oid: &698 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: *688 - installation: *689 - organization: *690 - ref: &696 + enterprise: *691 + installation: *692 + organization: *693 + ref: &699 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: *691 + repository: *694 sender: *4 required: - action @@ -114093,7 +114465,7 @@ webhooks: required: - login - id - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114334,12 +114706,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *698 + enterprise: *691 + installation: *692 + organization: *693 + ref: *699 + repository: *694 sender: *4 required: - action @@ -114437,7 +114809,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114622,12 +114994,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *698 + enterprise: *691 + installation: *692 + organization: *693 + ref: *699 + repository: *694 sender: *4 required: - action @@ -114796,7 +115168,7 @@ webhooks: required: - login - id - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114973,12 +115345,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *698 + enterprise: *691 + installation: *692 + organization: *693 + ref: *699 + repository: *694 sender: *4 required: - action @@ -115079,7 +115451,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115268,9 +115640,9 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115278,7 +115650,7 @@ webhooks: type: - string - 'null' - repository: *691 + repository: *694 sender: *4 required: - action @@ -115377,7 +115749,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115524,12 +115896,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *698 + enterprise: *691 + installation: *692 + organization: *693 + ref: *699 + repository: *694 sender: *4 required: - action @@ -115698,7 +116070,7 @@ webhooks: required: - login - id - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115850,10 +116222,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -116113,10 +116485,10 @@ webhooks: - updated_at - author_association - body - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -116197,18 +116569,18 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *690 - pusher_type: &697 + organization: *693 + pusher_type: &700 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &698 + ref: &701 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116218,7 +116590,7 @@ webhooks: enum: - tag - branch - repository: *691 + repository: *694 sender: *4 required: - ref @@ -116300,10 +116672,10 @@ webhooks: type: string enum: - created - definition: *260 - enterprise: *688 - installation: *689 - organization: *690 + definition: *261 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -116388,9 +116760,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -116467,10 +116839,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *260 - enterprise: *688 - installation: *689 - organization: *690 + definition: *261 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -116547,10 +116919,10 @@ webhooks: type: string enum: - updated - definition: *260 - enterprise: *688 - installation: *689 - organization: *690 + definition: *261 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -116627,19 +116999,19 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - repository: *691 - organization: *690 + enterprise: *691 + installation: *692 + repository: *694 + organization: *693 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *264 + items: *265 old_property_values: type: array description: The old custom property values for the repository. - items: *264 + items: *265 required: - action - repository @@ -116715,18 +117087,18 @@ webhooks: title: delete event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - pusher_type: *697 - ref: *698 + enterprise: *691 + installation: *692 + organization: *693 + pusher_type: *700 + ref: *701 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *691 + repository: *694 sender: *4 required: - ref @@ -116810,11 +117182,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -116898,11 +117270,11 @@ webhooks: type: string enum: - auto_reopened - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -116986,11 +117358,11 @@ webhooks: type: string enum: - created - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117072,11 +117444,11 @@ webhooks: type: string enum: - dismissed - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117158,11 +117530,11 @@ webhooks: type: string enum: - fixed - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117245,11 +117617,11 @@ webhooks: type: string enum: - reintroduced - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117331,11 +117703,11 @@ webhooks: type: string enum: - reopened - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117412,9 +117784,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - key: &699 + enterprise: *691 + installation: *692 + key: &702 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117452,8 +117824,8 @@ webhooks: - verified - created_at - read_only - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -117530,11 +117902,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - key: *699 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + key: *702 + organization: *693 + repository: *694 sender: *4 required: - action @@ -118106,12 +118478,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: &703 + workflow: &706 title: Workflow type: - object @@ -118849,13 +119221,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *464 + deployment: *465 pull_requests: type: array - items: *547 - repository: *691 - organization: *690 - installation: *689 + items: *548 + repository: *694 + organization: *693 + installation: *692 sender: *4 responses: '200': @@ -118926,7 +119298,7 @@ webhooks: type: string enum: - approved - approver: &700 + approver: &703 type: object properties: avatar_url: @@ -118969,11 +119341,11 @@ webhooks: type: string comment: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - reviewers: &701 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + reviewers: &704 type: array items: type: object @@ -119054,7 +119426,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &702 + workflow_job_run: &705 type: object properties: conclusion: @@ -119800,18 +120172,18 @@ webhooks: type: string enum: - rejected - approver: *700 + approver: *703 comment: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - reviewers: *701 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + reviewers: *704 sender: *4 since: type: string - workflow_job_run: *702 + workflow_job_run: *705 workflow_job_runs: type: array items: @@ -120528,13 +120900,13 @@ webhooks: type: string enum: - requested - enterprise: *688 + enterprise: *691 environment: type: string - installation: *689 - organization: *690 - repository: *691 - requestor: &708 + installation: *692 + organization: *693 + repository: *694 + requestor: &711 title: User type: - object @@ -122477,12 +122849,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: *703 + workflow: *706 workflow_run: title: Deployment Workflow Run type: @@ -123173,7 +123545,7 @@ webhooks: type: string enum: - answered - answer: &706 + answer: &709 type: object properties: author_association: @@ -123333,11 +123705,11 @@ webhooks: - created_at - updated_at - body - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123464,11 +123836,11 @@ webhooks: - from required: - category - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123551,11 +123923,11 @@ webhooks: type: string enum: - closed - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123637,7 +124009,7 @@ webhooks: type: string enum: - created - comment: &705 + comment: &708 type: object properties: author_association: @@ -123797,11 +124169,11 @@ webhooks: - updated_at - body - reactions - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123884,12 +124256,12 @@ webhooks: type: string enum: - deleted - comment: *705 - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + comment: *708 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123984,12 +124356,12 @@ webhooks: - from required: - body - comment: *705 - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + comment: *708 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124073,11 +124445,11 @@ webhooks: type: string enum: - created - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124159,11 +124531,11 @@ webhooks: type: string enum: - deleted - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124263,11 +124635,11 @@ webhooks: type: string required: - from - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124349,10 +124721,10 @@ webhooks: type: string enum: - labeled - discussion: *704 - enterprise: *688 - installation: *689 - label: &707 + discussion: *707 + enterprise: *691 + installation: *692 + label: &710 title: Label type: object properties: @@ -124385,8 +124757,8 @@ webhooks: - color - default - description - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124469,11 +124841,11 @@ webhooks: type: string enum: - locked - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124555,11 +124927,11 @@ webhooks: type: string enum: - pinned - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124641,11 +125013,11 @@ webhooks: type: string enum: - reopened - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124730,16 +125102,16 @@ webhooks: changes: type: object properties: - new_discussion: *704 - new_repository: *691 + new_discussion: *707 + new_repository: *694 required: - new_discussion - new_repository - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124822,10 +125194,10 @@ webhooks: type: string enum: - unanswered - discussion: *704 - old_answer: *706 - organization: *690 - repository: *691 + discussion: *707 + old_answer: *709 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124907,12 +125279,12 @@ webhooks: type: string enum: - unlabeled - discussion: *704 - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124995,11 +125367,11 @@ webhooks: type: string enum: - unlocked - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -125081,11 +125453,11 @@ webhooks: type: string enum: - unpinned - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -125158,7 +125530,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *688 + enterprise: *691 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -125836,9 +126208,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - forkee @@ -125984,9 +126356,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pages: description: The pages that were updated. type: array @@ -126024,7 +126396,7 @@ webhooks: - action - sha - html_url - repository: *691 + repository: *694 sender: *4 required: - pages @@ -126100,10 +126472,10 @@ webhooks: type: string enum: - created - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: &709 + organization: *693 + repositories: &712 description: An array of repository objects that the installation can access. type: array @@ -126129,8 +126501,8 @@ webhooks: - name - full_name - private - repository: *691 - requester: *708 + repository: *694 + requester: *711 sender: *4 required: - action @@ -126205,11 +126577,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *693 + repositories: *712 + repository: *694 requester: type: - 'null' @@ -126286,11 +126658,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *693 + repositories: *712 + repository: *694 requester: type: - 'null' @@ -126367,10 +126739,10 @@ webhooks: type: string enum: - added - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories_added: &710 + organization: *693 + repositories_added: &713 description: An array of repository objects, which were added to the installation. type: array @@ -126416,15 +126788,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *691 - repository_selection: &711 + repository: *694 + repository_selection: &714 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *708 + requester: *711 sender: *4 required: - action @@ -126503,10 +126875,10 @@ webhooks: type: string enum: - removed - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories_added: *710 + organization: *693 + repositories_added: *713 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126533,9 +126905,9 @@ webhooks: - name - full_name - private - repository: *691 - repository_selection: *711 - requester: *708 + repository: *694 + repository_selection: *714 + requester: *711 sender: *4 required: - action @@ -126614,11 +126986,11 @@ webhooks: type: string enum: - suspend - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *693 + repositories: *712 + repository: *694 requester: type: - 'null' @@ -126800,10 +127172,10 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 target_type: type: string @@ -126882,11 +127254,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *693 + repositories: *712 + repository: *694 requester: type: - 'null' @@ -127134,8 +127506,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127952,8 +128324,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128314,8 +128686,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -128395,7 +128767,7 @@ webhooks: type: string enum: - deleted - comment: &712 + comment: &715 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128562,8 +128934,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129376,8 +129748,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129740,8 +130112,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -129821,7 +130193,7 @@ webhooks: type: string enum: - edited - changes: &736 + changes: &739 description: The changes to the comment. type: object properties: @@ -129833,9 +130205,9 @@ webhooks: type: string required: - from - comment: *712 - enterprise: *688 - installation: *689 + comment: *715 + enterprise: *691 + installation: *692 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130651,8 +131023,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131013,8 +131385,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131104,9 +131476,9 @@ webhooks: type: number blocking_issue: *71 blocking_issue_repo: *69 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131195,9 +131567,9 @@ webhooks: type: number blocking_issue: *71 blocking_issue_repo: *69 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131285,9 +131657,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131376,9 +131748,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131458,10 +131830,10 @@ webhooks: type: string enum: - assigned - assignee: *708 - enterprise: *688 - installation: *689 - issue: &715 + assignee: *711 + enterprise: *691 + installation: *692 + issue: &718 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132273,11 +132645,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132397,8 +132769,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -132478,8 +132850,8 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133296,11 +133668,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133563,8 +133935,8 @@ webhooks: required: - state - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -133643,8 +134015,8 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134452,11 +134824,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134575,8 +134947,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -134655,8 +135027,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135487,11 +135859,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135589,7 +135961,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &713 + milestone: &716 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135732,8 +136104,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -135832,8 +136204,8 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136645,11 +137017,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136769,9 +137141,9 @@ webhooks: - active_lock_reason - body - reactions - label: *707 - organization: *690 - repository: *691 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -136851,8 +137223,8 @@ webhooks: type: string enum: - labeled - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137663,11 +138035,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137787,9 +138159,9 @@ webhooks: - active_lock_reason - body - reactions - label: *707 - organization: *690 - repository: *691 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -137869,8 +138241,8 @@ webhooks: type: string enum: - locked - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138706,11 +139078,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138807,8 +139179,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -138887,8 +139259,8 @@ webhooks: type: string enum: - milestoned - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139718,11 +140090,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139819,9 +140191,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *713 - organization: *690 - repository: *691 + milestone: *716 + organization: *693 + repository: *694 sender: *4 required: - action @@ -140713,11 +141085,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141294,8 +141666,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142107,11 +142479,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142230,8 +142602,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -142311,9 +142683,9 @@ webhooks: type: string enum: - pinned - enterprise: *688 - installation: *689 - issue: &714 + enterprise: *691 + installation: *692 + issue: &717 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143119,11 +143491,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143242,8 +143614,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -143322,8 +143694,8 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144157,11 +144529,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144259,8 +144631,8 @@ webhooks: user_view_type: type: string type: *215 - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -145149,11 +145521,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145752,11 +146124,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *688 - installation: *689 - issue: *714 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + issue: *717 + organization: *693 + repository: *694 sender: *4 required: - action @@ -145836,12 +146208,12 @@ webhooks: type: string enum: - typed - enterprise: *688 - installation: *689 - issue: *715 + enterprise: *691 + installation: *692 + issue: *718 type: *215 - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -145922,7 +146294,7 @@ webhooks: type: string enum: - unassigned - assignee: &739 + assignee: &742 title: User type: - object @@ -145994,11 +146366,11 @@ webhooks: required: - login - id - enterprise: *688 - installation: *689 - issue: *715 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + issue: *718 + organization: *693 + repository: *694 sender: *4 required: - action @@ -146077,12 +146449,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *688 - installation: *689 - issue: *715 - label: *707 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + issue: *718 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -146162,8 +146534,8 @@ webhooks: type: string enum: - unlocked - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146997,11 +147369,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147098,8 +147470,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147179,11 +147551,11 @@ webhooks: type: string enum: - unpinned - enterprise: *688 - installation: *689 - issue: *714 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + issue: *717 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147262,12 +147634,12 @@ webhooks: type: string enum: - untyped - enterprise: *688 - installation: *689 - issue: *715 + enterprise: *691 + installation: *692 + issue: *718 type: *215 - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147347,11 +147719,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147429,11 +147801,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147543,11 +147915,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147629,9 +148001,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: &716 + enterprise: *691 + installation: *692 + marketplace_purchase: &719 title: Marketplace Purchase type: object required: @@ -147719,8 +148091,8 @@ webhooks: type: integer unit_count: type: integer - organization: *690 - previous_marketplace_purchase: &717 + organization: *693 + previous_marketplace_purchase: &720 title: Marketplace Purchase type: object properties: @@ -147804,7 +148176,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -147884,10 +148256,10 @@ webhooks: - changed effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 + enterprise: *691 + installation: *692 + marketplace_purchase: *719 + organization: *693 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147975,7 +148347,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -148057,10 +148429,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 + enterprise: *691 + installation: *692 + marketplace_purchase: *719 + organization: *693 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148146,7 +148518,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -148227,8 +148599,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 marketplace_purchase: title: Marketplace Purchase type: object @@ -148314,9 +148686,9 @@ webhooks: type: integer unit_count: type: integer - organization: *690 - previous_marketplace_purchase: *717 - repository: *691 + organization: *693 + previous_marketplace_purchase: *720 + repository: *694 sender: *4 required: - action @@ -148396,12 +148768,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 - previous_marketplace_purchase: *717 - repository: *691 + enterprise: *691 + installation: *692 + marketplace_purchase: *719 + organization: *693 + previous_marketplace_purchase: *720 + repository: *694 sender: *4 required: - action @@ -148503,11 +148875,11 @@ webhooks: type: string required: - to - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 sender: *4 required: - action @@ -148609,11 +148981,11 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 sender: *4 required: - action @@ -148692,11 +149064,11 @@ webhooks: type: string enum: - removed - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 sender: *4 required: - action @@ -148774,11 +149146,11 @@ webhooks: type: string enum: - added - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148856,7 +149228,7 @@ webhooks: required: - login - id - team: &718 + team: &721 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149086,11 +149458,11 @@ webhooks: type: string enum: - removed - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149169,7 +149541,7 @@ webhooks: required: - login - id - team: *718 + team: *721 required: - action - scope @@ -149251,8 +149623,8 @@ webhooks: type: string enum: - checks_requested - installation: *689 - merge_group: &719 + installation: *692 + merge_group: &722 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149271,15 +149643,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *389 + head_commit: *390 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149365,10 +149737,10 @@ webhooks: - merged - invalidated - dequeued - installation: *689 - merge_group: *719 - organization: *690 - repository: *691 + installation: *692 + merge_group: *722 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149441,7 +149813,7 @@ webhooks: type: string enum: - deleted - enterprise: *688 + enterprise: *691 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149550,12 +149922,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *689 - organization: *690 + installation: *692 + organization: *693 repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -149635,11 +150007,11 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + milestone: *716 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149718,9 +150090,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - milestone: &720 + enterprise: *691 + installation: *692 + milestone: &723 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149862,8 +150234,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149942,11 +150314,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + milestone: *716 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150056,11 +150428,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + milestone: *716 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150140,11 +150512,11 @@ webhooks: type: string enum: - opened - enterprise: *688 - installation: *689 - milestone: *720 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + milestone: *723 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150223,11 +150595,11 @@ webhooks: type: string enum: - blocked - blocked_user: *708 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + blocked_user: *711 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150306,11 +150678,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *708 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + blocked_user: *711 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150389,9 +150761,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - membership: &721 + enterprise: *691 + installation: *692 + membership: &724 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150501,8 +150873,8 @@ webhooks: - role - organization_url - user - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150580,11 +150952,11 @@ webhooks: type: string enum: - member_added - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + membership: *724 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150663,8 +151035,8 @@ webhooks: type: string enum: - member_invited - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -150786,10 +151158,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 - user: *708 + user: *711 required: - action - invitation @@ -150867,11 +151239,11 @@ webhooks: type: string enum: - member_removed - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + membership: *724 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150958,11 +151330,11 @@ webhooks: properties: from: type: string - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + membership: *724 + organization: *693 + repository: *694 sender: *4 required: - action @@ -151038,9 +151410,9 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 package: description: Information about the package. type: object @@ -151563,7 +151935,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &722 + items: &725 title: Ruby Gems metadata type: object properties: @@ -151660,7 +152032,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -151736,9 +152108,9 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 package: description: Information about the package. type: object @@ -152100,7 +152472,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *725 source_url: type: string format: uri @@ -152171,7 +152543,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -152352,12 +152724,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *688 + enterprise: *691 id: type: integer - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - id @@ -152434,7 +152806,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &723 + personal_access_token_request: &726 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152584,10 +152956,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *688 - organization: *690 + enterprise: *691 + organization: *693 sender: *4 - installation: *689 + installation: *692 required: - action - personal_access_token_request @@ -152664,11 +153036,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *723 - enterprise: *688 - organization: *690 + personal_access_token_request: *726 + enterprise: *691 + organization: *693 sender: *4 - installation: *689 + installation: *692 required: - action - personal_access_token_request @@ -152744,11 +153116,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *723 - enterprise: *688 - organization: *690 + personal_access_token_request: *726 + enterprise: *691 + organization: *693 sender: *4 - installation: *689 + installation: *692 required: - action - personal_access_token_request @@ -152823,11 +153195,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *723 - organization: *690 - enterprise: *688 + personal_access_token_request: *726 + organization: *693 + enterprise: *691 sender: *4 - installation: *689 + installation: *692 required: - action - personal_access_token_request @@ -152932,7 +153304,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *724 + last_response: *727 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -152964,8 +153336,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 zen: description: Random string of GitHub zen. @@ -153210,10 +153582,10 @@ webhooks: - from required: - note - enterprise: *688 - installation: *689 - organization: *690 - project_card: &725 + enterprise: *691 + installation: *692 + organization: *693 + project_card: &728 title: Project Card type: object properties: @@ -153336,7 +153708,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -153417,11 +153789,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project_card: *725 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project_card: *728 + repository: *694 sender: *4 required: - action @@ -153501,9 +153873,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 project_card: title: Project Card type: object @@ -153633,7 +154005,7 @@ webhooks: repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -153727,11 +154099,11 @@ webhooks: - from required: - note - enterprise: *688 - installation: *689 - organization: *690 - project_card: *725 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project_card: *728 + repository: *694 sender: *4 required: - action @@ -153825,9 +154197,9 @@ webhooks: - from required: - column_id - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 project_card: allOf: - title: Project Card @@ -154024,7 +154396,7 @@ webhooks: type: string required: - after_id - repository: *691 + repository: *694 sender: *4 required: - action @@ -154104,10 +154476,10 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - organization: *690 - project: &727 + enterprise: *691 + installation: *692 + organization: *693 + project: &730 title: Project type: object properties: @@ -154234,7 +154606,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -154314,10 +154686,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project_column: &726 + enterprise: *691 + installation: *692 + organization: *693 + project_column: &729 title: Project Column type: object properties: @@ -154357,7 +154729,7 @@ webhooks: - name - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -154436,14 +154808,14 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 + enterprise: *691 + installation: *692 + organization: *693 + project_column: *729 repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -154532,11 +154904,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project_column: *729 + repository: *694 sender: *4 required: - action @@ -154616,11 +154988,11 @@ webhooks: type: string enum: - moved - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project_column: *729 + repository: *694 sender: *4 required: - action @@ -154700,11 +155072,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project: *730 + repository: *694 sender: *4 required: - action @@ -154784,14 +155156,14 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - project: *727 + enterprise: *691 + installation: *692 + organization: *693 + project: *730 repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -154892,11 +155264,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project: *730 + repository: *694 sender: *4 required: - action @@ -154975,11 +155347,11 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project: *730 + repository: *694 sender: *4 required: - action @@ -155060,8 +155432,8 @@ webhooks: type: string enum: - closed - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155143,8 +155515,8 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155226,8 +155598,8 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155349,8 +155721,8 @@ webhooks: type: string to: type: string - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155434,7 +155806,7 @@ webhooks: type: string enum: - archived - changes: &731 + changes: &734 type: object properties: archived_at: @@ -155450,9 +155822,9 @@ webhooks: - string - 'null' format: date-time - installation: *689 - organization: *690 - projects_v2_item: &728 + installation: *692 + organization: *693 + projects_v2_item: &731 title: Projects v2 Item description: An item belonging to a project type: object @@ -155592,9 +155964,9 @@ webhooks: - 'null' to: type: string - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -155676,9 +156048,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -155759,9 +156131,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -155866,7 +156238,7 @@ webhooks: oneOf: - type: string - type: integer - - &729 + - &732 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -155890,7 +156262,7 @@ webhooks: required: - id - name - - &730 + - &733 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -155930,8 +156302,8 @@ webhooks: oneOf: - type: string - type: integer - - *729 - - *730 + - *732 + - *733 type: - 'null' - string @@ -155954,9 +156326,9 @@ webhooks: - 'null' required: - body - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -156053,9 +156425,9 @@ webhooks: type: - string - 'null' - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -156138,10 +156510,10 @@ webhooks: type: string enum: - restored - changes: *731 - installation: *689 - organization: *690 - projects_v2_item: *728 + changes: *734 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -156223,8 +156595,8 @@ webhooks: type: string enum: - reopened - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -156306,9 +156678,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *692 + organization: *693 + projects_v2_status_update: *735 sender: *4 required: - action @@ -156389,9 +156761,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *692 + organization: *693 + projects_v2_status_update: *735 sender: *4 required: - action @@ -156537,9 +156909,9 @@ webhooks: - string - 'null' format: date - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *692 + organization: *693 + projects_v2_status_update: *735 sender: *4 required: - action @@ -156610,10 +156982,10 @@ webhooks: title: public event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - repository @@ -156690,13 +157062,13 @@ webhooks: type: string enum: - assigned - assignee: *708 - enterprise: *688 - installation: *689 - number: &733 + assignee: *711 + enterprise: *691 + installation: *692 + number: &736 description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -159045,7 +159417,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -159127,11 +159499,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -161473,7 +161845,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *694 sender: *4 required: - action @@ -161555,11 +161927,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -163901,7 +164273,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *694 sender: *4 required: - action @@ -163983,13 +164355,13 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: &734 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: &737 allOf: - - *547 + - *548 - type: object properties: allow_auto_merge: @@ -164051,7 +164423,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *691 + repository: *694 sender: *4 required: - action @@ -164132,12 +164504,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -164217,11 +164589,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *688 + enterprise: *691 milestone: *251 - number: *733 - organization: *690 - pull_request: &735 + number: *736 + organization: *693 + pull_request: &738 title: Pull Request type: object properties: @@ -166548,7 +166920,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -166627,11 +166999,11 @@ webhooks: type: string enum: - dequeued - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -168977,7 +169349,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *691 + repository: *694 sender: *4 required: - action @@ -169101,12 +169473,12 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -169186,11 +169558,11 @@ webhooks: type: string enum: - enqueued - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -171521,7 +171893,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -171601,11 +171973,11 @@ webhooks: type: string enum: - labeled - enterprise: *688 - installation: *689 - label: *707 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + label: *710 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -173953,7 +174325,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -174034,10 +174406,10 @@ webhooks: type: string enum: - locked - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -176383,7 +176755,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -176463,12 +176835,12 @@ webhooks: type: string enum: - milestoned - enterprise: *688 + enterprise: *691 milestone: *251 - number: *733 - organization: *690 - pull_request: *735 - repository: *691 + number: *736 + organization: *693 + pull_request: *738 + repository: *694 sender: *4 required: - action @@ -176547,12 +176919,12 @@ webhooks: type: string enum: - opened - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -176633,12 +177005,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -176718,12 +177090,12 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -177098,9 +177470,9 @@ webhooks: - start_side - side - reactions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: type: object properties: @@ -179330,7 +179702,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -179410,7 +179782,7 @@ webhooks: type: string enum: - deleted - comment: &737 + comment: &740 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179703,9 +180075,9 @@ webhooks: - start_side - side - reactions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: type: object properties: @@ -181923,7 +182295,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -182003,11 +182375,11 @@ webhooks: type: string enum: - edited - changes: *736 - comment: *737 - enterprise: *688 - installation: *689 - organization: *690 + changes: *739 + comment: *740 + enterprise: *691 + installation: *692 + organization: *693 pull_request: type: object properties: @@ -184228,7 +184600,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -184309,9 +184681,9 @@ webhooks: type: string enum: - dismissed - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -186544,7 +186916,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 review: description: The review that was affected. type: object @@ -186795,9 +187167,9 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -188911,8 +189283,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: &738 + repository: *694 + review: &741 description: The review that was affected. type: object properties: @@ -189150,12 +189522,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -191502,7 +191874,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_reviewer: title: User type: @@ -191588,12 +191960,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -193947,7 +194319,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194142,12 +194514,12 @@ webhooks: type: string enum: - review_requested - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -196496,7 +196868,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_reviewer: title: User type: @@ -196583,12 +196955,12 @@ webhooks: type: string enum: - review_requested - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -198928,7 +199300,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199112,9 +199484,9 @@ webhooks: type: string enum: - submitted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -201350,8 +201722,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: *738 + repository: *694 + review: *741 sender: *4 required: - action @@ -201431,9 +201803,9 @@ webhooks: type: string enum: - resolved - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -203564,7 +203936,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 sender: *4 thread: type: object @@ -203961,9 +204333,9 @@ webhooks: type: string enum: - unresolved - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -206077,7 +206449,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 sender: *4 thread: type: object @@ -206476,10 +206848,10 @@ webhooks: type: string before: type: string - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -208814,7 +209186,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -208896,11 +209268,11 @@ webhooks: type: string enum: - unassigned - assignee: *739 - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + assignee: *742 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -211250,7 +211622,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -211329,11 +211701,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *688 - installation: *689 - label: *707 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + label: *710 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -213672,7 +214044,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -213753,10 +214125,10 @@ webhooks: type: string enum: - unlocked - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -216085,7 +216457,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -216288,7 +216660,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *688 + enterprise: *691 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216383,8 +216755,8 @@ webhooks: - url - author - committer - installation: *689 - organization: *690 + installation: *692 + organization: *693 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -216972,9 +217344,9 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 registry_package: type: object properties: @@ -217451,7 +217823,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *722 + items: *725 summary: type: string tag_name: @@ -217507,7 +217879,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -217585,9 +217957,9 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 registry_package: type: object properties: @@ -217899,7 +218271,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *725 summary: type: string tag_name: @@ -217949,7 +218321,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -218026,10 +218398,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - release: &740 + enterprise: *691 + installation: *692 + organization: *693 + release: &743 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218360,7 +218732,7 @@ webhooks: - updated_at - zipball_url - body - repository: *691 + repository: *694 sender: *4 required: - action @@ -218437,11 +218809,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + release: *743 + repository: *694 sender: *4 required: - action @@ -218558,11 +218930,11 @@ webhooks: type: boolean required: - to - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + release: *743 + repository: *694 sender: *4 required: - action @@ -218640,9 +219012,9 @@ webhooks: type: string enum: - prereleased - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -218978,7 +219350,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *694 sender: *4 required: - action @@ -219054,10 +219426,10 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - release: &741 + enterprise: *691 + installation: *692 + organization: *693 + release: &744 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219390,7 +219762,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *694 sender: *4 required: - action @@ -219466,11 +219838,11 @@ webhooks: type: string enum: - released - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + release: *743 + repository: *694 sender: *4 required: - action @@ -219546,11 +219918,11 @@ webhooks: type: string enum: - unpublished - enterprise: *688 - installation: *689 - organization: *690 - release: *741 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + release: *744 + repository: *694 sender: *4 required: - action @@ -219626,11 +219998,11 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_advisory: *611 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_advisory: *612 sender: *4 required: - action @@ -219706,11 +220078,11 @@ webhooks: type: string enum: - reported - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_advisory: *611 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_advisory: *612 sender: *4 required: - action @@ -219786,10 +220158,10 @@ webhooks: type: string enum: - archived - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -219866,10 +220238,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -219947,10 +220319,10 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220035,10 +220407,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220153,10 +220525,10 @@ webhooks: - 'null' items: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220228,10 +220600,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 status: type: string @@ -220312,10 +220684,10 @@ webhooks: type: string enum: - privatized - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220392,10 +220764,10 @@ webhooks: type: string enum: - publicized - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220489,10 +220861,10 @@ webhooks: - name required: - repository - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220572,11 +220944,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *292 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_ruleset: *293 sender: *4 required: - action @@ -220654,11 +221026,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *292 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_ruleset: *293 sender: *4 required: - action @@ -220736,11 +221108,11 @@ webhooks: type: string enum: - edited - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *292 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_ruleset: *293 changes: type: object properties: @@ -220759,16 +221131,16 @@ webhooks: properties: added: type: array - items: *266 + items: *267 deleted: type: array - items: *266 + items: *267 updated: type: array items: type: object properties: - condition: *266 + condition: *267 changes: type: object properties: @@ -220801,16 +221173,16 @@ webhooks: properties: added: type: array - items: *567 + items: *568 deleted: type: array - items: *567 + items: *568 updated: type: array items: type: object properties: - rule: *567 + rule: *568 changes: type: object properties: @@ -221047,10 +221419,10 @@ webhooks: - from required: - owner - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221128,10 +221500,10 @@ webhooks: type: string enum: - unarchived - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221209,7 +221581,7 @@ webhooks: type: string enum: - create - alert: &742 + alert: &745 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221333,10 +221705,10 @@ webhooks: type: string enum: - open - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221546,10 +221918,10 @@ webhooks: type: string enum: - dismissed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221627,11 +221999,11 @@ webhooks: type: string enum: - reopen - alert: *742 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221833,10 +222205,10 @@ webhooks: enum: - fixed - open - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221914,7 +222286,7 @@ webhooks: type: string enum: - assigned - alert: &743 + alert: &746 type: object properties: number: *162 @@ -222029,10 +222401,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222110,11 +222482,11 @@ webhooks: type: string enum: - created - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222195,11 +222567,11 @@ webhooks: type: string enum: - created - alert: *743 - installation: *689 - location: *744 - organization: *690 - repository: *691 + alert: *746 + installation: *692 + location: *747 + organization: *693 + repository: *694 sender: *4 required: - location @@ -222437,11 +222809,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222519,11 +222891,11 @@ webhooks: type: string enum: - reopened - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222601,11 +222973,11 @@ webhooks: type: string enum: - resolved - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222683,12 +223055,12 @@ webhooks: type: string enum: - unassigned - alert: *743 + alert: *746 assignee: *4 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222766,11 +223138,11 @@ webhooks: type: string enum: - validated - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222900,10 +223272,10 @@ webhooks: - organization - enterprise - - repository: *691 - enterprise: *688 - installation: *689 - organization: *690 + repository: *694 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -222981,11 +223353,11 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - security_advisory: &745 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + security_advisory: &748 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223171,11 +223543,11 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - security_advisory: *745 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + security_advisory: *748 sender: *4 required: - action @@ -223248,10 +223620,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223437,11 +223809,11 @@ webhooks: from: type: object properties: - security_and_analysis: *265 - enterprise: *688 - installation: *689 - organization: *690 - repository: *311 + security_and_analysis: *266 + enterprise: *691 + installation: *692 + organization: *693 + repository: *312 sender: *4 required: - changes @@ -223519,12 +223891,12 @@ webhooks: type: string enum: - cancelled - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: &746 + sponsorship: &749 type: object properties: created_at: @@ -223829,12 +224201,12 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - sponsorship @@ -223922,12 +224294,12 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - changes @@ -224004,17 +224376,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &747 + effective_date: &750 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: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - sponsorship @@ -224088,7 +224460,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &748 + changes: &751 type: object properties: tier: @@ -224132,13 +224504,13 @@ webhooks: - from required: - tier - effective_date: *747 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + effective_date: *750 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - changes @@ -224215,13 +224587,13 @@ webhooks: type: string enum: - tier_changed - changes: *748 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + changes: *751 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - changes @@ -224295,10 +224667,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224382,10 +224754,10 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224819,15 +225191,15 @@ webhooks: type: - string - 'null' - enterprise: *688 + enterprise: *691 id: description: The unique identifier of the status. type: integer - installation: *689 + installation: *692 name: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 sha: description: The Commit SHA. @@ -224943,9 +225315,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -225035,9 +225407,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -225127,9 +225499,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -225219,9 +225591,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -225298,12 +225670,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - team: &749 + team: &752 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225533,9 +225905,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -226005,7 +226377,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -226081,9 +226453,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -226553,7 +226925,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -226630,9 +227002,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -227102,7 +227474,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -227246,9 +227618,9 @@ webhooks: - from required: - permissions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -227718,7 +228090,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - changes @@ -227796,9 +228168,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -228268,7 +228640,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -228344,10 +228716,10 @@ webhooks: type: string enum: - started - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -228420,17 +228792,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *688 + enterprise: *691 inputs: type: - object - 'null' additionalProperties: true - installation: *689 - organization: *690 + installation: *692 + organization: *693 ref: type: string - repository: *691 + repository: *694 sender: *4 workflow: type: string @@ -228512,10 +228884,10 @@ webhooks: type: string enum: - completed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 workflow_job: allOf: @@ -228771,7 +229143,7 @@ webhooks: type: string required: - conclusion - deployment: *464 + deployment: *465 required: - action - repository @@ -228850,10 +229222,10 @@ webhooks: type: string enum: - in_progress - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 workflow_job: allOf: @@ -229135,7 +229507,7 @@ webhooks: required: - status - steps - deployment: *464 + deployment: *465 required: - action - repository @@ -229214,10 +229586,10 @@ webhooks: type: string enum: - queued - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 workflow_job: type: object @@ -229363,7 +229735,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *465 required: - action - repository @@ -229442,10 +229814,10 @@ webhooks: type: string enum: - waiting - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 workflow_job: type: object @@ -229592,7 +229964,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *465 required: - action - repository @@ -229672,12 +230044,12 @@ webhooks: type: string enum: - completed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: *703 + workflow: *706 workflow_run: title: Workflow Run type: object @@ -230696,12 +231068,12 @@ webhooks: type: string enum: - in_progress - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: *703 + workflow: *706 workflow_run: title: Workflow Run type: object @@ -231705,12 +232077,12 @@ webhooks: type: string enum: - requested - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: *703 + workflow: *706 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 45acc0ce8..2d71ee308 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -72658,7 +72658,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -73979,7 +73982,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -90760,7 +90766,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -96950,7 +96959,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -98680,7 +98692,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -112278,7 +112293,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -115369,7 +115387,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -122105,7 +122126,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -123508,7 +123532,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -148741,7 +148768,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -151096,7 +151126,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -159521,7 +159554,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -163359,7 +163395,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -164668,7 +164707,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -168003,7 +168045,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -170238,7 +170283,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -198133,6 +198181,804 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", @@ -202239,7 +203085,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -223532,7 +224381,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -231065,7 +231917,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253747,7 +254602,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -254601,7 +255459,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -256569,7 +257430,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -257423,7 +258287,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -260221,7 +261088,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -261075,7 +261945,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -268338,7 +269211,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -269192,7 +270068,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -305961,7 +306840,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -307880,7 +308762,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -309309,7 +310194,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -311076,7 +311964,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -318217,14 +319108,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": [ { @@ -326360,7 +327251,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -328458,7 +329352,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -330192,7 +331089,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -333951,7 +334851,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -348801,7 +349704,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -350159,7 +351065,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -384132,7 +385041,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -400683,7 +401595,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -402175,7 +403090,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -506022,7 +506940,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -534830,7 +535751,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -536564,7 +537488,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -603594,7 +604521,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -609637,7 +610567,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -610781,7 +611714,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -612403,7 +613339,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -622603,7 +623542,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -628053,7 +628995,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -630342,7 +631287,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -632076,7 +633024,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -634119,7 +635070,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -636209,7 +637163,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -638115,7 +639072,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -646462,7 +647422,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -648456,7 +649419,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -650185,7 +651151,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -669310,7 +670279,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -670881,7 +671853,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -672129,7 +673104,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -680895,7 +681873,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -686720,7 +687701,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -696445,266 +697429,1064 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\"", + "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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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": false, "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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "subcategory": "views" } } }, @@ -699312,7 +701094,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -736588,7 +738373,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -737897,7 +739685,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -781695,7 +783486,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -786171,7 +787965,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -798942,7 +800739,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -803903,7 +805703,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -808864,7 +810667,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -813838,7 +815644,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 273ca19f4..6db5a69e9 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &298 + type: &299 type: string description: The type of credit the user is receiving. enum: @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &613 + - &614 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -9170,7 +9170,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 - - &454 + - &455 name: has in: query description: |- @@ -9290,7 +9290,7 @@ paths: - direct - transitive - - security_advisory: &455 + security_advisory: &456 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9558,7 +9558,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &456 + auto_dismissed_at: &457 type: - string - 'null' @@ -9566,7 +9566,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &457 + dismissal_request: &458 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10957,7 +10957,7 @@ paths: properties: action: type: string - discussion: &704 + discussion: &707 title: Discussion description: A Discussion in a repository. type: object @@ -11743,7 +11743,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &625 + sub_issues_summary: &626 title: Sub-issues Summary type: object properties: @@ -11764,7 +11764,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &626 + issue_dependencies_summary: &627 title: Issue Dependencies Summary type: object properties: @@ -11783,7 +11783,7 @@ paths: - total_blocking issue_field_values: type: array - items: &627 + items: &628 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11896,7 +11896,7 @@ paths: action: type: string issue: *71 - comment: &504 + comment: &505 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12619,7 +12619,7 @@ paths: type: string release: allOf: - - &558 + - &559 title: Release description: A release. type: object @@ -12701,7 +12701,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &560 title: Release Asset description: Data related to a release. type: object @@ -13304,7 +13304,7 @@ paths: url: type: string format: uri - user: &633 + user: &634 title: Public User description: Public User type: object @@ -16661,14 +16661,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &308 + - &309 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &309 + - &310 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16730,7 +16730,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &312 + '301': &313 description: Moved permanently content: application/json: @@ -16752,7 +16752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &535 name: all description: If `true`, show notifications marked as read. in: query @@ -16760,7 +16760,7 @@ paths: schema: type: boolean default: false - - &535 + - &536 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16770,7 +16770,7 @@ paths: type: boolean default: false - *77 - - &536 + - &537 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: @@ -17120,7 +17120,9 @@ paths: spdx_id: type: string url: - type: string + type: + - string + - 'null' node_id: type: string forks: @@ -17141,7 +17143,7 @@ paths: type: boolean examples: - false - security_and_analysis: &265 + security_and_analysis: &266 type: - object - 'null' @@ -17306,7 +17308,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &538 value: - id: '1' repository: @@ -18836,7 +18838,7 @@ paths: required: false schema: type: string - - &681 + - &684 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18982,7 +18984,7 @@ paths: parameters: - *66 - *107 - - &682 + - &685 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 @@ -19094,7 +19096,7 @@ paths: - *107 - *109 - *108 - - &683 + - &686 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -19102,7 +19104,7 @@ paths: schema: type: string - *110 - - &684 + - &687 name: sku description: The SKU to query for usage. in: query @@ -20081,7 +20083,7 @@ paths: type: integer repository_cache_usages: type: array - items: &319 + items: &320 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21319,7 +21321,7 @@ paths: - all - local_only - selected - selected_actions_url: &325 + selected_actions_url: &326 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` @@ -21402,7 +21404,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &330 type: object properties: days: @@ -21444,7 +21446,7 @@ paths: required: true content: application/json: - schema: &330 + schema: &331 type: object properties: days: @@ -21501,7 +21503,7 @@ paths: required: - approval_policy examples: - default: &331 + default: &332 value: approval_policy: first_time_contributors '404': *6 @@ -21560,7 +21562,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 type: object required: - run_workflows_from_fork_pull_requests @@ -21614,7 +21616,7 @@ paths: required: true content: application/json: - schema: &333 + schema: &334 type: object required: - run_workflows_from_fork_pull_requests @@ -22249,7 +22251,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 type: object properties: default_workflow_permissions: &137 @@ -22300,7 +22302,7 @@ paths: required: false content: application/json: - schema: &335 + schema: &336 type: object properties: default_workflow_permissions: *137 @@ -22793,7 +22795,7 @@ paths: type: array items: *144 examples: - default: &636 + default: &637 value: total_count: 1 repositories: @@ -23440,7 +23442,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 title: Runner Application description: Runner Application type: object @@ -23465,7 +23467,7 @@ paths: - download_url - filename examples: - default: &337 + default: &338 value: - os: osx architecture: x64 @@ -23551,7 +23553,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &338 + '201': &339 description: Response content: application/json: @@ -23666,7 +23668,7 @@ paths: - token - expires_at examples: - default: &339 + default: &340 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -23705,7 +23707,7 @@ paths: application/json: schema: *148 examples: - default: &340 + default: &341 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -23739,7 +23741,7 @@ paths: application/json: schema: *146 examples: - default: &341 + default: &342 value: id: 23 name: MBP @@ -23965,7 +23967,7 @@ paths: - *66 - *145 responses: - '200': &342 + '200': &343 description: Response content: application/json: @@ -24022,7 +24024,7 @@ paths: parameters: - *66 - *145 - - &343 + - &344 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24154,7 +24156,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &356 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -24189,7 +24191,7 @@ paths: - key_id - key examples: - default: &356 + default: &357 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24602,7 +24604,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *66 - - &324 + - &325 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)." @@ -25764,12 +25766,12 @@ paths: required: - subject_digests examples: - default: &663 + default: &666 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &664 + withPredicateType: &667 value: subject_digests: - sha256:abc123 @@ -25828,7 +25830,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &665 + default: &668 value: attestations_subject_digests: - sha256:abc: @@ -26177,7 +26179,7 @@ paths: initiator: type: string examples: - default: &369 + default: &370 value: attestations: - bundle: @@ -27133,7 +27135,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *66 - - &393 + - &394 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`, @@ -27143,7 +27145,7 @@ paths: schema: &169 type: string description: The name of the tool used to generate the code scanning analysis. - - &394 + - &395 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 @@ -27167,7 +27169,7 @@ paths: be returned. in: query required: false - schema: &396 + schema: &397 type: string description: State of a code scanning alert. enum: @@ -27190,7 +27192,7 @@ paths: be returned. in: query required: false - schema: &397 + schema: &398 type: string description: Severity of a code scanning alert. enum: @@ -27224,7 +27226,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: &398 + instances_url: &399 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -27246,7 +27248,7 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: &399 + dismissed_reason: &400 type: - string - 'null' @@ -27257,14 +27259,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &400 + dismissed_comment: &401 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &401 + rule: &402 type: object properties: id: @@ -27325,7 +27327,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &402 + tool: &403 type: object properties: name: *169 @@ -27336,26 +27338,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *170 - most_recent_instance: &403 + most_recent_instance: &404 type: object properties: - ref: &395 + ref: &396 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &413 + analysis_key: &414 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: &414 + environment: &415 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: &415 + category: &416 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -27369,7 +27371,7 @@ paths: properties: text: type: string - location: &416 + location: &417 type: object description: Describe a region within a file for the alert. properties: @@ -27390,7 +27392,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: &417 + items: &418 type: - string - 'null' @@ -28684,7 +28686,7 @@ paths: machine: anyOf: - type: 'null' - - &429 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29636,7 +29638,7 @@ paths: - updated_at - visibility examples: - default: &430 + default: &431 value: total_count: 2 secrets: @@ -29674,7 +29676,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &432 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -29709,7 +29711,7 @@ paths: - key_id - key examples: - default: &432 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29741,7 +29743,7 @@ paths: application/json: schema: *178 examples: - default: &434 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30739,7 +30741,7 @@ paths: application/json: schema: type: array - items: &302 + items: &303 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -31054,7 +31056,7 @@ paths: - date additionalProperties: true examples: - default: &303 + default: &304 value: - date: '2024-06-24' total_active_users: 24 @@ -31156,7 +31158,7 @@ paths: '500': *104 '403': *27 '404': *6 - '422': &304 + '422': &305 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -31364,7 +31366,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &461 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -31383,7 +31385,7 @@ paths: - key_id - key examples: - default: &461 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33211,7 +33213,7 @@ paths: application/json: schema: *20 examples: - default: &499 + default: &500 value: id: 1 account: @@ -33439,7 +33441,7 @@ paths: required: true content: application/json: - schema: &500 + schema: &501 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -34299,7 +34301,7 @@ paths: application/json: schema: *220 examples: - default: &428 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35561,7 +35563,7 @@ paths: parameters: - *66 - *227 - - &648 + - &649 name: repo_name description: repo_name parameter in: path @@ -36620,7 +36622,7 @@ paths: - nuget - container - *66 - - &649 + - &650 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -36661,7 +36663,7 @@ paths: default: *233 '403': *27 '401': *23 - '400': &651 + '400': &652 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38487,7 +38489,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &732 + - &735 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -38761,7 +38763,7 @@ paths: content: oneOf: - *71 - - &443 + - &444 title: Pull Request Simple description: Pull Request Simple type: object @@ -39006,7 +39008,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: &544 + auto_merge: &545 title: Auto merge description: The status of auto merging a pull request. type: @@ -39388,7 +39390,7 @@ paths: - updated_at - project_url examples: - default: &668 + default: &671 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39565,7 +39567,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &669 + items: &672 type: object properties: name: @@ -39601,7 +39603,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &670 + iteration_configuration: &673 type: object description: The configuration for iteration fields. properties: @@ -39650,7 +39652,7 @@ paths: value: name: Due date data_type: date - single_select_field: &671 + single_select_field: &674 summary: Create a single select field value: name: Priority @@ -39677,7 +39679,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &672 + iteration_field: &675 summary: Create an iteration field value: name: Sprint @@ -39703,7 +39705,7 @@ paths: application/json: schema: *253 examples: - text_field: &673 + text_field: &676 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -39712,7 +39714,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: &674 + number_field: &677 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -39721,7 +39723,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: &675 + date_field: &678 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -39730,7 +39732,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: &676 + single_select_field: &679 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39764,7 +39766,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &677 + iteration_field: &680 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -39810,7 +39812,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *250 - - &678 + - &681 name: field_id description: The unique identifier of the field. in: path @@ -39825,7 +39827,7 @@ paths: application/json: schema: *253 examples: - default: &679 + default: &682 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40948,6 +40950,262 @@ 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: + - *66 + - *250 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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: &663 + 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. + examples: + - https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + examples: + - https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + description: The time when the view was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the view was last updated. + examples: + - '2022-04-28T12:00:00Z' + filter: + type: + - string + - 'null' + description: The filter query for the view. + examples: + - 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: &260 + 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: *260 + roadmap_view: + summary: Response for creating a roadmap view + value: *260 + '304': *35 + '403': *27 + '401': *23 + '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 @@ -40962,7 +41220,7 @@ paths: parameters: - *250 - *66 - - &680 + - &683 name: view_number description: The number that identifies the project view. in: path @@ -41029,7 +41287,7 @@ paths: application/json: schema: type: array - items: &260 + items: &261 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -41104,7 +41362,7 @@ paths: - property_name - value_type examples: - default: &261 + default: &262 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41163,7 +41421,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *260 + items: *261 minItems: 1 maxItems: 100 required: @@ -41193,9 +41451,9 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: - default: *261 + default: *262 '403': *27 '404': *6 x-github: @@ -41217,7 +41475,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *66 - - &262 + - &263 name: custom_property_name description: The custom property name in: path @@ -41229,9 +41487,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: &263 + default: &264 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -41266,7 +41524,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *66 - - *262 + - *263 requestBody: required: true content: @@ -41343,9 +41601,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *263 + default: *264 '403': *27 '404': *6 x-github: @@ -41369,7 +41627,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *66 - - *262 + - *263 responses: '204': *175 '403': *27 @@ -41433,7 +41691,7 @@ paths: - octocat/Hello-World properties: type: array - items: &264 + items: &265 title: Custom Property Value description: Custom property name and associated value type: object @@ -41523,7 +41781,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *264 + items: *265 required: - repository_names - properties @@ -41918,7 +42176,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: Full Repository description: Full Repository type: object @@ -42383,7 +42641,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &448 + code_of_conduct: &449 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42413,7 +42671,7 @@ paths: - key - name - html_url - security_and_analysis: *265 + security_and_analysis: *266 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42497,7 +42755,7 @@ paths: - network_count - subscribers_count examples: - default: &313 + default: &314 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43018,7 +43276,7 @@ paths: - *66 - *17 - *19 - - &566 + - &567 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43037,7 +43295,7 @@ paths: application/json: schema: type: array - items: &292 + items: &293 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -43072,7 +43330,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &269 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -43085,7 +43343,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &270 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -43156,7 +43414,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &266 + - &267 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -43180,7 +43438,7 @@ paths: match. items: type: string - - &270 + - &271 title: Organization ruleset conditions type: object description: |- @@ -43194,7 +43452,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -43228,7 +43486,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -43250,7 +43508,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -43263,7 +43521,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &268 title: Repository ruleset property targeting definition type: object @@ -43296,7 +43554,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *268 required: - repository_property type: @@ -43304,12 +43562,12 @@ paths: - object rules: type: array - items: &567 + items: &568 title: Repository Rule type: object description: A repository rule. oneOf: - - &271 + - &272 title: creation description: Only allow users with bypass permission to create matching refs. @@ -43321,7 +43579,7 @@ paths: type: string enum: - creation - - &272 + - &273 title: update description: Only allow users with bypass permission to update matching refs. @@ -43342,7 +43600,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &273 + - &274 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -43354,7 +43612,7 @@ paths: type: string enum: - deletion - - &274 + - &275 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43366,7 +43624,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &566 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -43444,7 +43702,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &275 + - &276 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -43468,7 +43726,7 @@ paths: type: string required: - required_deployment_environments - - &276 + - &277 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -43480,7 +43738,7 @@ paths: type: string enum: - required_signatures - - &277 + - &278 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -43586,7 +43844,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &278 + - &279 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -43634,7 +43892,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &279 + - &280 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -43646,7 +43904,7 @@ paths: type: string enum: - non_fast_forward - - &280 + - &281 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -43682,7 +43940,7 @@ paths: required: - operator - pattern - - &281 + - &282 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -43718,7 +43976,7 @@ paths: required: - operator - pattern - - &282 + - &283 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43754,7 +44012,7 @@ paths: required: - operator - pattern - - &283 + - &284 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43790,7 +44048,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43826,7 +44084,7 @@ paths: required: - operator - pattern - - &285 + - &286 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -43851,7 +44109,7 @@ paths: type: string required: - restricted_file_paths - - &286 + - &287 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -43875,7 +44133,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &287 + - &288 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -43898,7 +44156,7 @@ paths: type: string required: - restricted_file_extensions - - &288 + - &289 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -43923,7 +44181,7 @@ paths: maximum: 100 required: - max_file_size - - &289 + - &290 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -43973,7 +44231,7 @@ paths: - repository_id required: - workflows - - &290 + - &291 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -44034,7 +44292,7 @@ paths: - tool required: - code_scanning_tools - - &291 + - &292 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -44133,21 +44391,20 @@ paths: - push - repository default: branch - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *270 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: &294 + items: &295 title: Repository Rule type: object description: A repository rule. oneOf: - - *271 - *272 - *273 - *274 @@ -44168,6 +44425,7 @@ paths: - *289 - *290 - *291 + - *292 required: - name - enforcement @@ -44205,9 +44463,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &293 + default: &294 value: id: 21 name: super cool ruleset @@ -44262,7 +44520,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *66 - - &568 + - &569 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 @@ -44277,7 +44535,7 @@ paths: in: query schema: type: string - - &569 + - &570 name: time_period description: |- The time period to filter by. @@ -44293,14 +44551,14 @@ paths: - week - month default: day - - &570 + - &571 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 - - &571 + - &572 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44320,7 +44578,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &573 title: Rule Suites description: Response type: array @@ -44376,7 +44634,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &573 + default: &574 value: - id: 21 actor_id: 12 @@ -44420,7 +44678,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *66 - - &574 + - &575 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44436,7 +44694,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &576 title: Rule Suite description: Response type: object @@ -44543,7 +44801,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &576 + default: &577 value: id: 21 actor_id: 12 @@ -44616,9 +44874,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '500': *104 put: @@ -44662,16 +44920,16 @@ paths: - tag - push - repository - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *270 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *294 + items: *295 examples: default: value: @@ -44706,9 +44964,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '500': *104 delete: @@ -44765,7 +45023,7 @@ paths: application/json: schema: type: array - items: &295 + items: &296 title: Ruleset version type: object description: The historical version of a ruleset @@ -44789,7 +45047,7 @@ paths: type: string format: date-time examples: - default: &578 + default: &579 value: - version_id: 3 actor: @@ -44842,9 +45100,9 @@ paths: description: Response content: application/json: - schema: &579 + schema: &580 allOf: - - *295 + - *296 - type: object required: - state @@ -44914,7 +45172,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *66 - - &580 + - &581 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -44925,7 +45183,7 @@ paths: enum: - open - resolved - - &581 + - &582 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -44935,7 +45193,7 @@ paths: required: false schema: type: string - - &582 + - &583 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -44944,7 +45202,7 @@ paths: required: false schema: type: string - - &583 + - &584 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -44963,7 +45221,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &584 + - &585 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. @@ -44978,7 +45236,7 @@ paths: - *51 - *19 - *17 - - &585 + - &586 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 @@ -44988,7 +45246,7 @@ paths: required: false schema: type: string - - &586 + - &587 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 @@ -44998,7 +45256,7 @@ paths: required: false schema: type: string - - &587 + - &588 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -45007,7 +45265,7 @@ paths: required: false schema: type: string - - &588 + - &589 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -45016,7 +45274,7 @@ paths: schema: type: boolean default: false - - &589 + - &590 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -45025,7 +45283,7 @@ paths: schema: type: boolean default: false - - &590 + - &591 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -45057,14 +45315,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &591 + state: &592 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: &592 + resolution: &593 type: - string - 'null' @@ -45171,14 +45429,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &593 + - &594 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &595 + - &596 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -45235,7 +45493,7 @@ paths: - blob_url - commit_sha - commit_url - - &596 + - &597 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. @@ -45296,7 +45554,7 @@ paths: - page_url - commit_sha - commit_url - - &597 + - &598 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -45311,7 +45569,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &598 + - &599 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -45326,7 +45584,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &599 + - &600 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -45341,7 +45599,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &600 + - &601 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -45356,7 +45614,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &601 + - &602 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -45371,7 +45629,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &602 + - &603 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -45386,7 +45644,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &603 + - &604 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. @@ -45401,7 +45659,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &604 + - &605 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. @@ -45416,7 +45674,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &605 + - &606 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. @@ -45431,7 +45689,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &606 + - &607 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. @@ -45446,7 +45704,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &607 + - &608 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 @@ -45686,7 +45944,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &297 + pattern_config_version: &298 type: - string - 'null' @@ -45696,7 +45954,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &296 + items: &297 type: object properties: token_type: @@ -45765,7 +46023,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *296 + items: *297 examples: default: value: @@ -45822,7 +46080,7 @@ paths: schema: type: object properties: - pattern_config_version: *297 + pattern_config_version: *298 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -45848,7 +46106,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *297 + custom_pattern_version: *298 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -45946,7 +46204,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 description: A repository security advisory. type: object properties: @@ -46190,7 +46448,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 credits_detailed: type: - array @@ -46201,7 +46459,7 @@ paths: type: object properties: user: *4 - type: *298 + type: *299 state: type: string description: The state of the user's acceptance of the @@ -46265,7 +46523,7 @@ paths: - private_fork additionalProperties: false examples: - default: &612 + default: &613 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46992,7 +47250,7 @@ paths: type: integer network_configurations: type: array - items: &299 + items: &300 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -47131,9 +47389,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: &300 + default: &301 value: id: 123456789ABCDEF name: My network configuration @@ -47162,7 +47420,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *66 - - &301 + - &302 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -47174,9 +47432,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 headers: Link: *57 x-github: @@ -47198,7 +47456,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *66 - - *301 + - *302 requestBody: required: true content: @@ -47237,9 +47495,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47259,7 +47517,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *66 - - *301 + - *302 responses: '204': description: Response @@ -47404,13 +47662,13 @@ paths: application/json: schema: type: array - items: *302 + items: *303 examples: - default: *303 + default: *304 '500': *104 '403': *27 '404': *6 - '422': *304 + '422': *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47534,7 +47792,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &306 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -47933,7 +48191,7 @@ paths: - repos_count - organization examples: - default: &306 + default: &307 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48010,9 +48268,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 x-github: githubCloudOnly: false @@ -48097,16 +48355,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '201': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 '422': *15 '403': *27 @@ -48253,7 +48511,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &308 title: Team Membership description: Team Membership type: object @@ -48281,7 +48539,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &629 + response-if-user-is-a-team-maintainer: &630 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48344,9 +48602,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: &630 + response-if-users-membership-with-team-is-now-pending: &631 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48453,14 +48711,14 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &631 + schema: &632 title: Team Repository description: A team's access to a repository. type: object @@ -49103,8 +49361,8 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 requestBody: required: false content: @@ -49151,8 +49409,8 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 responses: '204': description: Response @@ -49189,7 +49447,7 @@ paths: type: array items: *179 examples: - response-if-child-teams-exist: &632 + response-if-child-teams-exist: &633 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49343,7 +49601,7 @@ paths: resources: type: object properties: - core: &310 + core: &311 title: Rate Limit type: object properties: @@ -49360,21 +49618,21 @@ paths: - remaining - reset - used - graphql: *310 - search: *310 - code_search: *310 - source_import: *310 - integration_manifest: *310 - code_scanning_upload: *310 - actions_runner_registration: *310 - scim: *310 - dependency_snapshots: *310 - dependency_sbom: *310 - code_scanning_autofix: *310 + graphql: *311 + search: *311 + code_search: *311 + source_import: *311 + integration_manifest: *311 + code_scanning_upload: *311 + actions_runner_registration: *311 + scim: *311 + dependency_snapshots: *311 + dependency_sbom: *311 + code_scanning_autofix: *311 required: - core - search - rate: *310 + rate: *311 required: - rate - resources @@ -49479,14 +49737,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: default-response: summary: Default response @@ -49987,7 +50245,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *312 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50005,8 +50263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -50254,10 +50512,10 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 - '307': &314 + default: *314 + '307': &315 description: Temporary Redirect content: application/json: @@ -50286,8 +50544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -50309,7 +50567,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *314 + '307': *315 '404': *6 '409': *50 x-github: @@ -50333,11 +50591,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 - - &347 + - &348 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50360,7 +50618,7 @@ paths: type: integer artifacts: type: array - items: &315 + items: &316 title: Artifact description: An artifact type: object @@ -50455,7 +50713,7 @@ paths: - expires_at - updated_at examples: - default: &348 + default: &349 value: total_count: 2 artifacts: @@ -50516,9 +50774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *308 - *309 - - &316 + - *310 + - &317 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50530,7 +50788,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: default: value: @@ -50568,9 +50826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *308 - *309 - - *316 + - *310 + - *317 responses: '204': description: Response @@ -50594,9 +50852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *308 - *309 - - *316 + - *310 + - *317 - name: archive_format in: path required: true @@ -50610,7 +50868,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': &503 + '410': &504 description: Gone content: application/json: @@ -50635,14 +50893,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &317 + schema: &318 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -50676,13 +50934,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *317 + schema: *318 examples: selected_actions: *40 responses: @@ -50711,14 +50969,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &318 + schema: &319 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -50752,13 +51010,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *318 + schema: *319 examples: selected_actions: *42 responses: @@ -50789,14 +51047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -50822,11 +51080,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 - - &320 + - &321 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 @@ -50860,7 +51118,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Repository actions caches description: Repository actions caches type: object @@ -50910,7 +51168,7 @@ paths: - total_count - actions_caches examples: - default: &322 + default: &323 value: total_count: 1 actions_caches: @@ -50942,23 +51200,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: - - *308 - *309 + - *310 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *320 + - *321 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50978,8 +51236,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: - - *308 - *309 + - *310 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -51010,9 +51268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *308 - *309 - - &323 + - *310 + - &324 name: job_id description: The unique identifier of the job. in: path @@ -51024,7 +51282,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &352 title: Job description: Information of a job execution in a workflow run type: object @@ -51371,9 +51629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *308 - *309 - - *323 + - *310 + - *324 responses: '302': description: Response @@ -51401,9 +51659,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *308 - *309 - - *323 + - *310 + - *324 requestBody: required: false content: @@ -51449,8 +51707,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: - - *308 - *309 + - *310 responses: '200': description: Status response @@ -51500,8 +51758,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -51564,8 +51822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -51583,7 +51841,7 @@ paths: type: integer secrets: type: array - items: &353 + items: &354 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51604,7 +51862,7 @@ paths: - created_at - updated_at examples: - default: &354 + default: &355 value: total_count: 2 secrets: @@ -51637,9 +51895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *308 - *309 - - *324 + - *310 + - *325 - *19 responses: '200': @@ -51656,7 +51914,7 @@ paths: type: integer variables: type: array - items: &357 + items: &358 title: Actions Variable type: object properties: @@ -51690,7 +51948,7 @@ paths: - created_at - updated_at examples: - default: &358 + default: &359 value: total_count: 2 variables: @@ -51723,8 +51981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51733,11 +51991,11 @@ paths: schema: type: object properties: - enabled: &326 + enabled: &327 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *129 - selected_actions_url: *325 + selected_actions_url: *326 sha_pinning_required: *130 required: - enabled @@ -51766,8 +52024,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -51778,7 +52036,7 @@ paths: schema: type: object properties: - enabled: *326 + enabled: *327 allowed_actions: *129 sha_pinning_required: *130 required: @@ -51810,14 +52068,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: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &327 + schema: &328 type: object properties: access_level: @@ -51834,7 +52092,7 @@ paths: required: - access_level examples: - default: &328 + default: &329 value: access_level: organization x-github: @@ -51858,15 +52116,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: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *327 + schema: *328 examples: - default: *328 + default: *329 responses: '204': description: Response @@ -51890,14 +52148,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: default: value: @@ -51921,8 +52179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Empty response for successful settings update @@ -51932,7 +52190,7 @@ paths: required: true content: application/json: - schema: *330 + schema: *331 examples: default: summary: Set retention days @@ -51956,8 +52214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -51965,7 +52223,7 @@ paths: application/json: schema: *131 examples: - default: *331 + default: *332 '404': *6 x-github: enabledForGitHubApps: true @@ -51984,8 +52242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -52019,14 +52277,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: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: default: *132 '403': *27 @@ -52048,13 +52306,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: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *333 + schema: *334 examples: default: *132 responses: @@ -52080,8 +52338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -52108,8 +52366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -52141,14 +52399,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *334 + schema: *335 examples: default: *139 x-github: @@ -52171,8 +52429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Success response @@ -52183,7 +52441,7 @@ paths: required: true content: application/json: - schema: *335 + schema: *336 examples: default: *139 x-github: @@ -52212,8 +52470,8 @@ paths: in: query schema: type: string - - *308 - *309 + - *310 - *17 - *19 responses: @@ -52257,8 +52515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -52266,9 +52524,9 @@ paths: application/json: schema: type: array - items: *336 + items: *337 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52290,8 +52548,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -52334,7 +52592,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *338 + '201': *339 '404': *6 '422': *7 '409': *50 @@ -52365,8 +52623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -52374,7 +52632,7 @@ paths: application/json: schema: *148 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52402,8 +52660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -52411,7 +52669,7 @@ paths: application/json: schema: *148 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52433,8 +52691,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: - - *308 - *309 + - *310 - *145 responses: '200': @@ -52443,7 +52701,7 @@ paths: application/json: schema: *146 examples: - default: *341 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52464,8 +52722,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: - - *308 - *309 + - *310 - *145 responses: '204': @@ -52492,8 +52750,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: - - *308 - *309 + - *310 - *145 responses: '200': *150 @@ -52518,8 +52776,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: - - *308 - *309 + - *310 - *145 requestBody: required: true @@ -52568,8 +52826,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: - - *308 - *309 + - *310 - *145 requestBody: required: true @@ -52619,11 +52877,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: - - *308 - *309 + - *310 - *145 responses: - '200': *342 + '200': *343 '404': *6 x-github: githubCloudOnly: false @@ -52650,10 +52908,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: - - *308 - *309 + - *310 - *145 - - *343 + - *344 responses: '200': *150 '404': *6 @@ -52681,9 +52939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *308 - *309 - - &361 + - *310 + - &362 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. @@ -52691,7 +52949,7 @@ paths: required: false schema: type: string - - &362 + - &363 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52699,7 +52957,7 @@ paths: required: false schema: type: string - - &363 + - &364 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52708,7 +52966,7 @@ paths: required: false schema: type: string - - &364 + - &365 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 @@ -52735,7 +52993,7 @@ paths: - pending - *17 - *19 - - &365 + - &366 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)." @@ -52744,7 +53002,7 @@ paths: schema: type: string format: date-time - - &344 + - &345 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52753,13 +53011,13 @@ paths: schema: type: boolean default: false - - &366 + - &367 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &367 + - &368 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52782,7 +53040,7 @@ paths: type: integer workflow_runs: type: array - items: &345 + items: &346 title: Workflow Run description: An invocation of a workflow type: object @@ -52960,7 +53218,7 @@ paths: head_commit: anyOf: - type: 'null' - - &389 + - &390 title: Simple Commit description: A commit. type: object @@ -53075,7 +53333,7 @@ paths: - workflow_url - pull_requests examples: - default: &368 + default: &369 value: total_count: 1 workflow_runs: @@ -53311,24 +53569,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *308 - *309 - - &346 + - *310 + - &347 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: &349 + default: &350 value: id: 30433642 name: Build @@ -53569,9 +53827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '204': description: Response @@ -53594,9 +53852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '200': description: Response @@ -53724,9 +53982,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: - - *308 - *309 - - *346 + - *310 + - *347 responses: '201': description: Response @@ -53759,12 +54017,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *308 - *309 - - *346 + - *310 + - *347 - *17 - *19 - - *347 + - *348 responses: '200': description: Response @@ -53780,9 +54038,9 @@ paths: type: integer artifacts: type: array - items: *315 + items: *316 examples: - default: *348 + default: *349 headers: Link: *57 x-github: @@ -53806,25 +54064,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *308 - *309 - - *346 - - &350 + - *310 + - *347 + - &351 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *349 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53847,10 +54105,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *308 - *309 - - *346 - - *350 + - *310 + - *347 + - *351 - *17 - *19 responses: @@ -53868,9 +54126,9 @@ paths: type: integer jobs: type: array - items: *351 + items: *352 examples: - default: &352 + default: &353 value: total_count: 1 jobs: @@ -53983,10 +54241,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *308 - *309 - - *346 - - *350 + - *310 + - *347 + - *351 responses: '302': description: Response @@ -54014,9 +54272,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '202': description: Response @@ -54049,9 +54307,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: - - *308 - *309 - - *346 + - *310 + - *347 requestBody: required: true content: @@ -54118,9 +54376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '202': description: Response @@ -54153,9 +54411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 - 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 @@ -54185,9 +54443,9 @@ paths: type: integer jobs: type: array - items: *351 + items: *352 examples: - default: *352 + default: *353 headers: Link: *57 x-github: @@ -54212,9 +54470,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '302': description: Response @@ -54241,9 +54499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '204': description: Response @@ -54270,9 +54528,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '200': description: Response @@ -54341,7 +54599,7 @@ paths: items: type: object properties: - type: &469 + type: &470 type: string description: The type of reviewer. enum: @@ -54427,9 +54685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 requestBody: required: true content: @@ -54479,7 +54737,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54591,7 +54849,7 @@ paths: - created_at - updated_at examples: - default: &465 + default: &466 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54647,9 +54905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *308 - *309 - - *346 + - *310 + - *347 requestBody: required: false content: @@ -54694,9 +54952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *308 - *309 - - *346 + - *310 + - *347 requestBody: required: false content: @@ -54750,9 +55008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *308 - *309 - - *346 + - *310 + - *347 responses: '200': description: Response @@ -54889,8 +55147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -54908,9 +55166,9 @@ paths: type: integer secrets: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *57 x-github: @@ -54935,16 +55193,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54966,17 +55224,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '200': description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: &482 + default: &483 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55002,8 +55260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 requestBody: required: true @@ -55061,8 +55319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '204': @@ -55088,9 +55346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *308 - *309 - - *324 + - *310 + - *325 - *19 responses: '200': @@ -55107,9 +55365,9 @@ paths: type: integer variables: type: array - items: *357 + items: *358 examples: - default: *358 + default: *359 headers: Link: *57 x-github: @@ -55132,8 +55390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -55185,17 +55443,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *308 - *309 + - *310 - *155 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: &483 + default: &484 value: name: USERNAME value: octocat @@ -55221,8 +55479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *308 - *309 + - *310 - *155 requestBody: required: true @@ -55265,8 +55523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *308 - *309 + - *310 - *155 responses: '204': @@ -55292,8 +55550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -55311,7 +55569,7 @@ paths: type: integer workflows: type: array - items: &359 + items: &360 title: Workflow description: A GitHub Actions workflow type: object @@ -55429,9 +55687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *308 - *309 - - &360 + - *310 + - &361 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55446,7 +55704,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -55479,9 +55737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *308 - *309 - - *360 + - *310 + - *361 responses: '204': description: Response @@ -55506,9 +55764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *308 - *309 - - *360 + - *310 + - *361 responses: '204': description: Response @@ -55559,9 +55817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *308 - *309 - - *360 + - *310 + - *361 responses: '204': description: Response @@ -55588,19 +55846,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *308 - *309 - - *360 + - *310 - *361 - *362 - *363 - *364 + - *365 - *17 - *19 - - *365 - - *344 - *366 + - *345 - *367 + - *368 responses: '200': description: Response @@ -55616,9 +55874,9 @@ paths: type: integer workflow_runs: type: array - items: *345 + items: *346 examples: - default: *368 + default: *369 headers: Link: *57 x-github: @@ -55650,9 +55908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *308 - *309 - - *360 + - *310 + - *361 responses: '200': description: Response @@ -55713,8 +55971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *308 - *309 + - *310 - *51 - *17 - *43 @@ -55882,8 +56140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -55920,8 +56178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *308 - *309 + - *310 - name: assignee in: path required: true @@ -55957,8 +56215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -56070,8 +56328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *308 - *309 + - *310 - *17 - *43 - *44 @@ -56128,7 +56386,7 @@ paths: initiator: type: string examples: - default: *369 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56148,8 +56406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -56157,7 +56415,7 @@ paths: application/json: schema: type: array - items: &370 + items: &371 title: Autolink reference description: An autolink reference. type: object @@ -56216,8 +56474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -56256,9 +56514,9 @@ paths: description: response content: application/json: - schema: *370 + schema: *371 examples: - default: &371 + default: &372 value: id: 1 key_prefix: TICKET- @@ -56289,9 +56547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *308 - *309 - - &372 + - *310 + - &373 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56303,9 +56561,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *371 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -56325,9 +56583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *308 - *309 - - *372 + - *310 + - *373 responses: '204': description: Response @@ -56351,8 +56609,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: - - *308 - *309 + - *310 responses: '200': description: Response if Dependabot is enabled @@ -56402,8 +56660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -56424,8 +56682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -56445,8 +56703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *308 - *309 + - *310 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56484,7 +56742,7 @@ paths: - url protected: type: boolean - protection: &374 + protection: &375 title: Branch Protection description: Branch Protection type: object @@ -56527,7 +56785,7 @@ paths: required: - contexts - checks - enforce_admins: &377 + enforce_admins: &378 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56544,7 +56802,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &379 + required_pull_request_reviews: &380 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56628,7 +56886,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &376 + restrictions: &377 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56921,9 +57179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *308 - *309 - - &375 + - *310 + - &376 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). @@ -56937,14 +57195,14 @@ paths: description: Response content: application/json: - schema: &385 + schema: &386 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &439 + commit: &440 title: Commit description: Commit type: object @@ -56983,7 +57241,7 @@ paths: author: anyOf: - type: 'null' - - &373 + - &374 title: Git User description: Metaproperties for Git author/committer information. @@ -57005,7 +57263,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 message: type: string examples: @@ -57029,7 +57287,7 @@ paths: required: - sha - url - verification: &489 + verification: &490 title: Verification type: object properties: @@ -57109,7 +57367,7 @@ paths: type: integer files: type: array - items: &450 + items: &451 title: Diff Entry description: Diff Entry type: object @@ -57205,7 +57463,7 @@ paths: - self protected: type: boolean - protection: *374 + protection: *375 protection_url: type: string format: uri @@ -57314,7 +57572,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *312 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -57336,15 +57594,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: default: value: @@ -57538,9 +57796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -57800,7 +58058,7 @@ paths: url: type: string format: uri - required_status_checks: &382 + required_status_checks: &383 title: Status Check Policy description: Status Check Policy type: object @@ -57959,7 +58217,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *376 + restrictions: *377 required_conversation_resolution: type: object properties: @@ -58071,9 +58329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58098,17 +58356,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &378 + default: &379 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58130,17 +58388,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58159,9 +58417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58186,17 +58444,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: &380 + default: &381 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58292,9 +58550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -58392,9 +58650,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -58415,9 +58673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58444,17 +58702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &381 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58477,17 +58735,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *381 + default: *382 '404': *6 x-github: githubCloudOnly: false @@ -58507,9 +58765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58534,17 +58792,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &383 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58570,9 +58828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -58624,9 +58882,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 '404': *6 '422': *15 x-github: @@ -58648,9 +58906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -58674,9 +58932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response @@ -58710,9 +58968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -58779,9 +59037,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -58845,9 +59103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: content: application/json: @@ -58913,15 +59171,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response content: application/json: - schema: *376 + schema: *377 examples: default: value: @@ -59012,9 +59270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '204': description: Response @@ -59037,9 +59295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response @@ -59049,7 +59307,7 @@ paths: type: array items: *5 examples: - default: &384 + default: &385 value: - id: 1 slug: octoapp @@ -59106,9 +59364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59142,7 +59400,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59163,9 +59421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59199,7 +59457,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59220,9 +59478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59256,7 +59514,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59278,9 +59536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response @@ -59310,9 +59568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -59371,9 +59629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: false content: @@ -59432,9 +59690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: content: application/json: @@ -59493,9 +59751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 responses: '200': description: Response @@ -59529,9 +59787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59589,9 +59847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59649,9 +59907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59711,9 +59969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 requestBody: required: true content: @@ -59735,7 +59993,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -59851,8 +60109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -60131,7 +60389,7 @@ paths: description: Response content: application/json: - schema: &386 + schema: &387 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60267,7 +60525,7 @@ paths: check. type: array items: *75 - deployment: &693 + deployment: &696 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60554,9 +60812,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *308 - *309 - - &387 + - *310 + - &388 name: check_run_id description: The unique identifier of the check run. in: path @@ -60568,9 +60826,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: &388 + default: &389 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60670,9 +60928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *308 - *309 - - *387 + - *310 + - *388 requestBody: required: true content: @@ -60912,9 +61170,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60934,9 +61192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *308 - *309 - - *387 + - *310 + - *388 - *17 - *19 responses: @@ -61046,9 +61304,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *308 - *309 - - *387 + - *310 + - *388 responses: '201': description: Response @@ -61092,8 +61350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -61115,7 +61373,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &390 + schema: &391 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61213,7 +61471,7 @@ paths: - string - 'null' format: date-time - head_commit: *389 + head_commit: *390 latest_check_runs_count: type: integer check_runs_url: @@ -61241,7 +61499,7 @@ paths: - check_runs_url - pull_requests examples: - default: &391 + default: &392 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61532,9 +61790,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61553,8 +61811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -61863,9 +62121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *308 - *309 - - &392 + - *310 + - &393 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61877,9 +62135,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61902,17 +62160,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *308 - *309 - - *392 - - &445 + - *310 + - *393 + - &446 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &446 + - &447 name: status description: Returns check runs with the specified `status`. in: query @@ -61951,9 +62209,9 @@ paths: type: integer check_runs: type: array - items: *386 + items: *387 examples: - default: &447 + default: &448 value: total_count: 1 check_runs: @@ -62055,9 +62313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *308 - *309 - - *392 + - *310 + - *393 responses: '201': description: Response @@ -62090,21 +62348,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *308 - *309 - - *393 + - *310 - *394 + - *395 - *19 - *17 - - &411 + - &412 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: *395 - - &412 + schema: *396 + - &413 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62129,13 +62387,13 @@ paths: be returned. in: query required: false - schema: *396 + schema: *397 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *397 + schema: *398 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -62159,7 +62417,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: *398 + instances_url: *399 state: *171 fixed_at: *167 dismissed_by: @@ -62167,11 +62425,11 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: *399 - dismissed_comment: *400 - rule: *401 - tool: *402 - most_recent_instance: *403 + dismissed_reason: *400 + dismissed_comment: *401 + rule: *402 + tool: *403 + most_recent_instance: *404 dismissal_approved_by: anyOf: - type: 'null' @@ -62294,7 +62552,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &404 + '403': &405 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62321,9 +62579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *308 - *309 - - &405 + - *310 + - &406 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62337,7 +62595,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &407 type: object properties: number: *162 @@ -62345,7 +62603,7 @@ paths: updated_at: *164 url: *165 html_url: *166 - instances_url: *398 + instances_url: *399 state: *171 fixed_at: *167 dismissed_by: @@ -62353,8 +62611,8 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: *399 - dismissed_comment: *400 + dismissed_reason: *400 + dismissed_comment: *401 rule: type: object properties: @@ -62416,8 +62674,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *402 - most_recent_instance: *403 + tool: *403 + most_recent_instance: *404 dismissal_approved_by: anyOf: - type: 'null' @@ -62513,7 +62771,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -62533,9 +62791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *308 - *309 - - *405 + - *310 + - *406 requestBody: required: true content: @@ -62550,8 +62808,8 @@ paths: enum: - open - dismissed - dismissed_reason: *399 - dismissed_comment: *400 + dismissed_reason: *400 + dismissed_comment: *401 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62579,7 +62837,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -62655,7 +62913,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &410 + '403': &411 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62682,15 +62940,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: - - *308 - *309 - - *405 + - *310 + - *406 responses: '200': description: Response content: application/json: - schema: &407 + schema: &408 type: object properties: status: @@ -62717,13 +62975,13 @@ paths: - description - started_at examples: - default: &408 + default: &409 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &409 + '400': &410 description: Bad Request content: application/json: @@ -62734,7 +62992,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': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -62759,29 +63017,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: - - *308 - *309 - - *405 + - *310 + - *406 responses: '200': description: OK content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 '202': description: Accepted content: application/json: - schema: *407 + schema: *408 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *409 + '400': *410 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62813,9 +63071,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: - - *308 - *309 - - *405 + - *310 + - *406 requestBody: required: false content: @@ -62861,8 +63119,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *409 - '403': *410 + '400': *410 + '403': *411 '404': *6 '422': description: Unprocessable Entity @@ -62886,13 +63144,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *308 - *309 - - *405 + - *310 + - *406 - *19 - *17 - - *411 - *412 + - *413 responses: '200': description: Response @@ -62903,10 +63161,10 @@ paths: items: type: object properties: - ref: *395 - analysis_key: *413 - environment: *414 - category: *415 + ref: *396 + analysis_key: *414 + environment: *415 + category: *416 state: type: - string @@ -62923,7 +63181,7 @@ paths: properties: text: type: string - location: *416 + location: *417 html_url: type: string classifications: @@ -62931,7 +63189,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: *417 + items: *418 examples: default: value: @@ -62970,7 +63228,7 @@ paths: end_column: 50 classifications: - source - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63004,25 +63262,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *308 - *309 - - *393 + - *310 - *394 + - *395 - *19 - *17 - - *412 + - *413 - 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: *395 + schema: *396 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &418 + schema: &419 type: string description: An identifier for the upload. examples: @@ -63044,23 +63302,23 @@ paths: application/json: schema: type: array - items: &419 + items: &420 type: object properties: - ref: *395 - commit_sha: &427 + ref: *396 + commit_sha: &428 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: *413 + analysis_key: *414 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *415 + category: *416 error: type: string examples: @@ -63085,8 +63343,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *418 - tool: *402 + sarif_id: *419 + tool: *403 deletable: type: boolean warning: @@ -63148,7 +63406,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63184,8 +63442,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: - - *308 - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63198,7 +63456,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: response: summary: application/json response @@ -63221,13 +63479,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: @@ -63252,7 +63510,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *404 + '403': *405 '404': *6 '422': description: Response if analysis could not be processed @@ -63339,8 +63597,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: - - *308 - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63396,7 +63654,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': *410 + '403': *411 '404': *6 '503': *105 x-github: @@ -63418,8 +63676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -63427,7 +63685,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -63539,7 +63797,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': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63568,8 +63826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *308 - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63581,7 +63839,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: default: value: @@ -63613,9 +63871,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': &452 + '302': &453 description: Found - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63637,8 +63895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *308 - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63648,7 +63906,7 @@ paths: responses: '204': description: Response - '403': *410 + '403': *411 '404': *6 '503': *105 x-github: @@ -63676,8 +63934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -63686,7 +63944,7 @@ paths: type: object additionalProperties: false properties: - language: &421 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63766,7 +64024,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &425 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63776,7 +64034,7 @@ paths: description: The ID of the variant analysis. controller_repo: *56 actor: *4 - query_language: *421 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -63824,7 +64082,7 @@ paths: items: type: object properties: - repository: &422 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63866,7 +64124,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &426 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63898,7 +64156,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &423 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -63913,7 +64171,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: *422 + items: *423 required: - repository_count - repositories @@ -63936,8 +64194,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *423 - over_limit_repos: *423 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -63953,7 +64211,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &424 + value: &425 summary: Default response value: id: 1 @@ -64099,10 +64357,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *424 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *424 + value: *425 '404': *6 '422': description: Unable to process variant analysis submission @@ -64130,8 +64388,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: - - *308 - *309 + - *310 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64143,9 +64401,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: - default: *424 + default: *425 '404': *6 '503': *105 x-github: @@ -64168,7 +64426,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: - - *308 + - *309 - name: repo in: path description: The name of the controller repository. @@ -64203,7 +64461,7 @@ paths: type: object properties: repository: *56 - analysis_status: *426 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64328,8 +64586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -64422,7 +64680,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -64443,8 +64701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64538,7 +64796,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *410 + '403': *411 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64609,8 +64867,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -64618,7 +64876,7 @@ paths: schema: type: object properties: - commit_sha: *427 + commit_sha: *428 ref: type: string description: |- @@ -64678,7 +64936,7 @@ paths: schema: type: object properties: - id: *418 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -64692,7 +64950,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': *410 + '403': *411 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64715,8 +64973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *308 - *309 + - *310 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64764,7 +65022,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': *404 + '403': *405 '404': description: Not Found if the sarif id does not match any upload '503': *105 @@ -64789,8 +65047,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: - - *308 - *309 + - *310 responses: '200': description: Response @@ -64871,8 +65129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *308 - *309 + - *310 - 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 @@ -65000,8 +65258,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65315,8 +65573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -65382,7 +65640,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -65390,7 +65648,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '400': *14 '401': *23 '403': *27 @@ -65419,8 +65677,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65484,8 +65742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *308 - *309 + - *310 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65522,9 +65780,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: &639 + default: &640 value: total_count: 2 machines: @@ -65564,8 +65822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *308 - *309 + - *310 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65652,8 +65910,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: - - *308 - *309 + - *310 - 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 @@ -65722,8 +65980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -65741,7 +65999,7 @@ paths: type: integer secrets: type: array - items: &433 + items: &434 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65762,7 +66020,7 @@ paths: - created_at - updated_at examples: - default: *430 + default: *431 headers: Link: *57 x-github: @@ -65785,16 +66043,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65814,17 +66072,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '200': description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65844,8 +66102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 requestBody: required: true @@ -65898,8 +66156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '204': @@ -65928,8 +66186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *308 - *309 + - *310 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65967,7 +66225,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Collaborator description: Collaborator type: object @@ -66160,8 +66418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *62 responses: '204': @@ -66208,8 +66466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *62 requestBody: required: false @@ -66236,7 +66494,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &502 + schema: &503 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66464,8 +66722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *308 - *309 + - *310 - *62 responses: '204': @@ -66497,8 +66755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *308 - *309 + - *310 - *62 responses: '200': @@ -66519,7 +66777,7 @@ paths: user: anyOf: - type: 'null' - - *435 + - *436 required: - permission - role_name @@ -66573,8 +66831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -66584,7 +66842,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -66642,7 +66900,7 @@ paths: - created_at - updated_at examples: - default: &441 + default: &442 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66701,17 +66959,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 responses: '200': description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: &442 + default: &443 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66768,8 +67026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -66792,7 +67050,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -66843,8 +67101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 responses: '204': @@ -66866,8 +67124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66894,7 +67152,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -66938,7 +67196,7 @@ paths: - content - created_at examples: - default: &506 + default: &507 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66983,8 +67241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -67017,9 +67275,9 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *438 examples: - default: &438 + default: &439 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -67048,9 +67306,9 @@ paths: description: Reaction created content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -67072,10 +67330,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *308 - *309 + - *310 - *86 - - &507 + - &508 name: reaction_id description: The unique identifier of the reaction. in: path @@ -67130,8 +67388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *308 - *309 + - *310 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67187,9 +67445,9 @@ paths: application/json: schema: type: array - items: *439 + items: *440 examples: - default: &551 + default: &552 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67283,9 +67541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *308 - *309 - - &440 + - *310 + - &441 name: commit_sha description: The SHA of the commit. in: path @@ -67357,9 +67615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *308 - *309 - - *440 + - *310 + - *441 - *17 - *19 responses: @@ -67369,9 +67627,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *441 + default: *442 headers: Link: *57 x-github: @@ -67399,9 +67657,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *308 - *309 - - *440 + - *310 + - *441 requestBody: required: true content: @@ -67436,9 +67694,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: - default: *442 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67466,9 +67724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *308 - *309 - - *440 + - *310 + - *441 - *17 - *19 responses: @@ -67478,9 +67736,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: &543 + default: &544 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -68017,11 +68275,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *308 - *309 + - *310 - *19 - *17 - - &444 + - &445 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -68036,9 +68294,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68151,11 +68409,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *308 - *309 - - *444 + - *310 - *445 - *446 + - *447 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68189,9 +68447,9 @@ paths: type: integer check_runs: type: array - items: *386 + items: *387 examples: - default: *447 + default: *448 headers: Link: *57 x-github: @@ -68216,9 +68474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *308 - *309 - - *444 + - *310 + - *445 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68226,7 +68484,7 @@ paths: schema: type: integer example: 1 - - *445 + - *446 - *17 - *19 responses: @@ -68244,7 +68502,7 @@ paths: type: integer check_suites: type: array - items: *390 + items: *391 examples: default: value: @@ -68444,9 +68702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *308 - *309 - - *444 + - *310 + - *445 - *17 - *19 responses: @@ -68648,9 +68906,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *308 - *309 - - *444 + - *310 + - *445 - *17 - *19 responses: @@ -68660,7 +68918,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Status description: The status of a commit. type: object @@ -68741,7 +68999,7 @@ paths: site_admin: false headers: Link: *57 - '301': *312 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68769,8 +69027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -68803,11 +69061,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *448 + - *449 code_of_conduct_file: anyOf: - type: 'null' - - &449 + - &450 title: Community Health File type: object properties: @@ -68827,19 +69085,19 @@ paths: contributing: anyOf: - type: 'null' - - *449 + - *450 readme: anyOf: - type: 'null' - - *449 + - *450 issue_template: anyOf: - type: 'null' - - *449 + - *450 pull_request_template: anyOf: - type: 'null' - - *449 + - *450 required: - code_of_conduct - code_of_conduct_file @@ -68968,8 +69226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *308 - *309 + - *310 - *19 - *17 - name: basehead @@ -69017,8 +69275,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *439 - merge_base_commit: *439 + base_commit: *440 + merge_base_commit: *440 status: type: string enum: @@ -69042,10 +69300,10 @@ paths: - 6 commits: type: array - items: *439 + items: *440 files: type: array - items: *450 + items: *451 required: - url - html_url @@ -69331,8 +69589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -69485,7 +69743,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &451 + response-if-content-is-a-file: &452 summary: Response if content is a file value: type: file @@ -69622,7 +69880,7 @@ paths: - size - type - url - - &556 + - &557 title: Content File description: Content File type: object @@ -69840,7 +70098,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *451 + response-if-content-is-a-file: *452 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69909,7 +70167,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *452 + '302': *453 '304': *35 x-github: githubCloudOnly: false @@ -69932,8 +70190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -70028,7 +70286,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: File Commit description: File Commit type: object @@ -70184,7 +70442,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: example-for-creating-a-file: value: @@ -70238,7 +70496,7 @@ paths: schema: oneOf: - *3 - - &484 + - &485 description: Repository rule violation was detected type: object properties: @@ -70259,7 +70517,7 @@ paths: items: type: object properties: - placeholder_id: &608 + placeholder_id: &609 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70291,8 +70549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *308 - *309 + - *310 - name: path description: path parameter in: path @@ -70353,7 +70611,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -70408,8 +70666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *308 - *309 + - *310 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70533,8 +70791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *308 - *309 + - *310 - *180 - *181 - *182 @@ -70546,7 +70804,7 @@ paths: schema: type: string - *184 - - *454 + - *455 - *185 - *186 - *51 @@ -70567,7 +70825,7 @@ paths: application/json: schema: type: array - items: &458 + items: &459 type: object description: A Dependabot alert. properties: @@ -70617,7 +70875,7 @@ paths: - direct - transitive - - security_advisory: *455 + security_advisory: *456 security_vulnerability: *55 url: *165 html_url: *166 @@ -70648,8 +70906,8 @@ paths: dismissal. maxLength: 280 fixed_at: *167 - auto_dismissed_at: *456 - dismissal_request: *457 + auto_dismissed_at: *457 + dismissal_request: *458 required: - number - state @@ -70879,9 +71137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *308 - *309 - - &459 + - *310 + - &460 name: alert_number in: path description: |- @@ -70896,7 +71154,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -71009,9 +71267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *308 - *309 - - *459 + - *310 + - *460 requestBody: required: true content: @@ -71056,7 +71314,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -71185,8 +71443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -71204,7 +71462,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &463 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71258,16 +71516,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *460 + schema: *461 examples: - default: *461 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71287,15 +71545,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '200': description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -71321,8 +71579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 requestBody: required: true @@ -71375,8 +71633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *308 - *309 + - *310 - *152 responses: '204': @@ -71399,8 +71657,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: - - *308 - *309 + - *310 - 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 @@ -71574,8 +71832,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: - - *308 - *309 + - *310 responses: '200': description: Response @@ -71835,8 +72093,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -71919,7 +72177,7 @@ paths: - version - url additionalProperties: false - metadata: &463 + metadata: &464 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71958,7 +72216,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *463 + metadata: *464 resolved: type: object description: A collection of resolved package dependencies. @@ -71972,7 +72230,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *463 + metadata: *464 relationship: type: string description: A notation of whether a dependency is requested @@ -72105,8 +72363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *308 - *309 + - *310 - name: sha description: The SHA recorded at creation time. in: query @@ -72147,9 +72405,9 @@ paths: application/json: schema: type: array - items: *464 + items: *465 examples: - default: *465 + default: *466 headers: Link: *57 x-github: @@ -72215,8 +72473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -72298,7 +72556,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: simple-example: summary: Simple example @@ -72371,9 +72629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *308 - *309 - - &466 + - *310 + - &467 name: deployment_id description: deployment_id parameter in: path @@ -72385,7 +72643,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: default: value: @@ -72450,9 +72708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *308 - *309 - - *466 + - *310 + - *467 responses: '204': description: Response @@ -72474,9 +72732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *308 - *309 - - *466 + - *310 + - *467 - *17 - *19 responses: @@ -72486,7 +72744,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Deployment Status description: The status of a deployment. type: object @@ -72650,9 +72908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *308 - *309 - - *466 + - *310 + - *467 requestBody: required: true content: @@ -72727,9 +72985,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: &468 + default: &469 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72785,9 +73043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *308 - *309 - - *466 + - *310 + - *467 - name: status_id in: path required: true @@ -72798,9 +73056,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '404': *6 x-github: githubCloudOnly: false @@ -72825,8 +73083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -72883,8 +73141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -72902,7 +73160,7 @@ paths: - 5 environments: type: array - items: &470 + items: &471 title: Environment description: Details of a deployment environment type: object @@ -72964,7 +73222,7 @@ paths: type: string examples: - wait_timer - wait_timer: &472 + wait_timer: &473 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -73006,7 +73264,7 @@ paths: items: type: object properties: - type: *469 + type: *470 reviewer: anyOf: - *4 @@ -73033,7 +73291,7 @@ paths: - id - node_id - type - deployment_branch_policy: &473 + deployment_branch_policy: &474 type: - object - 'null' @@ -73150,9 +73408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *308 - *309 - - &471 + - *310 + - &472 name: environment_name in: path required: true @@ -73165,9 +73423,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &474 + default: &475 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73251,9 +73509,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *308 - *309 - - *471 + - *310 + - *472 requestBody: required: false content: @@ -73263,7 +73521,7 @@ paths: - object - 'null' properties: - wait_timer: *472 + wait_timer: *473 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73282,14 +73540,14 @@ paths: items: type: object properties: - type: *469 + type: *470 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *473 + deployment_branch_policy: *474 additionalProperties: false examples: default: @@ -73309,9 +73567,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *474 + default: *475 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73335,9 +73593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *308 - *309 - - *471 + - *310 + - *472 responses: '204': description: Default response @@ -73362,9 +73620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *17 - *19 responses: @@ -73383,7 +73641,7 @@ paths: - 2 branch_policies: type: array - items: &475 + items: &476 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73444,9 +73702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *308 - *309 - - *471 + - *310 + - *472 requestBody: required: true content: @@ -73494,9 +73752,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - example-wildcard: &476 + example-wildcard: &477 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73538,10 +73796,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *308 - *309 - - *471 - - &477 + - *310 + - *472 + - &478 name: branch_policy_id in: path required: true @@ -73553,9 +73811,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73574,10 +73832,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *308 - *309 - - *471 - - *477 + - *310 + - *472 + - *478 requestBody: required: true content: @@ -73606,9 +73864,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73627,10 +73885,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *308 - *309 - - *471 - - *477 + - *310 + - *472 + - *478 responses: '204': description: Response @@ -73655,9 +73913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *471 + - *472 + - *310 - *309 - - *308 responses: '200': description: List of deployment protection rules @@ -73674,7 +73932,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &478 + items: &479 title: Deployment protection rule description: Deployment protection rule type: object @@ -73696,7 +73954,7 @@ paths: for the environment. examples: - true - app: &479 + app: &480 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73799,9 +74057,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: - - *471 + - *472 + - *310 - *309 - - *308 requestBody: content: application/json: @@ -73822,9 +74080,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *478 + schema: *479 examples: - default: &480 + default: &481 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73859,9 +74117,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: - - *471 + - *472 + - *310 - *309 - - *308 - *19 - *17 responses: @@ -73881,7 +74139,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *479 + items: *480 examples: default: value: @@ -73916,10 +74174,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *308 - *309 - - *471 - - &481 + - *310 + - *472 + - &482 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73931,9 +74189,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73954,10 +74212,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *471 + - *472 + - *310 - *309 - - *308 - - *481 + - *482 responses: '204': description: Response @@ -73983,9 +74241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *17 - *19 responses: @@ -74003,9 +74261,9 @@ paths: type: integer secrets: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *57 x-github: @@ -74030,17 +74288,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *308 - *309 - - *471 + - *310 + - *472 responses: '200': description: Response content: application/json: - schema: *355 + schema: *356 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74062,18 +74320,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *152 responses: '200': description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: *482 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74095,9 +74353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *152 requestBody: required: true @@ -74155,9 +74413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *152 responses: '204': @@ -74183,10 +74441,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *308 - *309 - - *471 - - *324 + - *310 + - *472 + - *325 - *19 responses: '200': @@ -74203,9 +74461,9 @@ paths: type: integer variables: type: array - items: *357 + items: *358 examples: - default: *358 + default: *359 headers: Link: *57 x-github: @@ -74228,9 +74486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *308 - *309 - - *471 + - *310 + - *472 requestBody: required: true content: @@ -74282,18 +74540,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *308 - *309 - - *471 + - *310 + - *472 - *155 responses: '200': description: Response content: application/json: - schema: *357 + schema: *358 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74314,10 +74572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *308 - *309 + - *310 - *155 - - *471 + - *472 requestBody: required: true content: @@ -74359,10 +74617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *308 - *309 + - *310 - *155 - - *471 + - *472 responses: '204': description: Response @@ -74384,8 +74642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -74453,8 +74711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *308 - *309 + - *310 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74613,8 +74871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -74647,9 +74905,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 '400': *14 '422': *15 '403': *27 @@ -74670,8 +74928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74731,7 +74989,7 @@ paths: schema: oneOf: - *113 - - *484 + - *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74756,8 +75014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *308 - *309 + - *310 - name: file_sha in: path required: true @@ -74857,8 +75115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -74967,7 +75225,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75194,15 +75452,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *308 - *309 - - *440 + - *310 + - *441 responses: '200': description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -75258,9 +75516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *308 - *309 - - &486 + - *310 + - &487 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. @@ -75277,7 +75535,7 @@ paths: application/json: schema: type: array - items: &487 + items: &488 title: Git Reference description: Git references within a repository type: object @@ -75353,17 +75611,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *308 - *309 - - *486 + - *310 + - *487 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &488 + default: &489 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75392,8 +75650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75422,9 +75680,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75450,9 +75708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *308 - *309 - - *486 + - *310 + - *487 requestBody: required: true content: @@ -75481,9 +75739,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 '422': *15 '409': *50 x-github: @@ -75501,9 +75759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *308 - *309 - - *486 + - *310 + - *487 responses: '204': description: Response @@ -75558,8 +75816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75626,7 +75884,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &491 title: Git Tag description: Metadata for a Git tag type: object @@ -75682,7 +75940,7 @@ paths: - sha - type - url - verification: *489 + verification: *490 required: - sha - url @@ -75692,7 +75950,7 @@ paths: - tag - message examples: - default: &491 + default: &492 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75765,8 +76023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *308 - *309 + - *310 - name: tag_sha in: path required: true @@ -75777,9 +76035,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '404': *6 '409': *50 x-github: @@ -75803,8 +76061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -75878,7 +76136,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &493 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75980,8 +76238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *308 - *309 + - *310 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -76004,7 +76262,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default-response: summary: Default response @@ -76063,8 +76321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -76074,7 +76332,7 @@ paths: application/json: schema: type: array - items: &493 + items: &494 title: Webhook description: Webhooks for repositories. type: object @@ -76137,7 +76395,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &724 + last_response: &727 title: Hook Response type: object properties: @@ -76214,8 +76472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -76268,9 +76526,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &494 + default: &495 value: type: Repository id: 12345678 @@ -76318,17 +76576,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '404': *6 x-github: githubCloudOnly: false @@ -76348,8 +76606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 requestBody: required: true @@ -76395,9 +76653,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '422': *15 '404': *6 x-github: @@ -76418,8 +76676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 responses: '204': @@ -76444,8 +76702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *308 - *309 + - *310 - *192 responses: '200': @@ -76473,8 +76731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *308 - *309 + - *310 - *192 requestBody: required: false @@ -76519,8 +76777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 - *17 - *193 @@ -76552,8 +76810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 - *16 responses: @@ -76582,8 +76840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 - *16 responses: @@ -76607,8 +76865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *308 - *309 + - *310 - *192 responses: '204': @@ -76634,8 +76892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *308 - *309 + - *310 - *192 responses: '204': @@ -76659,8 +76917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response if immutable releases are enabled @@ -76708,8 +76966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *308 - *309 + - *310 responses: '204': *175 '409': *50 @@ -76729,8 +76987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *308 - *309 + - *310 responses: '204': *175 '409': *50 @@ -76787,14 +77045,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &495 + schema: &496 title: Import description: A repository import from an external source. type: object @@ -76901,7 +77159,7 @@ paths: - html_url - authors_url examples: - default: &498 + default: &499 value: vcs: subversion use_lfs: true @@ -76917,7 +77175,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': &496 + '503': &497 description: Unavailable due to service under maintenance. content: application/json: @@ -76946,8 +77204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -76995,7 +77253,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -77020,7 +77278,7 @@ paths: type: string '422': *15 '404': *6 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77048,8 +77306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -77101,7 +77359,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: example-1: summary: Example 1 @@ -77149,7 +77407,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': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77172,12 +77430,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *308 - *309 + - *310 responses: '204': description: Response - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77203,9 +77461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *308 - *309 - - &660 + - *310 + - &661 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77219,7 +77477,7 @@ paths: application/json: schema: type: array - items: &497 + items: &498 title: Porter Author description: Porter Author type: object @@ -77273,7 +77531,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': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77298,8 +77556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *308 - *309 + - *310 - name: author_id in: path required: true @@ -77329,7 +77587,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: default: value: @@ -77342,7 +77600,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77366,8 +77624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -77408,7 +77666,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77436,8 +77694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -77464,11 +77722,11 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *498 + default: *499 '422': *15 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77491,8 +77749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -77500,8 +77758,8 @@ paths: application/json: schema: *20 examples: - default: *499 - '301': *312 + default: *500 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -77521,8 +77779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -77535,7 +77793,7 @@ paths: properties: {} additionalProperties: false examples: - default: &501 + default: &502 value: limit: collaborators_only origin: repository @@ -77560,13 +77818,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: application/json: - schema: *500 + schema: *501 examples: default: summary: Example request body @@ -77580,7 +77838,7 @@ paths: application/json: schema: *210 examples: - default: *501 + default: *502 '409': description: Response x-github: @@ -77602,8 +77860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -77626,8 +77884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -77637,9 +77895,9 @@ paths: application/json: schema: type: array - items: *502 + items: *503 examples: - default: &653 + default: &654 value: - id: 1 repository: @@ -77770,8 +78028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *308 - *309 + - *310 - *214 requestBody: required: false @@ -77801,7 +78059,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -77932,8 +78190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *308 - *309 + - *310 - *214 responses: '204': @@ -77965,8 +78223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *308 - *309 + - *310 - 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 @@ -78039,7 +78297,7 @@ paths: type: array items: *71 examples: - default: &512 + default: &513 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78187,7 +78445,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *312 + '301': *313 '422': *15 '404': *6 x-github: @@ -78216,8 +78474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -78309,7 +78567,7 @@ paths: application/json: schema: *71 examples: - default: &509 + default: &510 value: id: 1 node_id: MDU6SXNzdWUx @@ -78465,7 +78723,7 @@ paths: '422': *15 '503': *105 '404': *6 - '410': *503 + '410': *504 x-github: triggersNotification: true githubCloudOnly: false @@ -78493,8 +78751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *308 - *309 + - *310 - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -78515,9 +78773,9 @@ paths: application/json: schema: type: array - items: *504 + items: *505 examples: - default: &511 + default: &512 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78575,17 +78833,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 responses: '200': description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: &505 + default: &506 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78639,8 +78897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -78663,9 +78921,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -78683,8 +78941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 responses: '204': @@ -78705,8 +78963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78733,9 +78991,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -78756,8 +79014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -78790,16 +79048,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '201': description: Reaction created content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -78821,10 +79079,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *308 - *309 + - *310 - *86 - - *507 + - *508 responses: '204': description: Response @@ -78844,8 +79102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -78855,7 +79113,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Issue Event description: Issue Event type: object @@ -79194,8 +79452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *308 - *309 + - *310 - name: event_id in: path required: true @@ -79206,7 +79464,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -79398,7 +79656,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *503 + '410': *504 '403': *27 x-github: githubCloudOnly: false @@ -79432,9 +79690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *308 - *309 - - &510 + - *310 + - &511 name: issue_number description: The number that identifies the issue. in: path @@ -79448,10 +79706,10 @@ paths: application/json: schema: *71 examples: - default: *509 - '301': *312 + default: *510 + '301': *313 '404': *6 - '410': *503 + '410': *504 '304': *35 x-github: githubCloudOnly: false @@ -79476,9 +79734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -79599,13 +79857,13 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 '422': *15 '503': *105 '403': *27 - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79623,9 +79881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -79653,7 +79911,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79669,9 +79927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: content: application/json: @@ -79698,7 +79956,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79720,9 +79978,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: - - *308 - *309 - - *510 + - *310 + - *511 - name: assignee in: path required: true @@ -79762,9 +80020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *77 - *17 - *19 @@ -79775,13 +80033,13 @@ paths: application/json: schema: type: array - items: *504 + items: *505 examples: - default: *511 + default: *512 headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79810,9 +80068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -79834,16 +80092,16 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *503 + '410': *504 '422': *15 '404': *6 x-github: @@ -79871,9 +80129,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -79885,12 +80143,12 @@ paths: type: array items: *71 examples: - default: *512 + default: *513 headers: Link: *57 - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79918,9 +80176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -79944,15 +80202,15 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *312 + '301': *313 '403': *27 - '410': *503 + '410': *504 '422': *15 '404': *6 x-github: @@ -79983,9 +80241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *308 - *309 - - *510 + - *310 + - *511 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79999,13 +80257,13 @@ paths: application/json: schema: *71 examples: - default: *509 - '301': *312 + default: *510 + '301': *313 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *503 + '410': *504 x-github: triggersNotification: true githubCloudOnly: false @@ -80031,9 +80289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -80045,12 +80303,12 @@ paths: type: array items: *71 examples: - default: *512 + default: *513 headers: Link: *57 - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80067,9 +80325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -80083,7 +80341,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &515 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -80132,7 +80390,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &516 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80260,7 +80518,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &517 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80306,7 +80564,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80352,7 +80610,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80401,7 +80659,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &520 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80443,7 +80701,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80485,7 +80743,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80541,7 +80799,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &523 title: Locked Issue Event description: Locked Issue Event type: object @@ -80586,7 +80844,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &524 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80647,68 +80905,68 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 - title: Moved Column in Project Issue Event - description: Moved Column in Project Issue Event - type: object - properties: - id: - type: integer - node_id: - type: string - url: - type: string - actor: *4 - event: - type: string - commit_id: - type: - - string - - 'null' - commit_url: - type: - - string - - 'null' - created_at: - type: string - performed_via_github_app: - anyOf: - - type: 'null' - - *5 - project_card: - type: object - properties: - id: - type: integer - url: - type: string - format: uri - project_id: - type: integer - project_url: - type: string - format: uri - column_name: - type: string - previous_column_name: - type: string - required: - - id - - url - - project_id - - project_url - - column_name - required: - - id - - node_id - - url - - actor - - event - - commit_id - - commit_url - - created_at - - performed_via_github_app - &525 + title: Moved Column in Project Issue Event + description: Moved Column in Project Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: + - string + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + project_card: + type: object + properties: + id: + type: integer + url: + type: string + format: uri + project_id: + type: integer + project_url: + type: string + format: uri + column_name: + type: string + previous_column_name: + type: string + required: + - id + - url + - project_id + - project_url + - column_name + required: + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &526 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80769,7 +81027,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &527 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80862,7 +81120,7 @@ paths: color: red headers: Link: *57 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80879,9 +81137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -80893,7 +81151,7 @@ paths: type: array items: *70 examples: - default: &513 + default: &514 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80911,9 +81169,9 @@ paths: default: false headers: Link: *57 - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80930,9 +81188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -80993,10 +81251,10 @@ paths: type: array items: *70 examples: - default: *513 - '301': *312 + default: *514 + '301': *313 '404': *6 - '410': *503 + '410': *504 '422': *15 x-github: githubCloudOnly: false @@ -81013,9 +81271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -81077,10 +81335,10 @@ paths: type: array items: *70 examples: - default: *513 - '301': *312 + default: *514 + '301': *313 '404': *6 - '410': *503 + '410': *504 '422': *15 x-github: githubCloudOnly: false @@ -81097,15 +81355,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 responses: '204': description: Response - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81124,9 +81382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 - name: name in: path required: true @@ -81150,9 +81408,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *312 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81172,9 +81430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: false content: @@ -81203,7 +81461,7 @@ paths: '204': description: Response '403': *27 - '410': *503 + '410': *504 '404': *6 '422': *15 x-github: @@ -81221,9 +81479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 responses: '204': description: Response @@ -81253,9 +81511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 responses: '200': description: Response @@ -81263,10 +81521,10 @@ paths: application/json: schema: *71 examples: - default: *509 - '301': *312 + default: *510 + '301': *313 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81283,9 +81541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 - 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. @@ -81311,13 +81569,13 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81335,9 +81593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -81369,16 +81627,16 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '201': description: Response content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -81400,10 +81658,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *308 - *309 - - *510 - - *507 + - *310 + - *511 + - *508 responses: '204': description: Response @@ -81432,9 +81690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -81458,7 +81716,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81491,9 +81749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -81505,11 +81763,11 @@ paths: type: array items: *71 examples: - default: *512 + default: *513 headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81537,9 +81795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -81568,14 +81826,14 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *503 + '410': *504 '422': *15 '404': *6 x-github: @@ -81595,9 +81853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 requestBody: required: true content: @@ -81630,7 +81888,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 '403': *27 '404': *6 '422': *7 @@ -81652,9 +81910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *308 - *309 - - *510 + - *310 + - *511 - *17 - *19 responses: @@ -81669,7 +81927,6 @@ paths: description: Timeline Event type: object anyOf: - - *514 - *515 - *516 - *517 @@ -81682,6 +81939,7 @@ paths: - *524 - *525 - *526 + - *527 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82010,7 +82268,7 @@ paths: type: string comments: type: array - items: &545 + items: &546 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -82251,7 +82509,7 @@ paths: type: string comments: type: array - items: *436 + items: *437 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82526,7 +82784,7 @@ paths: headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82543,8 +82801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -82554,7 +82812,7 @@ paths: application/json: schema: type: array - items: &527 + items: &528 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82622,8 +82880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82659,9 +82917,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: &528 + default: &529 value: id: 1 key: ssh-rsa AAA... @@ -82695,9 +82953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *308 - *309 - - &529 + - *310 + - &530 name: key_id description: The unique identifier of the key. in: path @@ -82709,9 +82967,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -82729,9 +82987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *308 - *309 - - *529 + - *310 + - *530 responses: '204': description: Response @@ -82751,8 +83009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -82764,7 +83022,7 @@ paths: type: array items: *70 examples: - default: *513 + default: *514 headers: Link: *57 '404': *6 @@ -82785,8 +83043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -82824,7 +83082,7 @@ paths: application/json: schema: *70 examples: - default: &530 + default: &531 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82856,8 +83114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82870,7 +83128,7 @@ paths: application/json: schema: *70 examples: - default: *530 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -82887,8 +83145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82953,8 +83211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *308 - *309 + - *310 - name: name in: path required: true @@ -82980,8 +83238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -83020,9 +83278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *308 - *309 - - *411 + - *310 + - *412 responses: '200': description: Response @@ -83169,8 +83427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83235,8 +83493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83270,9 +83528,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *439 + schema: *440 examples: - default: *531 + default: *532 '204': description: Response when already merged '404': @@ -83297,8 +83555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *308 - *309 + - *310 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83395,8 +83653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83438,7 +83696,7 @@ paths: application/json: schema: *251 examples: - default: &532 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83497,9 +83755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *308 - *309 - - &533 + - *310 + - &534 name: milestone_number description: The number that identifies the milestone. in: path @@ -83513,7 +83771,7 @@ paths: application/json: schema: *251 examples: - default: *532 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -83530,9 +83788,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *308 - *309 - - *533 + - *310 + - *534 requestBody: required: false content: @@ -83572,7 +83830,7 @@ paths: application/json: schema: *251 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83588,9 +83846,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *308 - *309 - - *533 + - *310 + - *534 responses: '204': description: Response @@ -83611,9 +83869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *308 - *309 - - *533 + - *310 + - *534 - *17 - *19 responses: @@ -83625,7 +83883,7 @@ paths: type: array items: *70 examples: - default: *513 + default: *514 headers: Link: *57 x-github: @@ -83644,12 +83902,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *308 - *309 - - *534 + - *310 - *535 - - *77 - *536 + - *77 + - *537 - *17 - *19 responses: @@ -83661,7 +83919,7 @@ paths: type: array items: *97 examples: - default: *537 + default: *538 headers: Link: *57 x-github: @@ -83685,8 +83943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -83744,14 +84002,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &538 + schema: &539 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83895,7 +84153,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &540 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83936,8 +84194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -83992,9 +84250,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '422': *15 '409': *50 x-github: @@ -84017,8 +84275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84118,8 +84376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -84145,8 +84403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -84156,7 +84414,7 @@ paths: application/json: schema: type: array - items: &540 + items: &541 title: Page Build description: Page Build type: object @@ -84248,8 +84506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *308 - *309 + - *310 responses: '201': description: Response @@ -84296,16 +84554,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: &541 + default: &542 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84353,8 +84611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *308 - *309 + - *310 - name: build_id in: path required: true @@ -84365,9 +84623,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84387,8 +84645,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -84496,9 +84754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *308 - *309 - - &542 + - *310 + - &543 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84556,9 +84814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *308 - *309 - - *542 + - *310 + - *543 responses: '204': *175 '404': *6 @@ -84585,8 +84843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -84881,8 +85139,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: - - *308 - *309 + - *310 responses: '200': description: Private vulnerability reporting status @@ -84919,8 +85177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': *175 '422': *14 @@ -84941,8 +85199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': *175 '422': *14 @@ -84964,8 +85222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -84973,7 +85231,7 @@ paths: application/json: schema: type: array - items: *264 + items: *265 examples: default: value: @@ -85004,8 +85262,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -85017,7 +85275,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *264 + items: *265 required: - properties examples: @@ -85067,8 +85325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *308 - *309 + - *310 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85128,9 +85386,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: *543 + default: *544 headers: Link: *57 '304': *35 @@ -85162,8 +85420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -85230,7 +85488,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &548 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85470,7 +85728,7 @@ paths: - review_comment - self author_association: *72 - auto_merge: *544 + auto_merge: *545 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85572,7 +85830,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86099,8 +86357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *308 - *309 + - *310 - name: sort in: query required: false @@ -86129,9 +86387,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: &550 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86208,17 +86466,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *86 responses: '200': description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: &546 + default: &547 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86293,8 +86551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -86317,9 +86575,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86335,8 +86593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *308 - *309 + - *310 - *86 responses: '204': @@ -86358,8 +86616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *308 - *309 + - *310 - *86 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86386,9 +86644,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -86409,8 +86667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *308 - *309 + - *310 - *86 requestBody: required: true @@ -86443,16 +86701,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '201': description: Reaction created content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -86474,10 +86732,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *308 - *309 + - *310 - *86 - - *507 + - *508 responses: '204': description: Response @@ -86520,9 +86778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *308 - *309 - - &549 + - *310 + - &550 name: pull_number description: The number that identifies the pull request. in: path @@ -86535,9 +86793,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '304': *35 '404': *6 '406': @@ -86572,9 +86830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -86616,9 +86874,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '422': *15 '403': *27 x-github: @@ -86640,9 +86898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: true content: @@ -86705,7 +86963,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86713,7 +86971,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -86743,9 +87001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86766,9 +87024,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: *550 + default: *551 headers: Link: *57 x-github: @@ -86801,9 +87059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: true content: @@ -86909,7 +87167,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: example-for-a-multi-line-comment: value: @@ -86997,9 +87255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *86 requestBody: required: true @@ -87022,7 +87280,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: default: value: @@ -87108,9 +87366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *17 - *19 responses: @@ -87120,9 +87378,9 @@ paths: application/json: schema: type: array - items: *439 + items: *440 examples: - default: *551 + default: *552 headers: Link: *57 x-github: @@ -87152,9 +87410,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *17 - *19 responses: @@ -87164,7 +87422,7 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: default: value: @@ -87202,9 +87460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *308 - *309 - - *549 + - *310 + - *550 responses: '204': description: Response if pull request has been merged @@ -87227,9 +87485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -87341,9 +87599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 responses: '200': description: Response @@ -87418,9 +87676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -87457,7 +87715,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -87993,9 +88251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: true content: @@ -88029,7 +88287,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -88534,9 +88792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 - *17 - *19 responses: @@ -88546,7 +88804,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88702,9 +88960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -88794,9 +89052,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &554 + default: &555 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88859,10 +89117,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - &553 + - *310 + - *550 + - &554 name: review_id description: The unique identifier of the review. in: path @@ -88874,9 +89132,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &555 + default: &556 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88935,10 +89193,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 requestBody: required: true content: @@ -88961,7 +89219,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -89023,18 +89281,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 responses: '200': description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *554 + default: *555 '422': *7 '404': *6 x-github: @@ -89061,10 +89319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 - *17 - *19 responses: @@ -89322,10 +89580,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 requestBody: required: true content: @@ -89354,7 +89612,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -89417,10 +89675,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *308 - *309 - - *549 - - *553 + - *310 + - *550 + - *554 requestBody: required: true content: @@ -89455,9 +89713,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *555 + default: *556 '404': *6 '422': *7 '403': *27 @@ -89479,9 +89737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *308 - *309 - - *549 + - *310 + - *550 requestBody: required: false content: @@ -89545,8 +89803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *308 - *309 + - *310 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89559,9 +89817,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: type: file encoding: base64 @@ -89603,8 +89861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *308 - *309 + - *310 - name: dir description: The alternate path to look for a README file in: path @@ -89624,9 +89882,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *6 '422': *15 x-github: @@ -89648,8 +89906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -89659,7 +89917,7 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: default: value: @@ -89753,8 +90011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -89830,9 +90088,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: &562 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89937,9 +90195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *308 - *309 - - &560 + - *310 + - &561 name: asset_id description: The unique identifier of the asset. in: path @@ -89951,9 +90209,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: &561 + default: &562 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 @@ -89988,7 +90246,7 @@ paths: type: User site_admin: false '404': *6 - '302': *452 + '302': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90004,9 +90262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *308 - *309 - - *560 + - *310 + - *561 requestBody: required: false content: @@ -90035,9 +90293,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *561 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90053,9 +90311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *308 - *309 - - *560 + - *310 + - *561 responses: '204': description: Response @@ -90079,8 +90337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -90166,16 +90424,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *308 - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *562 + default: *563 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90192,8 +90450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *308 - *309 + - *310 - name: tag description: tag parameter in: path @@ -90206,9 +90464,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *562 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -90230,9 +90488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *308 - *309 - - &563 + - *310 + - &564 name: release_id description: The unique identifier of the release. in: path @@ -90246,9 +90504,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: *558 + schema: *559 examples: - default: *562 + default: *563 '401': description: Unauthorized x-github: @@ -90266,9 +90524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *308 - *309 - - *563 + - *310 + - *564 requestBody: required: false content: @@ -90332,9 +90590,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *562 + default: *563 '404': description: Not Found if the discussion category name is invalid content: @@ -90355,9 +90613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *308 - *309 - - *563 + - *310 + - *564 responses: '204': description: Response @@ -90377,9 +90635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *308 - *309 - - *563 + - *310 + - *564 - *17 - *19 responses: @@ -90389,7 +90647,7 @@ paths: application/json: schema: type: array - items: *559 + items: *560 examples: default: value: @@ -90470,9 +90728,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: - - *308 - *309 - - *563 + - *310 + - *564 - name: name in: query required: true @@ -90498,7 +90756,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *560 examples: response-for-successful-upload: value: @@ -90553,9 +90811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *308 - *309 - - *563 + - *310 + - *564 - 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. @@ -90579,9 +90837,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -90602,9 +90860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *308 - *309 - - *563 + - *310 + - *564 requestBody: required: true content: @@ -90634,16 +90892,16 @@ paths: description: Reaction exists content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '201': description: Reaction created content: application/json: - schema: *437 + schema: *438 examples: - default: *438 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -90665,10 +90923,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *308 - *309 - - *563 - - *507 + - *310 + - *564 + - *508 responses: '204': description: Response @@ -90692,9 +90950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *308 - *309 - - *375 + - *310 + - *376 - *17 - *19 responses: @@ -90710,8 +90968,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *271 - - &564 + - *272 + - &565 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90730,69 +90988,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *272 - - *564 - allOf: - *273 - - *564 + - *565 - allOf: - *274 - - *564 - - allOf: - *565 - - *564 - allOf: - *275 - - *564 + - *565 + - allOf: + - *566 + - *565 - allOf: - *276 - - *564 + - *565 - allOf: - *277 - - *564 + - *565 - allOf: - *278 - - *564 + - *565 - allOf: - *279 - - *564 + - *565 - allOf: - *280 - - *564 + - *565 - allOf: - *281 - - *564 + - *565 - allOf: - *282 - - *564 + - *565 - allOf: - *283 - - *564 + - *565 - allOf: - *284 - - *564 + - *565 - allOf: - *285 - - *564 + - *565 - allOf: - *286 - - *564 + - *565 - allOf: - *287 - - *564 + - *565 - allOf: - *288 - - *564 + - *565 - allOf: - *289 - - *564 + - *565 - allOf: - *290 - - *564 + - *565 - allOf: - *291 - - *564 + - *565 + - allOf: + - *292 + - *565 examples: default: value: @@ -90831,8 +91089,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90843,7 +91101,7 @@ paths: schema: type: boolean default: true - - *566 + - *567 responses: '200': description: Response @@ -90851,7 +91109,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: value: @@ -90898,8 +91156,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 requestBody: description: Request body required: true @@ -90919,16 +91177,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *270 + conditions: *267 rules: type: array description: An array of rules within the ruleset. - items: *567 + items: *568 required: - name - enforcement @@ -90959,9 +91217,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &577 + default: &578 value: id: 42 name: super cool ruleset @@ -91008,12 +91266,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *308 - *309 - - *568 + - *310 - *569 - *570 - *571 + - *572 - *17 - *19 responses: @@ -91021,9 +91279,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *573 + default: *574 '404': *6 '500': *104 x-github: @@ -91044,17 +91302,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *308 - *309 - - *574 + - *310 + - *575 responses: '200': description: Response content: application/json: - schema: *575 + schema: *576 examples: - default: *576 + default: *577 '404': *6 '500': *104 x-github: @@ -91082,8 +91340,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91103,9 +91361,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *577 + default: *578 '404': *6 '500': *104 put: @@ -91123,8 +91381,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91149,16 +91407,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *270 + conditions: *267 rules: description: An array of rules within the ruleset. type: array - items: *567 + items: *568 examples: default: value: @@ -91186,9 +91444,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *577 + default: *578 '404': *6 '500': *104 delete: @@ -91206,8 +91464,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91230,8 +91488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *308 - *309 + - *310 - *17 - *19 - name: ruleset_id @@ -91247,9 +91505,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *578 + default: *579 '404': *6 '500': *104 x-github: @@ -91268,8 +91526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91287,7 +91545,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: default: value: @@ -91342,22 +91600,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *308 - *309 - - *580 + - *310 - *581 - *582 - *583 - *584 + - *585 - *51 - *19 - *17 - - *585 - *586 - *587 - *588 - *589 - *590 + - *591 responses: '200': description: Response @@ -91365,7 +91623,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 type: object properties: number: *162 @@ -91381,8 +91639,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *591 - resolution: *592 + state: *592 + resolution: *593 resolved_at: type: - string @@ -91476,7 +91734,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *593 + - *594 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91621,16 +91879,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *308 - *309 - - *405 - - *590 + - *310 + - *406 + - *591 responses: '200': description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -91684,9 +91942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *308 - *309 - - *405 + - *310 + - *406 requestBody: required: true content: @@ -91694,8 +91952,8 @@ paths: schema: type: object properties: - state: *591 - resolution: *592 + state: *592 + resolution: *593 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91731,7 +91989,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -91826,9 +92084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *308 - *309 - - *405 + - *310 + - *406 - *19 - *17 responses: @@ -91839,7 +92097,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &744 + items: &747 type: object properties: type: @@ -91866,7 +92124,6 @@ paths: - commit details: oneOf: - - *595 - *596 - *597 - *598 @@ -91879,6 +92136,7 @@ paths: - *605 - *606 - *607 + - *608 examples: default: value: @@ -91964,8 +92222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -91973,14 +92231,14 @@ paths: schema: type: object properties: - reason: &609 + reason: &610 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *608 + placeholder_id: *609 required: - reason - placeholder_id @@ -91997,7 +92255,7 @@ paths: schema: type: object properties: - reason: *609 + reason: *610 expire_at: type: - string @@ -92044,8 +92302,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: - - *308 - *309 + - *310 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -92060,7 +92318,7 @@ paths: properties: incremental_scans: type: array - items: &610 + items: &611 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92088,15 +92346,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *610 + items: *611 backfill_scans: type: array - items: *610 + items: *611 custom_pattern_backfill_scans: type: array items: allOf: - - *610 + - *611 - type: object properties: pattern_name: @@ -92166,8 +92424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *308 - *309 + - *310 - *51 - name: sort description: The property to sort the results by. @@ -92211,9 +92469,9 @@ paths: application/json: schema: type: array - items: *611 + items: *612 examples: - default: *612 + default: *613 '400': *14 '404': *6 x-github: @@ -92236,8 +92494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -92317,7 +92575,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 required: - login - type @@ -92407,9 +92665,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: &614 + default: &615 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92642,8 +92900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -92756,7 +93014,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -92903,17 +93161,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *308 - *309 - - *613 + - *310 + - *614 responses: '200': description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *614 + default: *615 '403': *27 '404': *6 x-github: @@ -92937,9 +93195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *308 - *309 - - *613 + - *310 + - *614 requestBody: required: true content: @@ -93019,7 +93277,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 required: - login - type @@ -93110,10 +93368,10 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: - default: *614 - add_credit: *614 + default: *615 + add_credit: *615 '403': *27 '404': *6 '422': @@ -93151,9 +93409,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: - - *308 - *309 - - *613 + - *310 + - *614 responses: '202': *37 '400': *14 @@ -93180,17 +93438,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *308 - *309 - - *613 + - *310 + - *614 responses: '202': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 '400': *14 '422': *15 '403': *27 @@ -93216,8 +93474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93313,8 +93571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93323,7 +93581,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93356,8 +93614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93435,8 +93693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -93530,8 +93788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *308 - *309 + - *310 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93685,8 +93943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *308 - *309 + - *310 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93696,7 +93954,7 @@ paths: application/json: schema: type: array - items: *615 + items: *616 examples: default: value: @@ -93729,8 +93987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *308 - *309 + - *310 - name: sha in: path required: true @@ -93786,7 +94044,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: default: value: @@ -93840,8 +94098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -93873,14 +94131,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *308 - *309 + - *310 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &617 + schema: &618 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93953,8 +94211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *308 - *309 + - *310 requestBody: required: false content: @@ -93980,7 +94238,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -94007,8 +94265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -94028,8 +94286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -94111,8 +94369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94120,7 +94378,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 title: Tag protection description: Tag protection type: object @@ -94177,8 +94435,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: - - *308 - *309 + - *310 requestBody: required: true content: @@ -94201,7 +94459,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -94232,8 +94490,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: - - *308 - *309 + - *310 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94270,8 +94528,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *308 - *309 + - *310 - name: ref in: path required: true @@ -94307,8 +94565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *308 - *309 + - *310 - *17 - *19 responses: @@ -94340,8 +94598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *308 - *309 + - *310 - *19 - *17 responses: @@ -94349,7 +94607,7 @@ paths: description: Response content: application/json: - schema: &619 + schema: &620 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94361,7 +94619,7 @@ paths: required: - names examples: - default: &620 + default: &621 value: names: - octocat @@ -94384,8 +94642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -94416,9 +94674,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *620 examples: - default: *620 + default: *621 '404': *6 '422': *7 x-github: @@ -94439,9 +94697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *308 - *309 - - &621 + - *310 + - &622 name: per description: The time frame to display results for. in: query @@ -94472,7 +94730,7 @@ paths: - 128 clones: type: array - items: &622 + items: &623 title: Traffic type: object properties: @@ -94559,8 +94817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94654,8 +94912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *308 - *309 + - *310 responses: '200': description: Response @@ -94718,9 +94976,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *308 - *309 - - *621 + - *310 + - *622 responses: '200': description: Response @@ -94741,7 +94999,7 @@ paths: - 3782 views: type: array - items: *622 + items: *623 required: - uniques - count @@ -94818,8 +95076,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *308 - *309 + - *310 requestBody: required: true content: @@ -95093,8 +95351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *308 - *309 + - *310 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95117,8 +95375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -95140,8 +95398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -95167,8 +95425,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *308 - *309 + - *310 - name: ref in: path required: true @@ -95260,9 +95518,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95511,7 +95769,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &623 + text_matches: &624 title: Search Result Text Matches type: array items: @@ -95674,7 +95932,7 @@ paths: enum: - author-date - committer-date - - &624 + - &625 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 @@ -95743,7 +96001,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 comment_count: type: integer message: @@ -95762,7 +96020,7 @@ paths: url: type: string format: uri - verification: *489 + verification: *490 required: - author - committer @@ -95777,7 +96035,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 parents: type: array items: @@ -95794,7 +96052,7 @@ paths: type: number node_id: type: string - text_matches: *623 + text_matches: *624 required: - sha - node_id @@ -95986,7 +96244,7 @@ paths: - interactions - created - updated - - *624 + - *625 - *17 - *19 - name: advanced_search @@ -96083,11 +96341,11 @@ paths: type: - string - 'null' - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: type: string state_reason: @@ -96115,7 +96373,7 @@ paths: - string - 'null' format: date-time - text_matches: *623 + text_matches: *624 pull_request: type: object properties: @@ -96338,7 +96596,7 @@ paths: enum: - created - updated - - *624 + - *625 - *17 - *19 responses: @@ -96383,7 +96641,7 @@ paths: - 'null' score: type: number - text_matches: *623 + text_matches: *624 required: - id - node_id @@ -96468,7 +96726,7 @@ paths: - forks - help-wanted-issues - updated - - *624 + - *625 - *17 - *19 responses: @@ -96705,7 +96963,7 @@ paths: - admin - pull - push - text_matches: *623 + text_matches: *624 temp_clone_token: type: string allow_merge_commit: @@ -97013,7 +97271,7 @@ paths: - string - 'null' format: uri - text_matches: *623 + text_matches: *624 related: type: - array @@ -97206,7 +97464,7 @@ paths: - followers - repositories - joined - - *624 + - *625 - *17 - *19 responses: @@ -97316,7 +97574,7 @@ paths: type: - boolean - 'null' - text_matches: *623 + text_matches: *624 blog: type: - string @@ -97398,7 +97656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &628 + - &629 name: team_id description: The unique identifier of the team. in: path @@ -97410,9 +97668,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 x-github: githubCloudOnly: false @@ -97439,7 +97697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *628 + - *629 requestBody: required: true content: @@ -97503,16 +97761,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '201': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 '422': *15 '403': *27 @@ -97540,7 +97798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *628 + - *629 responses: '204': description: Response @@ -97569,7 +97827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *628 + - *629 - *17 - *19 responses: @@ -97607,7 +97865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *628 + - *629 - name: role description: Filters members returned by their role in the team. in: query @@ -97658,7 +97916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *628 + - *629 - *62 responses: '204': @@ -97695,7 +97953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *628 + - *629 - *62 responses: '204': @@ -97735,7 +97993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *628 + - *629 - *62 responses: '204': @@ -97772,16 +98030,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *628 + - *629 - *62 responses: '200': description: Response content: application/json: - schema: *307 + schema: *308 examples: - response-if-user-is-a-team-maintainer: *629 + response-if-user-is-a-team-maintainer: *630 '404': *6 x-github: githubCloudOnly: false @@ -97814,7 +98072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *628 + - *629 - *62 requestBody: required: false @@ -97840,9 +98098,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: *630 + response-if-users-membership-with-team-is-now-pending: *631 '403': description: Forbidden if team synchronization is set up '422': @@ -97876,7 +98134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *628 + - *629 - *62 responses: '204': @@ -97904,7 +98162,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *628 + - *629 - *17 - *19 responses: @@ -97946,15 +98204,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *628 - - *308 + - *629 - *309 + - *310 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *631 + schema: *632 examples: alternative-response-with-extra-repository-information: value: @@ -98105,9 +98363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *628 - - *308 + - *629 - *309 + - *310 requestBody: required: false content: @@ -98157,9 +98415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *628 - - *308 + - *629 - *309 + - *310 responses: '204': description: Response @@ -98184,7 +98442,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *628 + - *629 - *17 - *19 responses: @@ -98196,7 +98454,7 @@ paths: type: array items: *179 examples: - response-if-child-teams-exist: *632 + response-if-child-teams-exist: *633 headers: Link: *57 '404': *6 @@ -98229,7 +98487,7 @@ paths: application/json: schema: oneOf: - - &634 + - &635 title: Private User description: Private User type: object @@ -98479,7 +98737,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *633 + - *634 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -98639,7 +98897,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *635 examples: default: value: @@ -98985,7 +99243,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -98993,7 +99251,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99037,7 +99295,7 @@ paths: type: integer secrets: type: array - items: &635 + items: &636 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99079,7 +99337,7 @@ paths: - visibility - selected_repositories_url examples: - default: *430 + default: *431 headers: Link: *57 x-github: @@ -99157,7 +99415,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -99303,7 +99561,7 @@ paths: type: array items: *144 examples: - default: *636 + default: *637 '401': *23 '403': *27 '404': *6 @@ -99455,7 +99713,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '304': *35 '500': *104 '401': *23 @@ -99513,7 +99771,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99570,7 +99828,7 @@ paths: description: Response content: application/json: - schema: &637 + schema: &638 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -99623,7 +99881,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &638 + default: &639 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -99668,9 +99926,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -99707,9 +99965,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: *639 + default: *640 '304': *35 '500': *104 '401': *23 @@ -99794,11 +100052,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *311 + repository: *312 machine: anyOf: - type: 'null' - - *429 + - *430 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -100603,7 +100861,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '304': *35 '500': *104 '400': *14 @@ -100643,7 +100901,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '500': *104 '401': *23 '403': *27 @@ -100675,7 +100933,7 @@ paths: type: array items: *232 examples: - default: &650 + default: &651 value: - id: 197 name: hello_docker @@ -100776,7 +101034,7 @@ paths: application/json: schema: type: array - items: &640 + items: &641 title: Email description: Email type: object @@ -100846,9 +101104,9 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: - default: &652 + default: &653 value: - email: octocat@github.com verified: true @@ -100925,7 +101183,7 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: default: value: @@ -101183,7 +101441,7 @@ paths: application/json: schema: type: array - items: &641 + items: &642 title: GPG Key description: A unique encryption key type: object @@ -101328,7 +101586,7 @@ paths: - subkeys - revoked examples: - default: &666 + default: &669 value: - id: 3 name: Octocat's GPG Key @@ -101413,9 +101671,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: &642 + default: &643 value: id: 3 name: Octocat's GPG Key @@ -101472,7 +101730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &643 + - &644 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -101484,9 +101742,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *642 + default: *643 '404': *6 '304': *35 '403': *27 @@ -101509,7 +101767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *643 + - *644 responses: '204': description: Response @@ -101814,7 +102072,7 @@ paths: required: true content: application/json: - schema: *500 + schema: *501 examples: default: value: @@ -101964,7 +102222,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: Key description: Key type: object @@ -102067,9 +102325,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102102,15 +102360,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *530 responses: '200': description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: *645 + default: *646 '404': *6 '304': *35 '403': *27 @@ -102133,7 +102391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *530 responses: '204': description: Response @@ -102166,7 +102424,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102245,7 +102503,7 @@ paths: - account - plan examples: - default: &647 + default: &648 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102307,9 +102565,9 @@ paths: application/json: schema: type: array - items: *646 + items: *647 examples: - default: *647 + default: *648 headers: Link: *57 '304': *35 @@ -103327,7 +103585,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *227 - - *648 + - *649 responses: '204': description: Response @@ -103442,7 +103700,7 @@ paths: - docker - nuget - container - - *649 + - *650 - *19 - *17 responses: @@ -103454,8 +103712,8 @@ paths: type: array items: *232 examples: - default: *650 - '400': *651 + default: *651 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103484,7 +103742,7 @@ paths: application/json: schema: *232 examples: - default: &667 + default: &670 value: id: 40201 name: octo-name @@ -103846,9 +104104,9 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: - default: *652 + default: *653 headers: Link: *57 '304': *35 @@ -103961,7 +104219,7 @@ paths: type: array items: *69 examples: - default: &659 + default: &660 summary: Default response value: - id: 1296269 @@ -104279,9 +104537,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104319,9 +104577,9 @@ paths: application/json: schema: type: array - items: *502 + items: *503 examples: - default: *653 + default: *654 headers: Link: *57 '304': *35 @@ -104400,7 +104658,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Social account description: Social media account type: object @@ -104417,7 +104675,7 @@ paths: - provider - url examples: - default: &655 + default: &656 value: - provider: twitter url: https://twitter.com/github @@ -104480,9 +104738,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *655 + default: *656 '422': *15 '304': *35 '404': *6 @@ -104570,7 +104828,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -104590,7 +104848,7 @@ paths: - title - created_at examples: - default: &685 + default: &688 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104655,9 +104913,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: &657 + default: &658 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104687,7 +104945,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: - - &658 + - &659 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -104699,9 +104957,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *657 + default: *658 '404': *6 '304': *35 '403': *27 @@ -104724,7 +104982,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: - - *658 + - *659 responses: '204': description: Response @@ -104753,7 +105011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &686 + - &689 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 @@ -104778,11 +105036,11 @@ paths: type: array items: *69 examples: - default-response: *659 + default-response: *660 application/vnd.github.v3.star+json: schema: type: array - items: &687 + items: &690 title: Starred Repository description: Starred Repository type: object @@ -104938,8 +105196,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: - - *308 - *309 + - *310 responses: '204': description: Response if this repository is starred by you @@ -104967,8 +105225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -104992,8 +105250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *308 - *309 + - *310 responses: '204': description: Response @@ -105065,7 +105323,7 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: default: value: @@ -105151,10 +105409,10 @@ paths: application/json: schema: oneOf: + - *635 - *634 - - *633 examples: - default-response: &661 + default-response: &664 summary: Default response value: login: octocat @@ -105189,7 +105447,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &662 + response-with-git-hub-plan-information: &665 summary: Response with GitHub plan information value: login: octocat @@ -105246,7 +105504,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 + - &662 + name: user_id description: The unique identifier of the user. in: path required: true @@ -105311,7 +105570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *660 + - *661 - *17 responses: '200': @@ -105334,6 +105593,119 @@ 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: + - *662 + - *250 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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: *663 + examples: + table_view: + summary: Response for creating a table view + value: *260 + board_view: + summary: Response for creating a board view with filter + value: *260 + roadmap_view: + summary: Response for creating a roadmap view + value: *260 + '304': *35 + '403': *27 + '401': *23 + '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 @@ -105360,11 +105732,11 @@ paths: application/json: schema: oneOf: + - *635 - *634 - - *633 examples: - default-response: *661 - response-with-git-hub-plan-information: *662 + default-response: *664 + response-with-git-hub-plan-information: *665 '404': *6 x-github: githubCloudOnly: false @@ -105414,8 +105786,8 @@ paths: required: - subject_digests examples: - default: *663 - withPredicateType: *664 + default: *666 + withPredicateType: *667 responses: '200': description: Response @@ -105469,7 +105841,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *665 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105674,7 +106046,7 @@ paths: initiator: type: string examples: - default: *369 + default: *370 '201': description: Response content: @@ -105715,7 +106087,7 @@ paths: type: array items: *232 examples: - default: *650 + default: *651 '403': *27 '401': *23 x-github: @@ -106099,9 +106471,9 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: - default: *666 + default: *669 headers: Link: *57 x-github: @@ -106205,7 +106577,7 @@ paths: application/json: schema: *20 examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106330,7 +106702,7 @@ paths: - docker - nuget - container - - *649 + - *650 - *62 - *19 - *17 @@ -106343,10 +106715,10 @@ paths: type: array items: *232 examples: - default: *650 + default: *651 '403': *27 '401': *23 - '400': *651 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106376,7 +106748,7 @@ paths: application/json: schema: *232 examples: - default: *667 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106725,7 +107097,7 @@ paths: type: array items: *253 examples: - default: *668 + default: *671 headers: Link: *57 '304': *35 @@ -106785,7 +107157,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *669 + items: *672 required: - name - data_type @@ -106801,7 +107173,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *670 + iteration_configuration: *673 required: - name - data_type @@ -106823,8 +107195,8 @@ paths: value: name: Due date data_type: date - single_select_field: *671 - iteration_field: *672 + single_select_field: *674 + iteration_field: *675 responses: '201': description: Response @@ -106832,11 +107204,11 @@ paths: application/json: schema: *253 examples: - text_field: *673 - number_field: *674 - date_field: *675 - single_select_field: *676 - iteration_field: *677 + text_field: *676 + number_field: *677 + date_field: *678 + single_select_field: *679 + iteration_field: *680 '304': *35 '403': *27 '401': *23 @@ -106858,7 +107230,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *250 - - *678 + - *681 - *62 responses: '200': @@ -106867,7 +107239,7 @@ paths: application/json: schema: *253 examples: - default: *679 + default: *682 headers: Link: *57 '304': *35 @@ -107224,7 +107596,7 @@ paths: parameters: - *250 - *62 - - *680 + - *683 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -107499,7 +107871,7 @@ paths: - *107 - *109 - *108 - - *681 + - *684 - *110 responses: '200': @@ -107630,7 +108002,7 @@ paths: parameters: - *62 - *107 - - *682 + - *685 - *108 responses: '200': @@ -107729,9 +108101,9 @@ paths: - *107 - *109 - *108 - - *683 + - *686 - *110 - - *684 + - *687 responses: '200': description: Response when getting a billing usage summary @@ -107865,9 +108237,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *655 + default: *656 headers: Link: *57 x-github: @@ -107897,9 +108269,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *685 + default: *688 headers: Link: *57 x-github: @@ -107924,7 +108296,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *62 - - *686 + - *689 - *51 - *17 - *19 @@ -107936,11 +108308,11 @@ paths: schema: anyOf: - type: array - items: *687 + items: *690 - type: array items: *69 examples: - default-response: *659 + default-response: *660 headers: Link: *57 x-github: @@ -108100,7 +108472,7 @@ webhooks: type: string enum: - disabled - enterprise: &688 + enterprise: &691 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108169,7 +108541,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &689 + installation: &692 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108190,7 +108562,7 @@ webhooks: required: - id - node_id - organization: &690 + organization: &693 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108263,7 +108635,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &691 + repository: &694 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109176,10 +109548,10 @@ webhooks: type: string enum: - enabled - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -109255,11 +109627,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: &692 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + rule: &695 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) @@ -109482,11 +109854,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: *692 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + rule: *695 sender: *4 required: - action @@ -109674,11 +110046,11 @@ webhooks: - everyone required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: *692 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + rule: *695 sender: *4 required: - action @@ -109762,7 +110134,7 @@ webhooks: type: string enum: - completed - check_run: &694 + check_run: &697 title: CheckRun description: A check performed on the code of a given code change type: object @@ -109872,7 +110244,7 @@ webhooks: - examples: - neutral - deployment: *693 + deployment: *696 details_url: type: string examples: @@ -109970,10 +110342,10 @@ webhooks: - output - app - pull_requests - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + installation: *692 + enterprise: *691 + organization: *693 + repository: *694 sender: *4 required: - check_run @@ -110366,11 +110738,11 @@ webhooks: type: string enum: - created - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *697 + installation: *692 + enterprise: *691 + organization: *693 + repository: *694 sender: *4 required: - check_run @@ -110766,11 +111138,11 @@ webhooks: type: string enum: - requested_action - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *697 + installation: *692 + enterprise: *691 + organization: *693 + repository: *694 requested_action: description: The action requested by the user. type: object @@ -111175,11 +111547,11 @@ webhooks: type: string enum: - rerequested - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *697 + installation: *692 + enterprise: *691 + organization: *693 + repository: *694 sender: *4 required: - check_run @@ -112171,10 +112543,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -112883,10 +113255,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -113589,10 +113961,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -113761,7 +114133,7 @@ webhooks: required: - login - id - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113913,20 +114285,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &695 + commit_oid: &698 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: *688 - installation: *689 - organization: *690 - ref: &696 + enterprise: *691 + installation: *692 + organization: *693 + ref: &699 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: *691 + repository: *694 sender: *4 required: - action @@ -114093,7 +114465,7 @@ webhooks: required: - login - id - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114334,12 +114706,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *698 + enterprise: *691 + installation: *692 + organization: *693 + ref: *699 + repository: *694 sender: *4 required: - action @@ -114437,7 +114809,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114622,12 +114994,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *698 + enterprise: *691 + installation: *692 + organization: *693 + ref: *699 + repository: *694 sender: *4 required: - action @@ -114796,7 +115168,7 @@ webhooks: required: - login - id - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114973,12 +115345,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *698 + enterprise: *691 + installation: *692 + organization: *693 + ref: *699 + repository: *694 sender: *4 required: - action @@ -115079,7 +115451,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115268,9 +115640,9 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115278,7 +115650,7 @@ webhooks: type: - string - 'null' - repository: *691 + repository: *694 sender: *4 required: - action @@ -115377,7 +115749,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115524,12 +115896,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *698 + enterprise: *691 + installation: *692 + organization: *693 + ref: *699 + repository: *694 sender: *4 required: - action @@ -115698,7 +116070,7 @@ webhooks: required: - login - id - dismissed_comment: *400 + dismissed_comment: *401 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115850,10 +116222,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -116113,10 +116485,10 @@ webhooks: - updated_at - author_association - body - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -116197,18 +116569,18 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *690 - pusher_type: &697 + organization: *693 + pusher_type: &700 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &698 + ref: &701 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116218,7 +116590,7 @@ webhooks: enum: - tag - branch - repository: *691 + repository: *694 sender: *4 required: - ref @@ -116300,10 +116672,10 @@ webhooks: type: string enum: - created - definition: *260 - enterprise: *688 - installation: *689 - organization: *690 + definition: *261 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -116388,9 +116760,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -116467,10 +116839,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *260 - enterprise: *688 - installation: *689 - organization: *690 + definition: *261 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -116547,10 +116919,10 @@ webhooks: type: string enum: - updated - definition: *260 - enterprise: *688 - installation: *689 - organization: *690 + definition: *261 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -116627,19 +116999,19 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - repository: *691 - organization: *690 + enterprise: *691 + installation: *692 + repository: *694 + organization: *693 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *264 + items: *265 old_property_values: type: array description: The old custom property values for the repository. - items: *264 + items: *265 required: - action - repository @@ -116715,18 +117087,18 @@ webhooks: title: delete event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - pusher_type: *697 - ref: *698 + enterprise: *691 + installation: *692 + organization: *693 + pusher_type: *700 + ref: *701 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *691 + repository: *694 sender: *4 required: - ref @@ -116810,11 +117182,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -116898,11 +117270,11 @@ webhooks: type: string enum: - auto_reopened - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -116986,11 +117358,11 @@ webhooks: type: string enum: - created - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117072,11 +117444,11 @@ webhooks: type: string enum: - dismissed - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117158,11 +117530,11 @@ webhooks: type: string enum: - fixed - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117245,11 +117617,11 @@ webhooks: type: string enum: - reintroduced - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117331,11 +117703,11 @@ webhooks: type: string enum: - reopened - alert: *458 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *459 + installation: *692 + organization: *693 + enterprise: *691 + repository: *694 sender: *4 required: - action @@ -117412,9 +117784,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - key: &699 + enterprise: *691 + installation: *692 + key: &702 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117452,8 +117824,8 @@ webhooks: - verified - created_at - read_only - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -117530,11 +117902,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - key: *699 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + key: *702 + organization: *693 + repository: *694 sender: *4 required: - action @@ -118106,12 +118478,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: &703 + workflow: &706 title: Workflow type: - object @@ -118849,13 +119221,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *464 + deployment: *465 pull_requests: type: array - items: *547 - repository: *691 - organization: *690 - installation: *689 + items: *548 + repository: *694 + organization: *693 + installation: *692 sender: *4 responses: '200': @@ -118926,7 +119298,7 @@ webhooks: type: string enum: - approved - approver: &700 + approver: &703 type: object properties: avatar_url: @@ -118969,11 +119341,11 @@ webhooks: type: string comment: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - reviewers: &701 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + reviewers: &704 type: array items: type: object @@ -119054,7 +119426,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &702 + workflow_job_run: &705 type: object properties: conclusion: @@ -119800,18 +120172,18 @@ webhooks: type: string enum: - rejected - approver: *700 + approver: *703 comment: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - reviewers: *701 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + reviewers: *704 sender: *4 since: type: string - workflow_job_run: *702 + workflow_job_run: *705 workflow_job_runs: type: array items: @@ -120528,13 +120900,13 @@ webhooks: type: string enum: - requested - enterprise: *688 + enterprise: *691 environment: type: string - installation: *689 - organization: *690 - repository: *691 - requestor: &708 + installation: *692 + organization: *693 + repository: *694 + requestor: &711 title: User type: - object @@ -122477,12 +122849,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: *703 + workflow: *706 workflow_run: title: Deployment Workflow Run type: @@ -123173,7 +123545,7 @@ webhooks: type: string enum: - answered - answer: &706 + answer: &709 type: object properties: author_association: @@ -123333,11 +123705,11 @@ webhooks: - created_at - updated_at - body - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123464,11 +123836,11 @@ webhooks: - from required: - category - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123551,11 +123923,11 @@ webhooks: type: string enum: - closed - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123637,7 +124009,7 @@ webhooks: type: string enum: - created - comment: &705 + comment: &708 type: object properties: author_association: @@ -123797,11 +124169,11 @@ webhooks: - updated_at - body - reactions - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123884,12 +124256,12 @@ webhooks: type: string enum: - deleted - comment: *705 - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + comment: *708 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -123984,12 +124356,12 @@ webhooks: - from required: - body - comment: *705 - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + comment: *708 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124073,11 +124445,11 @@ webhooks: type: string enum: - created - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124159,11 +124531,11 @@ webhooks: type: string enum: - deleted - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124263,11 +124635,11 @@ webhooks: type: string required: - from - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124349,10 +124721,10 @@ webhooks: type: string enum: - labeled - discussion: *704 - enterprise: *688 - installation: *689 - label: &707 + discussion: *707 + enterprise: *691 + installation: *692 + label: &710 title: Label type: object properties: @@ -124385,8 +124757,8 @@ webhooks: - color - default - description - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124469,11 +124841,11 @@ webhooks: type: string enum: - locked - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124555,11 +124927,11 @@ webhooks: type: string enum: - pinned - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124641,11 +125013,11 @@ webhooks: type: string enum: - reopened - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124730,16 +125102,16 @@ webhooks: changes: type: object properties: - new_discussion: *704 - new_repository: *691 + new_discussion: *707 + new_repository: *694 required: - new_discussion - new_repository - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124822,10 +125194,10 @@ webhooks: type: string enum: - unanswered - discussion: *704 - old_answer: *706 - organization: *690 - repository: *691 + discussion: *707 + old_answer: *709 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124907,12 +125279,12 @@ webhooks: type: string enum: - unlabeled - discussion: *704 - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124995,11 +125367,11 @@ webhooks: type: string enum: - unlocked - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -125081,11 +125453,11 @@ webhooks: type: string enum: - unpinned - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *707 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -125158,7 +125530,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *688 + enterprise: *691 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -125836,9 +126208,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - forkee @@ -125984,9 +126356,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pages: description: The pages that were updated. type: array @@ -126024,7 +126396,7 @@ webhooks: - action - sha - html_url - repository: *691 + repository: *694 sender: *4 required: - pages @@ -126100,10 +126472,10 @@ webhooks: type: string enum: - created - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: &709 + organization: *693 + repositories: &712 description: An array of repository objects that the installation can access. type: array @@ -126129,8 +126501,8 @@ webhooks: - name - full_name - private - repository: *691 - requester: *708 + repository: *694 + requester: *711 sender: *4 required: - action @@ -126205,11 +126577,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *693 + repositories: *712 + repository: *694 requester: type: - 'null' @@ -126286,11 +126658,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *693 + repositories: *712 + repository: *694 requester: type: - 'null' @@ -126367,10 +126739,10 @@ webhooks: type: string enum: - added - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories_added: &710 + organization: *693 + repositories_added: &713 description: An array of repository objects, which were added to the installation. type: array @@ -126416,15 +126788,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *691 - repository_selection: &711 + repository: *694 + repository_selection: &714 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *708 + requester: *711 sender: *4 required: - action @@ -126503,10 +126875,10 @@ webhooks: type: string enum: - removed - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories_added: *710 + organization: *693 + repositories_added: *713 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126533,9 +126905,9 @@ webhooks: - name - full_name - private - repository: *691 - repository_selection: *711 - requester: *708 + repository: *694 + repository_selection: *714 + requester: *711 sender: *4 required: - action @@ -126614,11 +126986,11 @@ webhooks: type: string enum: - suspend - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *693 + repositories: *712 + repository: *694 requester: type: - 'null' @@ -126800,10 +127172,10 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 target_type: type: string @@ -126882,11 +127254,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *688 + enterprise: *691 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *693 + repositories: *712 + repository: *694 requester: type: - 'null' @@ -127134,8 +127506,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127952,8 +128324,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128314,8 +128686,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -128395,7 +128767,7 @@ webhooks: type: string enum: - deleted - comment: &712 + comment: &715 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128562,8 +128934,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129376,8 +129748,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129740,8 +130112,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -129821,7 +130193,7 @@ webhooks: type: string enum: - edited - changes: &736 + changes: &739 description: The changes to the comment. type: object properties: @@ -129833,9 +130205,9 @@ webhooks: type: string required: - from - comment: *712 - enterprise: *688 - installation: *689 + comment: *715 + enterprise: *691 + installation: *692 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130651,8 +131023,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131013,8 +131385,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131104,9 +131476,9 @@ webhooks: type: number blocking_issue: *71 blocking_issue_repo: *69 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131195,9 +131567,9 @@ webhooks: type: number blocking_issue: *71 blocking_issue_repo: *69 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131285,9 +131657,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131376,9 +131748,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131458,10 +131830,10 @@ webhooks: type: string enum: - assigned - assignee: *708 - enterprise: *688 - installation: *689 - issue: &715 + assignee: *711 + enterprise: *691 + installation: *692 + issue: &718 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132273,11 +132645,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132397,8 +132769,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -132478,8 +132850,8 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133296,11 +133668,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133563,8 +133935,8 @@ webhooks: required: - state - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -133643,8 +134015,8 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134452,11 +134824,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134575,8 +134947,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -134655,8 +135027,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135487,11 +135859,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135589,7 +135961,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &713 + milestone: &716 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135732,8 +136104,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -135832,8 +136204,8 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136645,11 +137017,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136769,9 +137141,9 @@ webhooks: - active_lock_reason - body - reactions - label: *707 - organization: *690 - repository: *691 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -136851,8 +137223,8 @@ webhooks: type: string enum: - labeled - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137663,11 +138035,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137787,9 +138159,9 @@ webhooks: - active_lock_reason - body - reactions - label: *707 - organization: *690 - repository: *691 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -137869,8 +138241,8 @@ webhooks: type: string enum: - locked - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138706,11 +139078,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138807,8 +139179,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -138887,8 +139259,8 @@ webhooks: type: string enum: - milestoned - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139718,11 +140090,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139819,9 +140191,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *713 - organization: *690 - repository: *691 + milestone: *716 + organization: *693 + repository: *694 sender: *4 required: - action @@ -140713,11 +141085,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141294,8 +141666,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142107,11 +142479,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142230,8 +142602,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -142311,9 +142683,9 @@ webhooks: type: string enum: - pinned - enterprise: *688 - installation: *689 - issue: &714 + enterprise: *691 + installation: *692 + issue: &717 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143119,11 +143491,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143242,8 +143614,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -143322,8 +143694,8 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144157,11 +144529,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144259,8 +144631,8 @@ webhooks: user_view_type: type: string type: *215 - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -145149,11 +145521,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145752,11 +146124,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *688 - installation: *689 - issue: *714 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + issue: *717 + organization: *693 + repository: *694 sender: *4 required: - action @@ -145836,12 +146208,12 @@ webhooks: type: string enum: - typed - enterprise: *688 - installation: *689 - issue: *715 + enterprise: *691 + installation: *692 + issue: *718 type: *215 - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -145922,7 +146294,7 @@ webhooks: type: string enum: - unassigned - assignee: &739 + assignee: &742 title: User type: - object @@ -145994,11 +146366,11 @@ webhooks: required: - login - id - enterprise: *688 - installation: *689 - issue: *715 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + issue: *718 + organization: *693 + repository: *694 sender: *4 required: - action @@ -146077,12 +146449,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *688 - installation: *689 - issue: *715 - label: *707 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + issue: *718 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -146162,8 +146534,8 @@ webhooks: type: string enum: - unlocked - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146997,11 +147369,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *625 - issue_dependencies_summary: *626 + sub_issues_summary: *626 + issue_dependencies_summary: *627 issue_field_values: type: array - items: *627 + items: *628 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147098,8 +147470,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147179,11 +147551,11 @@ webhooks: type: string enum: - unpinned - enterprise: *688 - installation: *689 - issue: *714 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + issue: *717 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147262,12 +147634,12 @@ webhooks: type: string enum: - untyped - enterprise: *688 - installation: *689 - issue: *715 + enterprise: *691 + installation: *692 + issue: *718 type: *215 - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147347,11 +147719,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147429,11 +147801,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147543,11 +147915,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + label: *710 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147629,9 +148001,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: &716 + enterprise: *691 + installation: *692 + marketplace_purchase: &719 title: Marketplace Purchase type: object required: @@ -147719,8 +148091,8 @@ webhooks: type: integer unit_count: type: integer - organization: *690 - previous_marketplace_purchase: &717 + organization: *693 + previous_marketplace_purchase: &720 title: Marketplace Purchase type: object properties: @@ -147804,7 +148176,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -147884,10 +148256,10 @@ webhooks: - changed effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 + enterprise: *691 + installation: *692 + marketplace_purchase: *719 + organization: *693 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147975,7 +148347,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -148057,10 +148429,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 + enterprise: *691 + installation: *692 + marketplace_purchase: *719 + organization: *693 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148146,7 +148518,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -148227,8 +148599,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 marketplace_purchase: title: Marketplace Purchase type: object @@ -148314,9 +148686,9 @@ webhooks: type: integer unit_count: type: integer - organization: *690 - previous_marketplace_purchase: *717 - repository: *691 + organization: *693 + previous_marketplace_purchase: *720 + repository: *694 sender: *4 required: - action @@ -148396,12 +148768,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 - previous_marketplace_purchase: *717 - repository: *691 + enterprise: *691 + installation: *692 + marketplace_purchase: *719 + organization: *693 + previous_marketplace_purchase: *720 + repository: *694 sender: *4 required: - action @@ -148503,11 +148875,11 @@ webhooks: type: string required: - to - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 sender: *4 required: - action @@ -148609,11 +148981,11 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 sender: *4 required: - action @@ -148692,11 +149064,11 @@ webhooks: type: string enum: - removed - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 sender: *4 required: - action @@ -148774,11 +149146,11 @@ webhooks: type: string enum: - added - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148856,7 +149228,7 @@ webhooks: required: - login - id - team: &718 + team: &721 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149086,11 +149458,11 @@ webhooks: type: string enum: - removed - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + member: *711 + organization: *693 + repository: *694 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149169,7 +149541,7 @@ webhooks: required: - login - id - team: *718 + team: *721 required: - action - scope @@ -149251,8 +149623,8 @@ webhooks: type: string enum: - checks_requested - installation: *689 - merge_group: &719 + installation: *692 + merge_group: &722 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149271,15 +149643,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *389 + head_commit: *390 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149365,10 +149737,10 @@ webhooks: - merged - invalidated - dequeued - installation: *689 - merge_group: *719 - organization: *690 - repository: *691 + installation: *692 + merge_group: *722 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149441,7 +149813,7 @@ webhooks: type: string enum: - deleted - enterprise: *688 + enterprise: *691 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149550,12 +149922,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *689 - organization: *690 + installation: *692 + organization: *693 repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -149635,11 +150007,11 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + milestone: *716 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149718,9 +150090,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - milestone: &720 + enterprise: *691 + installation: *692 + milestone: &723 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149862,8 +150234,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149942,11 +150314,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + milestone: *716 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150056,11 +150428,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + milestone: *716 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150140,11 +150512,11 @@ webhooks: type: string enum: - opened - enterprise: *688 - installation: *689 - milestone: *720 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + milestone: *723 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150223,11 +150595,11 @@ webhooks: type: string enum: - blocked - blocked_user: *708 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + blocked_user: *711 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150306,11 +150678,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *708 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + blocked_user: *711 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150389,9 +150761,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - membership: &721 + enterprise: *691 + installation: *692 + membership: &724 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150501,8 +150873,8 @@ webhooks: - role - organization_url - user - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150580,11 +150952,11 @@ webhooks: type: string enum: - member_added - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + membership: *724 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150663,8 +151035,8 @@ webhooks: type: string enum: - member_invited - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -150786,10 +151158,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 - user: *708 + user: *711 required: - action - invitation @@ -150867,11 +151239,11 @@ webhooks: type: string enum: - member_removed - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + membership: *724 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150958,11 +151330,11 @@ webhooks: properties: from: type: string - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + membership: *724 + organization: *693 + repository: *694 sender: *4 required: - action @@ -151038,9 +151410,9 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 package: description: Information about the package. type: object @@ -151563,7 +151935,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &722 + items: &725 title: Ruby Gems metadata type: object properties: @@ -151660,7 +152032,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -151736,9 +152108,9 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 package: description: Information about the package. type: object @@ -152100,7 +152472,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *725 source_url: type: string format: uri @@ -152171,7 +152543,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -152352,12 +152724,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *688 + enterprise: *691 id: type: integer - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - id @@ -152434,7 +152806,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &723 + personal_access_token_request: &726 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152584,10 +152956,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *688 - organization: *690 + enterprise: *691 + organization: *693 sender: *4 - installation: *689 + installation: *692 required: - action - personal_access_token_request @@ -152664,11 +153036,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *723 - enterprise: *688 - organization: *690 + personal_access_token_request: *726 + enterprise: *691 + organization: *693 sender: *4 - installation: *689 + installation: *692 required: - action - personal_access_token_request @@ -152744,11 +153116,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *723 - enterprise: *688 - organization: *690 + personal_access_token_request: *726 + enterprise: *691 + organization: *693 sender: *4 - installation: *689 + installation: *692 required: - action - personal_access_token_request @@ -152823,11 +153195,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *723 - organization: *690 - enterprise: *688 + personal_access_token_request: *726 + organization: *693 + enterprise: *691 sender: *4 - installation: *689 + installation: *692 required: - action - personal_access_token_request @@ -152932,7 +153304,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *724 + last_response: *727 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -152964,8 +153336,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 zen: description: Random string of GitHub zen. @@ -153210,10 +153582,10 @@ webhooks: - from required: - note - enterprise: *688 - installation: *689 - organization: *690 - project_card: &725 + enterprise: *691 + installation: *692 + organization: *693 + project_card: &728 title: Project Card type: object properties: @@ -153336,7 +153708,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -153417,11 +153789,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project_card: *725 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project_card: *728 + repository: *694 sender: *4 required: - action @@ -153501,9 +153873,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 project_card: title: Project Card type: object @@ -153633,7 +154005,7 @@ webhooks: repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -153727,11 +154099,11 @@ webhooks: - from required: - note - enterprise: *688 - installation: *689 - organization: *690 - project_card: *725 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project_card: *728 + repository: *694 sender: *4 required: - action @@ -153825,9 +154197,9 @@ webhooks: - from required: - column_id - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 project_card: allOf: - title: Project Card @@ -154024,7 +154396,7 @@ webhooks: type: string required: - after_id - repository: *691 + repository: *694 sender: *4 required: - action @@ -154104,10 +154476,10 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - organization: *690 - project: &727 + enterprise: *691 + installation: *692 + organization: *693 + project: &730 title: Project type: object properties: @@ -154234,7 +154606,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -154314,10 +154686,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project_column: &726 + enterprise: *691 + installation: *692 + organization: *693 + project_column: &729 title: Project Column type: object properties: @@ -154357,7 +154729,7 @@ webhooks: - name - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -154436,14 +154808,14 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 + enterprise: *691 + installation: *692 + organization: *693 + project_column: *729 repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -154532,11 +154904,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project_column: *729 + repository: *694 sender: *4 required: - action @@ -154616,11 +154988,11 @@ webhooks: type: string enum: - moved - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project_column: *729 + repository: *694 sender: *4 required: - action @@ -154700,11 +155072,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project: *730 + repository: *694 sender: *4 required: - action @@ -154784,14 +155156,14 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - project: *727 + enterprise: *691 + installation: *692 + organization: *693 + project: *730 repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -154892,11 +155264,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project: *730 + repository: *694 sender: *4 required: - action @@ -154975,11 +155347,11 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + project: *730 + repository: *694 sender: *4 required: - action @@ -155060,8 +155432,8 @@ webhooks: type: string enum: - closed - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155143,8 +155515,8 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155226,8 +155598,8 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155349,8 +155721,8 @@ webhooks: type: string to: type: string - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155434,7 +155806,7 @@ webhooks: type: string enum: - archived - changes: &731 + changes: &734 type: object properties: archived_at: @@ -155450,9 +155822,9 @@ webhooks: - string - 'null' format: date-time - installation: *689 - organization: *690 - projects_v2_item: &728 + installation: *692 + organization: *693 + projects_v2_item: &731 title: Projects v2 Item description: An item belonging to a project type: object @@ -155592,9 +155964,9 @@ webhooks: - 'null' to: type: string - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -155676,9 +156048,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -155759,9 +156131,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -155866,7 +156238,7 @@ webhooks: oneOf: - type: string - type: integer - - &729 + - &732 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -155890,7 +156262,7 @@ webhooks: required: - id - name - - &730 + - &733 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -155930,8 +156302,8 @@ webhooks: oneOf: - type: string - type: integer - - *729 - - *730 + - *732 + - *733 type: - 'null' - string @@ -155954,9 +156326,9 @@ webhooks: - 'null' required: - body - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -156053,9 +156425,9 @@ webhooks: type: - string - 'null' - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -156138,10 +156510,10 @@ webhooks: type: string enum: - restored - changes: *731 - installation: *689 - organization: *690 - projects_v2_item: *728 + changes: *734 + installation: *692 + organization: *693 + projects_v2_item: *731 sender: *4 required: - action @@ -156223,8 +156595,8 @@ webhooks: type: string enum: - reopened - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -156306,9 +156678,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *692 + organization: *693 + projects_v2_status_update: *735 sender: *4 required: - action @@ -156389,9 +156761,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *692 + organization: *693 + projects_v2_status_update: *735 sender: *4 required: - action @@ -156537,9 +156909,9 @@ webhooks: - string - 'null' format: date - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *692 + organization: *693 + projects_v2_status_update: *735 sender: *4 required: - action @@ -156610,10 +156982,10 @@ webhooks: title: public event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - repository @@ -156690,13 +157062,13 @@ webhooks: type: string enum: - assigned - assignee: *708 - enterprise: *688 - installation: *689 - number: &733 + assignee: *711 + enterprise: *691 + installation: *692 + number: &736 description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -159045,7 +159417,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -159127,11 +159499,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -161473,7 +161845,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *694 sender: *4 required: - action @@ -161555,11 +161927,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -163901,7 +164273,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *694 sender: *4 required: - action @@ -163983,13 +164355,13 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: &734 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: &737 allOf: - - *547 + - *548 - type: object properties: allow_auto_merge: @@ -164051,7 +164423,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *691 + repository: *694 sender: *4 required: - action @@ -164132,12 +164504,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -164217,11 +164589,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *688 + enterprise: *691 milestone: *251 - number: *733 - organization: *690 - pull_request: &735 + number: *736 + organization: *693 + pull_request: &738 title: Pull Request type: object properties: @@ -166548,7 +166920,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -166627,11 +166999,11 @@ webhooks: type: string enum: - dequeued - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -168977,7 +169349,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *691 + repository: *694 sender: *4 required: - action @@ -169101,12 +169473,12 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -169186,11 +169558,11 @@ webhooks: type: string enum: - enqueued - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -171521,7 +171893,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -171601,11 +171973,11 @@ webhooks: type: string enum: - labeled - enterprise: *688 - installation: *689 - label: *707 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + label: *710 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -173953,7 +174325,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -174034,10 +174406,10 @@ webhooks: type: string enum: - locked - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -176383,7 +176755,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -176463,12 +176835,12 @@ webhooks: type: string enum: - milestoned - enterprise: *688 + enterprise: *691 milestone: *251 - number: *733 - organization: *690 - pull_request: *735 - repository: *691 + number: *736 + organization: *693 + pull_request: *738 + repository: *694 sender: *4 required: - action @@ -176547,12 +176919,12 @@ webhooks: type: string enum: - opened - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -176633,12 +177005,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -176718,12 +177090,12 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 + pull_request: *737 + repository: *694 sender: *4 required: - action @@ -177098,9 +177470,9 @@ webhooks: - start_side - side - reactions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: type: object properties: @@ -179330,7 +179702,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -179410,7 +179782,7 @@ webhooks: type: string enum: - deleted - comment: &737 + comment: &740 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179703,9 +180075,9 @@ webhooks: - start_side - side - reactions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: type: object properties: @@ -181923,7 +182295,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -182003,11 +182375,11 @@ webhooks: type: string enum: - edited - changes: *736 - comment: *737 - enterprise: *688 - installation: *689 - organization: *690 + changes: *739 + comment: *740 + enterprise: *691 + installation: *692 + organization: *693 pull_request: type: object properties: @@ -184228,7 +184600,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -184309,9 +184681,9 @@ webhooks: type: string enum: - dismissed - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -186544,7 +186916,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 review: description: The review that was affected. type: object @@ -186795,9 +187167,9 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -188911,8 +189283,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: &738 + repository: *694 + review: &741 description: The review that was affected. type: object properties: @@ -189150,12 +189522,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -191502,7 +191874,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_reviewer: title: User type: @@ -191588,12 +191960,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -193947,7 +194319,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194142,12 +194514,12 @@ webhooks: type: string enum: - review_requested - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -196496,7 +196868,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_reviewer: title: User type: @@ -196583,12 +196955,12 @@ webhooks: type: string enum: - review_requested - enterprise: *688 - installation: *689 + enterprise: *691 + installation: *692 number: description: The pull request number. type: integer - organization: *690 + organization: *693 pull_request: title: Pull Request type: object @@ -198928,7 +199300,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199112,9 +199484,9 @@ webhooks: type: string enum: - submitted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -201350,8 +201722,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: *738 + repository: *694 + review: *741 sender: *4 required: - action @@ -201431,9 +201803,9 @@ webhooks: type: string enum: - resolved - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -203564,7 +203936,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 sender: *4 thread: type: object @@ -203961,9 +204333,9 @@ webhooks: type: string enum: - unresolved - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 pull_request: title: Simple Pull Request type: object @@ -206077,7 +206449,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 sender: *4 thread: type: object @@ -206476,10 +206848,10 @@ webhooks: type: string before: type: string - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -208814,7 +209186,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -208896,11 +209268,11 @@ webhooks: type: string enum: - unassigned - assignee: *739 - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + assignee: *742 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -211250,7 +211622,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -211329,11 +211701,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *688 - installation: *689 - label: *707 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + label: *710 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -213672,7 +214044,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -213753,10 +214125,10 @@ webhooks: type: string enum: - unlocked - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *691 + installation: *692 + number: *736 + organization: *693 pull_request: title: Pull Request type: object @@ -216085,7 +216457,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -216288,7 +216660,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *688 + enterprise: *691 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216383,8 +216755,8 @@ webhooks: - url - author - committer - installation: *689 - organization: *690 + installation: *692 + organization: *693 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -216972,9 +217344,9 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 registry_package: type: object properties: @@ -217451,7 +217823,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *722 + items: *725 summary: type: string tag_name: @@ -217507,7 +217879,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -217585,9 +217957,9 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 registry_package: type: object properties: @@ -217899,7 +218271,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *725 summary: type: string tag_name: @@ -217949,7 +218321,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -218026,10 +218398,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - release: &740 + enterprise: *691 + installation: *692 + organization: *693 + release: &743 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218360,7 +218732,7 @@ webhooks: - updated_at - zipball_url - body - repository: *691 + repository: *694 sender: *4 required: - action @@ -218437,11 +218809,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + release: *743 + repository: *694 sender: *4 required: - action @@ -218558,11 +218930,11 @@ webhooks: type: boolean required: - to - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + release: *743 + repository: *694 sender: *4 required: - action @@ -218640,9 +219012,9 @@ webhooks: type: string enum: - prereleased - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -218978,7 +219350,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *694 sender: *4 required: - action @@ -219054,10 +219426,10 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - release: &741 + enterprise: *691 + installation: *692 + organization: *693 + release: &744 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219390,7 +219762,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *694 sender: *4 required: - action @@ -219466,11 +219838,11 @@ webhooks: type: string enum: - released - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + release: *743 + repository: *694 sender: *4 required: - action @@ -219546,11 +219918,11 @@ webhooks: type: string enum: - unpublished - enterprise: *688 - installation: *689 - organization: *690 - release: *741 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + release: *744 + repository: *694 sender: *4 required: - action @@ -219626,11 +219998,11 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_advisory: *611 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_advisory: *612 sender: *4 required: - action @@ -219706,11 +220078,11 @@ webhooks: type: string enum: - reported - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_advisory: *611 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_advisory: *612 sender: *4 required: - action @@ -219786,10 +220158,10 @@ webhooks: type: string enum: - archived - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -219866,10 +220238,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -219947,10 +220319,10 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220035,10 +220407,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220153,10 +220525,10 @@ webhooks: - 'null' items: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220228,10 +220600,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 status: type: string @@ -220312,10 +220684,10 @@ webhooks: type: string enum: - privatized - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220392,10 +220764,10 @@ webhooks: type: string enum: - publicized - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220489,10 +220861,10 @@ webhooks: - name required: - repository - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -220572,11 +220944,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *292 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_ruleset: *293 sender: *4 required: - action @@ -220654,11 +221026,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *292 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_ruleset: *293 sender: *4 required: - action @@ -220736,11 +221108,11 @@ webhooks: type: string enum: - edited - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *292 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + repository_ruleset: *293 changes: type: object properties: @@ -220759,16 +221131,16 @@ webhooks: properties: added: type: array - items: *266 + items: *267 deleted: type: array - items: *266 + items: *267 updated: type: array items: type: object properties: - condition: *266 + condition: *267 changes: type: object properties: @@ -220801,16 +221173,16 @@ webhooks: properties: added: type: array - items: *567 + items: *568 deleted: type: array - items: *567 + items: *568 updated: type: array items: type: object properties: - rule: *567 + rule: *568 changes: type: object properties: @@ -221047,10 +221419,10 @@ webhooks: - from required: - owner - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221128,10 +221500,10 @@ webhooks: type: string enum: - unarchived - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221209,7 +221581,7 @@ webhooks: type: string enum: - create - alert: &742 + alert: &745 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221333,10 +221705,10 @@ webhooks: type: string enum: - open - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221546,10 +221918,10 @@ webhooks: type: string enum: - dismissed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221627,11 +221999,11 @@ webhooks: type: string enum: - reopen - alert: *742 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221833,10 +222205,10 @@ webhooks: enum: - fixed - open - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -221914,7 +222286,7 @@ webhooks: type: string enum: - assigned - alert: &743 + alert: &746 type: object properties: number: *162 @@ -222029,10 +222401,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222110,11 +222482,11 @@ webhooks: type: string enum: - created - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222195,11 +222567,11 @@ webhooks: type: string enum: - created - alert: *743 - installation: *689 - location: *744 - organization: *690 - repository: *691 + alert: *746 + installation: *692 + location: *747 + organization: *693 + repository: *694 sender: *4 required: - location @@ -222437,11 +222809,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222519,11 +222891,11 @@ webhooks: type: string enum: - reopened - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222601,11 +222973,11 @@ webhooks: type: string enum: - resolved - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222683,12 +223055,12 @@ webhooks: type: string enum: - unassigned - alert: *743 + alert: *746 assignee: *4 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222766,11 +223138,11 @@ webhooks: type: string enum: - validated - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *746 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -222900,10 +223272,10 @@ webhooks: - organization - enterprise - - repository: *691 - enterprise: *688 - installation: *689 - organization: *690 + repository: *694 + enterprise: *691 + installation: *692 + organization: *693 sender: *4 required: - action @@ -222981,11 +223353,11 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - security_advisory: &745 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + security_advisory: &748 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223171,11 +223543,11 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - security_advisory: *745 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 + security_advisory: *748 sender: *4 required: - action @@ -223248,10 +223620,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223437,11 +223809,11 @@ webhooks: from: type: object properties: - security_and_analysis: *265 - enterprise: *688 - installation: *689 - organization: *690 - repository: *311 + security_and_analysis: *266 + enterprise: *691 + installation: *692 + organization: *693 + repository: *312 sender: *4 required: - changes @@ -223519,12 +223891,12 @@ webhooks: type: string enum: - cancelled - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: &746 + sponsorship: &749 type: object properties: created_at: @@ -223829,12 +224201,12 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - sponsorship @@ -223922,12 +224294,12 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - changes @@ -224004,17 +224376,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &747 + effective_date: &750 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: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - sponsorship @@ -224088,7 +224460,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &748 + changes: &751 type: object properties: tier: @@ -224132,13 +224504,13 @@ webhooks: - from required: - tier - effective_date: *747 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + effective_date: *750 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - changes @@ -224215,13 +224587,13 @@ webhooks: type: string enum: - tier_changed - changes: *748 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + changes: *751 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - sponsorship: *746 + sponsorship: *749 required: - action - changes @@ -224295,10 +224667,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224382,10 +224754,10 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224819,15 +225191,15 @@ webhooks: type: - string - 'null' - enterprise: *688 + enterprise: *691 id: description: The unique identifier of the status. type: integer - installation: *689 + installation: *692 name: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 sha: description: The Commit SHA. @@ -224943,9 +225315,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -225035,9 +225407,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -225127,9 +225499,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -225219,9 +225591,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *71 - installation: *689 - organization: *690 - repository: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -225298,12 +225670,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - team: &749 + team: &752 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225533,9 +225905,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -226005,7 +226377,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -226081,9 +226453,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -226553,7 +226925,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -226630,9 +227002,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -227102,7 +227474,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -227246,9 +227618,9 @@ webhooks: - from required: - permissions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -227718,7 +228090,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - changes @@ -227796,9 +228168,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *691 + installation: *692 + organization: *693 repository: title: Repository description: A git repository @@ -228268,7 +228640,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -228344,10 +228716,10 @@ webhooks: type: string enum: - started - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 required: - action @@ -228420,17 +228792,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *688 + enterprise: *691 inputs: type: - object - 'null' additionalProperties: true - installation: *689 - organization: *690 + installation: *692 + organization: *693 ref: type: string - repository: *691 + repository: *694 sender: *4 workflow: type: string @@ -228512,10 +228884,10 @@ webhooks: type: string enum: - completed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 workflow_job: allOf: @@ -228771,7 +229143,7 @@ webhooks: type: string required: - conclusion - deployment: *464 + deployment: *465 required: - action - repository @@ -228850,10 +229222,10 @@ webhooks: type: string enum: - in_progress - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 workflow_job: allOf: @@ -229135,7 +229507,7 @@ webhooks: required: - status - steps - deployment: *464 + deployment: *465 required: - action - repository @@ -229214,10 +229586,10 @@ webhooks: type: string enum: - queued - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 workflow_job: type: object @@ -229363,7 +229735,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *465 required: - action - repository @@ -229442,10 +229814,10 @@ webhooks: type: string enum: - waiting - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 workflow_job: type: object @@ -229592,7 +229964,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *465 required: - action - repository @@ -229672,12 +230044,12 @@ webhooks: type: string enum: - completed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: *703 + workflow: *706 workflow_run: title: Workflow Run type: object @@ -230696,12 +231068,12 @@ webhooks: type: string enum: - in_progress - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: *703 + workflow: *706 workflow_run: title: Workflow Run type: object @@ -231705,12 +232077,12 @@ webhooks: type: string enum: - requested - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *691 + installation: *692 + organization: *693 + repository: *694 sender: *4 - workflow: *703 + workflow: *706 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index c31ce6407..c2c4fcc5d 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -120976,7 +120976,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -122309,7 +122312,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -137429,7 +137435,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -143631,7 +143640,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -145373,7 +145385,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -160508,7 +160523,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -163611,7 +163629,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -174215,7 +174236,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -177163,7 +177187,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -202894,7 +202921,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -205261,7 +205291,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -213698,7 +213731,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -218771,7 +218807,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -220092,7 +220131,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -223439,7 +223481,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -225686,7 +225731,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253593,6 +253641,804 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", @@ -257698,7 +258544,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -279297,7 +280146,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -287405,7 +288257,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -310467,7 +311322,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -311333,7 +312191,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -313313,7 +314174,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -314179,7 +315043,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -316989,7 +317856,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -317855,7 +318725,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -325130,7 +326003,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -325996,7 +326872,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -364960,7 +365839,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -366891,7 +367773,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -368332,7 +369217,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -370111,7 +370999,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -377264,14 +378155,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": [ { @@ -385407,7 +386298,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -387517,7 +388411,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -389263,7 +390160,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -393034,7 +393934,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -407896,7 +408799,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -409266,7 +410172,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -447209,7 +448118,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -463800,7 +464712,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -465304,7 +466219,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -569266,7 +570184,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -598090,7 +599011,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -599836,7 +600760,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -666896,7 +667823,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -672963,7 +673893,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -685564,7 +686497,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -687198,7 +688134,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -697410,7 +698349,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -703361,7 +704303,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -705662,7 +706607,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -707408,7 +708356,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -709463,7 +710414,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -711565,7 +712519,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -713483,7 +714440,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -721854,7 +722814,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -723860,7 +724823,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -725601,7 +726567,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -744754,7 +745723,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -746337,7 +747309,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -747597,7 +748572,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -756387,7 +757365,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -762224,7 +763205,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -771961,266 +772945,1064 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\"", + "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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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": false, "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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "subcategory": "views" } } }, @@ -774828,7 +776610,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -812132,7 +813917,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -813453,7 +815241,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -857263,7 +859054,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -860684,7 +862478,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -885479,7 +887276,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -890452,7 +892252,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -895425,7 +897228,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -900411,7 +902217,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index c65634977..6e73f00ba 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &423 + type: &424 type: string description: The type of credit the user is receiving. enum: @@ -1079,7 +1079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &726 + - &727 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &736 + schema: &737 title: Scim Error description: Scim Error type: object @@ -9260,7 +9260,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &737 + '401': &738 description: Authorization failure '404': *6 x-github: @@ -13533,7 +13533,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &511 + instances_url: &512 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13569,7 +13569,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &512 + dismissed_reason: &513 type: - string - 'null' @@ -13580,14 +13580,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &513 + dismissed_comment: &514 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &514 + rule: &515 type: object properties: id: @@ -13648,7 +13648,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &515 + tool: &516 type: object properties: name: *109 @@ -13659,26 +13659,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *110 - most_recent_instance: &516 + most_recent_instance: &517 type: object properties: - ref: &509 + ref: &510 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &526 + analysis_key: &527 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: &527 + environment: &528 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: &528 + category: &529 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13692,7 +13692,7 @@ paths: properties: text: type: string - location: &529 + location: &530 type: object description: Describe a region within a file for the alert. properties: @@ -13713,7 +13713,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &530 + items: &531 type: - string - 'null' @@ -17488,7 +17488,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 - - &567 + - &568 name: has in: query description: |- @@ -17605,7 +17605,7 @@ paths: - direct - transitive - - security_advisory: &568 + security_advisory: &569 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17841,7 +17841,7 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: &569 + auto_dismissed_at: &570 type: - string - 'null' @@ -17849,7 +17849,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &570 + dismissal_request: &571 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -19051,7 +19051,7 @@ paths: - name - created_on examples: - default: &427 + default: &428 value: total_count: 2 network_configurations: @@ -19274,7 +19274,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &428 + - &429 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19286,7 +19286,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &430 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19325,7 +19325,7 @@ paths: - subnet_id - region examples: - default: &430 + default: &431 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20174,7 +20174,7 @@ paths: required: true content: application/json: - schema: &401 + schema: &402 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21368,7 +21368,7 @@ paths: conditions: anyOf: - *156 - - &405 + - &406 title: Organization ruleset conditions type: object description: |- @@ -21418,7 +21418,7 @@ paths: - object rules: type: array - items: &692 + items: &693 title: Repository Rule type: object description: A repository rule. @@ -21427,7 +21427,7 @@ paths: - *165 - *166 - *167 - - &690 + - &691 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21755,7 +21755,7 @@ paths: type: string format: date-time examples: - default: &408 + default: &409 value: - version_id: 3 actor: @@ -21808,7 +21808,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &410 allOf: - *189 - type: object @@ -21863,7 +21863,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &410 + - &411 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21874,7 +21874,7 @@ paths: enum: - open - resolved - - &411 + - &412 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21884,7 +21884,7 @@ paths: required: false schema: type: string - - &412 + - &413 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21893,7 +21893,7 @@ paths: required: false schema: type: string - - &413 + - &414 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21912,7 +21912,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &414 + - &415 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. @@ -21928,7 +21928,7 @@ paths: - *17 - *106 - *107 - - &415 + - &416 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21937,7 +21937,7 @@ paths: required: false schema: type: string - - &416 + - &417 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21946,7 +21946,7 @@ paths: schema: type: boolean default: false - - &417 + - &418 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21955,7 +21955,7 @@ paths: schema: type: boolean default: false - - &418 + - &419 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21971,7 +21971,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 type: object properties: number: *124 @@ -21987,14 +21987,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &704 + state: &705 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &705 + resolution: &706 type: - string - 'null' @@ -22101,14 +22101,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &706 + - &707 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &708 + - &709 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22165,7 +22165,7 @@ paths: - blob_url - commit_sha - commit_url - - &709 + - &710 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. @@ -22226,7 +22226,7 @@ paths: - page_url - commit_sha - commit_url - - &710 + - &711 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22241,7 +22241,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &711 + - &712 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -22256,7 +22256,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &712 + - &713 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -22271,7 +22271,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &713 + - &714 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22286,7 +22286,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &714 + - &715 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22301,7 +22301,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &715 + - &716 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22316,7 +22316,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &716 + - &717 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. @@ -22331,7 +22331,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &717 + - &718 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. @@ -22346,7 +22346,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &718 + - &719 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. @@ -22361,7 +22361,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &719 + - &720 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. @@ -22376,7 +22376,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &720 + - &721 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 @@ -22401,7 +22401,7 @@ paths: - type: 'null' - *4 examples: - default: &420 + default: &421 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22610,7 +22610,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &422 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22697,7 +22697,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &422 + default: &423 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22833,7 +22833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &424 + - &425 name: advanced_security_product in: query description: | @@ -22853,7 +22853,7 @@ paths: description: Success content: application/json: - schema: &425 + schema: &426 type: object properties: total_advanced_security_committers: @@ -22916,7 +22916,7 @@ paths: required: - repositories examples: - default: &426 + default: &427 value: total_advanced_security_committers: 2 total_count: 2 @@ -25718,7 +25718,7 @@ paths: properties: action: type: string - discussion: &841 + discussion: &844 title: Discussion description: A Discussion in a repository. type: object @@ -26504,7 +26504,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &764 + sub_issues_summary: &765 title: Sub-issues Summary type: object properties: @@ -26525,7 +26525,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &765 + issue_dependencies_summary: &766 title: Issue Dependencies Summary type: object properties: @@ -26544,7 +26544,7 @@ paths: - total_blocking issue_field_values: type: array - items: &766 + items: &767 title: Issue Field Value description: A value assigned to an issue field type: object @@ -26657,7 +26657,7 @@ paths: action: type: string issue: *213 - comment: &627 + comment: &628 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -27380,7 +27380,7 @@ paths: type: string release: allOf: - - &683 + - &684 title: Release description: A release. type: object @@ -27462,7 +27462,7 @@ paths: author: *4 assets: type: array - items: &684 + items: &685 title: Release Asset description: Data related to a release. type: object @@ -28053,7 +28053,7 @@ paths: url: type: string format: uri - user: &772 + user: &773 title: Public User description: Public User type: object @@ -31410,14 +31410,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: - - &438 + - &439 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &439 + - &440 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31479,7 +31479,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &444 + '301': &445 description: Moved permanently content: application/json: @@ -31501,7 +31501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &657 + - &658 name: all description: If `true`, show notifications marked as read. in: query @@ -31509,7 +31509,7 @@ paths: schema: type: boolean default: false - - &658 + - &659 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31519,7 +31519,7 @@ paths: type: boolean default: false - *219 - - &659 + - &660 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: @@ -31869,7 +31869,9 @@ paths: spdx_id: type: string url: - type: string + type: + - string + - 'null' node_id: type: string forks: @@ -31890,7 +31892,7 @@ paths: type: boolean examples: - false - security_and_analysis: &402 + security_and_analysis: &403 type: - object - 'null' @@ -32063,7 +32065,7 @@ paths: - url - subscription_url examples: - default: &660 + default: &661 value: - id: '1' repository: @@ -33192,7 +33194,7 @@ paths: type: array items: *150 examples: - default: &666 + default: &667 value: - property_name: environment value: production @@ -33242,7 +33244,7 @@ paths: required: - properties examples: - default: &667 + default: &668 value: properties: - property_name: environment @@ -34133,7 +34135,7 @@ paths: type: integer repository_cache_usages: type: array - items: &451 + items: &452 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36256,7 +36258,7 @@ paths: type: array items: *273 examples: - default: &775 + default: &776 value: total_count: 1 repositories: @@ -37300,7 +37302,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37335,7 +37337,7 @@ paths: - key_id - key examples: - default: &472 + default: &473 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37748,7 +37750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *85 - - &456 + - &457 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)." @@ -38988,12 +38990,12 @@ paths: required: - subject_digests examples: - default: &802 + default: &805 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &803 + withPredicateType: &806 value: subject_digests: - sha256:abc123 @@ -39052,7 +39054,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &804 + default: &807 value: attestations_subject_digests: - sha256:abc: @@ -39401,7 +39403,7 @@ paths: initiator: type: string examples: - default: &485 + default: &486 value: attestations: - bundle: @@ -40323,7 +40325,7 @@ paths: be returned. in: query required: false - schema: &510 + schema: &511 type: string description: Severity of a code scanning alert. enum: @@ -41383,7 +41385,7 @@ paths: machine: anyOf: - type: 'null' - - &542 + - &543 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42335,7 +42337,7 @@ paths: - updated_at - visibility examples: - default: &543 + default: &544 value: total_count: 2 secrets: @@ -42373,7 +42375,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &545 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42408,7 +42410,7 @@ paths: - key_id - key examples: - default: &545 + default: &546 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42440,7 +42442,7 @@ paths: application/json: schema: *316 examples: - default: &547 + default: &548 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44319,7 +44321,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &574 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44338,7 +44340,7 @@ paths: - key_id - key examples: - default: &574 + default: &575 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44668,7 +44670,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - &582 + - &583 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -44676,7 +44678,7 @@ paths: required: false schema: type: string - - &583 + - &584 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -44684,7 +44686,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: time_period description: |- The time period to filter by. @@ -44700,7 +44702,7 @@ paths: - week - month default: month - - &585 + - &586 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -44725,7 +44727,7 @@ paths: application/json: schema: type: array - items: &586 + items: &587 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -44888,7 +44890,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &587 + default: &588 value: - id: 21 number: 42 @@ -45006,7 +45008,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45129,7 +45131,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &589 + default: &590 value: - id: 21 number: 42 @@ -45231,7 +45233,7 @@ paths: application/json: schema: type: array - items: &590 + items: &591 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -45358,7 +45360,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &591 + default: &592 value: - id: 21 number: 42 @@ -45704,7 +45706,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &436 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -45794,7 +45796,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &436 + default: &437 value: group_id: '123' group_name: Octocat admins @@ -45849,7 +45851,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &434 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -45889,7 +45891,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &434 + default: &435 value: groups: - group_id: '123' @@ -46054,7 +46056,7 @@ paths: application/json: schema: type: array - items: &403 + items: &404 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46068,7 +46070,7 @@ paths: - name - description examples: - default: &404 + default: &405 value: - name: add_assignee description: Assign or remove a user @@ -47218,7 +47220,7 @@ paths: application/json: schema: *20 examples: - default: &622 + default: &623 value: id: 1 account: @@ -47446,7 +47448,7 @@ paths: required: true content: application/json: - schema: &623 + schema: &624 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -48314,7 +48316,7 @@ paths: application/json: schema: *363 examples: - default: &541 + default: &542 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49576,7 +49578,7 @@ paths: parameters: - *85 - *369 - - &787 + - &788 name: repo_name description: repo_name parameter in: path @@ -50922,7 +50924,7 @@ paths: - nuget - container - *85 - - &788 + - &789 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -50963,7 +50965,7 @@ paths: default: *374 '403': *27 '401': *23 - '400': &790 + '400': &791 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -52789,7 +52791,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &874 + - &877 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -53063,7 +53065,7 @@ paths: content: oneOf: - *213 - - &556 + - &557 title: Pull Request Simple description: Pull Request Simple type: object @@ -53308,7 +53310,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: &669 + auto_merge: &670 title: Auto merge description: The status of auto merging a pull request. type: @@ -53690,7 +53692,7 @@ paths: - updated_at - project_url examples: - default: &807 + default: &810 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53867,7 +53869,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &808 + items: &811 type: object properties: name: @@ -53903,7 +53905,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &809 + iteration_configuration: &812 type: object description: The configuration for iteration fields. properties: @@ -53952,7 +53954,7 @@ paths: value: name: Due date data_type: date - single_select_field: &810 + single_select_field: &813 summary: Create a single select field value: name: Priority @@ -53979,7 +53981,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &811 + iteration_field: &814 summary: Create an iteration field value: name: Sprint @@ -54005,7 +54007,7 @@ paths: application/json: schema: *394 examples: - text_field: &812 + text_field: &815 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54014,7 +54016,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: &813 + number_field: &816 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -54023,7 +54025,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: &814 + date_field: &817 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -54032,7 +54034,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: &815 + single_select_field: &818 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54066,7 +54068,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &816 + iteration_field: &819 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -54112,7 +54114,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *391 - - &817 + - &820 name: field_id description: The unique identifier of the field. in: path @@ -54127,7 +54129,7 @@ paths: application/json: schema: *394 examples: - default: &818 + default: &821 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -55250,6 +55252,262 @@ 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: + - *85 + - *391 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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: &802 + 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. + examples: + - https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + examples: + - https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + description: The time when the view was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the view was last updated. + examples: + - '2022-04-28T12:00:00Z' + filter: + type: + - string + - 'null' + description: The filter query for the view. + examples: + - 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: &401 + 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: *401 + roadmap_view: + summary: Response for creating a roadmap view + value: *401 + '304': *35 + '403': *27 + '401': *23 + '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 @@ -55264,7 +55522,7 @@ paths: parameters: - *391 - *85 - - &819 + - &822 name: view_number description: The number that identifies the project view. in: path @@ -55462,7 +55720,7 @@ paths: required: true content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -56034,7 +56292,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &444 title: Full Repository description: Full Repository type: object @@ -56499,7 +56757,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &561 + code_of_conduct: &562 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -56529,7 +56787,7 @@ paths: - key - name - html_url - security_and_analysis: *402 + security_and_analysis: *403 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -56613,7 +56871,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &446 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57139,9 +57397,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: *404 + default: *405 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57166,7 +57424,7 @@ paths: - *85 - *17 - *19 - - &691 + - &692 name: targets description: | A comma-separated list of rule targets to filter by. @@ -57258,11 +57516,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *405 + conditions: *406 rules: type: array description: An array of rules within the ruleset. - items: &407 + items: &408 title: Repository Rule type: object description: A repository rule. @@ -57327,7 +57585,7 @@ paths: application/json: schema: *185 examples: - default: &406 + default: &407 value: id: 21 name: super cool ruleset @@ -57382,7 +57640,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *85 - - &693 + - &694 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 @@ -57394,14 +57652,14 @@ paths: x-multi-segment: true - *299 - *103 - - &694 + - &695 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &695 + - &696 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -57421,7 +57679,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &697 title: Rule Suites description: Response type: array @@ -57477,7 +57735,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &697 + default: &698 value: - id: 21 actor_id: 12 @@ -57521,7 +57779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *85 - - &698 + - &699 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -57537,7 +57795,7 @@ paths: description: Response content: application/json: - schema: &699 + schema: &700 title: Rule Suite description: Response type: object @@ -57644,7 +57902,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &700 + default: &701 value: id: 21 actor_id: 12 @@ -57719,7 +57977,7 @@ paths: application/json: schema: *185 examples: - default: *406 + default: *407 '404': *6 '500': *38 put: @@ -57768,11 +58026,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *405 + conditions: *406 rules: description: An array of rules within the ruleset. type: array - items: *407 + items: *408 examples: default: value: @@ -57809,7 +58067,7 @@ paths: application/json: schema: *185 examples: - default: *406 + default: *407 '404': *6 '500': *38 delete: @@ -57868,7 +58126,7 @@ paths: type: array items: *189 examples: - default: *408 + default: *409 '404': *6 '500': *38 x-github: @@ -57905,7 +58163,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -57968,15 +58226,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *85 - - *410 - *411 - *412 - *413 - *414 + - *415 - *108 - *19 - *17 - - &702 + - &703 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 @@ -57986,7 +58244,7 @@ paths: required: false schema: type: string - - &703 + - &704 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 @@ -57996,10 +58254,10 @@ paths: required: false schema: type: string - - *415 - *416 - *417 - *418 + - *419 responses: '200': description: Response @@ -58007,9 +58265,9 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *420 + default: *421 headers: Link: *45 '404': *6 @@ -58044,9 +58302,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *422 + default: *423 '403': *27 '404': *6 patch: @@ -58199,7 +58457,7 @@ paths: application/json: schema: type: array - items: &724 + items: &725 description: A repository security advisory. type: object properties: @@ -58443,7 +58701,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 credits_detailed: type: - array @@ -58454,7 +58712,7 @@ paths: type: object properties: user: *4 - type: *423 + type: *424 state: type: string description: The state of the user's acceptance of the @@ -58518,7 +58776,7 @@ paths: - private_fork additionalProperties: false examples: - default: &725 + default: &726 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -58989,7 +59247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *85 - - *424 + - *425 - *17 - *19 responses: @@ -58997,9 +59255,9 @@ paths: description: Success content: application/json: - schema: *425 + schema: *426 examples: - default: *426 + default: *427 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59282,7 +59540,7 @@ paths: type: array items: *142 examples: - default: *427 + default: *428 headers: Link: *45 x-github: @@ -59483,15 +59741,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: - *85 - - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: *430 + default: *431 headers: Link: *45 x-github: @@ -59529,7 +59787,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &441 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -59581,7 +59839,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &441 + default: &442 value: groups: - group_id: '123' @@ -59789,7 +60047,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &432 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60188,7 +60446,7 @@ paths: - repos_count - organization examples: - default: &432 + default: &433 value: id: 1 node_id: MDQ6VGVhbTE= @@ -60265,9 +60523,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -60352,16 +60610,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '201': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 '422': *15 '403': *27 @@ -60417,9 +60675,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60463,9 +60721,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60606,7 +60864,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &438 title: Team Membership description: Team Membership type: object @@ -60634,7 +60892,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &768 + response-if-user-is-a-team-maintainer: &769 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -60697,9 +60955,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - response-if-users-membership-with-team-is-now-pending: &769 + response-if-users-membership-with-team-is-now-pending: &770 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -60806,14 +61064,14 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &770 + schema: &771 title: Team Repository description: A team's access to a repository. type: object @@ -61456,8 +61714,8 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 requestBody: required: false content: @@ -61504,8 +61762,8 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 responses: '204': description: Response @@ -61538,9 +61796,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61606,7 +61864,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -61651,7 +61909,7 @@ paths: type: array items: *302 examples: - response-if-child-teams-exist: &771 + response-if-child-teams-exist: &772 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61805,7 +62063,7 @@ paths: resources: type: object properties: - core: &442 + core: &443 title: Rate Limit type: object properties: @@ -61822,21 +62080,21 @@ paths: - remaining - reset - used - graphql: *442 - search: *442 - code_search: *442 - source_import: *442 - integration_manifest: *442 - code_scanning_upload: *442 - actions_runner_registration: *442 - scim: *442 - dependency_snapshots: *442 - dependency_sbom: *442 - code_scanning_autofix: *442 + graphql: *443 + search: *443 + code_search: *443 + source_import: *443 + integration_manifest: *443 + code_scanning_upload: *443 + actions_runner_registration: *443 + scim: *443 + dependency_snapshots: *443 + dependency_sbom: *443 + code_scanning_autofix: *443 required: - core - search - rate: *442 + rate: *443 required: - rate - resources @@ -61941,14 +62199,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *443 + schema: *444 examples: default-response: summary: Default response @@ -62453,7 +62711,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62471,8 +62729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -62730,10 +62988,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 - '307': &446 + default: *446 + '307': &447 description: Temporary Redirect content: application/json: @@ -62762,8 +63020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -62785,7 +63043,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': *446 + '307': *447 '404': *6 '409': *117 x-github: @@ -62809,11 +63067,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *438 - *439 + - *440 - *17 - *19 - - &463 + - &464 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62836,7 +63094,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &448 title: Artifact description: An artifact type: object @@ -62931,7 +63189,7 @@ paths: - expires_at - updated_at examples: - default: &464 + default: &465 value: total_count: 2 artifacts: @@ -62992,9 +63250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *438 - *439 - - &448 + - *440 + - &449 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63006,7 +63264,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: default: value: @@ -63044,9 +63302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *438 - *439 - - *448 + - *440 + - *449 responses: '204': description: Response @@ -63070,9 +63328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *438 - *439 - - *448 + - *440 + - *449 - name: archive_format in: path required: true @@ -63086,7 +63344,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': &626 + '410': &627 description: Gone content: application/json: @@ -63111,14 +63369,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: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &449 + schema: &450 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -63152,13 +63410,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: - - *438 - *439 + - *440 requestBody: required: true content: application/json: - schema: *449 + schema: *450 examples: selected_actions: *42 responses: @@ -63187,14 +63445,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: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &450 + schema: &451 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -63228,13 +63486,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: - - *438 - *439 + - *440 requestBody: required: true content: application/json: - schema: *450 + schema: *451 examples: selected_actions: *44 responses: @@ -63265,14 +63523,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: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -63298,11 +63556,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: - - *438 - *439 + - *440 - *17 - *19 - - &452 + - &453 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 @@ -63336,7 +63594,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: Repository actions caches description: Repository actions caches type: object @@ -63386,7 +63644,7 @@ paths: - total_count - actions_caches examples: - default: &454 + default: &455 value: total_count: 1 actions_caches: @@ -63418,23 +63676,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: - - *438 - *439 + - *440 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *452 + - *453 responses: '200': description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *454 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63454,8 +63712,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: - - *438 - *439 + - *440 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -63486,9 +63744,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: - - *438 - *439 - - &455 + - *440 + - &456 name: job_id description: The unique identifier of the job. in: path @@ -63500,7 +63758,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &468 title: Job description: Information of a job execution in a workflow run type: object @@ -63847,9 +64105,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: - - *438 - *439 - - *455 + - *440 + - *456 responses: '302': description: Response @@ -63877,9 +64135,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: - - *438 - *439 - - *455 + - *440 + - *456 requestBody: required: false content: @@ -63925,8 +64183,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: - - *438 - *439 + - *440 responses: '200': description: Status response @@ -63976,8 +64234,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -64040,8 +64298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -64059,7 +64317,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &470 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64080,7 +64338,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &471 value: total_count: 2 secrets: @@ -64113,9 +64371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *438 - *439 - - *456 + - *440 + - *457 - *19 responses: '200': @@ -64132,7 +64390,7 @@ paths: type: integer variables: type: array - items: &473 + items: &474 title: Actions Variable type: object properties: @@ -64166,7 +64424,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &475 value: total_count: 2 variables: @@ -64199,8 +64457,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64209,7 +64467,7 @@ paths: schema: type: object properties: - enabled: &457 + enabled: &458 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 @@ -64244,8 +64502,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -64256,7 +64514,7 @@ paths: schema: type: object properties: - enabled: *457 + enabled: *458 allowed_actions: *58 sha_pinning_required: *59 required: @@ -64289,14 +64547,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: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &458 + schema: &459 type: object properties: access_level: @@ -64314,7 +64572,7 @@ paths: required: - access_level examples: - default: &459 + default: &460 value: access_level: organization x-github: @@ -64339,15 +64597,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: - - *438 - *439 + - *440 requestBody: required: true content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 responses: '204': description: Response @@ -64371,8 +64629,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64402,8 +64660,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: - - *438 - *439 + - *440 responses: '204': description: Empty response for successful settings update @@ -64437,8 +64695,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64465,8 +64723,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -64500,8 +64758,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64529,8 +64787,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -64561,8 +64819,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64593,8 +64851,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -64626,8 +64884,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64656,8 +64914,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: - - *438 - *439 + - *440 responses: '204': description: Success response @@ -64697,8 +64955,8 @@ paths: in: query schema: type: string - - *438 - *439 + - *440 - *17 - *19 responses: @@ -64742,8 +65000,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64775,8 +65033,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -64850,8 +65108,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: - - *438 - *439 + - *440 responses: '201': description: Response @@ -64887,8 +65145,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: - - *438 - *439 + - *440 responses: '201': description: Response @@ -64918,8 +65176,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: - - *438 - *439 + - *440 - *73 responses: '200': @@ -64949,8 +65207,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: - - *438 - *439 + - *440 - *73 responses: '204': @@ -64977,8 +65235,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: - - *438 - *439 + - *440 - *73 responses: '200': *79 @@ -65003,8 +65261,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: - - *438 - *439 + - *440 - *73 requestBody: required: true @@ -65053,8 +65311,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: - - *438 - *439 + - *440 - *73 requestBody: required: true @@ -65104,8 +65362,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: - - *438 - *439 + - *440 - *73 responses: '200': *280 @@ -65135,8 +65393,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: - - *438 - *439 + - *440 - *73 - *281 responses: @@ -65166,9 +65424,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: - - *438 - *439 - - &477 + - *440 + - &478 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. @@ -65176,7 +65434,7 @@ paths: required: false schema: type: string - - &478 + - &479 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -65184,7 +65442,7 @@ paths: required: false schema: type: string - - &479 + - &480 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -65193,7 +65451,7 @@ paths: required: false schema: type: string - - &480 + - &481 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 @@ -65220,7 +65478,7 @@ paths: - pending - *17 - *19 - - &481 + - &482 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)." @@ -65229,7 +65487,7 @@ paths: schema: type: string format: date-time - - &460 + - &461 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -65238,13 +65496,13 @@ paths: schema: type: boolean default: false - - &482 + - &483 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &483 + - &484 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -65267,7 +65525,7 @@ paths: type: integer workflow_runs: type: array - items: &461 + items: &462 title: Workflow Run description: An invocation of a workflow type: object @@ -65445,7 +65703,7 @@ paths: head_commit: anyOf: - type: 'null' - - &505 + - &506 title: Simple Commit description: A commit. type: object @@ -65560,7 +65818,7 @@ paths: - workflow_url - pull_requests examples: - default: &484 + default: &485 value: total_count: 1 workflow_runs: @@ -65796,24 +66054,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *438 - *439 - - &462 + - *440 + - &463 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *460 + - *461 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: &465 + default: &466 value: id: 30433642 name: Build @@ -66054,9 +66312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '204': description: Response @@ -66079,9 +66337,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: - - *438 - *439 - - *462 + - *440 + - *463 responses: '200': description: Response @@ -66209,9 +66467,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: - - *438 - *439 - - *462 + - *440 + - *463 responses: '201': description: Response @@ -66244,12 +66502,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *438 - *439 - - *462 + - *440 + - *463 - *17 - *19 - - *463 + - *464 responses: '200': description: Response @@ -66265,9 +66523,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *448 examples: - default: *464 + default: *465 headers: Link: *45 x-github: @@ -66291,25 +66549,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *438 - *439 - - *462 - - &466 + - *440 + - *463 + - &467 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *460 + - *461 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *465 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66332,10 +66590,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: - - *438 - *439 - - *462 - - *466 + - *440 + - *463 + - *467 - *17 - *19 responses: @@ -66353,9 +66611,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *468 examples: - default: &468 + default: &469 value: total_count: 1 jobs: @@ -66468,10 +66726,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *438 - *439 - - *462 - - *466 + - *440 + - *463 + - *467 responses: '302': description: Response @@ -66499,9 +66757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '202': description: Response @@ -66534,9 +66792,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: - - *438 - *439 - - *462 + - *440 + - *463 requestBody: required: true content: @@ -66603,9 +66861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '202': description: Response @@ -66638,9 +66896,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: - - *438 - *439 - - *462 + - *440 + - *463 - 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 @@ -66670,9 +66928,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *45 x-github: @@ -66697,9 +66955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '302': description: Response @@ -66726,9 +66984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '204': description: Response @@ -66755,9 +67013,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: - - *438 - *439 - - *462 + - *440 + - *463 responses: '200': description: Response @@ -66826,7 +67084,7 @@ paths: items: type: object properties: - type: &592 + type: &593 type: string description: The type of reviewer. enum: @@ -66912,9 +67170,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: - - *438 - *439 - - *462 + - *440 + - *463 requestBody: required: true content: @@ -66964,7 +67222,7 @@ paths: application/json: schema: type: array - items: &577 + items: &578 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67076,7 +67334,7 @@ paths: - created_at - updated_at examples: - default: &578 + default: &579 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67132,9 +67390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *438 - *439 - - *462 + - *440 + - *463 requestBody: required: false content: @@ -67179,9 +67437,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: - - *438 - *439 - - *462 + - *440 + - *463 requestBody: required: false content: @@ -67236,9 +67494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '200': description: Response @@ -67375,8 +67633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -67394,9 +67652,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *470 examples: - default: *470 + default: *471 headers: Link: *45 x-github: @@ -67421,16 +67679,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67452,17 +67710,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: &605 + default: &606 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -67488,8 +67746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 requestBody: required: true @@ -67547,8 +67805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '204': @@ -67574,9 +67832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *438 - *439 - - *456 + - *440 + - *457 - *19 responses: '200': @@ -67593,9 +67851,9 @@ paths: type: integer variables: type: array - items: *473 + items: *474 examples: - default: *474 + default: *475 headers: Link: *45 x-github: @@ -67618,8 +67876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -67671,17 +67929,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *438 - *439 + - *440 - *286 responses: '200': description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: &606 + default: &607 value: name: USERNAME value: octocat @@ -67707,8 +67965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *438 - *439 + - *440 - *286 requestBody: required: true @@ -67751,8 +68009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *438 - *439 + - *440 - *286 responses: '204': @@ -67778,8 +68036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -67797,7 +68055,7 @@ paths: type: integer workflows: type: array - items: &475 + items: &476 title: Workflow description: A GitHub Actions workflow type: object @@ -67915,9 +68173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *438 - *439 - - &476 + - *440 + - &477 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67932,7 +68190,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -67965,9 +68223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *438 - *439 - - *476 + - *440 + - *477 responses: '204': description: Response @@ -67992,9 +68250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *438 - *439 - - *476 + - *440 + - *477 responses: '204': description: Response @@ -68045,9 +68303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *438 - *439 - - *476 + - *440 + - *477 responses: '204': description: Response @@ -68074,19 +68332,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: - - *438 - *439 - - *476 + - *440 - *477 - *478 - *479 - *480 + - *481 - *17 - *19 - - *481 - - *460 - *482 + - *461 - *483 + - *484 responses: '200': description: Response @@ -68102,9 +68360,9 @@ paths: type: integer workflow_runs: type: array - items: *461 + items: *462 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -68137,9 +68395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *438 - *439 - - *476 + - *440 + - *477 responses: '200': description: Response @@ -68200,8 +68458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *438 - *439 + - *440 - *108 - *17 - *106 @@ -68369,8 +68627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -68407,8 +68665,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: - - *438 - *439 + - *440 - name: assignee in: path required: true @@ -68444,8 +68702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -68557,8 +68815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *438 - *439 + - *440 - *17 - *106 - *107 @@ -68615,7 +68873,7 @@ paths: initiator: type: string examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68635,8 +68893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -68644,7 +68902,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Autolink reference description: An autolink reference. type: object @@ -68703,8 +68961,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -68743,9 +69001,9 @@ paths: description: response content: application/json: - schema: *486 + schema: *487 examples: - default: &487 + default: &488 value: id: 1 key_prefix: TICKET- @@ -68776,9 +69034,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: - - *438 - *439 - - &488 + - *440 + - &489 name: autolink_id description: The unique identifier of the autolink. in: path @@ -68790,9 +69048,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -68812,9 +69070,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: - - *438 - *439 - - *488 + - *440 + - *489 responses: '204': description: Response @@ -68838,8 +69096,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: - - *438 - *439 + - *440 responses: '200': description: Response if Dependabot is enabled @@ -68889,8 +69147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -68911,8 +69169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -68932,8 +69190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *438 - *439 + - *440 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68971,7 +69229,7 @@ paths: - url protected: type: boolean - protection: &490 + protection: &491 title: Branch Protection description: Branch Protection type: object @@ -69014,7 +69272,7 @@ paths: required: - contexts - checks - enforce_admins: &493 + enforce_admins: &494 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69031,7 +69289,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &495 + required_pull_request_reviews: &496 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -69115,7 +69373,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &492 + restrictions: &493 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -69408,9 +69666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *438 - *439 - - &491 + - *440 + - &492 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). @@ -69424,14 +69682,14 @@ paths: description: Response content: application/json: - schema: &501 + schema: &502 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &552 + commit: &553 title: Commit description: Commit type: object @@ -69470,7 +69728,7 @@ paths: author: anyOf: - type: 'null' - - &489 + - &490 title: Git User description: Metaproperties for Git author/committer information. @@ -69492,7 +69750,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 message: type: string examples: @@ -69516,7 +69774,7 @@ paths: required: - sha - url - verification: &612 + verification: &613 title: Verification type: object properties: @@ -69596,7 +69854,7 @@ paths: type: integer files: type: array - items: &563 + items: &564 title: Diff Entry description: Diff Entry type: object @@ -69692,7 +69950,7 @@ paths: - self protected: type: boolean - protection: *490 + protection: *491 protection_url: type: string format: uri @@ -69801,7 +70059,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *444 + '301': *445 '404': *6 x-github: githubCloudOnly: false @@ -69823,15 +70081,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: default: value: @@ -70025,9 +70283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -70287,7 +70545,7 @@ paths: url: type: string format: uri - required_status_checks: &498 + required_status_checks: &499 title: Status Check Policy description: Status Check Policy type: object @@ -70446,7 +70704,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *492 + restrictions: *493 required_conversation_resolution: type: object properties: @@ -70558,9 +70816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -70585,17 +70843,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &494 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -70617,17 +70875,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70646,9 +70904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -70673,17 +70931,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: &496 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -70779,9 +71037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -70879,9 +71137,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *496 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -70902,9 +71160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -70931,17 +71189,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &497 + default: &498 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70964,17 +71222,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *497 + default: *498 '404': *6 x-github: githubCloudOnly: false @@ -70994,9 +71252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -71021,17 +71279,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: &499 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71057,9 +71315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71111,9 +71369,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *499 + default: *500 '404': *6 '422': *15 x-github: @@ -71135,9 +71393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -71161,9 +71419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response @@ -71197,9 +71455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71266,9 +71524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71332,9 +71590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: content: application/json: @@ -71400,15 +71658,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -71499,9 +71757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -71524,9 +71782,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: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response @@ -71536,7 +71794,7 @@ paths: type: array items: *5 examples: - default: &500 + default: &501 value: - id: 1 slug: octoapp @@ -71593,9 +71851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -71629,7 +71887,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71650,9 +71908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -71686,7 +71944,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71707,9 +71965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -71743,7 +72001,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71765,9 +72023,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: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response @@ -71797,9 +72055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71858,9 +72116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71919,9 +72177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: content: application/json: @@ -71980,9 +72238,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: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response @@ -72016,9 +72274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -72076,9 +72334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -72136,9 +72394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -72198,9 +72456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -72222,7 +72480,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: default: value: @@ -72336,8 +72594,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -72373,8 +72631,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72447,8 +72705,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -72488,8 +72746,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72559,8 +72817,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72631,8 +72889,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_response_id in: path required: true @@ -72665,8 +72923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -72945,7 +73203,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73081,7 +73339,7 @@ paths: check. type: array items: *217 - deployment: &830 + deployment: &833 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -73368,9 +73626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *438 - *439 - - &503 + - *440 + - &504 name: check_run_id description: The unique identifier of the check run. in: path @@ -73382,9 +73640,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &504 + default: &505 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -73484,9 +73742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *438 - *439 - - *503 + - *440 + - *504 requestBody: required: true content: @@ -73726,9 +73984,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73748,9 +74006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *438 - *439 - - *503 + - *440 + - *504 - *17 - *19 responses: @@ -73860,9 +74118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *438 - *439 - - *503 + - *440 + - *504 responses: '201': description: Response @@ -73906,8 +74164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -73929,7 +74187,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &506 + schema: &507 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74027,7 +74285,7 @@ paths: - string - 'null' format: date-time - head_commit: *505 + head_commit: *506 latest_check_runs_count: type: integer check_runs_url: @@ -74055,7 +74313,7 @@ paths: - check_runs_url - pull_requests examples: - default: &507 + default: &508 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -74346,9 +74604,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74367,8 +74625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -74677,9 +74935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *438 - *439 - - &508 + - *440 + - &509 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -74691,9 +74949,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74716,17 +74974,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: - - *438 - *439 - - *508 - - &558 + - *440 + - *509 + - &559 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &559 + - &560 name: status description: Returns check runs with the specified `status`. in: query @@ -74765,9 +75023,9 @@ paths: type: integer check_runs: type: array - items: *502 + items: *503 examples: - default: &560 + default: &561 value: total_count: 1 check_runs: @@ -74869,9 +75127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *438 - *439 - - *508 + - *440 + - *509 responses: '201': description: Response @@ -74904,21 +75162,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: - - *438 - *439 + - *440 - *306 - *307 - *19 - *17 - - &524 + - &525 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: *509 - - &525 + schema: *510 + - &526 name: pr description: The number of the pull request for the results you want to list. in: query @@ -74949,7 +75207,7 @@ paths: be returned. in: query required: false - schema: *510 + schema: *511 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -74973,7 +75231,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *511 + instances_url: *512 state: *111 fixed_at: *134 dismissed_by: @@ -74981,11 +75239,11 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *512 - dismissed_comment: *513 - rule: *514 - tool: *515 - most_recent_instance: *516 + dismissed_reason: *513 + dismissed_comment: *514 + rule: *515 + tool: *516 + most_recent_instance: *517 dismissal_approved_by: anyOf: - type: 'null' @@ -75108,7 +75366,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &517 + '403': &518 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -75135,9 +75393,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: - - *438 - *439 - - &518 + - *440 + - &519 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -75151,7 +75409,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 type: object properties: number: *124 @@ -75159,7 +75417,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *511 + instances_url: *512 state: *111 fixed_at: *134 dismissed_by: @@ -75167,8 +75425,8 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *512 - dismissed_comment: *513 + dismissed_reason: *513 + dismissed_comment: *514 rule: type: object properties: @@ -75230,8 +75488,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *515 - most_recent_instance: *516 + tool: *516 + most_recent_instance: *517 dismissal_approved_by: anyOf: - type: 'null' @@ -75327,7 +75585,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75347,9 +75605,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: - - *438 - *439 - - *518 + - *440 + - *519 requestBody: required: true content: @@ -75364,8 +75622,8 @@ paths: enum: - open - dismissed - dismissed_reason: *512 - dismissed_comment: *513 + dismissed_reason: *513 + dismissed_comment: *514 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -75393,7 +75651,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -75469,7 +75727,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &523 + '403': &524 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -75496,15 +75754,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: - - *438 - *439 - - *518 + - *440 + - *519 responses: '200': description: Response content: application/json: - schema: &520 + schema: &521 type: object properties: status: @@ -75531,13 +75789,13 @@ paths: - description - started_at examples: - default: &521 + default: &522 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &522 + '400': &523 description: Bad Request content: application/json: @@ -75548,7 +75806,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': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75573,29 +75831,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: - - *438 - *439 - - *518 + - *440 + - *519 responses: '200': description: OK content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '202': description: Accepted content: application/json: - schema: *520 + schema: *521 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *522 + '400': *523 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -75627,9 +75885,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: - - *438 - *439 - - *518 + - *440 + - *519 requestBody: required: false content: @@ -75675,8 +75933,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *522 - '403': *523 + '400': *523 + '403': *524 '404': *6 '422': description: Unprocessable Entity @@ -75700,13 +75958,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: - - *438 - *439 - - *518 + - *440 + - *519 - *19 - *17 - - *524 - *525 + - *526 responses: '200': description: Response @@ -75717,10 +75975,10 @@ paths: items: type: object properties: - ref: *509 - analysis_key: *526 - environment: *527 - category: *528 + ref: *510 + analysis_key: *527 + environment: *528 + category: *529 state: type: - string @@ -75737,7 +75995,7 @@ paths: properties: text: type: string - location: *529 + location: *530 html_url: type: string classifications: @@ -75745,7 +76003,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: *530 + items: *531 examples: default: value: @@ -75784,7 +76042,7 @@ paths: end_column: 50 classifications: - source - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75818,25 +76076,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: - - *438 - *439 + - *440 - *306 - *307 - *19 - *17 - - *525 + - *526 - 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: *509 + schema: *510 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &531 + schema: &532 type: string description: An identifier for the upload. examples: @@ -75858,23 +76116,23 @@ paths: application/json: schema: type: array - items: &532 + items: &533 type: object properties: - ref: *509 - commit_sha: &540 + ref: *510 + commit_sha: &541 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: *526 + analysis_key: *527 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *528 + category: *529 error: type: string examples: @@ -75899,8 +76157,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *531 - tool: *515 + sarif_id: *532 + tool: *516 deletable: type: boolean warning: @@ -75962,7 +76220,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75998,8 +76256,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: - - *438 - *439 + - *440 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76012,7 +76270,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: response: summary: application/json response @@ -76035,13 +76293,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: @@ -76066,7 +76324,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *517 + '403': *518 '404': *6 '422': description: Response if analysis could not be processed @@ -76153,8 +76411,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: - - *438 - *439 + - *440 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76210,7 +76468,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': *523 + '403': *524 '404': *6 '503': *190 x-github: @@ -76232,8 +76490,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -76241,7 +76499,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: CodeQL Database description: A CodeQL database. type: object @@ -76353,7 +76611,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': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -76382,8 +76640,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: - - *438 - *439 + - *440 - name: language in: path description: The language of the CodeQL database. @@ -76395,7 +76653,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -76427,9 +76685,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': &565 + '302': &566 description: Found - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -76451,8 +76709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *438 - *439 + - *440 - name: language in: path description: The language of the CodeQL database. @@ -76462,7 +76720,7 @@ paths: responses: '204': description: Response - '403': *523 + '403': *524 '404': *6 '503': *190 x-github: @@ -76490,8 +76748,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -76500,7 +76758,7 @@ paths: type: object additionalProperties: false properties: - language: &534 + language: &535 type: string description: The language targeted by the CodeQL query enum: @@ -76580,7 +76838,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &538 + schema: &539 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -76590,7 +76848,7 @@ paths: description: The ID of the variant analysis. controller_repo: *118 actor: *4 - query_language: *534 + query_language: *535 query_pack_url: type: string description: The download url for the query pack. @@ -76638,7 +76896,7 @@ paths: items: type: object properties: - repository: &535 + repository: &536 title: Repository Identifier description: Repository Identifier type: object @@ -76680,7 +76938,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &539 + analysis_status: &540 type: string description: The new status of the CodeQL variant analysis repository task. @@ -76712,7 +76970,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &536 + access_mismatch_repos: &537 type: object properties: repository_count: @@ -76727,7 +76985,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: *535 + items: *536 required: - repository_count - repositories @@ -76750,8 +77008,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *536 - over_limit_repos: *536 + no_codeql_db_repos: *537 + over_limit_repos: *537 required: - access_mismatch_repos - not_found_repos @@ -76767,7 +77025,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &537 + value: &538 summary: Default response value: id: 1 @@ -76913,10 +77171,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *537 + value: *538 repository_lists: summary: Response for a successful variant analysis submission - value: *537 + value: *538 '404': *6 '422': description: Unable to process variant analysis submission @@ -76944,8 +77202,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: - - *438 - *439 + - *440 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -76957,9 +77215,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *537 + default: *538 '404': *6 '503': *190 x-github: @@ -76982,7 +77240,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: - - *438 + - *439 - name: repo in: path description: The name of the controller repository. @@ -77017,7 +77275,7 @@ paths: type: object properties: repository: *118 - analysis_status: *539 + analysis_status: *540 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -77142,8 +77400,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -77236,7 +77494,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -77257,8 +77515,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -77352,7 +77610,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *523 + '403': *524 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -77423,8 +77681,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -77432,7 +77690,7 @@ paths: schema: type: object properties: - commit_sha: *540 + commit_sha: *541 ref: type: string description: |- @@ -77492,7 +77750,7 @@ paths: schema: type: object properties: - id: *531 + id: *532 url: type: string description: The REST API URL for checking the status of the upload. @@ -77506,7 +77764,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': *523 + '403': *524 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -77529,8 +77787,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: - - *438 - *439 + - *440 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -77578,7 +77836,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': *517 + '403': *518 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -77603,8 +77861,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -77685,8 +77943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *438 - *439 + - *440 - 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 @@ -77814,8 +78072,8 @@ paths: parameters: - *17 - *19 - - *438 - *439 + - *440 responses: '200': description: Response @@ -78129,8 +78387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -78196,7 +78454,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -78204,7 +78462,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '400': *14 '401': *23 '403': *27 @@ -78233,8 +78491,8 @@ paths: parameters: - *17 - *19 - - *438 - *439 + - *440 responses: '200': description: Response @@ -78298,8 +78556,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: - - *438 - *439 + - *440 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -78336,9 +78594,9 @@ paths: type: integer machines: type: array - items: *542 + items: *543 examples: - default: &778 + default: &779 value: total_count: 2 machines: @@ -78378,8 +78636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *438 - *439 + - *440 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -78466,8 +78724,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: - - *438 - *439 + - *440 - 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 @@ -78536,8 +78794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -78555,7 +78813,7 @@ paths: type: integer secrets: type: array - items: &546 + items: &547 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -78576,7 +78834,7 @@ paths: - created_at - updated_at examples: - default: *543 + default: *544 headers: Link: *45 x-github: @@ -78599,16 +78857,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -78628,17 +78886,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '200': description: Response content: application/json: - schema: *546 + schema: *547 examples: - default: *547 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78658,8 +78916,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: - - *438 - *439 + - *440 - *283 requestBody: required: true @@ -78712,8 +78970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '204': @@ -78742,8 +79000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *438 - *439 + - *440 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -78781,7 +79039,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 title: Collaborator description: Collaborator type: object @@ -78974,8 +79232,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: - - *438 - *439 + - *440 - *137 responses: '204': @@ -79022,8 +79280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *438 - *439 + - *440 - *137 requestBody: required: false @@ -79050,7 +79308,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &625 + schema: &626 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79278,8 +79536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *438 - *439 + - *440 - *137 responses: '204': @@ -79311,8 +79569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *438 - *439 + - *440 - *137 responses: '200': @@ -79333,7 +79591,7 @@ paths: user: anyOf: - type: 'null' - - *548 + - *549 required: - permission - role_name @@ -79387,8 +79645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -79398,7 +79656,7 @@ paths: application/json: schema: type: array - items: &549 + items: &550 title: Commit Comment description: Commit Comment type: object @@ -79456,7 +79714,7 @@ paths: - created_at - updated_at examples: - default: &554 + default: &555 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79515,17 +79773,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 responses: '200': description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &555 + default: &556 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79582,8 +79840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -79606,7 +79864,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -79657,8 +79915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 responses: '204': @@ -79680,8 +79938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79708,7 +79966,7 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -79752,7 +80010,7 @@ paths: - content - created_at examples: - default: &629 + default: &630 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -79797,8 +80055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -79831,9 +80089,9 @@ paths: description: Reaction exists content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -79862,9 +80120,9 @@ paths: description: Reaction created content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -79886,10 +80144,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *438 - *439 + - *440 - *228 - - &630 + - &631 name: reaction_id description: The unique identifier of the reaction. in: path @@ -79944,8 +80202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *438 - *439 + - *440 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80001,9 +80259,9 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: - default: &676 + default: &677 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80097,9 +80355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *438 - *439 - - &553 + - *440 + - &554 name: commit_sha description: The SHA of the commit. in: path @@ -80171,9 +80429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *438 - *439 - - *553 + - *440 + - *554 - *17 - *19 responses: @@ -80183,9 +80441,9 @@ paths: application/json: schema: type: array - items: *549 + items: *550 examples: - default: *554 + default: *555 headers: Link: *45 x-github: @@ -80213,9 +80471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *438 - *439 - - *553 + - *440 + - *554 requestBody: required: true content: @@ -80250,9 +80508,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *555 + default: *556 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80280,9 +80538,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: - - *438 - *439 - - *553 + - *440 + - *554 - *17 - *19 responses: @@ -80292,9 +80550,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: &668 + default: &669 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80831,11 +81089,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *438 - *439 + - *440 - *19 - *17 - - &557 + - &558 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)" @@ -80850,9 +81108,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &654 + default: &655 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80965,11 +81223,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: - - *438 - *439 - - *557 + - *440 - *558 - *559 + - *560 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81003,9 +81261,9 @@ paths: type: integer check_runs: type: array - items: *502 + items: *503 examples: - default: *560 + default: *561 headers: Link: *45 x-github: @@ -81030,9 +81288,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: - - *438 - *439 - - *557 + - *440 + - *558 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81040,7 +81298,7 @@ paths: schema: type: integer example: 1 - - *558 + - *559 - *17 - *19 responses: @@ -81058,7 +81316,7 @@ paths: type: integer check_suites: type: array - items: *506 + items: *507 examples: default: value: @@ -81258,9 +81516,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: - - *438 - *439 - - *557 + - *440 + - *558 - *17 - *19 responses: @@ -81462,9 +81720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *438 - *439 - - *557 + - *440 + - *558 - *17 - *19 responses: @@ -81474,7 +81732,7 @@ paths: application/json: schema: type: array - items: &729 + items: &730 title: Status description: The status of a commit. type: object @@ -81555,7 +81813,7 @@ paths: site_admin: false headers: Link: *45 - '301': *444 + '301': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81583,8 +81841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -81617,11 +81875,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *561 + - *562 code_of_conduct_file: anyOf: - type: 'null' - - &562 + - &563 title: Community Health File type: object properties: @@ -81641,19 +81899,19 @@ paths: contributing: anyOf: - type: 'null' - - *562 + - *563 readme: anyOf: - type: 'null' - - *562 + - *563 issue_template: anyOf: - type: 'null' - - *562 + - *563 pull_request_template: anyOf: - type: 'null' - - *562 + - *563 required: - code_of_conduct - code_of_conduct_file @@ -81782,8 +82040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *438 - *439 + - *440 - *19 - *17 - name: basehead @@ -81831,8 +82089,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *552 - merge_base_commit: *552 + base_commit: *553 + merge_base_commit: *553 status: type: string enum: @@ -81856,10 +82114,10 @@ paths: - 6 commits: type: array - items: *552 + items: *553 files: type: array - items: *563 + items: *564 required: - url - html_url @@ -82145,8 +82403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *438 - *439 + - *440 - name: path description: path parameter in: path @@ -82299,7 +82557,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &564 + response-if-content-is-a-file: &565 summary: Response if content is a file value: type: file @@ -82436,7 +82694,7 @@ paths: - size - type - url - - &681 + - &682 title: Content File description: Content File type: object @@ -82654,7 +82912,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *564 + response-if-content-is-a-file: *565 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -82723,7 +82981,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *565 + '302': *566 '304': *35 x-github: githubCloudOnly: false @@ -82746,8 +83004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *438 - *439 + - *440 - name: path description: path parameter in: path @@ -82842,7 +83100,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &567 title: File Commit description: File Commit type: object @@ -82998,7 +83256,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: example-for-creating-a-file: value: @@ -83052,7 +83310,7 @@ paths: schema: oneOf: - *3 - - &607 + - &608 description: Repository rule violation was detected type: object properties: @@ -83073,7 +83331,7 @@ paths: items: type: object properties: - placeholder_id: &721 + placeholder_id: &722 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83105,8 +83363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *438 - *439 + - *440 - name: path description: path parameter in: path @@ -83167,7 +83425,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -83222,8 +83480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *438 - *439 + - *440 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -83347,8 +83605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *438 - *439 + - *440 - *321 - *322 - *323 @@ -83360,7 +83618,7 @@ paths: schema: type: string - *325 - - *567 + - *568 - *326 - *327 - *108 @@ -83381,7 +83639,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 type: object description: A Dependabot alert. properties: @@ -83431,7 +83689,7 @@ paths: - direct - transitive - - security_advisory: *568 + security_advisory: *569 security_vulnerability: *128 url: *129 html_url: *130 @@ -83462,8 +83720,8 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: *569 - dismissal_request: *570 + auto_dismissed_at: *570 + dismissal_request: *571 required: - number - state @@ -83693,9 +83951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *438 - *439 - - &572 + - *440 + - &573 name: alert_number in: path description: |- @@ -83710,7 +83968,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -83823,9 +84081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *438 - *439 - - *572 + - *440 + - *573 requestBody: required: true content: @@ -83870,7 +84128,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -83999,8 +84257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -84018,7 +84276,7 @@ paths: type: integer secrets: type: array - items: &575 + items: &576 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84072,16 +84330,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84101,15 +84359,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '200': description: Response content: application/json: - schema: *575 + schema: *576 examples: default: value: @@ -84135,8 +84393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 requestBody: required: true @@ -84189,8 +84447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '204': @@ -84213,8 +84471,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: - - *438 - *439 + - *440 - 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 @@ -84388,8 +84646,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -84649,8 +84907,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -84733,7 +84991,7 @@ paths: - version - url additionalProperties: false - metadata: &576 + metadata: &577 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84772,7 +85030,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *576 + metadata: *577 resolved: type: object description: A collection of resolved package dependencies. @@ -84786,7 +85044,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *576 + metadata: *577 relationship: type: string description: A notation of whether a dependency is requested @@ -84919,8 +85177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *438 - *439 + - *440 - name: sha description: The SHA recorded at creation time. in: query @@ -84961,9 +85219,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: *578 + default: *579 headers: Link: *45 x-github: @@ -85029,8 +85287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -85112,7 +85370,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: simple-example: summary: Simple example @@ -85185,9 +85443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *438 - *439 - - &579 + - *440 + - &580 name: deployment_id description: deployment_id parameter in: path @@ -85199,7 +85457,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -85264,9 +85522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *438 - *439 - - *579 + - *440 + - *580 responses: '204': description: Response @@ -85288,9 +85546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *438 - *439 - - *579 + - *440 + - *580 - *17 - *19 responses: @@ -85300,7 +85558,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 title: Deployment Status description: The status of a deployment. type: object @@ -85464,9 +85722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *438 - *439 - - *579 + - *440 + - *580 requestBody: required: true content: @@ -85541,9 +85799,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &581 + default: &582 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -85599,9 +85857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *438 - *439 - - *579 + - *440 + - *580 - name: status_id in: path required: true @@ -85612,9 +85870,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 '404': *6 x-github: githubCloudOnly: false @@ -85641,12 +85899,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 - - *582 + - *440 - *583 - *584 - *585 + - *586 - *17 - *19 responses: @@ -85656,9 +85914,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *587 + default: *588 '404': *6 '403': *27 '500': *38 @@ -85682,8 +85940,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85695,7 +85953,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *586 + schema: *587 examples: default: value: @@ -85751,8 +86009,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85811,12 +86069,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 - - *582 + - *440 - *583 - *584 - *585 + - *586 - *17 - *19 responses: @@ -85826,9 +86084,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *589 + default: *590 '404': *6 '403': *27 '500': *38 @@ -85852,8 +86110,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85865,7 +86123,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -85916,8 +86174,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85955,7 +86213,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -86006,8 +86264,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86078,8 +86336,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86112,8 +86370,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -86127,9 +86385,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: *591 + default: *592 '404': *6 '403': *27 '500': *38 @@ -86154,8 +86412,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86167,7 +86425,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -86225,8 +86483,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86295,8 +86553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -86353,8 +86611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -86372,7 +86630,7 @@ paths: - 5 environments: type: array - items: &593 + items: &594 title: Environment description: Details of a deployment environment type: object @@ -86434,7 +86692,7 @@ paths: type: string examples: - wait_timer - wait_timer: &595 + wait_timer: &596 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -86476,7 +86734,7 @@ paths: items: type: object properties: - type: *592 + type: *593 reviewer: anyOf: - *4 @@ -86503,7 +86761,7 @@ paths: - id - node_id - type - deployment_branch_policy: &596 + deployment_branch_policy: &597 type: - object - 'null' @@ -86620,9 +86878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *438 - *439 - - &594 + - *440 + - &595 name: environment_name in: path required: true @@ -86635,9 +86893,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: &597 + default: &598 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -86721,9 +86979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *438 - *439 - - *594 + - *440 + - *595 requestBody: required: false content: @@ -86733,7 +86991,7 @@ paths: - object - 'null' properties: - wait_timer: *595 + wait_timer: *596 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -86752,14 +87010,14 @@ paths: items: type: object properties: - type: *592 + type: *593 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *596 + deployment_branch_policy: *597 additionalProperties: false examples: default: @@ -86779,9 +87037,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: *597 + default: *598 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -86805,9 +87063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *438 - *439 - - *594 + - *440 + - *595 responses: '204': description: Default response @@ -86832,9 +87090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *17 - *19 responses: @@ -86853,7 +87111,7 @@ paths: - 2 branch_policies: type: array - items: &598 + items: &599 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -86914,9 +87172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *438 - *439 - - *594 + - *440 + - *595 requestBody: required: true content: @@ -86964,9 +87222,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - example-wildcard: &599 + example-wildcard: &600 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87008,10 +87266,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *438 - *439 - - *594 - - &600 + - *440 + - *595 + - &601 name: branch_policy_id in: path required: true @@ -87023,9 +87281,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87044,10 +87302,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *438 - *439 - - *594 - - *600 + - *440 + - *595 + - *601 requestBody: required: true content: @@ -87076,9 +87334,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87097,10 +87355,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *438 - *439 - - *594 - - *600 + - *440 + - *595 + - *601 responses: '204': description: Response @@ -87125,9 +87383,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: - - *594 + - *595 + - *440 - *439 - - *438 responses: '200': description: List of deployment protection rules @@ -87144,7 +87402,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &601 + items: &602 title: Deployment protection rule description: Deployment protection rule type: object @@ -87166,7 +87424,7 @@ paths: for the environment. examples: - true - app: &602 + app: &603 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -87269,9 +87527,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: - - *594 + - *595 + - *440 - *439 - - *438 requestBody: content: application/json: @@ -87292,9 +87550,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *601 + schema: *602 examples: - default: &603 + default: &604 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -87329,9 +87587,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: - - *594 + - *595 + - *440 - *439 - - *438 - *19 - *17 responses: @@ -87351,7 +87609,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *602 + items: *603 examples: default: value: @@ -87386,10 +87644,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: - - *438 - *439 - - *594 - - &604 + - *440 + - *595 + - &605 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -87401,9 +87659,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: - default: *603 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87424,10 +87682,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: - - *594 + - *595 + - *440 - *439 - - *438 - - *604 + - *605 responses: '204': description: Response @@ -87453,9 +87711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *17 - *19 responses: @@ -87473,9 +87731,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *470 examples: - default: *470 + default: *471 headers: Link: *45 x-github: @@ -87500,17 +87758,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *438 - *439 - - *594 + - *440 + - *595 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87532,18 +87790,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *283 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *605 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87565,9 +87823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *283 requestBody: required: true @@ -87625,9 +87883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *283 responses: '204': @@ -87653,10 +87911,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *438 - *439 - - *594 - - *456 + - *440 + - *595 + - *457 - *19 responses: '200': @@ -87673,9 +87931,9 @@ paths: type: integer variables: type: array - items: *473 + items: *474 examples: - default: *474 + default: *475 headers: Link: *45 x-github: @@ -87698,9 +87956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *438 - *439 - - *594 + - *440 + - *595 requestBody: required: true content: @@ -87752,18 +88010,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *286 responses: '200': description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *606 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87784,10 +88042,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *438 - *439 + - *440 - *286 - - *594 + - *595 requestBody: required: true content: @@ -87829,10 +88087,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *438 - *439 + - *440 - *286 - - *594 + - *595 responses: '204': description: Response @@ -87854,8 +88112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -87923,8 +88181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *438 - *439 + - *440 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88083,8 +88341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -88117,9 +88375,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 '400': *14 '422': *15 '403': *27 @@ -88140,8 +88398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -88201,7 +88459,7 @@ paths: schema: oneOf: - *248 - - *607 + - *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88226,8 +88484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *438 - *439 + - *440 - name: file_sha in: path required: true @@ -88327,8 +88585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -88437,7 +88695,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &609 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -88664,15 +88922,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *438 - *439 - - *553 + - *440 + - *554 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: default: value: @@ -88728,9 +88986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *438 - *439 - - &609 + - *440 + - &610 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. @@ -88747,7 +89005,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Git Reference description: Git references within a repository type: object @@ -88823,17 +89081,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *438 - *439 - - *609 + - *440 + - *610 responses: '200': description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: &611 + default: &612 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -88862,8 +89120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -88892,9 +89150,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -88920,9 +89178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *438 - *439 - - *609 + - *440 + - *610 requestBody: required: true content: @@ -88951,9 +89209,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 '422': *15 '409': *117 x-github: @@ -88971,9 +89229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *438 - *439 - - *609 + - *440 + - *610 responses: '204': description: Response @@ -89028,8 +89286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -89096,7 +89354,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Git Tag description: Metadata for a Git tag type: object @@ -89152,7 +89410,7 @@ paths: - sha - type - url - verification: *612 + verification: *613 required: - sha - url @@ -89162,7 +89420,7 @@ paths: - tag - message examples: - default: &614 + default: &615 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89235,8 +89493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *438 - *439 + - *440 - name: tag_sha in: path required: true @@ -89247,9 +89505,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 '409': *117 x-github: @@ -89273,8 +89531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -89348,7 +89606,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &616 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -89450,8 +89708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *438 - *439 + - *440 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -89474,7 +89732,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default-response: summary: Default response @@ -89533,8 +89791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -89544,7 +89802,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Webhook description: Webhooks for repositories. type: object @@ -89607,7 +89865,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &866 + last_response: &869 title: Hook Response type: object properties: @@ -89684,8 +89942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -89738,9 +89996,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &617 + default: &618 value: type: Repository id: 12345678 @@ -89788,17 +90046,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 responses: '200': description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -89818,8 +90076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 requestBody: required: true @@ -89865,9 +90123,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '422': *15 '404': *6 x-github: @@ -89888,8 +90146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 responses: '204': @@ -89914,8 +90172,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: - - *438 - *439 + - *440 - *335 responses: '200': @@ -89943,8 +90201,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: - - *438 - *439 + - *440 - *335 requestBody: required: false @@ -89989,8 +90247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 - *17 - *336 @@ -90022,8 +90280,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: - - *438 - *439 + - *440 - *335 - *16 responses: @@ -90052,8 +90310,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: - - *438 - *439 + - *440 - *335 - *16 responses: @@ -90077,8 +90335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 responses: '204': @@ -90104,8 +90362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *438 - *439 + - *440 - *335 responses: '204': @@ -90129,8 +90387,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: - - *438 - *439 + - *440 responses: '200': description: Response if immutable releases are enabled @@ -90178,8 +90436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *438 - *439 + - *440 responses: '204': *149 '409': *117 @@ -90199,8 +90457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *438 - *439 + - *440 responses: '204': *149 '409': *117 @@ -90257,14 +90515,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &618 + schema: &619 title: Import description: A repository import from an external source. type: object @@ -90371,7 +90629,7 @@ paths: - html_url - authors_url examples: - default: &621 + default: &622 value: vcs: subversion use_lfs: true @@ -90387,7 +90645,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': &619 + '503': &620 description: Unavailable due to service under maintenance. content: application/json: @@ -90416,8 +90674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -90465,7 +90723,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -90490,7 +90748,7 @@ paths: type: string '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90518,8 +90776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -90571,7 +90829,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: example-1: summary: Example 1 @@ -90619,7 +90877,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': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90642,12 +90900,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *438 - *439 + - *440 responses: '204': description: Response - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90673,9 +90931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *438 - *439 - - &799 + - *440 + - &800 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -90689,7 +90947,7 @@ paths: application/json: schema: type: array - items: &620 + items: &621 title: Porter Author description: Porter Author type: object @@ -90743,7 +91001,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': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90768,8 +91026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *438 - *439 + - *440 - name: author_id in: path required: true @@ -90799,7 +91057,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: default: value: @@ -90812,7 +91070,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90836,8 +91094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -90878,7 +91136,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90906,8 +91164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -90934,11 +91192,11 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: - default: *621 + default: *622 '422': *15 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90961,8 +91219,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -90970,8 +91228,8 @@ paths: application/json: schema: *20 examples: - default: *622 - '301': *444 + default: *623 + '301': *445 '404': *6 x-github: githubCloudOnly: false @@ -90991,8 +91249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -91005,7 +91263,7 @@ paths: properties: {} additionalProperties: false examples: - default: &624 + default: &625 value: limit: collaborators_only origin: repository @@ -91030,13 +91288,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *438 - *439 + - *440 requestBody: required: true content: application/json: - schema: *623 + schema: *624 examples: default: summary: Example request body @@ -91050,7 +91308,7 @@ paths: application/json: schema: *353 examples: - default: *624 + default: *625 '409': description: Response x-github: @@ -91072,8 +91330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -91096,8 +91354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -91107,9 +91365,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: &792 + default: &793 value: - id: 1 repository: @@ -91240,8 +91498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *438 - *439 + - *440 - *357 requestBody: required: false @@ -91271,7 +91529,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -91402,8 +91660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *438 - *439 + - *440 - *357 responses: '204': @@ -91435,8 +91693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *438 - *439 + - *440 - 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 @@ -91509,7 +91767,7 @@ paths: type: array items: *213 examples: - default: &635 + default: &636 value: - id: 1 node_id: MDU6SXNzdWUx @@ -91657,7 +91915,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *444 + '301': *445 '422': *15 '404': *6 x-github: @@ -91686,8 +91944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -91779,7 +92037,7 @@ paths: application/json: schema: *213 examples: - default: &632 + default: &633 value: id: 1 node_id: MDU6SXNzdWUx @@ -91935,7 +92193,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *626 + '410': *627 x-github: triggersNotification: true githubCloudOnly: false @@ -91963,8 +92221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *438 - *439 + - *440 - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -91985,9 +92243,9 @@ paths: application/json: schema: type: array - items: *627 + items: *628 examples: - default: &634 + default: &635 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92045,17 +92303,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 responses: '200': description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: &628 + default: &629 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92109,8 +92367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -92133,9 +92391,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '422': *15 x-github: githubCloudOnly: false @@ -92153,8 +92411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 responses: '204': @@ -92175,8 +92433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -92203,9 +92461,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -92226,8 +92484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -92260,16 +92518,16 @@ paths: description: Reaction exists content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '201': description: Reaction created content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -92291,10 +92549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *438 - *439 + - *440 - *228 - - *630 + - *631 responses: '204': description: Response @@ -92314,8 +92572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -92325,7 +92583,7 @@ paths: application/json: schema: type: array - items: &631 + items: &632 title: Issue Event description: Issue Event type: object @@ -92664,8 +92922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *438 - *439 + - *440 - name: event_id in: path required: true @@ -92676,7 +92934,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -92868,7 +93126,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *626 + '410': *627 '403': *27 x-github: githubCloudOnly: false @@ -92902,9 +93160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *438 - *439 - - &633 + - *440 + - &634 name: issue_number description: The number that identifies the issue. in: path @@ -92918,10 +93176,10 @@ paths: application/json: schema: *213 examples: - default: *632 - '301': *444 + default: *633 + '301': *445 '404': *6 - '410': *626 + '410': *627 '304': *35 x-github: githubCloudOnly: false @@ -92946,9 +93204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -93069,13 +93327,13 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 '422': *15 '503': *190 '403': *27 - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93093,9 +93351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -93123,7 +93381,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93139,9 +93397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: content: application/json: @@ -93168,7 +93426,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93190,9 +93448,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: - - *438 - *439 - - *633 + - *440 + - *634 - name: assignee in: path required: true @@ -93232,9 +93490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *219 - *17 - *19 @@ -93245,13 +93503,13 @@ paths: application/json: schema: type: array - items: *627 + items: *628 examples: - default: *634 + default: *635 headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93280,9 +93538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -93304,16 +93562,16 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *626 + '410': *627 '422': *15 '404': *6 x-github: @@ -93341,9 +93599,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: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -93355,12 +93613,12 @@ paths: type: array items: *213 examples: - default: *635 + default: *636 headers: Link: *45 - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93388,9 +93646,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: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -93414,15 +93672,15 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *444 + '301': *445 '403': *27 - '410': *626 + '410': *627 '422': *15 '404': *6 x-github: @@ -93453,9 +93711,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: - - *438 - *439 - - *633 + - *440 + - *634 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -93469,13 +93727,13 @@ paths: application/json: schema: *213 examples: - default: *632 - '301': *444 + default: *633 + '301': *445 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *626 + '410': *627 x-github: triggersNotification: true githubCloudOnly: false @@ -93501,9 +93759,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: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -93515,12 +93773,12 @@ paths: type: array items: *213 examples: - default: *635 + default: *636 headers: Link: *45 - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93537,9 +93795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -93553,7 +93811,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &637 + - &638 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -93602,7 +93860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &638 + - &639 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -93730,7 +93988,7 @@ paths: - performed_via_github_app - assignee - assigner - - &639 + - &640 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -93776,7 +94034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &640 + - &641 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -93822,7 +94080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &642 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -93871,7 +94129,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &642 + - &643 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -93913,7 +94171,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &644 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -93955,7 +94213,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &645 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -94011,7 +94269,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &646 title: Locked Issue Event description: Locked Issue Event type: object @@ -94056,7 +94314,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &647 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -94117,7 +94375,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &648 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -94178,68 +94436,68 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 - title: Removed from Project Issue Event - description: Removed from Project Issue Event - type: object - properties: - id: - type: integer - node_id: - type: string - url: - type: string - actor: *4 - event: - type: string - commit_id: - type: - - string - - 'null' - commit_url: - type: - - string - - 'null' - created_at: - type: string - performed_via_github_app: - anyOf: - - type: 'null' - - *5 - project_card: - type: object - properties: - id: - type: integer - url: - type: string - format: uri - project_id: - type: integer - project_url: - type: string - format: uri - column_name: - type: string - previous_column_name: - type: string - required: - - id - - url - - project_id - - project_url - - column_name - required: - - id - - node_id - - url - - actor - - event - - commit_id - - commit_url - - created_at - - performed_via_github_app - &649 + title: Removed from Project Issue Event + description: Removed from Project Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: + - string + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + project_card: + type: object + properties: + id: + type: integer + url: + type: string + format: uri + project_id: + type: integer + project_url: + type: string + format: uri + column_name: + type: string + previous_column_name: + type: string + required: + - id + - url + - project_id + - project_url + - column_name + required: + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &650 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -94332,7 +94590,7 @@ paths: color: red headers: Link: *45 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94349,9 +94607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -94363,7 +94621,7 @@ paths: type: array items: *212 examples: - default: &636 + default: &637 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94381,9 +94639,9 @@ paths: default: false headers: Link: *45 - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94400,9 +94658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -94463,10 +94721,10 @@ paths: type: array items: *212 examples: - default: *636 - '301': *444 + default: *637 + '301': *445 '404': *6 - '410': *626 + '410': *627 '422': *15 x-github: githubCloudOnly: false @@ -94483,9 +94741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -94547,10 +94805,10 @@ paths: type: array items: *212 examples: - default: *636 - '301': *444 + default: *637 + '301': *445 '404': *6 - '410': *626 + '410': *627 '422': *15 x-github: githubCloudOnly: false @@ -94567,15 +94825,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 responses: '204': description: Response - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94594,9 +94852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 - name: name in: path required: true @@ -94620,9 +94878,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94642,9 +94900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -94673,7 +94931,7 @@ paths: '204': description: Response '403': *27 - '410': *626 + '410': *627 '404': *6 '422': *15 x-github: @@ -94691,9 +94949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 responses: '204': description: Response @@ -94723,9 +94981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 responses: '200': description: Response @@ -94733,10 +94991,10 @@ paths: application/json: schema: *213 examples: - default: *632 - '301': *444 + default: *633 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94753,9 +95011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 - 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. @@ -94781,13 +95039,13 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94805,9 +95063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -94839,16 +95097,16 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '201': description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -94870,10 +95128,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *438 - *439 - - *633 - - *630 + - *440 + - *634 + - *631 responses: '204': description: Response @@ -94902,9 +95160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -94928,7 +95186,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -94961,9 +95219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -94975,11 +95233,11 @@ paths: type: array items: *213 examples: - default: *635 + default: *636 headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95007,9 +95265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -95038,14 +95296,14 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *626 + '410': *627 '422': *15 '404': *6 x-github: @@ -95065,9 +95323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -95100,7 +95358,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 '403': *27 '404': *6 '422': *7 @@ -95122,9 +95380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -95139,7 +95397,6 @@ paths: description: Timeline Event type: object anyOf: - - *637 - *638 - *639 - *640 @@ -95152,6 +95409,7 @@ paths: - *647 - *648 - *649 + - *650 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95480,7 +95738,7 @@ paths: type: string comments: type: array - items: &670 + items: &671 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -95721,7 +95979,7 @@ paths: type: string comments: type: array - items: *549 + items: *550 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95996,7 +96254,7 @@ paths: headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96013,8 +96271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -96024,7 +96282,7 @@ paths: application/json: schema: type: array - items: &650 + items: &651 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -96092,8 +96350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96129,9 +96387,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: id: 1 key: ssh-rsa AAA... @@ -96165,9 +96423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *438 - *439 - - &652 + - *440 + - &653 name: key_id description: The unique identifier of the key. in: path @@ -96179,9 +96437,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -96199,9 +96457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *438 - *439 - - *652 + - *440 + - *653 responses: '204': description: Response @@ -96221,8 +96479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -96234,7 +96492,7 @@ paths: type: array items: *212 examples: - default: *636 + default: *637 headers: Link: *45 '404': *6 @@ -96255,8 +96513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96294,7 +96552,7 @@ paths: application/json: schema: *212 examples: - default: &653 + default: &654 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96326,8 +96584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *438 - *439 + - *440 - name: name in: path required: true @@ -96340,7 +96598,7 @@ paths: application/json: schema: *212 examples: - default: *653 + default: *654 '404': *6 x-github: githubCloudOnly: false @@ -96357,8 +96615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *438 - *439 + - *440 - name: name in: path required: true @@ -96423,8 +96681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *438 - *439 + - *440 - name: name in: path required: true @@ -96450,8 +96708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -96487,8 +96745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *438 - *439 + - *440 responses: '202': *37 '403': @@ -96516,8 +96774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -96543,9 +96801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *438 - *439 - - *524 + - *440 + - *525 responses: '200': description: Response @@ -96692,8 +96950,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96758,8 +97016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96793,9 +97051,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *552 + schema: *553 examples: - default: *654 + default: *655 '204': description: Response when already merged '404': @@ -96820,8 +97078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *438 - *439 + - *440 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -96918,8 +97176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96961,7 +97219,7 @@ paths: application/json: schema: *392 examples: - default: &655 + default: &656 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -97020,9 +97278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *438 - *439 - - &656 + - *440 + - &657 name: milestone_number description: The number that identifies the milestone. in: path @@ -97036,7 +97294,7 @@ paths: application/json: schema: *392 examples: - default: *655 + default: *656 '404': *6 x-github: githubCloudOnly: false @@ -97053,9 +97311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *438 - *439 - - *656 + - *440 + - *657 requestBody: required: false content: @@ -97095,7 +97353,7 @@ paths: application/json: schema: *392 examples: - default: *655 + default: *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97111,9 +97369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *438 - *439 - - *656 + - *440 + - *657 responses: '204': description: Response @@ -97134,9 +97392,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: - - *438 - *439 - - *656 + - *440 + - *657 - *17 - *19 responses: @@ -97148,7 +97406,7 @@ paths: type: array items: *212 examples: - default: *636 + default: *637 headers: Link: *45 x-github: @@ -97167,12 +97425,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: - - *438 - *439 - - *657 + - *440 - *658 - - *219 - *659 + - *219 + - *660 - *17 - *19 responses: @@ -97184,7 +97442,7 @@ paths: type: array items: *239 examples: - default: *660 + default: *661 headers: Link: *45 x-github: @@ -97208,8 +97466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -97267,14 +97525,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &661 + schema: &662 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -97418,7 +97676,7 @@ paths: - custom_404 - public examples: - default: &662 + default: &663 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -97459,8 +97717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -97515,9 +97773,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '422': *15 '409': *117 x-github: @@ -97540,8 +97798,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -97649,8 +97907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -97676,8 +97934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -97687,7 +97945,7 @@ paths: application/json: schema: type: array - items: &663 + items: &664 title: Page Build description: Page Build type: object @@ -97779,8 +98037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *438 - *439 + - *440 responses: '201': description: Response @@ -97827,16 +98085,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *663 + schema: *664 examples: - default: &664 + default: &665 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -97884,8 +98142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *438 - *439 + - *440 - name: build_id in: path required: true @@ -97896,9 +98154,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: - default: *664 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97918,8 +98176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -98027,9 +98285,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: - - *438 - *439 - - &665 + - *440 + - &666 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -98087,9 +98345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *438 - *439 - - *665 + - *440 + - *666 responses: '204': *149 '404': *6 @@ -98116,8 +98374,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -98412,8 +98670,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: - - *438 - *439 + - *440 responses: '200': description: Private vulnerability reporting status @@ -98450,8 +98708,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: - - *438 - *439 + - *440 responses: '204': *149 '422': *14 @@ -98472,8 +98730,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: - - *438 - *439 + - *440 responses: '204': *149 '422': *14 @@ -98495,8 +98753,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -98506,7 +98764,7 @@ paths: type: array items: *150 examples: - default: *666 + default: *667 '403': *27 '404': *6 x-github: @@ -98528,8 +98786,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -98545,7 +98803,7 @@ paths: required: - properties examples: - default: *667 + default: *668 responses: '204': description: No Content when custom property values are successfully created @@ -98583,8 +98841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *438 - *439 + - *440 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -98644,9 +98902,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: *668 + default: *669 headers: Link: *45 '304': *35 @@ -98678,8 +98936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -98746,7 +99004,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &673 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -98986,7 +99244,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *669 + auto_merge: *670 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -99088,7 +99346,7 @@ paths: - merged_by - review_comments examples: - default: &673 + default: &674 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -99615,8 +99873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *438 - *439 + - *440 - name: sort in: query required: false @@ -99645,9 +99903,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: &675 + default: &676 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99724,17 +99982,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: - - *438 - *439 + - *440 - *228 responses: '200': description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: &671 + default: &672 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99809,8 +100067,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: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -99833,9 +100091,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99851,8 +100109,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: - - *438 - *439 + - *440 - *228 responses: '204': @@ -99874,8 +100132,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: - - *438 - *439 + - *440 - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -99902,9 +100160,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -99925,8 +100183,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: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -99959,16 +100217,16 @@ paths: description: Reaction exists content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '201': description: Reaction created content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -99990,10 +100248,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *438 - *439 + - *440 - *228 - - *630 + - *631 responses: '204': description: Response @@ -100036,9 +100294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *438 - *439 - - &674 + - *440 + - &675 name: pull_number description: The number that identifies the pull request. in: path @@ -100051,9 +100309,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '304': *35 '404': *6 '406': @@ -100088,9 +100346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -100132,9 +100390,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '422': *15 '403': *27 x-github: @@ -100156,9 +100414,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: true content: @@ -100221,7 +100479,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -100229,7 +100487,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -100259,9 +100517,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: - - *438 - *439 - - *674 + - *440 + - *675 - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -100282,9 +100540,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *675 + default: *676 headers: Link: *45 x-github: @@ -100317,9 +100575,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: true content: @@ -100425,7 +100683,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: example-for-a-multi-line-comment: value: @@ -100513,9 +100771,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: - - *438 - *439 - - *674 + - *440 + - *675 - *228 requestBody: required: true @@ -100538,7 +100796,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: default: value: @@ -100624,9 +100882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *438 - *439 - - *674 + - *440 + - *675 - *17 - *19 responses: @@ -100636,9 +100894,9 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: - default: *676 + default: *677 headers: Link: *45 x-github: @@ -100668,9 +100926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *438 - *439 - - *674 + - *440 + - *675 - *17 - *19 responses: @@ -100680,7 +100938,7 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: default: value: @@ -100718,9 +100976,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: - - *438 - *439 - - *674 + - *440 + - *675 responses: '204': description: Response if pull request has been merged @@ -100743,9 +101001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -100857,9 +101115,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: - - *438 - *439 - - *674 + - *440 + - *675 responses: '200': description: Response @@ -100934,9 +101192,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -100973,7 +101231,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -101509,9 +101767,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: true content: @@ -101545,7 +101803,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -102050,9 +102308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *438 - *439 - - *674 + - *440 + - *675 - *17 - *19 responses: @@ -102062,7 +102320,7 @@ paths: application/json: schema: type: array - items: &677 + items: &678 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102218,9 +102476,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -102310,9 +102568,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &679 + default: &680 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102375,10 +102633,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: - - *438 - *439 - - *674 - - &678 + - *440 + - *675 + - &679 name: review_id description: The unique identifier of the review. in: path @@ -102390,9 +102648,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &680 + default: &681 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102451,10 +102709,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 requestBody: required: true content: @@ -102477,7 +102735,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: default: value: @@ -102539,18 +102797,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 responses: '200': description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *679 + default: *680 '422': *7 '404': *6 x-github: @@ -102577,10 +102835,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 - *17 - *19 responses: @@ -102838,10 +103096,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 requestBody: required: true content: @@ -102870,7 +103128,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: default: value: @@ -102933,10 +103191,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 requestBody: required: true content: @@ -102971,9 +103229,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *680 + default: *681 '404': *6 '422': *7 '403': *27 @@ -102995,9 +103253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -103061,8 +103319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *438 - *439 + - *440 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103075,9 +103333,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: &682 + default: &683 value: type: file encoding: base64 @@ -103119,8 +103377,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: - - *438 - *439 + - *440 - name: dir description: The alternate path to look for a README file in: path @@ -103140,9 +103398,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 '404': *6 '422': *15 x-github: @@ -103164,8 +103422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -103175,7 +103433,7 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: default: value: @@ -103269,8 +103527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -103346,9 +103604,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &687 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103453,9 +103711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *438 - *439 - - &685 + - *440 + - &686 name: asset_id description: The unique identifier of the asset. in: path @@ -103467,9 +103725,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &686 + default: &687 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 @@ -103504,7 +103762,7 @@ paths: type: User site_admin: false '404': *6 - '302': *565 + '302': *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103520,9 +103778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *438 - *439 - - *685 + - *440 + - *686 requestBody: required: false content: @@ -103551,9 +103809,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *686 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103569,9 +103827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *438 - *439 - - *685 + - *440 + - *686 responses: '204': description: Response @@ -103595,8 +103853,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -103682,16 +103940,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103708,8 +103966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *438 - *439 + - *440 - name: tag description: tag parameter in: path @@ -103722,9 +103980,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -103746,9 +104004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *438 - *439 - - &688 + - *440 + - &689 name: release_id description: The unique identifier of the release. in: path @@ -103762,9 +104020,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 '401': description: Unauthorized x-github: @@ -103782,9 +104040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *438 - *439 - - *688 + - *440 + - *689 requestBody: required: false content: @@ -103848,9 +104106,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 '404': description: Not Found if the discussion category name is invalid content: @@ -103871,9 +104129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *438 - *439 - - *688 + - *440 + - *689 responses: '204': description: Response @@ -103893,9 +104151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *438 - *439 - - *688 + - *440 + - *689 - *17 - *19 responses: @@ -103905,7 +104163,7 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: default: value: @@ -103987,9 +104245,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: - - *438 - *439 - - *688 + - *440 + - *689 - name: name in: query required: true @@ -104015,7 +104273,7 @@ paths: description: Response for successful upload content: application/json: - schema: *684 + schema: *685 examples: response-for-successful-upload: value: @@ -104070,9 +104328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *438 - *439 - - *688 + - *440 + - *689 - 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. @@ -104096,9 +104354,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -104119,9 +104377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *438 - *439 - - *688 + - *440 + - *689 requestBody: required: true content: @@ -104151,16 +104409,16 @@ paths: description: Reaction exists content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '201': description: Reaction created content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -104182,10 +104440,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *438 - *439 - - *688 - - *630 + - *440 + - *689 + - *631 responses: '204': description: Response @@ -104209,9 +104467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *438 - *439 - - *491 + - *440 + - *492 - *17 - *19 responses: @@ -104228,7 +104486,7 @@ paths: oneOf: - allOf: - *164 - - &689 + - &690 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104249,67 +104507,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *165 - - *689 + - *690 - allOf: - *166 - - *689 + - *690 - allOf: - *167 - - *689 + - *690 - allOf: + - *691 - *690 - - *689 - allOf: - *168 - - *689 + - *690 - allOf: - *169 - - *689 + - *690 - allOf: - *170 - - *689 + - *690 - allOf: - *171 - - *689 + - *690 - allOf: - *172 - - *689 + - *690 - allOf: - *173 - - *689 + - *690 - allOf: - *174 - - *689 + - *690 - allOf: - *175 - - *689 + - *690 - allOf: - *176 - - *689 + - *690 - allOf: - *177 - - *689 + - *690 - allOf: - *178 - - *689 + - *690 - allOf: - *179 - - *689 + - *690 - allOf: - *180 - - *689 + - *690 - allOf: - *181 - - *689 + - *690 - allOf: - *182 - - *689 + - *690 - allOf: - *183 - - *689 + - *690 - allOf: - *184 - - *689 + - *690 examples: default: value: @@ -104348,8 +104606,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - *17 - *19 - name: includes_parents @@ -104360,7 +104618,7 @@ paths: schema: type: boolean default: true - - *691 + - *692 responses: '200': description: Response @@ -104415,8 +104673,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 requestBody: description: Request body required: true @@ -104445,7 +104703,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *692 + items: *693 required: - name - enforcement @@ -104478,7 +104736,7 @@ paths: application/json: schema: *185 examples: - default: &701 + default: &702 value: id: 42 name: super cool ruleset @@ -104525,12 +104783,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *438 - *439 - - *693 - - *103 + - *440 - *694 + - *103 - *695 + - *696 - *17 - *19 responses: @@ -104538,9 +104796,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: *697 + default: *698 '404': *6 '500': *38 x-github: @@ -104561,17 +104819,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *438 - *439 - - *698 + - *440 + - *699 responses: '200': description: Response content: application/json: - schema: *699 + schema: *700 examples: - default: *700 + default: *701 '404': *6 '500': *38 x-github: @@ -104599,8 +104857,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104622,7 +104880,7 @@ paths: application/json: schema: *185 examples: - default: *701 + default: *702 '404': *6 '500': *38 put: @@ -104640,8 +104898,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104675,7 +104933,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *692 + items: *693 examples: default: value: @@ -104705,7 +104963,7 @@ paths: application/json: schema: *185 examples: - default: *701 + default: *702 '404': *6 '500': *38 delete: @@ -104723,8 +104981,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104747,8 +105005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *438 - *439 + - *440 - *17 - *19 - name: ruleset_id @@ -104766,7 +105024,7 @@ paths: type: array items: *189 examples: - default: *408 + default: *409 '404': *6 '500': *38 x-github: @@ -104785,8 +105043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104804,7 +105062,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -104859,22 +105117,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: - - *438 - *439 - - *410 + - *440 - *411 - *412 - *413 - *414 + - *415 - *108 - *19 - *17 - - *702 - *703 - - *415 + - *704 - *416 - *417 - *418 + - *419 responses: '200': description: Response @@ -104882,7 +105140,7 @@ paths: application/json: schema: type: array - items: &707 + items: &708 type: object properties: number: *124 @@ -104898,8 +105156,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *704 - resolution: *705 + state: *705 + resolution: *706 resolved_at: type: - string @@ -104993,7 +105251,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *706 + - *707 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -105138,16 +105396,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: - - *438 - *439 - - *518 - - *418 + - *440 + - *519 + - *419 responses: '200': description: Response content: application/json: - schema: *707 + schema: *708 examples: default: value: @@ -105201,9 +105459,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: - - *438 - *439 - - *518 + - *440 + - *519 requestBody: required: true content: @@ -105211,8 +105469,8 @@ paths: schema: type: object properties: - state: *704 - resolution: *705 + state: *705 + resolution: *706 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105248,7 +105506,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: default: value: @@ -105343,9 +105601,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: - - *438 - *439 - - *518 + - *440 + - *519 - *19 - *17 responses: @@ -105356,7 +105614,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &886 + items: &889 type: object properties: type: @@ -105383,7 +105641,6 @@ paths: - commit details: oneOf: - - *708 - *709 - *710 - *711 @@ -105396,6 +105653,7 @@ paths: - *718 - *719 - *720 + - *721 examples: default: value: @@ -105481,8 +105739,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -105490,14 +105748,14 @@ paths: schema: type: object properties: - reason: &722 + reason: &723 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *721 + placeholder_id: *722 required: - reason - placeholder_id @@ -105514,7 +105772,7 @@ paths: schema: type: object properties: - reason: *722 + reason: *723 expire_at: type: - string @@ -105561,8 +105819,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: - - *438 - *439 + - *440 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -105577,7 +105835,7 @@ paths: properties: incremental_scans: type: array - items: &723 + items: &724 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105605,15 +105863,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *723 + items: *724 backfill_scans: type: array - items: *723 + items: *724 custom_pattern_backfill_scans: type: array items: allOf: - - *723 + - *724 - type: object properties: pattern_name: @@ -105683,8 +105941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *438 - *439 + - *440 - *108 - name: sort description: The property to sort the results by. @@ -105728,9 +105986,9 @@ paths: application/json: schema: type: array - items: *724 + items: *725 examples: - default: *725 + default: *726 '400': *14 '404': *6 x-github: @@ -105753,8 +106011,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -105834,7 +106092,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 required: - login - type @@ -105924,9 +106182,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: &727 + default: &728 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106159,8 +106417,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -106273,7 +106531,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: default: value: @@ -106420,17 +106678,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: - - *438 - *439 - - *726 + - *440 + - *727 responses: '200': description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *727 + default: *728 '403': *27 '404': *6 x-github: @@ -106454,9 +106712,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: - - *438 - *439 - - *726 + - *440 + - *727 requestBody: required: true content: @@ -106536,7 +106794,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 required: - login - type @@ -106627,10 +106885,10 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *727 - add_credit: *727 + default: *728 + add_credit: *728 '403': *27 '404': *6 '422': @@ -106668,9 +106926,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: - - *438 - *439 - - *726 + - *440 + - *727 responses: '202': *37 '400': *14 @@ -106697,17 +106955,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: - - *438 - *439 - - *726 + - *440 + - *727 responses: '202': description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 '400': *14 '422': *15 '403': *27 @@ -106733,8 +106991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -106830,8 +107088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *438 - *439 + - *440 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -106840,7 +107098,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106873,8 +107131,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -106952,8 +107210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -107047,8 +107305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *438 - *439 + - *440 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -107202,8 +107460,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: - - *438 - *439 + - *440 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -107213,7 +107471,7 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: default: value: @@ -107246,8 +107504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *438 - *439 + - *440 - name: sha in: path required: true @@ -107303,7 +107561,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: default: value: @@ -107357,8 +107615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -107390,14 +107648,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *438 - *439 + - *440 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &730 + schema: &731 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107470,8 +107728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -107497,7 +107755,7 @@ paths: description: Response content: application/json: - schema: *730 + schema: *731 examples: default: value: @@ -107524,8 +107782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -107545,8 +107803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -107628,8 +107886,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -107637,7 +107895,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 title: Tag protection description: Tag protection type: object @@ -107694,8 +107952,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -107718,7 +107976,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *732 examples: default: value: @@ -107749,8 +108007,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: - - *438 - *439 + - *440 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -107787,8 +108045,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *438 - *439 + - *440 - name: ref in: path required: true @@ -107824,8 +108082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -107857,8 +108115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *438 - *439 + - *440 - *19 - *17 responses: @@ -107866,7 +108124,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &733 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107878,7 +108136,7 @@ paths: required: - names examples: - default: &733 + default: &734 value: names: - octocat @@ -107901,8 +108159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -107933,9 +108191,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *733 examples: - default: *733 + default: *734 '404': *6 '422': *7 x-github: @@ -107956,9 +108214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *438 - *439 - - &734 + - *440 + - &735 name: per description: The time frame to display results for. in: query @@ -107989,7 +108247,7 @@ paths: - 128 clones: type: array - items: &735 + items: &736 title: Traffic type: object properties: @@ -108076,8 +108334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -108171,8 +108429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -108235,9 +108493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *438 - *439 - - *734 + - *440 + - *735 responses: '200': description: Response @@ -108258,7 +108516,7 @@ paths: - 3782 views: type: array - items: *735 + items: *736 required: - uniques - count @@ -108335,8 +108593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -108610,8 +108868,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: - - *438 - *439 + - *440 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -108634,8 +108892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -108657,8 +108915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -108684,8 +108942,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *438 - *439 + - *440 - name: ref in: path required: true @@ -108777,9 +109035,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108930,7 +109188,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &743 + - &744 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -108940,7 +109198,7 @@ paths: type: string examples: - members - - &748 + - &749 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -108952,7 +109210,7 @@ paths: format: int32 examples: - 1 - - &749 + - &750 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -108996,7 +109254,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &738 + items: &739 allOf: - type: object required: @@ -109078,7 +109336,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &750 + meta: &751 type: object description: The metadata associated with the creation/updates to the user. @@ -109143,30 +109401,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &739 + '400': &740 description: Bad request content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '401': *737 - '403': &740 + schema: *737 + '401': *738 + '403': &741 description: Permission denied - '429': &741 + '429': &742 description: Too many requests content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '500': &742 + schema: *737 + '500': &743 description: Internal server error content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 + schema: *737 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109190,7 +109448,7 @@ paths: required: true content: application/json: - schema: &746 + schema: &747 type: object required: - schemas @@ -109254,9 +109512,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *738 + schema: *739 examples: - group: &744 + group: &745 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -109275,13 +109533,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *739 - '401': *737 - '403': *740 - '409': &747 + '400': *740 + '401': *738 + '403': *741 + '409': &748 description: Duplicate record detected - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109298,7 +109556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &745 + - &746 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -109307,22 +109565,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *743 + - *744 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *738 + schema: *739 examples: - default: *744 - '400': *739 - '401': *737 - '403': *740 + default: *745 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109341,13 +109599,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *745 + - *746 - *39 requestBody: required: true content: application/json: - schema: *746 + schema: *747 examples: group: summary: Group @@ -109373,17 +109631,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *738 + schema: *739 examples: - group: *744 - groupWithMembers: *744 - '400': *739 - '401': *737 - '403': *740 + group: *745 + groupWithMembers: *745 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109407,13 +109665,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *745 + - *746 - *39 requestBody: required: true content: application/json: - schema: &757 + schema: &758 type: object required: - Operations @@ -109473,17 +109731,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *738 + schema: *739 examples: - updateGroup: *744 - addMembers: *744 - '400': *739 - '401': *737 - '403': *740 + updateGroup: *745 + addMembers: *745 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109499,17 +109757,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *745 + - *746 - *39 responses: '204': description: Group was deleted, no content - '400': *739 - '401': *737 - '403': *740 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109543,8 +109801,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *748 - *749 + - *750 - *39 responses: '200': @@ -109578,7 +109836,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &752 + items: &753 allOf: - type: object required: @@ -109670,7 +109928,7 @@ paths: address. examples: - true - roles: &751 + roles: &752 type: array description: The roles assigned to the user. items: @@ -109729,7 +109987,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *750 + meta: *751 startIndex: type: integer description: A starting index for the returned page @@ -109768,11 +110026,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *739 - '401': *737 - '403': *740 - '429': *741 - '500': *742 + '400': *740 + '401': *738 + '403': *741 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109796,7 +110054,7 @@ paths: required: true content: application/json: - schema: &755 + schema: &756 type: object required: - schemas @@ -109889,9 +110147,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *751 + roles: *752 examples: - user: &756 + user: &757 summary: User value: schemas: @@ -109938,9 +110196,9 @@ paths: description: User has been created content: application/scim+json: - schema: *752 + schema: *753 examples: - user: &753 + user: &754 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109966,13 +110224,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *753 - '400': *739 - '401': *737 - '403': *740 - '409': *747 - '429': *741 - '500': *742 + enterpriseOwner: *754 + '400': *740 + '401': *738 + '403': *741 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109989,7 +110247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &754 + - &755 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -110002,15 +110260,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *752 + schema: *753 examples: - default: *753 - '400': *739 - '401': *737 - '403': *740 + default: *754 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110032,30 +110290,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *754 + - *755 - *39 requestBody: required: true content: application/json: - schema: *755 + schema: *756 examples: - user: *756 + user: *757 responses: '200': description: User was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - user: *753 - '400': *739 - '401': *737 - '403': *740 + user: *754 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110090,13 +110348,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *754 + - *755 - *39 requestBody: required: true content: application/json: - schema: *757 + schema: *758 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -110136,18 +110394,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - userMultiValuedProperties: *753 - userSingleValuedProperties: *753 - disableUser: *753 - '400': *739 - '401': *737 - '403': *740 + userMultiValuedProperties: *754 + userSingleValuedProperties: *754 + disableUser: *754 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110167,17 +110425,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *754 + - *755 - *39 responses: '204': description: User was deleted, no content - '400': *739 - '401': *737 - '403': *740 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110268,7 +110526,7 @@ paths: - 1 Resources: type: array - items: &758 + items: &759 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -110515,22 +110773,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &759 + '404': &760 description: Resource not found content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '403': &760 + schema: *737 + '403': &761 description: Forbidden content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '400': *739 - '429': *741 + schema: *737 + '400': *740 + '429': *742 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -110556,9 +110814,9 @@ paths: description: Response content: application/scim+json: - schema: *758 + schema: *759 examples: - default: &761 + default: &762 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110581,17 +110839,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *759 - '403': *760 - '500': *742 + '404': *760 + '403': *761 + '500': *743 '409': description: Conflict content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '400': *739 + schema: *737 + '400': *740 requestBody: required: true content: @@ -110691,17 +110949,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *85 - - *754 + - *755 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *759 examples: - default: *761 - '404': *759 - '403': *760 + default: *762 + '404': *760 + '403': *761 '304': *35 x-github: githubCloudOnly: true @@ -110725,18 +110983,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *85 - - *754 + - *755 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *759 examples: - default: *761 + default: *762 '304': *35 - '404': *759 - '403': *760 + '404': *760 + '403': *761 requestBody: required: true content: @@ -110851,19 +111109,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *85 - - *754 + - *755 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *759 examples: - default: *761 + default: *762 '304': *35 - '404': *759 - '403': *760 - '400': *739 + '404': *760 + '403': *761 + '400': *740 '429': description: Response content: @@ -110959,12 +111217,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *85 - - *754 + - *755 responses: '204': description: Response - '404': *759 - '403': *760 + '404': *760 + '403': *761 '304': *35 x-github: githubCloudOnly: true @@ -111098,7 +111356,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &762 + text_matches: &763 title: Search Result Text Matches type: array items: @@ -111262,7 +111520,7 @@ paths: enum: - author-date - committer-date - - &763 + - &764 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 @@ -111331,7 +111589,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 comment_count: type: integer message: @@ -111350,7 +111608,7 @@ paths: url: type: string format: uri - verification: *612 + verification: *613 required: - author - committer @@ -111365,7 +111623,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 parents: type: array items: @@ -111382,7 +111640,7 @@ paths: type: number node_id: type: string - text_matches: *762 + text_matches: *763 required: - sha - node_id @@ -111575,7 +111833,7 @@ paths: - interactions - created - updated - - *763 + - *764 - *17 - *19 - name: advanced_search @@ -111672,11 +111930,11 @@ paths: type: - string - 'null' - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: type: string state_reason: @@ -111704,7 +111962,7 @@ paths: - string - 'null' format: date-time - text_matches: *762 + text_matches: *763 pull_request: type: object properties: @@ -111927,7 +112185,7 @@ paths: enum: - created - updated - - *763 + - *764 - *17 - *19 responses: @@ -111972,7 +112230,7 @@ paths: - 'null' score: type: number - text_matches: *762 + text_matches: *763 required: - id - node_id @@ -112058,7 +112316,7 @@ paths: - forks - help-wanted-issues - updated - - *763 + - *764 - *17 - *19 responses: @@ -112295,7 +112553,7 @@ paths: - admin - pull - push - text_matches: *762 + text_matches: *763 temp_clone_token: type: string allow_merge_commit: @@ -112604,7 +112862,7 @@ paths: - string - 'null' format: uri - text_matches: *762 + text_matches: *763 related: type: - array @@ -112799,7 +113057,7 @@ paths: - followers - repositories - joined - - *763 + - *764 - *17 - *19 responses: @@ -112909,7 +113167,7 @@ paths: type: - boolean - 'null' - text_matches: *762 + text_matches: *763 blog: type: - string @@ -112991,7 +113249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &767 + - &768 name: team_id description: The unique identifier of the team. in: path @@ -113003,9 +113261,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -113032,7 +113290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *767 + - *768 requestBody: required: true content: @@ -113096,16 +113354,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '201': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 '422': *15 '403': *27 @@ -113133,7 +113391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *767 + - *768 responses: '204': description: Response @@ -113162,7 +113420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *767 + - *768 - *17 - *19 responses: @@ -113200,7 +113458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *767 + - *768 - name: role description: Filters members returned by their role in the team. in: query @@ -113251,7 +113509,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *767 + - *768 - *137 responses: '204': @@ -113288,7 +113546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *767 + - *768 - *137 responses: '204': @@ -113328,7 +113586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *767 + - *768 - *137 responses: '204': @@ -113365,16 +113623,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *767 + - *768 - *137 responses: '200': description: Response content: application/json: - schema: *437 + schema: *438 examples: - response-if-user-is-a-team-maintainer: *768 + response-if-user-is-a-team-maintainer: *769 '404': *6 x-github: githubCloudOnly: false @@ -113407,7 +113665,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: - - *767 + - *768 - *137 requestBody: required: false @@ -113433,9 +113691,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - response-if-users-membership-with-team-is-now-pending: *769 + response-if-users-membership-with-team-is-now-pending: *770 '403': description: Forbidden if team synchronization is set up '422': @@ -113469,7 +113727,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: - - *767 + - *768 - *137 responses: '204': @@ -113497,7 +113755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *767 + - *768 - *17 - *19 responses: @@ -113539,15 +113797,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *767 - - *438 + - *768 - *439 + - *440 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *770 + schema: *771 examples: alternative-response-with-extra-repository-information: value: @@ -113698,9 +113956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *767 - - *438 + - *768 - *439 + - *440 requestBody: required: false content: @@ -113750,9 +114008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *767 - - *438 + - *768 - *439 + - *440 responses: '204': description: Response @@ -113781,15 +114039,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *767 + - *768 responses: '200': description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 '403': *27 '404': *6 x-github: @@ -113816,7 +114074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *767 + - *768 requestBody: required: true content: @@ -113877,7 +114135,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -113908,7 +114166,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *767 + - *768 - *17 - *19 responses: @@ -113920,7 +114178,7 @@ paths: type: array items: *302 examples: - response-if-child-teams-exist: *771 + response-if-child-teams-exist: *772 headers: Link: *45 '404': *6 @@ -113953,7 +114211,7 @@ paths: application/json: schema: oneOf: - - &773 + - &774 title: Private User description: Private User type: object @@ -114203,7 +114461,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *772 + - *773 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114363,7 +114621,7 @@ paths: description: Response content: application/json: - schema: *773 + schema: *774 examples: default: value: @@ -114709,7 +114967,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -114717,7 +114975,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -114761,7 +115019,7 @@ paths: type: integer secrets: type: array - items: &774 + items: &775 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114803,7 +115061,7 @@ paths: - visibility - selected_repositories_url examples: - default: *543 + default: *544 headers: Link: *45 x-github: @@ -114881,7 +115139,7 @@ paths: description: Response content: application/json: - schema: *774 + schema: *775 examples: default: value: @@ -115027,7 +115285,7 @@ paths: type: array items: *273 examples: - default: *775 + default: *776 '401': *23 '403': *27 '404': *6 @@ -115179,7 +115437,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '304': *35 '500': *38 '401': *23 @@ -115237,7 +115495,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -115294,7 +115552,7 @@ paths: description: Response content: application/json: - schema: &776 + schema: &777 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -115347,7 +115605,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &777 + default: &778 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -115392,9 +115650,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *777 examples: - default: *777 + default: *778 '404': *6 x-github: githubCloudOnly: false @@ -115431,9 +115689,9 @@ paths: type: integer machines: type: array - items: *542 + items: *543 examples: - default: *778 + default: *779 '304': *35 '500': *38 '401': *23 @@ -115518,11 +115776,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *443 + repository: *444 machine: anyOf: - type: 'null' - - *542 + - *543 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -116327,7 +116585,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '304': *35 '500': *38 '400': *14 @@ -116367,7 +116625,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '500': *38 '401': *23 '403': *27 @@ -116399,7 +116657,7 @@ paths: type: array items: *373 examples: - default: &789 + default: &790 value: - id: 197 name: hello_docker @@ -116500,7 +116758,7 @@ paths: application/json: schema: type: array - items: &779 + items: &780 title: Email description: Email type: object @@ -116570,9 +116828,9 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: - default: &791 + default: &792 value: - email: octocat@github.com verified: true @@ -116649,7 +116907,7 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: default: value: @@ -116907,7 +117165,7 @@ paths: application/json: schema: type: array - items: &780 + items: &781 title: GPG Key description: A unique encryption key type: object @@ -117052,7 +117310,7 @@ paths: - subkeys - revoked examples: - default: &805 + default: &808 value: - id: 3 name: Octocat's GPG Key @@ -117137,9 +117395,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *781 examples: - default: &781 + default: &782 value: id: 3 name: Octocat's GPG Key @@ -117196,7 +117454,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: - - &782 + - &783 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117208,9 +117466,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *781 examples: - default: *781 + default: *782 '404': *6 '304': *35 '403': *27 @@ -117233,7 +117491,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: - - *782 + - *783 responses: '204': description: Response @@ -117538,7 +117796,7 @@ paths: required: true content: application/json: - schema: *623 + schema: *624 examples: default: value: @@ -117688,7 +117946,7 @@ paths: application/json: schema: type: array - items: &783 + items: &784 title: Key description: Key type: object @@ -117791,9 +118049,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *784 examples: - default: &784 + default: &785 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117826,15 +118084,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: - - *652 + - *653 responses: '200': description: Response content: application/json: - schema: *783 + schema: *784 examples: - default: *784 + default: *785 '404': *6 '304': *35 '403': *27 @@ -117857,7 +118115,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: - - *652 + - *653 responses: '204': description: Response @@ -117890,7 +118148,7 @@ paths: application/json: schema: type: array - items: &785 + items: &786 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117969,7 +118227,7 @@ paths: - account - plan examples: - default: &786 + default: &787 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118031,9 +118289,9 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: - default: *786 + default: *787 headers: Link: *45 '304': *35 @@ -119051,7 +119309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *369 - - *787 + - *788 responses: '204': description: Response @@ -119166,7 +119424,7 @@ paths: - docker - nuget - container - - *788 + - *789 - *19 - *17 responses: @@ -119178,8 +119436,8 @@ paths: type: array items: *373 examples: - default: *789 - '400': *790 + default: *790 + '400': *791 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119208,7 +119466,7 @@ paths: application/json: schema: *373 examples: - default: &806 + default: &809 value: id: 40201 name: octo-name @@ -119570,9 +119828,9 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: - default: *791 + default: *792 headers: Link: *45 '304': *35 @@ -119685,7 +119943,7 @@ paths: type: array items: *76 examples: - default: &798 + default: &799 summary: Default response value: - id: 1296269 @@ -120003,9 +120261,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120043,9 +120301,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *792 + default: *793 headers: Link: *45 '304': *35 @@ -120124,7 +120382,7 @@ paths: application/json: schema: type: array - items: &793 + items: &794 title: Social account description: Social media account type: object @@ -120141,7 +120399,7 @@ paths: - provider - url examples: - default: &794 + default: &795 value: - provider: twitter url: https://twitter.com/github @@ -120204,9 +120462,9 @@ paths: application/json: schema: type: array - items: *793 + items: *794 examples: - default: *794 + default: *795 '422': *15 '304': *35 '404': *6 @@ -120294,7 +120552,7 @@ paths: application/json: schema: type: array - items: &795 + items: &796 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120314,7 +120572,7 @@ paths: - title - created_at examples: - default: &820 + default: &823 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120379,9 +120637,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *796 examples: - default: &796 + default: &797 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120411,7 +120669,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: - - &797 + - &798 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -120423,9 +120681,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *796 examples: - default: *796 + default: *797 '404': *6 '304': *35 '403': *27 @@ -120448,7 +120706,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: - - *797 + - *798 responses: '204': description: Response @@ -120477,7 +120735,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: - - &821 + - &824 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 @@ -120502,11 +120760,11 @@ paths: type: array items: *76 examples: - default-response: *798 + default-response: *799 application/vnd.github.v3.star+json: schema: type: array - items: &822 + items: &825 title: Starred Repository description: Starred Repository type: object @@ -120662,8 +120920,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: - - *438 - *439 + - *440 responses: '204': description: Response if this repository is starred by you @@ -120691,8 +120949,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -120716,8 +120974,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -120789,7 +121047,7 @@ paths: application/json: schema: type: array - items: *431 + items: *432 examples: default: value: @@ -120875,10 +121133,10 @@ paths: application/json: schema: oneOf: + - *774 - *773 - - *772 examples: - default-response: &800 + default-response: &803 summary: Default response value: login: octocat @@ -120913,7 +121171,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &801 + response-with-git-hub-plan-information: &804 summary: Response with GitHub plan information value: login: octocat @@ -120970,7 +121228,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 + - &801 + name: user_id description: The unique identifier of the user. in: path required: true @@ -121035,7 +121294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *799 + - *800 - *17 responses: '200': @@ -121058,6 +121317,119 @@ 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: + - *801 + - *391 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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: *802 + examples: + table_view: + summary: Response for creating a table view + value: *401 + board_view: + summary: Response for creating a board view with filter + value: *401 + roadmap_view: + summary: Response for creating a roadmap view + value: *401 + '304': *35 + '403': *27 + '401': *23 + '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 @@ -121084,11 +121456,11 @@ paths: application/json: schema: oneOf: + - *774 - *773 - - *772 examples: - default-response: *800 - response-with-git-hub-plan-information: *801 + default-response: *803 + response-with-git-hub-plan-information: *804 '404': *6 x-github: githubCloudOnly: false @@ -121138,8 +121510,8 @@ paths: required: - subject_digests examples: - default: *802 - withPredicateType: *803 + default: *805 + withPredicateType: *806 responses: '200': description: Response @@ -121193,7 +121565,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *804 + default: *807 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121398,7 +121770,7 @@ paths: initiator: type: string examples: - default: *485 + default: *486 '201': description: Response content: @@ -121439,7 +121811,7 @@ paths: type: array items: *373 examples: - default: *789 + default: *790 '403': *27 '401': *23 x-github: @@ -121823,9 +122195,9 @@ paths: application/json: schema: type: array - items: *780 + items: *781 examples: - default: *805 + default: *808 headers: Link: *45 x-github: @@ -121929,7 +122301,7 @@ paths: application/json: schema: *20 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122054,7 +122426,7 @@ paths: - docker - nuget - container - - *788 + - *789 - *137 - *19 - *17 @@ -122067,10 +122439,10 @@ paths: type: array items: *373 examples: - default: *789 + default: *790 '403': *27 '401': *23 - '400': *790 + '400': *791 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122100,7 +122472,7 @@ paths: application/json: schema: *373 examples: - default: *806 + default: *809 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122449,7 +122821,7 @@ paths: type: array items: *394 examples: - default: *807 + default: *810 headers: Link: *45 '304': *35 @@ -122509,7 +122881,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *808 + items: *811 required: - name - data_type @@ -122525,7 +122897,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *809 + iteration_configuration: *812 required: - name - data_type @@ -122547,8 +122919,8 @@ paths: value: name: Due date data_type: date - single_select_field: *810 - iteration_field: *811 + single_select_field: *813 + iteration_field: *814 responses: '201': description: Response @@ -122556,11 +122928,11 @@ paths: application/json: schema: *394 examples: - text_field: *812 - number_field: *813 - date_field: *814 - single_select_field: *815 - iteration_field: *816 + text_field: *815 + number_field: *816 + date_field: *817 + single_select_field: *818 + iteration_field: *819 '304': *35 '403': *27 '401': *23 @@ -122582,7 +122954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *391 - - *817 + - *820 - *137 responses: '200': @@ -122591,7 +122963,7 @@ paths: application/json: schema: *394 examples: - default: *818 + default: *821 headers: Link: *45 '304': *35 @@ -122948,7 +123320,7 @@ paths: parameters: - *391 - *137 - - *819 + - *822 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -123227,9 +123599,9 @@ paths: application/json: schema: type: array - items: *793 + items: *794 examples: - default: *794 + default: *795 headers: Link: *45 x-github: @@ -123259,9 +123631,9 @@ paths: application/json: schema: type: array - items: *795 + items: *796 examples: - default: *820 + default: *823 headers: Link: *45 x-github: @@ -123286,7 +123658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *137 - - *821 + - *824 - *108 - *17 - *19 @@ -123298,11 +123670,11 @@ paths: schema: anyOf: - type: array - items: *822 + items: *825 - type: array items: *76 examples: - default-response: *798 + default-response: *799 headers: Link: *45 x-github: @@ -123462,7 +123834,7 @@ webhooks: type: string enum: - disabled - enterprise: &823 + enterprise: &826 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -123531,7 +123903,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &824 + installation: &827 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -123552,7 +123924,7 @@ webhooks: required: - id - node_id - organization: &825 + organization: &828 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -123625,7 +123997,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &826 + repository: &829 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -124538,10 +124910,10 @@ webhooks: type: string enum: - enabled - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -124617,11 +124989,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - rule: &827 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: &830 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) @@ -124844,11 +125216,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - rule: *827 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: *830 sender: *4 required: - action @@ -125036,11 +125408,11 @@ webhooks: - everyone required: - from - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - rule: *827 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: *830 sender: *4 required: - action @@ -125113,7 +125485,7 @@ webhooks: required: true content: application/json: - schema: &847 + schema: &850 title: Exemption request cancellation event type: object properties: @@ -125121,11 +125493,11 @@ webhooks: type: string enum: - cancelled - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: &828 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: &831 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -125399,7 +125771,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &829 + items: &832 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -125511,7 +125883,7 @@ webhooks: required: true content: application/json: - schema: &848 + schema: &851 title: Exemption request completed event type: object properties: @@ -125519,11 +125891,11 @@ webhooks: type: string enum: - completed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: *828 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 sender: *4 required: - action @@ -125595,7 +125967,7 @@ webhooks: required: true content: application/json: - schema: &845 + schema: &848 title: Exemption request created event type: object properties: @@ -125603,11 +125975,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: *828 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 sender: *4 required: - action @@ -125679,7 +126051,7 @@ webhooks: required: true content: application/json: - schema: &849 + schema: &852 title: Exemption response dismissed event type: object properties: @@ -125687,12 +126059,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: *828 - exemption_response: *829 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 + exemption_response: *832 sender: *4 required: - action @@ -125766,7 +126138,7 @@ webhooks: required: true content: application/json: - schema: &846 + schema: &849 title: Exemption response submitted event type: object properties: @@ -125774,12 +126146,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: *828 - exemption_response: *829 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 + exemption_response: *832 sender: *4 required: - action @@ -125863,7 +126235,7 @@ webhooks: type: string enum: - completed - check_run: &831 + check_run: &834 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125973,7 +126345,7 @@ webhooks: - examples: - neutral - deployment: *830 + deployment: *833 details_url: type: string examples: @@ -126071,10 +126443,10 @@ webhooks: - output - app - pull_requests - installation: *824 - enterprise: *823 - organization: *825 - repository: *826 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -126467,11 +126839,11 @@ webhooks: type: string enum: - created - check_run: *831 - installation: *824 - enterprise: *823 - organization: *825 - repository: *826 + check_run: *834 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -126867,11 +127239,11 @@ webhooks: type: string enum: - requested_action - check_run: *831 - installation: *824 - enterprise: *823 - organization: *825 - repository: *826 + check_run: *834 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 requested_action: description: The action requested by the user. type: object @@ -127276,11 +127648,11 @@ webhooks: type: string enum: - rerequested - check_run: *831 - installation: *824 - enterprise: *823 - organization: *825 - repository: *826 + check_run: *834 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -128272,10 +128644,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -128984,10 +129356,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -129690,10 +130062,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -129862,7 +130234,7 @@ webhooks: required: - login - id - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130014,20 +130386,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &832 + commit_oid: &835 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: *823 - installation: *824 - organization: *825 - ref: &833 + enterprise: *826 + installation: *827 + organization: *828 + ref: &836 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: *826 + repository: *829 sender: *4 required: - action @@ -130194,7 +130566,7 @@ webhooks: required: - login - id - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130435,12 +130807,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *832 - enterprise: *823 - installation: *824 - organization: *825 - ref: *833 - repository: *826 + commit_oid: *835 + enterprise: *826 + installation: *827 + organization: *828 + ref: *836 + repository: *829 sender: *4 required: - action @@ -130538,7 +130910,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130723,12 +131095,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *832 - enterprise: *823 - installation: *824 - organization: *825 - ref: *833 - repository: *826 + commit_oid: *835 + enterprise: *826 + installation: *827 + organization: *828 + ref: *836 + repository: *829 sender: *4 required: - action @@ -130897,7 +131269,7 @@ webhooks: required: - login - id - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131074,12 +131446,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *832 - enterprise: *823 - installation: *824 - organization: *825 - ref: *833 - repository: *826 + commit_oid: *835 + enterprise: *826 + installation: *827 + organization: *828 + ref: *836 + repository: *829 sender: *4 required: - action @@ -131180,7 +131552,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131369,9 +131741,9 @@ webhooks: type: - string - 'null' - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -131379,7 +131751,7 @@ webhooks: type: - string - 'null' - repository: *826 + repository: *829 sender: *4 required: - action @@ -131478,7 +131850,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131625,12 +131997,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *832 - enterprise: *823 - installation: *824 - organization: *825 - ref: *833 - repository: *826 + commit_oid: *835 + enterprise: *826 + installation: *827 + organization: *828 + ref: *836 + repository: *829 sender: *4 required: - action @@ -131799,7 +132171,7 @@ webhooks: required: - login - id - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131951,10 +132323,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -132214,10 +132586,10 @@ webhooks: - updated_at - author_association - body - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -132298,18 +132670,18 @@ webhooks: type: - string - 'null' - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *825 - pusher_type: &834 + organization: *828 + pusher_type: &837 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &835 + ref: &838 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -132319,7 +132691,7 @@ webhooks: enum: - tag - branch - repository: *826 + repository: *829 sender: *4 required: - ref @@ -132402,9 +132774,9 @@ webhooks: enum: - created definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132489,9 +132861,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132569,9 +132941,9 @@ webhooks: enum: - promote_to_enterprise definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132649,9 +133021,9 @@ webhooks: enum: - updated definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132728,10 +133100,10 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - repository: *826 - organization: *825 + enterprise: *826 + installation: *827 + repository: *829 + organization: *828 sender: *4 new_property_values: type: array @@ -132816,18 +133188,18 @@ webhooks: title: delete event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 - pusher_type: *834 - ref: *835 + enterprise: *826 + installation: *827 + organization: *828 + pusher_type: *837 + ref: *838 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *826 + repository: *829 sender: *4 required: - ref @@ -132911,11 +133283,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132999,11 +133371,11 @@ webhooks: type: string enum: - auto_reopened - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133087,11 +133459,11 @@ webhooks: type: string enum: - created - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133173,11 +133545,11 @@ webhooks: type: string enum: - dismissed - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133259,11 +133631,11 @@ webhooks: type: string enum: - fixed - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133346,11 +133718,11 @@ webhooks: type: string enum: - reintroduced - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133432,11 +133804,11 @@ webhooks: type: string enum: - reopened - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133513,9 +133885,9 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - key: &836 + enterprise: *826 + installation: *827 + key: &839 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -133553,8 +133925,8 @@ webhooks: - verified - created_at - read_only - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -133631,11 +134003,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - key: *836 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + key: *839 + organization: *828 + repository: *829 sender: *4 required: - action @@ -134207,12 +134579,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: &840 + workflow: &843 title: Workflow type: - object @@ -134950,13 +135322,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *577 + deployment: *578 pull_requests: type: array - items: *672 - repository: *826 - organization: *825 - installation: *824 + items: *673 + repository: *829 + organization: *828 + installation: *827 sender: *4 responses: '200': @@ -135027,7 +135399,7 @@ webhooks: type: string enum: - approved - approver: &837 + approver: &840 type: object properties: avatar_url: @@ -135070,11 +135442,11 @@ webhooks: type: string comment: type: string - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - reviewers: &838 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + reviewers: &841 type: array items: type: object @@ -135155,7 +135527,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &839 + workflow_job_run: &842 type: object properties: conclusion: @@ -135901,18 +136273,18 @@ webhooks: type: string enum: - rejected - approver: *837 + approver: *840 comment: type: string - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - reviewers: *838 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + reviewers: *841 sender: *4 since: type: string - workflow_job_run: *839 + workflow_job_run: *842 workflow_job_runs: type: array items: @@ -136629,13 +137001,13 @@ webhooks: type: string enum: - requested - enterprise: *823 + enterprise: *826 environment: type: string - installation: *824 - organization: *825 - repository: *826 - requestor: &850 + installation: *827 + organization: *828 + repository: *829 + requestor: &853 title: User type: - object @@ -138578,12 +138950,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *840 + workflow: *843 workflow_run: title: Deployment Workflow Run type: @@ -139274,7 +139646,7 @@ webhooks: type: string enum: - answered - answer: &843 + answer: &846 type: object properties: author_association: @@ -139434,11 +139806,11 @@ webhooks: - created_at - updated_at - body - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139565,11 +139937,11 @@ webhooks: - from required: - category - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139652,11 +140024,11 @@ webhooks: type: string enum: - closed - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139738,7 +140110,7 @@ webhooks: type: string enum: - created - comment: &842 + comment: &845 type: object properties: author_association: @@ -139898,11 +140270,11 @@ webhooks: - updated_at - body - reactions - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139985,12 +140357,12 @@ webhooks: type: string enum: - deleted - comment: *842 - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + comment: *845 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140085,12 +140457,12 @@ webhooks: - from required: - body - comment: *842 - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + comment: *845 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140174,11 +140546,11 @@ webhooks: type: string enum: - created - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140260,11 +140632,11 @@ webhooks: type: string enum: - deleted - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140364,11 +140736,11 @@ webhooks: type: string required: - from - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140450,10 +140822,10 @@ webhooks: type: string enum: - labeled - discussion: *841 - enterprise: *823 - installation: *824 - label: &844 + discussion: *844 + enterprise: *826 + installation: *827 + label: &847 title: Label type: object properties: @@ -140486,8 +140858,8 @@ webhooks: - color - default - description - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140570,11 +140942,11 @@ webhooks: type: string enum: - locked - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140656,11 +141028,11 @@ webhooks: type: string enum: - pinned - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140742,11 +141114,11 @@ webhooks: type: string enum: - reopened - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140831,16 +141203,16 @@ webhooks: changes: type: object properties: - new_discussion: *841 - new_repository: *826 + new_discussion: *844 + new_repository: *829 required: - new_discussion - new_repository - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140923,10 +141295,10 @@ webhooks: type: string enum: - unanswered - discussion: *841 - old_answer: *843 - organization: *825 - repository: *826 + discussion: *844 + old_answer: *846 + organization: *828 + repository: *829 sender: *4 required: - action @@ -141008,12 +141380,12 @@ webhooks: type: string enum: - unlabeled - discussion: *841 - enterprise: *823 - installation: *824 - label: *844 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -141096,11 +141468,11 @@ webhooks: type: string enum: - unlocked - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -141182,11 +141554,11 @@ webhooks: type: string enum: - unpinned - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -141255,7 +141627,7 @@ webhooks: required: true content: application/json: - schema: *845 + schema: *848 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141318,7 +141690,7 @@ webhooks: required: true content: application/json: - schema: *846 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141381,7 +141753,7 @@ webhooks: required: true content: application/json: - schema: *847 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141444,7 +141816,7 @@ webhooks: required: true content: application/json: - schema: *845 + schema: *848 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141507,7 +141879,7 @@ webhooks: required: true content: application/json: - schema: *846 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141573,7 +141945,7 @@ webhooks: required: true content: application/json: - schema: *847 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141639,7 +142011,7 @@ webhooks: required: true content: application/json: - schema: *848 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141705,7 +142077,7 @@ webhooks: required: true content: application/json: - schema: *845 + schema: *848 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141771,7 +142143,7 @@ webhooks: required: true content: application/json: - schema: *849 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141837,7 +142209,7 @@ webhooks: required: true content: application/json: - schema: *846 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141902,7 +142274,7 @@ webhooks: required: true content: application/json: - schema: *847 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141967,7 +142339,7 @@ webhooks: required: true content: application/json: - schema: *848 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142032,7 +142404,7 @@ webhooks: required: true content: application/json: - schema: *845 + schema: *848 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142097,7 +142469,7 @@ webhooks: required: true content: application/json: - schema: *849 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142163,7 +142535,7 @@ webhooks: required: true content: application/json: - schema: *846 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142230,7 +142602,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *823 + enterprise: *826 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -142908,9 +143280,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - forkee @@ -143056,9 +143428,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pages: description: The pages that were updated. type: array @@ -143096,7 +143468,7 @@ webhooks: - action - sha - html_url - repository: *826 + repository: *829 sender: *4 required: - pages @@ -143172,10 +143544,10 @@ webhooks: type: string enum: - created - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: &851 + organization: *828 + repositories: &854 description: An array of repository objects that the installation can access. type: array @@ -143201,8 +143573,8 @@ webhooks: - name - full_name - private - repository: *826 - requester: *850 + repository: *829 + requester: *853 sender: *4 required: - action @@ -143277,11 +143649,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: *851 - repository: *826 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -143358,11 +143730,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: *851 - repository: *826 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -143439,10 +143811,10 @@ webhooks: type: string enum: - added - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories_added: &852 + organization: *828 + repositories_added: &855 description: An array of repository objects, which were added to the installation. type: array @@ -143488,15 +143860,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *826 - repository_selection: &853 + repository: *829 + repository_selection: &856 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *850 + requester: *853 sender: *4 required: - action @@ -143575,10 +143947,10 @@ webhooks: type: string enum: - removed - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories_added: *852 + organization: *828 + repositories_added: *855 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -143605,9 +143977,9 @@ webhooks: - name - full_name - private - repository: *826 - repository_selection: *853 - requester: *850 + repository: *829 + repository_selection: *856 + requester: *853 sender: *4 required: - action @@ -143686,11 +144058,11 @@ webhooks: type: string enum: - suspend - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: *851 - repository: *826 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -143873,10 +144245,10 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 target_type: type: string @@ -143955,11 +144327,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: *851 - repository: *826 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -144207,8 +144579,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145025,8 +145397,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145387,8 +145759,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -145468,7 +145840,7 @@ webhooks: type: string enum: - deleted - comment: &854 + comment: &857 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -145635,8 +146007,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146449,8 +146821,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146813,8 +147185,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -146894,7 +147266,7 @@ webhooks: type: string enum: - edited - changes: &878 + changes: &881 description: The changes to the comment. type: object properties: @@ -146906,9 +147278,9 @@ webhooks: type: string required: - from - comment: *854 - enterprise: *823 - installation: *824 + comment: *857 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147724,8 +148096,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148086,8 +148458,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148177,9 +148549,9 @@ webhooks: type: number blocking_issue: *213 blocking_issue_repo: *76 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148268,9 +148640,9 @@ webhooks: type: number blocking_issue: *213 blocking_issue_repo: *76 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148358,9 +148730,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148449,9 +148821,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148531,10 +148903,10 @@ webhooks: type: string enum: - assigned - assignee: *850 - enterprise: *823 - installation: *824 - issue: &857 + assignee: *853 + enterprise: *826 + installation: *827 + issue: &860 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149346,11 +149718,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149470,8 +149842,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -149551,8 +149923,8 @@ webhooks: type: string enum: - closed - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150369,11 +150741,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150636,8 +151008,8 @@ webhooks: required: - state - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -150716,8 +151088,8 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151525,11 +151897,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151648,8 +152020,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -151728,8 +152100,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152560,11 +152932,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152662,7 +153034,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &855 + milestone: &858 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152805,8 +153177,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -152905,8 +153277,8 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153718,11 +154090,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153842,9 +154214,9 @@ webhooks: - active_lock_reason - body - reactions - label: *844 - organization: *825 - repository: *826 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -153924,8 +154296,8 @@ webhooks: type: string enum: - labeled - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154736,11 +155108,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154860,9 +155232,9 @@ webhooks: - active_lock_reason - body - reactions - label: *844 - organization: *825 - repository: *826 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -154942,8 +155314,8 @@ webhooks: type: string enum: - locked - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155779,11 +156151,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155880,8 +156252,8 @@ webhooks: format: uri user_view_type: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -155960,8 +156332,8 @@ webhooks: type: string enum: - milestoned - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156791,11 +157163,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156892,9 +157264,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *855 - organization: *825 - repository: *826 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -157786,11 +158158,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158367,8 +158739,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159180,11 +159552,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159303,8 +159675,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -159384,9 +159756,9 @@ webhooks: type: string enum: - pinned - enterprise: *823 - installation: *824 - issue: &856 + enterprise: *826 + installation: *827 + issue: &859 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -160192,11 +160564,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160315,8 +160687,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -160395,8 +160767,8 @@ webhooks: type: string enum: - reopened - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161230,11 +161602,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161332,8 +161704,8 @@ webhooks: user_view_type: type: string type: *358 - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162222,11 +162594,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162825,11 +163197,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *823 - installation: *824 - issue: *856 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + issue: *859 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162909,12 +163281,12 @@ webhooks: type: string enum: - typed - enterprise: *823 - installation: *824 - issue: *857 + enterprise: *826 + installation: *827 + issue: *860 type: *358 - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162995,7 +163367,7 @@ webhooks: type: string enum: - unassigned - assignee: &881 + assignee: &884 title: User type: - object @@ -163067,11 +163439,11 @@ webhooks: required: - login - id - enterprise: *823 - installation: *824 - issue: *857 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + issue: *860 + organization: *828 + repository: *829 sender: *4 required: - action @@ -163150,12 +163522,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *823 - installation: *824 - issue: *857 - label: *844 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + issue: *860 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -163235,8 +163607,8 @@ webhooks: type: string enum: - unlocked - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -164070,11 +164442,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164171,8 +164543,8 @@ webhooks: format: uri user_view_type: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164252,11 +164624,11 @@ webhooks: type: string enum: - unpinned - enterprise: *823 - installation: *824 - issue: *856 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + issue: *859 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164335,12 +164707,12 @@ webhooks: type: string enum: - untyped - enterprise: *823 - installation: *824 - issue: *857 + enterprise: *826 + installation: *827 + issue: *860 type: *358 - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164420,11 +164792,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - label: *844 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164502,11 +164874,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - label: *844 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164616,11 +164988,11 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - label: *844 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164702,9 +165074,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *823 - installation: *824 - marketplace_purchase: &858 + enterprise: *826 + installation: *827 + marketplace_purchase: &861 title: Marketplace Purchase type: object required: @@ -164792,8 +165164,8 @@ webhooks: type: integer unit_count: type: integer - organization: *825 - previous_marketplace_purchase: &859 + organization: *828 + previous_marketplace_purchase: &862 title: Marketplace Purchase type: object properties: @@ -164877,7 +165249,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -164957,10 +165329,10 @@ webhooks: - changed effective_date: type: string - enterprise: *823 - installation: *824 - marketplace_purchase: *858 - organization: *825 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165048,7 +165420,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -165130,10 +165502,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *823 - installation: *824 - marketplace_purchase: *858 - organization: *825 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165219,7 +165591,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -165300,8 +165672,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 marketplace_purchase: title: Marketplace Purchase type: object @@ -165387,9 +165759,9 @@ webhooks: type: integer unit_count: type: integer - organization: *825 - previous_marketplace_purchase: *859 - repository: *826 + organization: *828 + previous_marketplace_purchase: *862 + repository: *829 sender: *4 required: - action @@ -165469,12 +165841,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *823 - installation: *824 - marketplace_purchase: *858 - organization: *825 - previous_marketplace_purchase: *859 - repository: *826 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 + previous_marketplace_purchase: *862 + repository: *829 sender: *4 required: - action @@ -165576,11 +165948,11 @@ webhooks: type: string required: - to - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165682,11 +166054,11 @@ webhooks: type: - string - 'null' - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165765,11 +166137,11 @@ webhooks: type: string enum: - removed - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165847,11 +166219,11 @@ webhooks: type: string enum: - added - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165929,7 +166301,7 @@ webhooks: required: - login - id - team: &860 + team: &863 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166159,11 +166531,11 @@ webhooks: type: string enum: - removed - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166242,7 +166614,7 @@ webhooks: required: - login - id - team: *860 + team: *863 required: - action - scope @@ -166324,8 +166696,8 @@ webhooks: type: string enum: - checks_requested - installation: *824 - merge_group: &861 + installation: *827 + merge_group: &864 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166344,15 +166716,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *505 + head_commit: *506 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166438,10 +166810,10 @@ webhooks: - merged - invalidated - dequeued - installation: *824 - merge_group: *861 - organization: *825 - repository: *826 + installation: *827 + merge_group: *864 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166514,7 +166886,7 @@ webhooks: type: string enum: - deleted - enterprise: *823 + enterprise: *826 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166623,12 +166995,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *824 - organization: *825 + installation: *827 + organization: *828 repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -166708,11 +167080,11 @@ webhooks: type: string enum: - closed - enterprise: *823 - installation: *824 - milestone: *855 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166791,9 +167163,9 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - milestone: &862 + enterprise: *826 + installation: *827 + milestone: &865 title: Milestone description: A collection of related issues and pull requests. type: object @@ -166935,8 +167307,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167015,11 +167387,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - milestone: *855 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167129,11 +167501,11 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - milestone: *855 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167213,11 +167585,11 @@ webhooks: type: string enum: - opened - enterprise: *823 - installation: *824 - milestone: *862 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + milestone: *865 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167296,11 +167668,11 @@ webhooks: type: string enum: - blocked - blocked_user: *850 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + blocked_user: *853 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167379,11 +167751,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *850 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + blocked_user: *853 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167459,7 +167831,7 @@ webhooks: enum: - created definition: *145 - enterprise: *823 + enterprise: *826 sender: *4 required: - action @@ -167539,8 +167911,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 sender: *4 required: - action @@ -167613,8 +167985,8 @@ webhooks: enum: - updated definition: *145 - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 sender: *4 required: - action @@ -167686,9 +168058,9 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 new_property_values: type: array @@ -167776,9 +168148,9 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - membership: &863 + enterprise: *826 + installation: *827 + membership: &866 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -167888,8 +168260,8 @@ webhooks: - role - organization_url - user - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167967,11 +168339,11 @@ webhooks: type: string enum: - member_added - enterprise: *823 - installation: *824 - membership: *863 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -168050,8 +168422,8 @@ webhooks: type: string enum: - member_invited - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168173,10 +168545,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 - user: *850 + user: *853 required: - action - invitation @@ -168254,11 +168626,11 @@ webhooks: type: string enum: - member_removed - enterprise: *823 - installation: *824 - membership: *863 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -168345,11 +168717,11 @@ webhooks: properties: from: type: string - enterprise: *823 - installation: *824 - membership: *863 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -168425,9 +168797,9 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 package: description: Information about the package. type: object @@ -168950,7 +169322,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &864 + items: &867 title: Ruby Gems metadata type: object properties: @@ -169047,7 +169419,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -169123,9 +169495,9 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 package: description: Information about the package. type: object @@ -169487,7 +169859,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *864 + items: *867 source_url: type: string format: uri @@ -169558,7 +169930,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -169739,12 +170111,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *823 + enterprise: *826 id: type: integer - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - id @@ -169821,7 +170193,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &865 + personal_access_token_request: &868 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -169971,10 +170343,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *823 - organization: *825 + enterprise: *826 + organization: *828 sender: *4 - installation: *824 + installation: *827 required: - action - personal_access_token_request @@ -170051,11 +170423,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *865 - enterprise: *823 - organization: *825 + personal_access_token_request: *868 + enterprise: *826 + organization: *828 sender: *4 - installation: *824 + installation: *827 required: - action - personal_access_token_request @@ -170131,11 +170503,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *865 - enterprise: *823 - organization: *825 + personal_access_token_request: *868 + enterprise: *826 + organization: *828 sender: *4 - installation: *824 + installation: *827 required: - action - personal_access_token_request @@ -170210,11 +170582,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *865 - organization: *825 - enterprise: *823 + personal_access_token_request: *868 + organization: *828 + enterprise: *826 sender: *4 - installation: *824 + installation: *827 required: - action - personal_access_token_request @@ -170319,7 +170691,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *866 + last_response: *869 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170351,8 +170723,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 zen: description: Random string of GitHub zen. @@ -170597,10 +170969,10 @@ webhooks: - from required: - note - enterprise: *823 - installation: *824 - organization: *825 - project_card: &867 + enterprise: *826 + installation: *827 + organization: *828 + project_card: &870 title: Project Card type: object properties: @@ -170723,7 +171095,7 @@ webhooks: - creator - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -170804,11 +171176,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - project_card: *867 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project_card: *870 + repository: *829 sender: *4 required: - action @@ -170888,9 +171260,9 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 project_card: title: Project Card type: object @@ -171020,7 +171392,7 @@ webhooks: repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -171114,11 +171486,11 @@ webhooks: - from required: - note - enterprise: *823 - installation: *824 - organization: *825 - project_card: *867 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project_card: *870 + repository: *829 sender: *4 required: - action @@ -171212,9 +171584,9 @@ webhooks: - from required: - column_id - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 project_card: allOf: - title: Project Card @@ -171411,7 +171783,7 @@ webhooks: type: string required: - after_id - repository: *826 + repository: *829 sender: *4 required: - action @@ -171491,10 +171863,10 @@ webhooks: type: string enum: - closed - enterprise: *823 - installation: *824 - organization: *825 - project: &869 + enterprise: *826 + installation: *827 + organization: *828 + project: &872 title: Project type: object properties: @@ -171621,7 +171993,7 @@ webhooks: - creator - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -171701,10 +172073,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - project_column: &868 + enterprise: *826 + installation: *827 + organization: *828 + project_column: &871 title: Project Column type: object properties: @@ -171744,7 +172116,7 @@ webhooks: - name - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -171823,14 +172195,14 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - project_column: *868 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -171919,11 +172291,11 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 - project_column: *868 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 + repository: *829 sender: *4 required: - action @@ -172003,11 +172375,11 @@ webhooks: type: string enum: - moved - enterprise: *823 - installation: *824 - organization: *825 - project_column: *868 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 + repository: *829 sender: *4 required: - action @@ -172087,11 +172459,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - project: *869 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -172171,14 +172543,14 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - project: *869 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -172279,11 +172651,11 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 - project: *869 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -172362,11 +172734,11 @@ webhooks: type: string enum: - reopened - enterprise: *823 - installation: *824 - organization: *825 - project: *869 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -172447,8 +172819,8 @@ webhooks: type: string enum: - closed - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172530,8 +172902,8 @@ webhooks: type: string enum: - created - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172613,8 +172985,8 @@ webhooks: type: string enum: - deleted - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172736,8 +173108,8 @@ webhooks: type: string to: type: string - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172821,7 +173193,7 @@ webhooks: type: string enum: - archived - changes: &873 + changes: &876 type: object properties: archived_at: @@ -172837,9 +173209,9 @@ webhooks: - string - 'null' format: date-time - installation: *824 - organization: *825 - projects_v2_item: &870 + installation: *827 + organization: *828 + projects_v2_item: &873 title: Projects v2 Item description: An item belonging to a project type: object @@ -172979,9 +173351,9 @@ webhooks: - 'null' to: type: string - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173063,9 +173435,9 @@ webhooks: type: string enum: - created - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173146,9 +173518,9 @@ webhooks: type: string enum: - deleted - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173253,7 +173625,7 @@ webhooks: oneOf: - type: string - type: integer - - &871 + - &874 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173277,7 +173649,7 @@ webhooks: required: - id - name - - &872 + - &875 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173317,8 +173689,8 @@ webhooks: oneOf: - type: string - type: integer - - *871 - - *872 + - *874 + - *875 type: - 'null' - string @@ -173341,9 +173713,9 @@ webhooks: - 'null' required: - body - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173440,9 +173812,9 @@ webhooks: type: - string - 'null' - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173525,10 +173897,10 @@ webhooks: type: string enum: - restored - changes: *873 - installation: *824 - organization: *825 - projects_v2_item: *870 + changes: *876 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173610,8 +173982,8 @@ webhooks: type: string enum: - reopened - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -173693,9 +174065,9 @@ webhooks: type: string enum: - created - installation: *824 - organization: *825 - projects_v2_status_update: *874 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -173776,9 +174148,9 @@ webhooks: type: string enum: - deleted - installation: *824 - organization: *825 - projects_v2_status_update: *874 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -173924,9 +174296,9 @@ webhooks: - string - 'null' format: date - installation: *824 - organization: *825 - projects_v2_status_update: *874 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -173997,10 +174369,10 @@ webhooks: title: public event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - repository @@ -174077,13 +174449,13 @@ webhooks: type: string enum: - assigned - assignee: *850 - enterprise: *823 - installation: *824 - number: &875 + assignee: *853 + enterprise: *826 + installation: *827 + number: &878 description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -176432,7 +176804,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -176514,11 +176886,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -178860,7 +179232,7 @@ webhooks: - draft reason: type: string - repository: *826 + repository: *829 sender: *4 required: - action @@ -178942,11 +179314,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -181288,7 +181660,7 @@ webhooks: - draft reason: type: string - repository: *826 + repository: *829 sender: *4 required: - action @@ -181370,13 +181742,13 @@ webhooks: type: string enum: - closed - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: &876 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: &879 allOf: - - *672 + - *673 - type: object properties: allow_auto_merge: @@ -181438,7 +181810,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *826 + repository: *829 sender: *4 required: - action @@ -181519,12 +181891,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -181604,11 +181976,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *823 + enterprise: *826 milestone: *392 - number: *875 - organization: *825 - pull_request: &877 + number: *878 + organization: *828 + pull_request: &880 title: Pull Request type: object properties: @@ -183935,7 +184307,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -184014,11 +184386,11 @@ webhooks: type: string enum: - dequeued - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -186364,7 +186736,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *826 + repository: *829 sender: *4 required: - action @@ -186488,12 +186860,12 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -186573,11 +186945,11 @@ webhooks: type: string enum: - enqueued - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -188908,7 +189280,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -188988,11 +189360,11 @@ webhooks: type: string enum: - labeled - enterprise: *823 - installation: *824 - label: *844 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + label: *847 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -191340,7 +191712,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -191421,10 +191793,10 @@ webhooks: type: string enum: - locked - enterprise: *823 - installation: *824 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -193770,7 +194142,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -193850,12 +194222,12 @@ webhooks: type: string enum: - milestoned - enterprise: *823 + enterprise: *826 milestone: *392 - number: *875 - organization: *825 - pull_request: *877 - repository: *826 + number: *878 + organization: *828 + pull_request: *880 + repository: *829 sender: *4 required: - action @@ -193934,12 +194306,12 @@ webhooks: type: string enum: - opened - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -194020,12 +194392,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -194105,12 +194477,12 @@ webhooks: type: string enum: - reopened - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -194485,9 +194857,9 @@ webhooks: - start_side - side - reactions - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -196717,7 +197089,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -196797,7 +197169,7 @@ webhooks: type: string enum: - deleted - comment: &879 + comment: &882 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. @@ -197090,9 +197462,9 @@ webhooks: - start_side - side - reactions - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -199310,7 +199682,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -199390,11 +199762,11 @@ webhooks: type: string enum: - edited - changes: *878 - comment: *879 - enterprise: *823 - installation: *824 - organization: *825 + changes: *881 + comment: *882 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -201615,7 +201987,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -201696,9 +202068,9 @@ webhooks: type: string enum: - dismissed - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -203931,7 +204303,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 review: description: The review that was affected. type: object @@ -204182,9 +204554,9 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -206298,8 +206670,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 - review: &880 + repository: *829 + review: &883 description: The review that was affected. type: object properties: @@ -206537,12 +206909,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -208889,7 +209261,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_reviewer: title: User type: @@ -208975,12 +209347,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -211334,7 +211706,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211529,12 +211901,12 @@ webhooks: type: string enum: - review_requested - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -213883,7 +214255,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_reviewer: title: User type: @@ -213970,12 +214342,12 @@ webhooks: type: string enum: - review_requested - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -216315,7 +216687,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_team: title: Team description: Groups of organization members that gives permissions @@ -216499,9 +216871,9 @@ webhooks: type: string enum: - submitted - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -218737,8 +219109,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 - review: *880 + repository: *829 + review: *883 sender: *4 required: - action @@ -218818,9 +219190,9 @@ webhooks: type: string enum: - resolved - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -220951,7 +221323,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 sender: *4 thread: type: object @@ -221348,9 +221720,9 @@ webhooks: type: string enum: - unresolved - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -223464,7 +223836,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 sender: *4 thread: type: object @@ -223863,10 +224235,10 @@ webhooks: type: string before: type: string - enterprise: *823 - installation: *824 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -226201,7 +226573,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -226283,11 +226655,11 @@ webhooks: type: string enum: - unassigned - assignee: *881 - enterprise: *823 - installation: *824 - number: *875 - organization: *825 + assignee: *884 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -228637,7 +229009,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -228716,11 +229088,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *823 - installation: *824 - label: *844 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + label: *847 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -231059,7 +231431,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -231140,10 +231512,10 @@ webhooks: type: string enum: - unlocked - enterprise: *823 - installation: *824 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -233472,7 +233844,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -233675,7 +234047,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *823 + enterprise: *826 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -233770,8 +234142,8 @@ webhooks: - url - author - committer - installation: *824 - organization: *825 + installation: *827 + organization: *828 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -234359,9 +234731,9 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 registry_package: type: object properties: @@ -234838,7 +235210,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *864 + items: *867 summary: type: string tag_name: @@ -234894,7 +235266,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -234972,9 +235344,9 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 registry_package: type: object properties: @@ -235286,7 +235658,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *864 + items: *867 summary: type: string tag_name: @@ -235336,7 +235708,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -235413,10 +235785,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - release: &882 + enterprise: *826 + installation: *827 + organization: *828 + release: &885 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235747,7 +236119,7 @@ webhooks: - updated_at - zipball_url - body - repository: *826 + repository: *829 sender: *4 required: - action @@ -235824,11 +236196,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - release: *882 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -235945,11 +236317,11 @@ webhooks: type: boolean required: - to - enterprise: *823 - installation: *824 - organization: *825 - release: *882 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -236027,9 +236399,9 @@ webhooks: type: string enum: - prereleased - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -236365,7 +236737,7 @@ webhooks: - string - 'null' format: uri - repository: *826 + repository: *829 sender: *4 required: - action @@ -236441,10 +236813,10 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 - release: &883 + enterprise: *826 + installation: *827 + organization: *828 + release: &886 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -236777,7 +237149,7 @@ webhooks: - string - 'null' format: uri - repository: *826 + repository: *829 sender: *4 required: - action @@ -236853,11 +237225,11 @@ webhooks: type: string enum: - released - enterprise: *823 - installation: *824 - organization: *825 - release: *882 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -236933,11 +237305,11 @@ webhooks: type: string enum: - unpublished - enterprise: *823 - installation: *824 - organization: *825 - release: *883 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + release: *886 + repository: *829 sender: *4 required: - action @@ -237013,11 +237385,11 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - repository_advisory: *724 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_advisory: *725 sender: *4 required: - action @@ -237093,11 +237465,11 @@ webhooks: type: string enum: - reported - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - repository_advisory: *724 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_advisory: *725 sender: *4 required: - action @@ -237173,10 +237545,10 @@ webhooks: type: string enum: - archived - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237253,10 +237625,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237334,10 +237706,10 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237422,10 +237794,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237540,10 +237912,10 @@ webhooks: - 'null' items: type: string - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237615,10 +237987,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 status: type: string @@ -237699,10 +238071,10 @@ webhooks: type: string enum: - privatized - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237779,10 +238151,10 @@ webhooks: type: string enum: - publicized - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237876,10 +238248,10 @@ webhooks: - name required: - repository - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237959,10 +238331,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 repository_ruleset: *185 sender: *4 required: @@ -238041,10 +238413,10 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 repository_ruleset: *185 sender: *4 required: @@ -238123,10 +238495,10 @@ webhooks: type: string enum: - edited - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 repository_ruleset: *185 changes: type: object @@ -238188,16 +238560,16 @@ webhooks: properties: added: type: array - items: *692 + items: *693 deleted: type: array - items: *692 + items: *693 updated: type: array items: type: object properties: - rule: *692 + rule: *693 changes: type: object properties: @@ -238434,10 +238806,10 @@ webhooks: - from required: - owner - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238515,10 +238887,10 @@ webhooks: type: string enum: - unarchived - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238596,7 +238968,7 @@ webhooks: type: string enum: - create - alert: &884 + alert: &887 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -238720,10 +239092,10 @@ webhooks: type: string enum: - open - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238933,10 +239305,10 @@ webhooks: type: string enum: - dismissed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239014,11 +239386,11 @@ webhooks: type: string enum: - reopen - alert: *884 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *887 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239220,10 +239592,10 @@ webhooks: enum: - fixed - open - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239301,7 +239673,7 @@ webhooks: type: string enum: - assigned - alert: &885 + alert: &888 type: object properties: number: *124 @@ -239416,10 +239788,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239497,11 +239869,11 @@ webhooks: type: string enum: - created - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239582,11 +239954,11 @@ webhooks: type: string enum: - created - alert: *885 - installation: *824 - location: *886 - organization: *825 - repository: *826 + alert: *888 + installation: *827 + location: *889 + organization: *828 + repository: *829 sender: *4 required: - location @@ -239824,11 +240196,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239906,11 +240278,11 @@ webhooks: type: string enum: - reopened - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239988,11 +240360,11 @@ webhooks: type: string enum: - resolved - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240070,12 +240442,12 @@ webhooks: type: string enum: - unassigned - alert: *885 + alert: *888 assignee: *4 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240153,11 +240525,11 @@ webhooks: type: string enum: - validated - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240287,10 +240659,10 @@ webhooks: - organization - enterprise - - repository: *826 - enterprise: *823 - installation: *824 - organization: *825 + repository: *829 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -240368,11 +240740,11 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - security_advisory: &887 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + security_advisory: &890 description: The details of the security advisory, including summary, description, and severity. type: object @@ -240558,11 +240930,11 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - security_advisory: *887 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + security_advisory: *890 sender: *4 required: - action @@ -240635,10 +241007,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -240824,11 +241196,11 @@ webhooks: from: type: object properties: - security_and_analysis: *402 - enterprise: *823 - installation: *824 - organization: *825 - repository: *443 + security_and_analysis: *403 + enterprise: *826 + installation: *827 + organization: *828 + repository: *444 sender: *4 required: - changes @@ -240906,12 +241278,12 @@ webhooks: type: string enum: - cancelled - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: &888 + sponsorship: &891 type: object properties: created_at: @@ -241216,12 +241588,12 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - sponsorship @@ -241309,12 +241681,12 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - changes @@ -241391,17 +241763,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &889 + effective_date: &892 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: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - sponsorship @@ -241475,7 +241847,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &890 + changes: &893 type: object properties: tier: @@ -241519,13 +241891,13 @@ webhooks: - from required: - tier - effective_date: *889 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + effective_date: *892 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - changes @@ -241602,13 +241974,13 @@ webhooks: type: string enum: - tier_changed - changes: *890 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + changes: *893 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - changes @@ -241682,10 +242054,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241769,10 +242141,10 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242206,15 +242578,15 @@ webhooks: type: - string - 'null' - enterprise: *823 + enterprise: *826 id: description: The unique identifier of the status. type: integer - installation: *824 + installation: *827 name: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 sha: description: The Commit SHA. @@ -242330,9 +242702,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -242422,9 +242794,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -242514,9 +242886,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -242606,9 +242978,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -242685,12 +243057,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - team: &891 + team: &894 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -242920,9 +243292,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -243392,7 +243764,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -243468,9 +243840,9 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -243940,7 +244312,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -244017,9 +244389,9 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -244489,7 +244861,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -244633,9 +245005,9 @@ webhooks: - from required: - permissions - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -245105,7 +245477,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - changes @@ -245183,9 +245555,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -245655,7 +246027,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -245731,10 +246103,10 @@ webhooks: type: string enum: - started - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -245807,17 +246179,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *823 + enterprise: *826 inputs: type: - object - 'null' additionalProperties: true - installation: *824 - organization: *825 + installation: *827 + organization: *828 ref: type: string - repository: *826 + repository: *829 sender: *4 workflow: type: string @@ -245899,10 +246271,10 @@ webhooks: type: string enum: - completed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: allOf: @@ -246158,7 +246530,7 @@ webhooks: type: string required: - conclusion - deployment: *577 + deployment: *578 required: - action - repository @@ -246237,10 +246609,10 @@ webhooks: type: string enum: - in_progress - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: allOf: @@ -246522,7 +246894,7 @@ webhooks: required: - status - steps - deployment: *577 + deployment: *578 required: - action - repository @@ -246601,10 +246973,10 @@ webhooks: type: string enum: - queued - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: type: object @@ -246750,7 +247122,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *577 + deployment: *578 required: - action - repository @@ -246829,10 +247201,10 @@ webhooks: type: string enum: - waiting - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: type: object @@ -246979,7 +247351,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *577 + deployment: *578 required: - action - repository @@ -247059,12 +247431,12 @@ webhooks: type: string enum: - completed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *840 + workflow: *843 workflow_run: title: Workflow Run type: object @@ -248083,12 +248455,12 @@ webhooks: type: string enum: - in_progress - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *840 + workflow: *843 workflow_run: title: Workflow Run type: object @@ -249092,12 +249464,12 @@ webhooks: type: string enum: - requested - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *840 + workflow: *843 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index c31ce6407..c2c4fcc5d 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -120976,7 +120976,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -122309,7 +122312,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -137429,7 +137435,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -143631,7 +143640,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -145373,7 +145385,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -160508,7 +160523,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -163611,7 +163629,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -174215,7 +174236,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -177163,7 +177187,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -202894,7 +202921,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -205261,7 +205291,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -213698,7 +213731,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -218771,7 +218807,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -220092,7 +220131,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -223439,7 +223481,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -225686,7 +225731,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -253593,6 +253641,804 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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", @@ -257698,7 +258544,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -279297,7 +280146,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -287405,7 +288257,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -310467,7 +311322,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -311333,7 +312191,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -313313,7 +314174,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -314179,7 +315043,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -316989,7 +317856,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -317855,7 +318725,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -325130,7 +326003,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -325996,7 +326872,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -364960,7 +365839,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -366891,7 +367773,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -368332,7 +369217,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -370111,7 +370999,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -377264,14 +378155,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": [ { @@ -385407,7 +386298,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -387517,7 +388411,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -389263,7 +390160,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -393034,7 +393934,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -407896,7 +408799,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -409266,7 +410172,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -447209,7 +448118,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -463800,7 +464712,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -465304,7 +466219,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -569266,7 +570184,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -598090,7 +599011,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -599836,7 +600760,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -666896,7 +667823,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -672963,7 +673893,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -685564,7 +686497,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -687198,7 +688134,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -697410,7 +698349,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -703361,7 +704303,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -705662,7 +706607,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -707408,7 +708356,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -709463,7 +710414,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -711565,7 +712519,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -713483,7 +714440,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -721854,7 +722814,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -723860,7 +724823,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -725601,7 +726567,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -744754,7 +745723,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -746337,7 +747309,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -747597,7 +748572,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -756387,7 +757365,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -762224,7 +763205,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -771961,266 +772945,1064 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\"", + "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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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": false, "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": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\"", - "schema": { - "type": "string" - } - } - } - }, - "304": { - "description": "Not modified" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "subcategory": "views" } } }, @@ -774828,7 +776610,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -812132,7 +813917,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -813453,7 +815241,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -857263,7 +859054,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -860684,7 +862478,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -885479,7 +887276,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -890452,7 +892252,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -895425,7 +897228,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -900411,7 +902217,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index c65634977..6e73f00ba 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &423 + type: &424 type: string description: The type of credit the user is receiving. enum: @@ -1079,7 +1079,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &726 + - &727 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &736 + schema: &737 title: Scim Error description: Scim Error type: object @@ -9260,7 +9260,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &737 + '401': &738 description: Authorization failure '404': *6 x-github: @@ -13533,7 +13533,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &511 + instances_url: &512 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13569,7 +13569,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &512 + dismissed_reason: &513 type: - string - 'null' @@ -13580,14 +13580,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &513 + dismissed_comment: &514 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &514 + rule: &515 type: object properties: id: @@ -13648,7 +13648,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &515 + tool: &516 type: object properties: name: *109 @@ -13659,26 +13659,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *110 - most_recent_instance: &516 + most_recent_instance: &517 type: object properties: - ref: &509 + ref: &510 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &526 + analysis_key: &527 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: &527 + environment: &528 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: &528 + category: &529 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13692,7 +13692,7 @@ paths: properties: text: type: string - location: &529 + location: &530 type: object description: Describe a region within a file for the alert. properties: @@ -13713,7 +13713,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &530 + items: &531 type: - string - 'null' @@ -17488,7 +17488,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 - - &567 + - &568 name: has in: query description: |- @@ -17605,7 +17605,7 @@ paths: - direct - transitive - - security_advisory: &568 + security_advisory: &569 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17841,7 +17841,7 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: &569 + auto_dismissed_at: &570 type: - string - 'null' @@ -17849,7 +17849,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &570 + dismissal_request: &571 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -19051,7 +19051,7 @@ paths: - name - created_on examples: - default: &427 + default: &428 value: total_count: 2 network_configurations: @@ -19274,7 +19274,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &428 + - &429 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19286,7 +19286,7 @@ paths: description: Response content: application/json: - schema: &429 + schema: &430 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19325,7 +19325,7 @@ paths: - subnet_id - region examples: - default: &430 + default: &431 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -20174,7 +20174,7 @@ paths: required: true content: application/json: - schema: &401 + schema: &402 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21368,7 +21368,7 @@ paths: conditions: anyOf: - *156 - - &405 + - &406 title: Organization ruleset conditions type: object description: |- @@ -21418,7 +21418,7 @@ paths: - object rules: type: array - items: &692 + items: &693 title: Repository Rule type: object description: A repository rule. @@ -21427,7 +21427,7 @@ paths: - *165 - *166 - *167 - - &690 + - &691 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21755,7 +21755,7 @@ paths: type: string format: date-time examples: - default: &408 + default: &409 value: - version_id: 3 actor: @@ -21808,7 +21808,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &410 allOf: - *189 - type: object @@ -21863,7 +21863,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &410 + - &411 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21874,7 +21874,7 @@ paths: enum: - open - resolved - - &411 + - &412 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21884,7 +21884,7 @@ paths: required: false schema: type: string - - &412 + - &413 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21893,7 +21893,7 @@ paths: required: false schema: type: string - - &413 + - &414 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21912,7 +21912,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &414 + - &415 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. @@ -21928,7 +21928,7 @@ paths: - *17 - *106 - *107 - - &415 + - &416 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21937,7 +21937,7 @@ paths: required: false schema: type: string - - &416 + - &417 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21946,7 +21946,7 @@ paths: schema: type: boolean default: false - - &417 + - &418 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21955,7 +21955,7 @@ paths: schema: type: boolean default: false - - &418 + - &419 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21971,7 +21971,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 type: object properties: number: *124 @@ -21987,14 +21987,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &704 + state: &705 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &705 + resolution: &706 type: - string - 'null' @@ -22101,14 +22101,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &706 + - &707 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &708 + - &709 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -22165,7 +22165,7 @@ paths: - blob_url - commit_sha - commit_url - - &709 + - &710 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. @@ -22226,7 +22226,7 @@ paths: - page_url - commit_sha - commit_url - - &710 + - &711 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -22241,7 +22241,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &711 + - &712 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -22256,7 +22256,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &712 + - &713 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -22271,7 +22271,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &713 + - &714 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22286,7 +22286,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &714 + - &715 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22301,7 +22301,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &715 + - &716 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22316,7 +22316,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &716 + - &717 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. @@ -22331,7 +22331,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &717 + - &718 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. @@ -22346,7 +22346,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &718 + - &719 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. @@ -22361,7 +22361,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &719 + - &720 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. @@ -22376,7 +22376,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &720 + - &721 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 @@ -22401,7 +22401,7 @@ paths: - type: 'null' - *4 examples: - default: &420 + default: &421 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22610,7 +22610,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &422 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22697,7 +22697,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &422 + default: &423 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22833,7 +22833,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &424 + - &425 name: advanced_security_product in: query description: | @@ -22853,7 +22853,7 @@ paths: description: Success content: application/json: - schema: &425 + schema: &426 type: object properties: total_advanced_security_committers: @@ -22916,7 +22916,7 @@ paths: required: - repositories examples: - default: &426 + default: &427 value: total_advanced_security_committers: 2 total_count: 2 @@ -25718,7 +25718,7 @@ paths: properties: action: type: string - discussion: &841 + discussion: &844 title: Discussion description: A Discussion in a repository. type: object @@ -26504,7 +26504,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &764 + sub_issues_summary: &765 title: Sub-issues Summary type: object properties: @@ -26525,7 +26525,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &765 + issue_dependencies_summary: &766 title: Issue Dependencies Summary type: object properties: @@ -26544,7 +26544,7 @@ paths: - total_blocking issue_field_values: type: array - items: &766 + items: &767 title: Issue Field Value description: A value assigned to an issue field type: object @@ -26657,7 +26657,7 @@ paths: action: type: string issue: *213 - comment: &627 + comment: &628 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -27380,7 +27380,7 @@ paths: type: string release: allOf: - - &683 + - &684 title: Release description: A release. type: object @@ -27462,7 +27462,7 @@ paths: author: *4 assets: type: array - items: &684 + items: &685 title: Release Asset description: Data related to a release. type: object @@ -28053,7 +28053,7 @@ paths: url: type: string format: uri - user: &772 + user: &773 title: Public User description: Public User type: object @@ -31410,14 +31410,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: - - &438 + - &439 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &439 + - &440 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -31479,7 +31479,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &444 + '301': &445 description: Moved permanently content: application/json: @@ -31501,7 +31501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &657 + - &658 name: all description: If `true`, show notifications marked as read. in: query @@ -31509,7 +31509,7 @@ paths: schema: type: boolean default: false - - &658 + - &659 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -31519,7 +31519,7 @@ paths: type: boolean default: false - *219 - - &659 + - &660 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: @@ -31869,7 +31869,9 @@ paths: spdx_id: type: string url: - type: string + type: + - string + - 'null' node_id: type: string forks: @@ -31890,7 +31892,7 @@ paths: type: boolean examples: - false - security_and_analysis: &402 + security_and_analysis: &403 type: - object - 'null' @@ -32063,7 +32065,7 @@ paths: - url - subscription_url examples: - default: &660 + default: &661 value: - id: '1' repository: @@ -33192,7 +33194,7 @@ paths: type: array items: *150 examples: - default: &666 + default: &667 value: - property_name: environment value: production @@ -33242,7 +33244,7 @@ paths: required: - properties examples: - default: &667 + default: &668 value: properties: - property_name: environment @@ -34133,7 +34135,7 @@ paths: type: integer repository_cache_usages: type: array - items: &451 + items: &452 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -36256,7 +36258,7 @@ paths: type: array items: *273 examples: - default: &775 + default: &776 value: total_count: 1 repositories: @@ -37300,7 +37302,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -37335,7 +37337,7 @@ paths: - key_id - key examples: - default: &472 + default: &473 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37748,7 +37750,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *85 - - &456 + - &457 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)." @@ -38988,12 +38990,12 @@ paths: required: - subject_digests examples: - default: &802 + default: &805 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &803 + withPredicateType: &806 value: subject_digests: - sha256:abc123 @@ -39052,7 +39054,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &804 + default: &807 value: attestations_subject_digests: - sha256:abc: @@ -39401,7 +39403,7 @@ paths: initiator: type: string examples: - default: &485 + default: &486 value: attestations: - bundle: @@ -40323,7 +40325,7 @@ paths: be returned. in: query required: false - schema: &510 + schema: &511 type: string description: Severity of a code scanning alert. enum: @@ -41383,7 +41385,7 @@ paths: machine: anyOf: - type: 'null' - - &542 + - &543 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42335,7 +42337,7 @@ paths: - updated_at - visibility examples: - default: &543 + default: &544 value: total_count: 2 secrets: @@ -42373,7 +42375,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &545 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -42408,7 +42410,7 @@ paths: - key_id - key examples: - default: &545 + default: &546 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42440,7 +42442,7 @@ paths: application/json: schema: *316 examples: - default: &547 + default: &548 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44319,7 +44321,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &574 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -44338,7 +44340,7 @@ paths: - key_id - key examples: - default: &574 + default: &575 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44668,7 +44670,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *85 - - &582 + - &583 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -44676,7 +44678,7 @@ paths: required: false schema: type: string - - &583 + - &584 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -44684,7 +44686,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: time_period description: |- The time period to filter by. @@ -44700,7 +44702,7 @@ paths: - week - month default: month - - &585 + - &586 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -44725,7 +44727,7 @@ paths: application/json: schema: type: array - items: &586 + items: &587 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -44888,7 +44890,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &587 + default: &588 value: - id: 21 number: 42 @@ -45006,7 +45008,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -45129,7 +45131,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &589 + default: &590 value: - id: 21 number: 42 @@ -45231,7 +45233,7 @@ paths: application/json: schema: type: array - items: &590 + items: &591 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -45358,7 +45360,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &591 + default: &592 value: - id: 21 number: 42 @@ -45704,7 +45706,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &436 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -45794,7 +45796,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &436 + default: &437 value: group_id: '123' group_name: Octocat admins @@ -45849,7 +45851,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &434 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -45889,7 +45891,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &434 + default: &435 value: groups: - group_id: '123' @@ -46054,7 +46056,7 @@ paths: application/json: schema: type: array - items: &403 + items: &404 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -46068,7 +46070,7 @@ paths: - name - description examples: - default: &404 + default: &405 value: - name: add_assignee description: Assign or remove a user @@ -47218,7 +47220,7 @@ paths: application/json: schema: *20 examples: - default: &622 + default: &623 value: id: 1 account: @@ -47446,7 +47448,7 @@ paths: required: true content: application/json: - schema: &623 + schema: &624 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -48314,7 +48316,7 @@ paths: application/json: schema: *363 examples: - default: &541 + default: &542 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49576,7 +49578,7 @@ paths: parameters: - *85 - *369 - - &787 + - &788 name: repo_name description: repo_name parameter in: path @@ -50922,7 +50924,7 @@ paths: - nuget - container - *85 - - &788 + - &789 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -50963,7 +50965,7 @@ paths: default: *374 '403': *27 '401': *23 - '400': &790 + '400': &791 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -52789,7 +52791,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &874 + - &877 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -53063,7 +53065,7 @@ paths: content: oneOf: - *213 - - &556 + - &557 title: Pull Request Simple description: Pull Request Simple type: object @@ -53308,7 +53310,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: &669 + auto_merge: &670 title: Auto merge description: The status of auto merging a pull request. type: @@ -53690,7 +53692,7 @@ paths: - updated_at - project_url examples: - default: &807 + default: &810 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53867,7 +53869,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &808 + items: &811 type: object properties: name: @@ -53903,7 +53905,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &809 + iteration_configuration: &812 type: object description: The configuration for iteration fields. properties: @@ -53952,7 +53954,7 @@ paths: value: name: Due date data_type: date - single_select_field: &810 + single_select_field: &813 summary: Create a single select field value: name: Priority @@ -53979,7 +53981,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &811 + iteration_field: &814 summary: Create an iteration field value: name: Sprint @@ -54005,7 +54007,7 @@ paths: application/json: schema: *394 examples: - text_field: &812 + text_field: &815 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54014,7 +54016,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: &813 + number_field: &816 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -54023,7 +54025,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: &814 + date_field: &817 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -54032,7 +54034,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: &815 + single_select_field: &818 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -54066,7 +54068,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &816 + iteration_field: &819 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -54112,7 +54114,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *391 - - &817 + - &820 name: field_id description: The unique identifier of the field. in: path @@ -54127,7 +54129,7 @@ paths: application/json: schema: *394 examples: - default: &818 + default: &821 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -55250,6 +55252,262 @@ 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: + - *85 + - *391 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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: &802 + 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. + examples: + - https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + examples: + - https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + description: The time when the view was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the view was last updated. + examples: + - '2022-04-28T12:00:00Z' + filter: + type: + - string + - 'null' + description: The filter query for the view. + examples: + - 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: &401 + 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: *401 + roadmap_view: + summary: Response for creating a roadmap view + value: *401 + '304': *35 + '403': *27 + '401': *23 + '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 @@ -55264,7 +55522,7 @@ paths: parameters: - *391 - *85 - - &819 + - &822 name: view_number description: The number that identifies the project view. in: path @@ -55462,7 +55720,7 @@ paths: required: true content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -56034,7 +56292,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &444 title: Full Repository description: Full Repository type: object @@ -56499,7 +56757,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &561 + code_of_conduct: &562 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -56529,7 +56787,7 @@ paths: - key - name - html_url - security_and_analysis: *402 + security_and_analysis: *403 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -56613,7 +56871,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &446 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57139,9 +57397,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: *404 + default: *405 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57166,7 +57424,7 @@ paths: - *85 - *17 - *19 - - &691 + - &692 name: targets description: | A comma-separated list of rule targets to filter by. @@ -57258,11 +57516,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *405 + conditions: *406 rules: type: array description: An array of rules within the ruleset. - items: &407 + items: &408 title: Repository Rule type: object description: A repository rule. @@ -57327,7 +57585,7 @@ paths: application/json: schema: *185 examples: - default: &406 + default: &407 value: id: 21 name: super cool ruleset @@ -57382,7 +57640,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *85 - - &693 + - &694 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 @@ -57394,14 +57652,14 @@ paths: x-multi-segment: true - *299 - *103 - - &694 + - &695 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &695 + - &696 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -57421,7 +57679,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &697 title: Rule Suites description: Response type: array @@ -57477,7 +57735,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &697 + default: &698 value: - id: 21 actor_id: 12 @@ -57521,7 +57779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *85 - - &698 + - &699 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -57537,7 +57795,7 @@ paths: description: Response content: application/json: - schema: &699 + schema: &700 title: Rule Suite description: Response type: object @@ -57644,7 +57902,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &700 + default: &701 value: id: 21 actor_id: 12 @@ -57719,7 +57977,7 @@ paths: application/json: schema: *185 examples: - default: *406 + default: *407 '404': *6 '500': *38 put: @@ -57768,11 +58026,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *163 - conditions: *405 + conditions: *406 rules: description: An array of rules within the ruleset. type: array - items: *407 + items: *408 examples: default: value: @@ -57809,7 +58067,7 @@ paths: application/json: schema: *185 examples: - default: *406 + default: *407 '404': *6 '500': *38 delete: @@ -57868,7 +58126,7 @@ paths: type: array items: *189 examples: - default: *408 + default: *409 '404': *6 '500': *38 x-github: @@ -57905,7 +58163,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -57968,15 +58226,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *85 - - *410 - *411 - *412 - *413 - *414 + - *415 - *108 - *19 - *17 - - &702 + - &703 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 @@ -57986,7 +58244,7 @@ paths: required: false schema: type: string - - &703 + - &704 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 @@ -57996,10 +58254,10 @@ paths: required: false schema: type: string - - *415 - *416 - *417 - *418 + - *419 responses: '200': description: Response @@ -58007,9 +58265,9 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *420 + default: *421 headers: Link: *45 '404': *6 @@ -58044,9 +58302,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *422 + default: *423 '403': *27 '404': *6 patch: @@ -58199,7 +58457,7 @@ paths: application/json: schema: type: array - items: &724 + items: &725 description: A repository security advisory. type: object properties: @@ -58443,7 +58701,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 credits_detailed: type: - array @@ -58454,7 +58712,7 @@ paths: type: object properties: user: *4 - type: *423 + type: *424 state: type: string description: The state of the user's acceptance of the @@ -58518,7 +58776,7 @@ paths: - private_fork additionalProperties: false examples: - default: &725 + default: &726 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -58989,7 +59247,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *85 - - *424 + - *425 - *17 - *19 responses: @@ -58997,9 +59255,9 @@ paths: description: Success content: application/json: - schema: *425 + schema: *426 examples: - default: *426 + default: *427 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59282,7 +59540,7 @@ paths: type: array items: *142 examples: - default: *427 + default: *428 headers: Link: *45 x-github: @@ -59483,15 +59741,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: - *85 - - *428 + - *429 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: *430 + default: *431 headers: Link: *45 x-github: @@ -59529,7 +59787,7 @@ paths: description: Response content: application/json: - schema: &440 + schema: &441 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -59581,7 +59839,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &441 + default: &442 value: groups: - group_id: '123' @@ -59789,7 +60047,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &432 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -60188,7 +60446,7 @@ paths: - repos_count - organization examples: - default: &432 + default: &433 value: id: 1 node_id: MDQ6VGVhbTE= @@ -60265,9 +60523,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -60352,16 +60610,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '201': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 '422': *15 '403': *27 @@ -60417,9 +60675,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60463,9 +60721,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60606,7 +60864,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &438 title: Team Membership description: Team Membership type: object @@ -60634,7 +60892,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &768 + response-if-user-is-a-team-maintainer: &769 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -60697,9 +60955,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - response-if-users-membership-with-team-is-now-pending: &769 + response-if-users-membership-with-team-is-now-pending: &770 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -60806,14 +61064,14 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &770 + schema: &771 title: Team Repository description: A team's access to a repository. type: object @@ -61456,8 +61714,8 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 requestBody: required: false content: @@ -61504,8 +61762,8 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 responses: '204': description: Response @@ -61538,9 +61796,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61606,7 +61864,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -61651,7 +61909,7 @@ paths: type: array items: *302 examples: - response-if-child-teams-exist: &771 + response-if-child-teams-exist: &772 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61805,7 +62063,7 @@ paths: resources: type: object properties: - core: &442 + core: &443 title: Rate Limit type: object properties: @@ -61822,21 +62080,21 @@ paths: - remaining - reset - used - graphql: *442 - search: *442 - code_search: *442 - source_import: *442 - integration_manifest: *442 - code_scanning_upload: *442 - actions_runner_registration: *442 - scim: *442 - dependency_snapshots: *442 - dependency_sbom: *442 - code_scanning_autofix: *442 + graphql: *443 + search: *443 + code_search: *443 + source_import: *443 + integration_manifest: *443 + code_scanning_upload: *443 + actions_runner_registration: *443 + scim: *443 + dependency_snapshots: *443 + dependency_sbom: *443 + code_scanning_autofix: *443 required: - core - search - rate: *442 + rate: *443 required: - rate - resources @@ -61941,14 +62199,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *443 + schema: *444 examples: default-response: summary: Default response @@ -62453,7 +62711,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62471,8 +62729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -62730,10 +62988,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 - '307': &446 + default: *446 + '307': &447 description: Temporary Redirect content: application/json: @@ -62762,8 +63020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -62785,7 +63043,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': *446 + '307': *447 '404': *6 '409': *117 x-github: @@ -62809,11 +63067,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *438 - *439 + - *440 - *17 - *19 - - &463 + - &464 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62836,7 +63094,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &448 title: Artifact description: An artifact type: object @@ -62931,7 +63189,7 @@ paths: - expires_at - updated_at examples: - default: &464 + default: &465 value: total_count: 2 artifacts: @@ -62992,9 +63250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *438 - *439 - - &448 + - *440 + - &449 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63006,7 +63264,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: default: value: @@ -63044,9 +63302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *438 - *439 - - *448 + - *440 + - *449 responses: '204': description: Response @@ -63070,9 +63328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *438 - *439 - - *448 + - *440 + - *449 - name: archive_format in: path required: true @@ -63086,7 +63344,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': &626 + '410': &627 description: Gone content: application/json: @@ -63111,14 +63369,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: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &449 + schema: &450 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -63152,13 +63410,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: - - *438 - *439 + - *440 requestBody: required: true content: application/json: - schema: *449 + schema: *450 examples: selected_actions: *42 responses: @@ -63187,14 +63445,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: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &450 + schema: &451 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -63228,13 +63486,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: - - *438 - *439 + - *440 requestBody: required: true content: application/json: - schema: *450 + schema: *451 examples: selected_actions: *44 responses: @@ -63265,14 +63523,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: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: default: value: @@ -63298,11 +63556,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: - - *438 - *439 + - *440 - *17 - *19 - - &452 + - &453 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 @@ -63336,7 +63594,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: Repository actions caches description: Repository actions caches type: object @@ -63386,7 +63644,7 @@ paths: - total_count - actions_caches examples: - default: &454 + default: &455 value: total_count: 1 actions_caches: @@ -63418,23 +63676,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: - - *438 - *439 + - *440 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *452 + - *453 responses: '200': description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *454 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63454,8 +63712,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: - - *438 - *439 + - *440 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -63486,9 +63744,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: - - *438 - *439 - - &455 + - *440 + - &456 name: job_id description: The unique identifier of the job. in: path @@ -63500,7 +63758,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &468 title: Job description: Information of a job execution in a workflow run type: object @@ -63847,9 +64105,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: - - *438 - *439 - - *455 + - *440 + - *456 responses: '302': description: Response @@ -63877,9 +64135,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: - - *438 - *439 - - *455 + - *440 + - *456 requestBody: required: false content: @@ -63925,8 +64183,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: - - *438 - *439 + - *440 responses: '200': description: Status response @@ -63976,8 +64234,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -64040,8 +64298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -64059,7 +64317,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &470 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64080,7 +64338,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &471 value: total_count: 2 secrets: @@ -64113,9 +64371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *438 - *439 - - *456 + - *440 + - *457 - *19 responses: '200': @@ -64132,7 +64390,7 @@ paths: type: integer variables: type: array - items: &473 + items: &474 title: Actions Variable type: object properties: @@ -64166,7 +64424,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &475 value: total_count: 2 variables: @@ -64199,8 +64457,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64209,7 +64467,7 @@ paths: schema: type: object properties: - enabled: &457 + enabled: &458 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *58 @@ -64244,8 +64502,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -64256,7 +64514,7 @@ paths: schema: type: object properties: - enabled: *457 + enabled: *458 allowed_actions: *58 sha_pinning_required: *59 required: @@ -64289,14 +64547,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: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &458 + schema: &459 type: object properties: access_level: @@ -64314,7 +64572,7 @@ paths: required: - access_level examples: - default: &459 + default: &460 value: access_level: organization x-github: @@ -64339,15 +64597,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: - - *438 - *439 + - *440 requestBody: required: true content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 responses: '204': description: Response @@ -64371,8 +64629,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64402,8 +64660,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: - - *438 - *439 + - *440 responses: '204': description: Empty response for successful settings update @@ -64437,8 +64695,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64465,8 +64723,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -64500,8 +64758,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64529,8 +64787,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -64561,8 +64819,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64593,8 +64851,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -64626,8 +64884,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64656,8 +64914,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: - - *438 - *439 + - *440 responses: '204': description: Success response @@ -64697,8 +64955,8 @@ paths: in: query schema: type: string - - *438 - *439 + - *440 - *17 - *19 responses: @@ -64742,8 +65000,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -64775,8 +65033,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -64850,8 +65108,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: - - *438 - *439 + - *440 responses: '201': description: Response @@ -64887,8 +65145,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: - - *438 - *439 + - *440 responses: '201': description: Response @@ -64918,8 +65176,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: - - *438 - *439 + - *440 - *73 responses: '200': @@ -64949,8 +65207,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: - - *438 - *439 + - *440 - *73 responses: '204': @@ -64977,8 +65235,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: - - *438 - *439 + - *440 - *73 responses: '200': *79 @@ -65003,8 +65261,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: - - *438 - *439 + - *440 - *73 requestBody: required: true @@ -65053,8 +65311,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: - - *438 - *439 + - *440 - *73 requestBody: required: true @@ -65104,8 +65362,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: - - *438 - *439 + - *440 - *73 responses: '200': *280 @@ -65135,8 +65393,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: - - *438 - *439 + - *440 - *73 - *281 responses: @@ -65166,9 +65424,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: - - *438 - *439 - - &477 + - *440 + - &478 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. @@ -65176,7 +65434,7 @@ paths: required: false schema: type: string - - &478 + - &479 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -65184,7 +65442,7 @@ paths: required: false schema: type: string - - &479 + - &480 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -65193,7 +65451,7 @@ paths: required: false schema: type: string - - &480 + - &481 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 @@ -65220,7 +65478,7 @@ paths: - pending - *17 - *19 - - &481 + - &482 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)." @@ -65229,7 +65487,7 @@ paths: schema: type: string format: date-time - - &460 + - &461 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -65238,13 +65496,13 @@ paths: schema: type: boolean default: false - - &482 + - &483 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &483 + - &484 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -65267,7 +65525,7 @@ paths: type: integer workflow_runs: type: array - items: &461 + items: &462 title: Workflow Run description: An invocation of a workflow type: object @@ -65445,7 +65703,7 @@ paths: head_commit: anyOf: - type: 'null' - - &505 + - &506 title: Simple Commit description: A commit. type: object @@ -65560,7 +65818,7 @@ paths: - workflow_url - pull_requests examples: - default: &484 + default: &485 value: total_count: 1 workflow_runs: @@ -65796,24 +66054,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *438 - *439 - - &462 + - *440 + - &463 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *460 + - *461 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: &465 + default: &466 value: id: 30433642 name: Build @@ -66054,9 +66312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '204': description: Response @@ -66079,9 +66337,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: - - *438 - *439 - - *462 + - *440 + - *463 responses: '200': description: Response @@ -66209,9 +66467,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: - - *438 - *439 - - *462 + - *440 + - *463 responses: '201': description: Response @@ -66244,12 +66502,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *438 - *439 - - *462 + - *440 + - *463 - *17 - *19 - - *463 + - *464 responses: '200': description: Response @@ -66265,9 +66523,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *448 examples: - default: *464 + default: *465 headers: Link: *45 x-github: @@ -66291,25 +66549,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *438 - *439 - - *462 - - &466 + - *440 + - *463 + - &467 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *460 + - *461 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *465 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66332,10 +66590,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: - - *438 - *439 - - *462 - - *466 + - *440 + - *463 + - *467 - *17 - *19 responses: @@ -66353,9 +66611,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *468 examples: - default: &468 + default: &469 value: total_count: 1 jobs: @@ -66468,10 +66726,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *438 - *439 - - *462 - - *466 + - *440 + - *463 + - *467 responses: '302': description: Response @@ -66499,9 +66757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '202': description: Response @@ -66534,9 +66792,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: - - *438 - *439 - - *462 + - *440 + - *463 requestBody: required: true content: @@ -66603,9 +66861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '202': description: Response @@ -66638,9 +66896,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: - - *438 - *439 - - *462 + - *440 + - *463 - 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 @@ -66670,9 +66928,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *45 x-github: @@ -66697,9 +66955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '302': description: Response @@ -66726,9 +66984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '204': description: Response @@ -66755,9 +67013,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: - - *438 - *439 - - *462 + - *440 + - *463 responses: '200': description: Response @@ -66826,7 +67084,7 @@ paths: items: type: object properties: - type: &592 + type: &593 type: string description: The type of reviewer. enum: @@ -66912,9 +67170,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: - - *438 - *439 - - *462 + - *440 + - *463 requestBody: required: true content: @@ -66964,7 +67222,7 @@ paths: application/json: schema: type: array - items: &577 + items: &578 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67076,7 +67334,7 @@ paths: - created_at - updated_at examples: - default: &578 + default: &579 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67132,9 +67390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *438 - *439 - - *462 + - *440 + - *463 requestBody: required: false content: @@ -67179,9 +67437,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: - - *438 - *439 - - *462 + - *440 + - *463 requestBody: required: false content: @@ -67236,9 +67494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *438 - *439 - - *462 + - *440 + - *463 responses: '200': description: Response @@ -67375,8 +67633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -67394,9 +67652,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *470 examples: - default: *470 + default: *471 headers: Link: *45 x-github: @@ -67421,16 +67679,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67452,17 +67710,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: &605 + default: &606 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -67488,8 +67746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 requestBody: required: true @@ -67547,8 +67805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '204': @@ -67574,9 +67832,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *438 - *439 - - *456 + - *440 + - *457 - *19 responses: '200': @@ -67593,9 +67851,9 @@ paths: type: integer variables: type: array - items: *473 + items: *474 examples: - default: *474 + default: *475 headers: Link: *45 x-github: @@ -67618,8 +67876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -67671,17 +67929,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *438 - *439 + - *440 - *286 responses: '200': description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: &606 + default: &607 value: name: USERNAME value: octocat @@ -67707,8 +67965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *438 - *439 + - *440 - *286 requestBody: required: true @@ -67751,8 +68009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *438 - *439 + - *440 - *286 responses: '204': @@ -67778,8 +68036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -67797,7 +68055,7 @@ paths: type: integer workflows: type: array - items: &475 + items: &476 title: Workflow description: A GitHub Actions workflow type: object @@ -67915,9 +68173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *438 - *439 - - &476 + - *440 + - &477 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67932,7 +68190,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -67965,9 +68223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *438 - *439 - - *476 + - *440 + - *477 responses: '204': description: Response @@ -67992,9 +68250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *438 - *439 - - *476 + - *440 + - *477 responses: '204': description: Response @@ -68045,9 +68303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *438 - *439 - - *476 + - *440 + - *477 responses: '204': description: Response @@ -68074,19 +68332,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: - - *438 - *439 - - *476 + - *440 - *477 - *478 - *479 - *480 + - *481 - *17 - *19 - - *481 - - *460 - *482 + - *461 - *483 + - *484 responses: '200': description: Response @@ -68102,9 +68360,9 @@ paths: type: integer workflow_runs: type: array - items: *461 + items: *462 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -68137,9 +68395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *438 - *439 - - *476 + - *440 + - *477 responses: '200': description: Response @@ -68200,8 +68458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *438 - *439 + - *440 - *108 - *17 - *106 @@ -68369,8 +68627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -68407,8 +68665,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: - - *438 - *439 + - *440 - name: assignee in: path required: true @@ -68444,8 +68702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -68557,8 +68815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *438 - *439 + - *440 - *17 - *106 - *107 @@ -68615,7 +68873,7 @@ paths: initiator: type: string examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68635,8 +68893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -68644,7 +68902,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Autolink reference description: An autolink reference. type: object @@ -68703,8 +68961,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -68743,9 +69001,9 @@ paths: description: response content: application/json: - schema: *486 + schema: *487 examples: - default: &487 + default: &488 value: id: 1 key_prefix: TICKET- @@ -68776,9 +69034,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: - - *438 - *439 - - &488 + - *440 + - &489 name: autolink_id description: The unique identifier of the autolink. in: path @@ -68790,9 +69048,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -68812,9 +69070,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: - - *438 - *439 - - *488 + - *440 + - *489 responses: '204': description: Response @@ -68838,8 +69096,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: - - *438 - *439 + - *440 responses: '200': description: Response if Dependabot is enabled @@ -68889,8 +69147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -68911,8 +69169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -68932,8 +69190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *438 - *439 + - *440 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68971,7 +69229,7 @@ paths: - url protected: type: boolean - protection: &490 + protection: &491 title: Branch Protection description: Branch Protection type: object @@ -69014,7 +69272,7 @@ paths: required: - contexts - checks - enforce_admins: &493 + enforce_admins: &494 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69031,7 +69289,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &495 + required_pull_request_reviews: &496 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -69115,7 +69373,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &492 + restrictions: &493 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -69408,9 +69666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *438 - *439 - - &491 + - *440 + - &492 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). @@ -69424,14 +69682,14 @@ paths: description: Response content: application/json: - schema: &501 + schema: &502 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &552 + commit: &553 title: Commit description: Commit type: object @@ -69470,7 +69728,7 @@ paths: author: anyOf: - type: 'null' - - &489 + - &490 title: Git User description: Metaproperties for Git author/committer information. @@ -69492,7 +69750,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 message: type: string examples: @@ -69516,7 +69774,7 @@ paths: required: - sha - url - verification: &612 + verification: &613 title: Verification type: object properties: @@ -69596,7 +69854,7 @@ paths: type: integer files: type: array - items: &563 + items: &564 title: Diff Entry description: Diff Entry type: object @@ -69692,7 +69950,7 @@ paths: - self protected: type: boolean - protection: *490 + protection: *491 protection_url: type: string format: uri @@ -69801,7 +70059,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *444 + '301': *445 '404': *6 x-github: githubCloudOnly: false @@ -69823,15 +70081,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: default: value: @@ -70025,9 +70283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -70287,7 +70545,7 @@ paths: url: type: string format: uri - required_status_checks: &498 + required_status_checks: &499 title: Status Check Policy description: Status Check Policy type: object @@ -70446,7 +70704,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *492 + restrictions: *493 required_conversation_resolution: type: object properties: @@ -70558,9 +70816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -70585,17 +70843,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &494 + default: &495 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -70617,17 +70875,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70646,9 +70904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -70673,17 +70931,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: &496 + default: &497 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -70779,9 +71037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -70879,9 +71137,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *496 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -70902,9 +71160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -70931,17 +71189,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &497 + default: &498 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70964,17 +71222,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *497 + default: *498 '404': *6 x-github: githubCloudOnly: false @@ -70994,9 +71252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -71021,17 +71279,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: &499 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71057,9 +71315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71111,9 +71369,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *499 + default: *500 '404': *6 '422': *15 x-github: @@ -71135,9 +71393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -71161,9 +71419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response @@ -71197,9 +71455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71266,9 +71524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71332,9 +71590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: content: application/json: @@ -71400,15 +71658,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -71499,9 +71757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 responses: '204': description: Response @@ -71524,9 +71782,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: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response @@ -71536,7 +71794,7 @@ paths: type: array items: *5 examples: - default: &500 + default: &501 value: - id: 1 slug: octoapp @@ -71593,9 +71851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -71629,7 +71887,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71650,9 +71908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -71686,7 +71944,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71707,9 +71965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -71743,7 +72001,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71765,9 +72023,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: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response @@ -71797,9 +72055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71858,9 +72116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: false content: @@ -71919,9 +72177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: content: application/json: @@ -71980,9 +72238,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: - - *438 - *439 - - *491 + - *440 + - *492 responses: '200': description: Response @@ -72016,9 +72274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -72076,9 +72334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -72136,9 +72394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -72198,9 +72456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *438 - *439 - - *491 + - *440 + - *492 requestBody: required: true content: @@ -72222,7 +72480,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: default: value: @@ -72336,8 +72594,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -72373,8 +72631,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72447,8 +72705,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -72488,8 +72746,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72559,8 +72817,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72631,8 +72889,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_response_id in: path required: true @@ -72665,8 +72923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -72945,7 +73203,7 @@ paths: description: Response content: application/json: - schema: &502 + schema: &503 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73081,7 +73339,7 @@ paths: check. type: array items: *217 - deployment: &830 + deployment: &833 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -73368,9 +73626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *438 - *439 - - &503 + - *440 + - &504 name: check_run_id description: The unique identifier of the check run. in: path @@ -73382,9 +73640,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &504 + default: &505 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -73484,9 +73742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *438 - *439 - - *503 + - *440 + - *504 requestBody: required: true content: @@ -73726,9 +73984,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73748,9 +74006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *438 - *439 - - *503 + - *440 + - *504 - *17 - *19 responses: @@ -73860,9 +74118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *438 - *439 - - *503 + - *440 + - *504 responses: '201': description: Response @@ -73906,8 +74164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -73929,7 +74187,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &506 + schema: &507 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74027,7 +74285,7 @@ paths: - string - 'null' format: date-time - head_commit: *505 + head_commit: *506 latest_check_runs_count: type: integer check_runs_url: @@ -74055,7 +74313,7 @@ paths: - check_runs_url - pull_requests examples: - default: &507 + default: &508 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -74346,9 +74604,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74367,8 +74625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -74677,9 +74935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *438 - *439 - - &508 + - *440 + - &509 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -74691,9 +74949,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74716,17 +74974,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: - - *438 - *439 - - *508 - - &558 + - *440 + - *509 + - &559 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &559 + - &560 name: status description: Returns check runs with the specified `status`. in: query @@ -74765,9 +75023,9 @@ paths: type: integer check_runs: type: array - items: *502 + items: *503 examples: - default: &560 + default: &561 value: total_count: 1 check_runs: @@ -74869,9 +75127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *438 - *439 - - *508 + - *440 + - *509 responses: '201': description: Response @@ -74904,21 +75162,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: - - *438 - *439 + - *440 - *306 - *307 - *19 - *17 - - &524 + - &525 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: *509 - - &525 + schema: *510 + - &526 name: pr description: The number of the pull request for the results you want to list. in: query @@ -74949,7 +75207,7 @@ paths: be returned. in: query required: false - schema: *510 + schema: *511 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -74973,7 +75231,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *511 + instances_url: *512 state: *111 fixed_at: *134 dismissed_by: @@ -74981,11 +75239,11 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *512 - dismissed_comment: *513 - rule: *514 - tool: *515 - most_recent_instance: *516 + dismissed_reason: *513 + dismissed_comment: *514 + rule: *515 + tool: *516 + most_recent_instance: *517 dismissal_approved_by: anyOf: - type: 'null' @@ -75108,7 +75366,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &517 + '403': &518 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -75135,9 +75393,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: - - *438 - *439 - - &518 + - *440 + - &519 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -75151,7 +75409,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 type: object properties: number: *124 @@ -75159,7 +75417,7 @@ paths: updated_at: *132 url: *129 html_url: *130 - instances_url: *511 + instances_url: *512 state: *111 fixed_at: *134 dismissed_by: @@ -75167,8 +75425,8 @@ paths: - type: 'null' - *4 dismissed_at: *133 - dismissed_reason: *512 - dismissed_comment: *513 + dismissed_reason: *513 + dismissed_comment: *514 rule: type: object properties: @@ -75230,8 +75488,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *515 - most_recent_instance: *516 + tool: *516 + most_recent_instance: *517 dismissal_approved_by: anyOf: - type: 'null' @@ -75327,7 +75585,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75347,9 +75605,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: - - *438 - *439 - - *518 + - *440 + - *519 requestBody: required: true content: @@ -75364,8 +75622,8 @@ paths: enum: - open - dismissed - dismissed_reason: *512 - dismissed_comment: *513 + dismissed_reason: *513 + dismissed_comment: *514 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -75393,7 +75651,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -75469,7 +75727,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &523 + '403': &524 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -75496,15 +75754,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: - - *438 - *439 - - *518 + - *440 + - *519 responses: '200': description: Response content: application/json: - schema: &520 + schema: &521 type: object properties: status: @@ -75531,13 +75789,13 @@ paths: - description - started_at examples: - default: &521 + default: &522 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &522 + '400': &523 description: Bad Request content: application/json: @@ -75548,7 +75806,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': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75573,29 +75831,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: - - *438 - *439 - - *518 + - *440 + - *519 responses: '200': description: OK content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '202': description: Accepted content: application/json: - schema: *520 + schema: *521 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *522 + '400': *523 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -75627,9 +75885,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: - - *438 - *439 - - *518 + - *440 + - *519 requestBody: required: false content: @@ -75675,8 +75933,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *522 - '403': *523 + '400': *523 + '403': *524 '404': *6 '422': description: Unprocessable Entity @@ -75700,13 +75958,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: - - *438 - *439 - - *518 + - *440 + - *519 - *19 - *17 - - *524 - *525 + - *526 responses: '200': description: Response @@ -75717,10 +75975,10 @@ paths: items: type: object properties: - ref: *509 - analysis_key: *526 - environment: *527 - category: *528 + ref: *510 + analysis_key: *527 + environment: *528 + category: *529 state: type: - string @@ -75737,7 +75995,7 @@ paths: properties: text: type: string - location: *529 + location: *530 html_url: type: string classifications: @@ -75745,7 +76003,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: *530 + items: *531 examples: default: value: @@ -75784,7 +76042,7 @@ paths: end_column: 50 classifications: - source - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75818,25 +76076,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: - - *438 - *439 + - *440 - *306 - *307 - *19 - *17 - - *525 + - *526 - 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: *509 + schema: *510 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &531 + schema: &532 type: string description: An identifier for the upload. examples: @@ -75858,23 +76116,23 @@ paths: application/json: schema: type: array - items: &532 + items: &533 type: object properties: - ref: *509 - commit_sha: &540 + ref: *510 + commit_sha: &541 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: *526 + analysis_key: *527 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *528 + category: *529 error: type: string examples: @@ -75899,8 +76157,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *531 - tool: *515 + sarif_id: *532 + tool: *516 deletable: type: boolean warning: @@ -75962,7 +76220,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75998,8 +76256,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: - - *438 - *439 + - *440 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76012,7 +76270,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: response: summary: application/json response @@ -76035,13 +76293,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: @@ -76066,7 +76324,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *517 + '403': *518 '404': *6 '422': description: Response if analysis could not be processed @@ -76153,8 +76411,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: - - *438 - *439 + - *440 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76210,7 +76468,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': *523 + '403': *524 '404': *6 '503': *190 x-github: @@ -76232,8 +76490,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -76241,7 +76499,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: CodeQL Database description: A CodeQL database. type: object @@ -76353,7 +76611,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': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -76382,8 +76640,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: - - *438 - *439 + - *440 - name: language in: path description: The language of the CodeQL database. @@ -76395,7 +76653,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -76427,9 +76685,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': &565 + '302': &566 description: Found - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -76451,8 +76709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *438 - *439 + - *440 - name: language in: path description: The language of the CodeQL database. @@ -76462,7 +76720,7 @@ paths: responses: '204': description: Response - '403': *523 + '403': *524 '404': *6 '503': *190 x-github: @@ -76490,8 +76748,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -76500,7 +76758,7 @@ paths: type: object additionalProperties: false properties: - language: &534 + language: &535 type: string description: The language targeted by the CodeQL query enum: @@ -76580,7 +76838,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &538 + schema: &539 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -76590,7 +76848,7 @@ paths: description: The ID of the variant analysis. controller_repo: *118 actor: *4 - query_language: *534 + query_language: *535 query_pack_url: type: string description: The download url for the query pack. @@ -76638,7 +76896,7 @@ paths: items: type: object properties: - repository: &535 + repository: &536 title: Repository Identifier description: Repository Identifier type: object @@ -76680,7 +76938,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &539 + analysis_status: &540 type: string description: The new status of the CodeQL variant analysis repository task. @@ -76712,7 +76970,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &536 + access_mismatch_repos: &537 type: object properties: repository_count: @@ -76727,7 +76985,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: *535 + items: *536 required: - repository_count - repositories @@ -76750,8 +77008,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *536 - over_limit_repos: *536 + no_codeql_db_repos: *537 + over_limit_repos: *537 required: - access_mismatch_repos - not_found_repos @@ -76767,7 +77025,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &537 + value: &538 summary: Default response value: id: 1 @@ -76913,10 +77171,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *537 + value: *538 repository_lists: summary: Response for a successful variant analysis submission - value: *537 + value: *538 '404': *6 '422': description: Unable to process variant analysis submission @@ -76944,8 +77202,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: - - *438 - *439 + - *440 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -76957,9 +77215,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *537 + default: *538 '404': *6 '503': *190 x-github: @@ -76982,7 +77240,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: - - *438 + - *439 - name: repo in: path description: The name of the controller repository. @@ -77017,7 +77275,7 @@ paths: type: object properties: repository: *118 - analysis_status: *539 + analysis_status: *540 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -77142,8 +77400,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -77236,7 +77494,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -77257,8 +77515,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -77352,7 +77610,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *523 + '403': *524 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -77423,8 +77681,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -77432,7 +77690,7 @@ paths: schema: type: object properties: - commit_sha: *540 + commit_sha: *541 ref: type: string description: |- @@ -77492,7 +77750,7 @@ paths: schema: type: object properties: - id: *531 + id: *532 url: type: string description: The REST API URL for checking the status of the upload. @@ -77506,7 +77764,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': *523 + '403': *524 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -77529,8 +77787,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: - - *438 - *439 + - *440 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -77578,7 +77836,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': *517 + '403': *518 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -77603,8 +77861,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -77685,8 +77943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *438 - *439 + - *440 - 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 @@ -77814,8 +78072,8 @@ paths: parameters: - *17 - *19 - - *438 - *439 + - *440 responses: '200': description: Response @@ -78129,8 +78387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -78196,7 +78454,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -78204,7 +78462,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '400': *14 '401': *23 '403': *27 @@ -78233,8 +78491,8 @@ paths: parameters: - *17 - *19 - - *438 - *439 + - *440 responses: '200': description: Response @@ -78298,8 +78556,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: - - *438 - *439 + - *440 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -78336,9 +78594,9 @@ paths: type: integer machines: type: array - items: *542 + items: *543 examples: - default: &778 + default: &779 value: total_count: 2 machines: @@ -78378,8 +78636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *438 - *439 + - *440 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -78466,8 +78724,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: - - *438 - *439 + - *440 - 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 @@ -78536,8 +78794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -78555,7 +78813,7 @@ paths: type: integer secrets: type: array - items: &546 + items: &547 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -78576,7 +78834,7 @@ paths: - created_at - updated_at examples: - default: *543 + default: *544 headers: Link: *45 x-github: @@ -78599,16 +78857,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -78628,17 +78886,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '200': description: Response content: application/json: - schema: *546 + schema: *547 examples: - default: *547 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78658,8 +78916,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: - - *438 - *439 + - *440 - *283 requestBody: required: true @@ -78712,8 +78970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '204': @@ -78742,8 +79000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *438 - *439 + - *440 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -78781,7 +79039,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 title: Collaborator description: Collaborator type: object @@ -78974,8 +79232,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: - - *438 - *439 + - *440 - *137 responses: '204': @@ -79022,8 +79280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *438 - *439 + - *440 - *137 requestBody: required: false @@ -79050,7 +79308,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &625 + schema: &626 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79278,8 +79536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *438 - *439 + - *440 - *137 responses: '204': @@ -79311,8 +79569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *438 - *439 + - *440 - *137 responses: '200': @@ -79333,7 +79591,7 @@ paths: user: anyOf: - type: 'null' - - *548 + - *549 required: - permission - role_name @@ -79387,8 +79645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -79398,7 +79656,7 @@ paths: application/json: schema: type: array - items: &549 + items: &550 title: Commit Comment description: Commit Comment type: object @@ -79456,7 +79714,7 @@ paths: - created_at - updated_at examples: - default: &554 + default: &555 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79515,17 +79773,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 responses: '200': description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: &555 + default: &556 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79582,8 +79840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -79606,7 +79864,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -79657,8 +79915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 responses: '204': @@ -79680,8 +79938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -79708,7 +79966,7 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -79752,7 +80010,7 @@ paths: - content - created_at examples: - default: &629 + default: &630 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -79797,8 +80055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -79831,9 +80089,9 @@ paths: description: Reaction exists content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -79862,9 +80120,9 @@ paths: description: Reaction created content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -79886,10 +80144,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *438 - *439 + - *440 - *228 - - &630 + - &631 name: reaction_id description: The unique identifier of the reaction. in: path @@ -79944,8 +80202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *438 - *439 + - *440 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80001,9 +80259,9 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: - default: &676 + default: &677 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80097,9 +80355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *438 - *439 - - &553 + - *440 + - &554 name: commit_sha description: The SHA of the commit. in: path @@ -80171,9 +80429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *438 - *439 - - *553 + - *440 + - *554 - *17 - *19 responses: @@ -80183,9 +80441,9 @@ paths: application/json: schema: type: array - items: *549 + items: *550 examples: - default: *554 + default: *555 headers: Link: *45 x-github: @@ -80213,9 +80471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *438 - *439 - - *553 + - *440 + - *554 requestBody: required: true content: @@ -80250,9 +80508,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: - default: *555 + default: *556 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80280,9 +80538,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: - - *438 - *439 - - *553 + - *440 + - *554 - *17 - *19 responses: @@ -80292,9 +80550,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: &668 + default: &669 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80831,11 +81089,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *438 - *439 + - *440 - *19 - *17 - - &557 + - &558 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)" @@ -80850,9 +81108,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &654 + default: &655 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80965,11 +81223,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: - - *438 - *439 - - *557 + - *440 - *558 - *559 + - *560 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81003,9 +81261,9 @@ paths: type: integer check_runs: type: array - items: *502 + items: *503 examples: - default: *560 + default: *561 headers: Link: *45 x-github: @@ -81030,9 +81288,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: - - *438 - *439 - - *557 + - *440 + - *558 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81040,7 +81298,7 @@ paths: schema: type: integer example: 1 - - *558 + - *559 - *17 - *19 responses: @@ -81058,7 +81316,7 @@ paths: type: integer check_suites: type: array - items: *506 + items: *507 examples: default: value: @@ -81258,9 +81516,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: - - *438 - *439 - - *557 + - *440 + - *558 - *17 - *19 responses: @@ -81462,9 +81720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *438 - *439 - - *557 + - *440 + - *558 - *17 - *19 responses: @@ -81474,7 +81732,7 @@ paths: application/json: schema: type: array - items: &729 + items: &730 title: Status description: The status of a commit. type: object @@ -81555,7 +81813,7 @@ paths: site_admin: false headers: Link: *45 - '301': *444 + '301': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81583,8 +81841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -81617,11 +81875,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *561 + - *562 code_of_conduct_file: anyOf: - type: 'null' - - &562 + - &563 title: Community Health File type: object properties: @@ -81641,19 +81899,19 @@ paths: contributing: anyOf: - type: 'null' - - *562 + - *563 readme: anyOf: - type: 'null' - - *562 + - *563 issue_template: anyOf: - type: 'null' - - *562 + - *563 pull_request_template: anyOf: - type: 'null' - - *562 + - *563 required: - code_of_conduct - code_of_conduct_file @@ -81782,8 +82040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *438 - *439 + - *440 - *19 - *17 - name: basehead @@ -81831,8 +82089,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *552 - merge_base_commit: *552 + base_commit: *553 + merge_base_commit: *553 status: type: string enum: @@ -81856,10 +82114,10 @@ paths: - 6 commits: type: array - items: *552 + items: *553 files: type: array - items: *563 + items: *564 required: - url - html_url @@ -82145,8 +82403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *438 - *439 + - *440 - name: path description: path parameter in: path @@ -82299,7 +82557,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &564 + response-if-content-is-a-file: &565 summary: Response if content is a file value: type: file @@ -82436,7 +82694,7 @@ paths: - size - type - url - - &681 + - &682 title: Content File description: Content File type: object @@ -82654,7 +82912,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *564 + response-if-content-is-a-file: *565 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -82723,7 +82981,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *565 + '302': *566 '304': *35 x-github: githubCloudOnly: false @@ -82746,8 +83004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *438 - *439 + - *440 - name: path description: path parameter in: path @@ -82842,7 +83100,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &567 title: File Commit description: File Commit type: object @@ -82998,7 +83256,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: example-for-creating-a-file: value: @@ -83052,7 +83310,7 @@ paths: schema: oneOf: - *3 - - &607 + - &608 description: Repository rule violation was detected type: object properties: @@ -83073,7 +83331,7 @@ paths: items: type: object properties: - placeholder_id: &721 + placeholder_id: &722 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83105,8 +83363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *438 - *439 + - *440 - name: path description: path parameter in: path @@ -83167,7 +83425,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -83222,8 +83480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *438 - *439 + - *440 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -83347,8 +83605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *438 - *439 + - *440 - *321 - *322 - *323 @@ -83360,7 +83618,7 @@ paths: schema: type: string - *325 - - *567 + - *568 - *326 - *327 - *108 @@ -83381,7 +83639,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 type: object description: A Dependabot alert. properties: @@ -83431,7 +83689,7 @@ paths: - direct - transitive - - security_advisory: *568 + security_advisory: *569 security_vulnerability: *128 url: *129 html_url: *130 @@ -83462,8 +83720,8 @@ paths: dismissal. maxLength: 280 fixed_at: *134 - auto_dismissed_at: *569 - dismissal_request: *570 + auto_dismissed_at: *570 + dismissal_request: *571 required: - number - state @@ -83693,9 +83951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *438 - *439 - - &572 + - *440 + - &573 name: alert_number in: path description: |- @@ -83710,7 +83968,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -83823,9 +84081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *438 - *439 - - *572 + - *440 + - *573 requestBody: required: true content: @@ -83870,7 +84128,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -83999,8 +84257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -84018,7 +84276,7 @@ paths: type: integer secrets: type: array - items: &575 + items: &576 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84072,16 +84330,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84101,15 +84359,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '200': description: Response content: application/json: - schema: *575 + schema: *576 examples: default: value: @@ -84135,8 +84393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 requestBody: required: true @@ -84189,8 +84447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *438 - *439 + - *440 - *283 responses: '204': @@ -84213,8 +84471,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: - - *438 - *439 + - *440 - 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 @@ -84388,8 +84646,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -84649,8 +84907,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -84733,7 +84991,7 @@ paths: - version - url additionalProperties: false - metadata: &576 + metadata: &577 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84772,7 +85030,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *576 + metadata: *577 resolved: type: object description: A collection of resolved package dependencies. @@ -84786,7 +85044,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *576 + metadata: *577 relationship: type: string description: A notation of whether a dependency is requested @@ -84919,8 +85177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *438 - *439 + - *440 - name: sha description: The SHA recorded at creation time. in: query @@ -84961,9 +85219,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: *578 + default: *579 headers: Link: *45 x-github: @@ -85029,8 +85287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -85112,7 +85370,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: simple-example: summary: Simple example @@ -85185,9 +85443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *438 - *439 - - &579 + - *440 + - &580 name: deployment_id description: deployment_id parameter in: path @@ -85199,7 +85457,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -85264,9 +85522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *438 - *439 - - *579 + - *440 + - *580 responses: '204': description: Response @@ -85288,9 +85546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *438 - *439 - - *579 + - *440 + - *580 - *17 - *19 responses: @@ -85300,7 +85558,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 title: Deployment Status description: The status of a deployment. type: object @@ -85464,9 +85722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *438 - *439 - - *579 + - *440 + - *580 requestBody: required: true content: @@ -85541,9 +85799,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &581 + default: &582 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -85599,9 +85857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *438 - *439 - - *579 + - *440 + - *580 - name: status_id in: path required: true @@ -85612,9 +85870,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 '404': *6 x-github: githubCloudOnly: false @@ -85641,12 +85899,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 - - *582 + - *440 - *583 - *584 - *585 + - *586 - *17 - *19 responses: @@ -85656,9 +85914,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *587 + default: *588 '404': *6 '403': *27 '500': *38 @@ -85682,8 +85940,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85695,7 +85953,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *586 + schema: *587 examples: default: value: @@ -85751,8 +86009,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85811,12 +86069,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 - - *582 + - *440 - *583 - *584 - *585 + - *586 - *17 - *19 responses: @@ -85826,9 +86084,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *589 + default: *590 '404': *6 '403': *27 '500': *38 @@ -85852,8 +86110,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85865,7 +86123,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -85916,8 +86174,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85955,7 +86213,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -86006,8 +86264,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86078,8 +86336,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86112,8 +86370,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -86127,9 +86385,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: *591 + default: *592 '404': *6 '403': *27 '500': *38 @@ -86154,8 +86412,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86167,7 +86425,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -86225,8 +86483,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86295,8 +86553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -86353,8 +86611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -86372,7 +86630,7 @@ paths: - 5 environments: type: array - items: &593 + items: &594 title: Environment description: Details of a deployment environment type: object @@ -86434,7 +86692,7 @@ paths: type: string examples: - wait_timer - wait_timer: &595 + wait_timer: &596 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -86476,7 +86734,7 @@ paths: items: type: object properties: - type: *592 + type: *593 reviewer: anyOf: - *4 @@ -86503,7 +86761,7 @@ paths: - id - node_id - type - deployment_branch_policy: &596 + deployment_branch_policy: &597 type: - object - 'null' @@ -86620,9 +86878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *438 - *439 - - &594 + - *440 + - &595 name: environment_name in: path required: true @@ -86635,9 +86893,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: &597 + default: &598 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -86721,9 +86979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *438 - *439 - - *594 + - *440 + - *595 requestBody: required: false content: @@ -86733,7 +86991,7 @@ paths: - object - 'null' properties: - wait_timer: *595 + wait_timer: *596 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -86752,14 +87010,14 @@ paths: items: type: object properties: - type: *592 + type: *593 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *596 + deployment_branch_policy: *597 additionalProperties: false examples: default: @@ -86779,9 +87037,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: *597 + default: *598 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -86805,9 +87063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *438 - *439 - - *594 + - *440 + - *595 responses: '204': description: Default response @@ -86832,9 +87090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *17 - *19 responses: @@ -86853,7 +87111,7 @@ paths: - 2 branch_policies: type: array - items: &598 + items: &599 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -86914,9 +87172,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *438 - *439 - - *594 + - *440 + - *595 requestBody: required: true content: @@ -86964,9 +87222,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - example-wildcard: &599 + example-wildcard: &600 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87008,10 +87266,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *438 - *439 - - *594 - - &600 + - *440 + - *595 + - &601 name: branch_policy_id in: path required: true @@ -87023,9 +87281,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87044,10 +87302,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *438 - *439 - - *594 - - *600 + - *440 + - *595 + - *601 requestBody: required: true content: @@ -87076,9 +87334,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87097,10 +87355,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *438 - *439 - - *594 - - *600 + - *440 + - *595 + - *601 responses: '204': description: Response @@ -87125,9 +87383,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: - - *594 + - *595 + - *440 - *439 - - *438 responses: '200': description: List of deployment protection rules @@ -87144,7 +87402,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &601 + items: &602 title: Deployment protection rule description: Deployment protection rule type: object @@ -87166,7 +87424,7 @@ paths: for the environment. examples: - true - app: &602 + app: &603 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -87269,9 +87527,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: - - *594 + - *595 + - *440 - *439 - - *438 requestBody: content: application/json: @@ -87292,9 +87550,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *601 + schema: *602 examples: - default: &603 + default: &604 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -87329,9 +87587,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: - - *594 + - *595 + - *440 - *439 - - *438 - *19 - *17 responses: @@ -87351,7 +87609,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *602 + items: *603 examples: default: value: @@ -87386,10 +87644,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: - - *438 - *439 - - *594 - - &604 + - *440 + - *595 + - &605 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -87401,9 +87659,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: - default: *603 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87424,10 +87682,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: - - *594 + - *595 + - *440 - *439 - - *438 - - *604 + - *605 responses: '204': description: Response @@ -87453,9 +87711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *17 - *19 responses: @@ -87473,9 +87731,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *470 examples: - default: *470 + default: *471 headers: Link: *45 x-github: @@ -87500,17 +87758,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *438 - *439 - - *594 + - *440 + - *595 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87532,18 +87790,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *283 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: - default: *605 + default: *606 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87565,9 +87823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *283 requestBody: required: true @@ -87625,9 +87883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *283 responses: '204': @@ -87653,10 +87911,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *438 - *439 - - *594 - - *456 + - *440 + - *595 + - *457 - *19 responses: '200': @@ -87673,9 +87931,9 @@ paths: type: integer variables: type: array - items: *473 + items: *474 examples: - default: *474 + default: *475 headers: Link: *45 x-github: @@ -87698,9 +87956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *438 - *439 - - *594 + - *440 + - *595 requestBody: required: true content: @@ -87752,18 +88010,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *438 - *439 - - *594 + - *440 + - *595 - *286 responses: '200': description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *606 + default: *607 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87784,10 +88042,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *438 - *439 + - *440 - *286 - - *594 + - *595 requestBody: required: true content: @@ -87829,10 +88087,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *438 - *439 + - *440 - *286 - - *594 + - *595 responses: '204': description: Response @@ -87854,8 +88112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -87923,8 +88181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *438 - *439 + - *440 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88083,8 +88341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -88117,9 +88375,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 '400': *14 '422': *15 '403': *27 @@ -88140,8 +88398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -88201,7 +88459,7 @@ paths: schema: oneOf: - *248 - - *607 + - *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88226,8 +88484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *438 - *439 + - *440 - name: file_sha in: path required: true @@ -88327,8 +88585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -88437,7 +88695,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &609 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -88664,15 +88922,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *438 - *439 - - *553 + - *440 + - *554 responses: '200': description: Response content: application/json: - schema: *608 + schema: *609 examples: default: value: @@ -88728,9 +88986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *438 - *439 - - &609 + - *440 + - &610 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. @@ -88747,7 +89005,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Git Reference description: Git references within a repository type: object @@ -88823,17 +89081,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *438 - *439 - - *609 + - *440 + - *610 responses: '200': description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: &611 + default: &612 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -88862,8 +89120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -88892,9 +89150,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -88920,9 +89178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *438 - *439 - - *609 + - *440 + - *610 requestBody: required: true content: @@ -88951,9 +89209,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 '422': *15 '409': *117 x-github: @@ -88971,9 +89229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *438 - *439 - - *609 + - *440 + - *610 responses: '204': description: Response @@ -89028,8 +89286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -89096,7 +89354,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Git Tag description: Metadata for a Git tag type: object @@ -89152,7 +89410,7 @@ paths: - sha - type - url - verification: *612 + verification: *613 required: - sha - url @@ -89162,7 +89420,7 @@ paths: - tag - message examples: - default: &614 + default: &615 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89235,8 +89493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *438 - *439 + - *440 - name: tag_sha in: path required: true @@ -89247,9 +89505,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 '409': *117 x-github: @@ -89273,8 +89531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -89348,7 +89606,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &616 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -89450,8 +89708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *438 - *439 + - *440 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -89474,7 +89732,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default-response: summary: Default response @@ -89533,8 +89791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -89544,7 +89802,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Webhook description: Webhooks for repositories. type: object @@ -89607,7 +89865,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &866 + last_response: &869 title: Hook Response type: object properties: @@ -89684,8 +89942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -89738,9 +89996,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &617 + default: &618 value: type: Repository id: 12345678 @@ -89788,17 +90046,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 responses: '200': description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -89818,8 +90076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 requestBody: required: true @@ -89865,9 +90123,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '422': *15 '404': *6 x-github: @@ -89888,8 +90146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 responses: '204': @@ -89914,8 +90172,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: - - *438 - *439 + - *440 - *335 responses: '200': @@ -89943,8 +90201,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: - - *438 - *439 + - *440 - *335 requestBody: required: false @@ -89989,8 +90247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 - *17 - *336 @@ -90022,8 +90280,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: - - *438 - *439 + - *440 - *335 - *16 responses: @@ -90052,8 +90310,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: - - *438 - *439 + - *440 - *335 - *16 responses: @@ -90077,8 +90335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *438 - *439 + - *440 - *335 responses: '204': @@ -90104,8 +90362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *438 - *439 + - *440 - *335 responses: '204': @@ -90129,8 +90387,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: - - *438 - *439 + - *440 responses: '200': description: Response if immutable releases are enabled @@ -90178,8 +90436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *438 - *439 + - *440 responses: '204': *149 '409': *117 @@ -90199,8 +90457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *438 - *439 + - *440 responses: '204': *149 '409': *117 @@ -90257,14 +90515,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &618 + schema: &619 title: Import description: A repository import from an external source. type: object @@ -90371,7 +90629,7 @@ paths: - html_url - authors_url examples: - default: &621 + default: &622 value: vcs: subversion use_lfs: true @@ -90387,7 +90645,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': &619 + '503': &620 description: Unavailable due to service under maintenance. content: application/json: @@ -90416,8 +90674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -90465,7 +90723,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -90490,7 +90748,7 @@ paths: type: string '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90518,8 +90776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -90571,7 +90829,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: example-1: summary: Example 1 @@ -90619,7 +90877,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': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90642,12 +90900,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *438 - *439 + - *440 responses: '204': description: Response - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90673,9 +90931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *438 - *439 - - &799 + - *440 + - &800 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -90689,7 +90947,7 @@ paths: application/json: schema: type: array - items: &620 + items: &621 title: Porter Author description: Porter Author type: object @@ -90743,7 +91001,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': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90768,8 +91026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *438 - *439 + - *440 - name: author_id in: path required: true @@ -90799,7 +91057,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: default: value: @@ -90812,7 +91070,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90836,8 +91094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -90878,7 +91136,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90906,8 +91164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -90934,11 +91192,11 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: - default: *621 + default: *622 '422': *15 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90961,8 +91219,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -90970,8 +91228,8 @@ paths: application/json: schema: *20 examples: - default: *622 - '301': *444 + default: *623 + '301': *445 '404': *6 x-github: githubCloudOnly: false @@ -90991,8 +91249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -91005,7 +91263,7 @@ paths: properties: {} additionalProperties: false examples: - default: &624 + default: &625 value: limit: collaborators_only origin: repository @@ -91030,13 +91288,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *438 - *439 + - *440 requestBody: required: true content: application/json: - schema: *623 + schema: *624 examples: default: summary: Example request body @@ -91050,7 +91308,7 @@ paths: application/json: schema: *353 examples: - default: *624 + default: *625 '409': description: Response x-github: @@ -91072,8 +91330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -91096,8 +91354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -91107,9 +91365,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: &792 + default: &793 value: - id: 1 repository: @@ -91240,8 +91498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *438 - *439 + - *440 - *357 requestBody: required: false @@ -91271,7 +91529,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -91402,8 +91660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *438 - *439 + - *440 - *357 responses: '204': @@ -91435,8 +91693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *438 - *439 + - *440 - 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 @@ -91509,7 +91767,7 @@ paths: type: array items: *213 examples: - default: &635 + default: &636 value: - id: 1 node_id: MDU6SXNzdWUx @@ -91657,7 +91915,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *444 + '301': *445 '422': *15 '404': *6 x-github: @@ -91686,8 +91944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -91779,7 +92037,7 @@ paths: application/json: schema: *213 examples: - default: &632 + default: &633 value: id: 1 node_id: MDU6SXNzdWUx @@ -91935,7 +92193,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *626 + '410': *627 x-github: triggersNotification: true githubCloudOnly: false @@ -91963,8 +92221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *438 - *439 + - *440 - *236 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -91985,9 +92243,9 @@ paths: application/json: schema: type: array - items: *627 + items: *628 examples: - default: &634 + default: &635 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92045,17 +92303,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 responses: '200': description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: &628 + default: &629 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92109,8 +92367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -92133,9 +92391,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '422': *15 x-github: githubCloudOnly: false @@ -92153,8 +92411,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 responses: '204': @@ -92175,8 +92433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -92203,9 +92461,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -92226,8 +92484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -92260,16 +92518,16 @@ paths: description: Reaction exists content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '201': description: Reaction created content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -92291,10 +92549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *438 - *439 + - *440 - *228 - - *630 + - *631 responses: '204': description: Response @@ -92314,8 +92572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -92325,7 +92583,7 @@ paths: application/json: schema: type: array - items: &631 + items: &632 title: Issue Event description: Issue Event type: object @@ -92664,8 +92922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *438 - *439 + - *440 - name: event_id in: path required: true @@ -92676,7 +92934,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -92868,7 +93126,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *626 + '410': *627 '403': *27 x-github: githubCloudOnly: false @@ -92902,9 +93160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *438 - *439 - - &633 + - *440 + - &634 name: issue_number description: The number that identifies the issue. in: path @@ -92918,10 +93176,10 @@ paths: application/json: schema: *213 examples: - default: *632 - '301': *444 + default: *633 + '301': *445 '404': *6 - '410': *626 + '410': *627 '304': *35 x-github: githubCloudOnly: false @@ -92946,9 +93204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -93069,13 +93327,13 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 '422': *15 '503': *190 '403': *27 - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93093,9 +93351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -93123,7 +93381,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93139,9 +93397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: content: application/json: @@ -93168,7 +93426,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93190,9 +93448,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: - - *438 - *439 - - *633 + - *440 + - *634 - name: assignee in: path required: true @@ -93232,9 +93490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *219 - *17 - *19 @@ -93245,13 +93503,13 @@ paths: application/json: schema: type: array - items: *627 + items: *628 examples: - default: *634 + default: *635 headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93280,9 +93538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -93304,16 +93562,16 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *626 + '410': *627 '422': *15 '404': *6 x-github: @@ -93341,9 +93599,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: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -93355,12 +93613,12 @@ paths: type: array items: *213 examples: - default: *635 + default: *636 headers: Link: *45 - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93388,9 +93646,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: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -93414,15 +93672,15 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *444 + '301': *445 '403': *27 - '410': *626 + '410': *627 '422': *15 '404': *6 x-github: @@ -93453,9 +93711,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: - - *438 - *439 - - *633 + - *440 + - *634 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -93469,13 +93727,13 @@ paths: application/json: schema: *213 examples: - default: *632 - '301': *444 + default: *633 + '301': *445 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *626 + '410': *627 x-github: triggersNotification: true githubCloudOnly: false @@ -93501,9 +93759,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: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -93515,12 +93773,12 @@ paths: type: array items: *213 examples: - default: *635 + default: *636 headers: Link: *45 - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93537,9 +93795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -93553,7 +93811,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &637 + - &638 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -93602,7 +93860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &638 + - &639 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -93730,7 +93988,7 @@ paths: - performed_via_github_app - assignee - assigner - - &639 + - &640 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -93776,7 +94034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &640 + - &641 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -93822,7 +94080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &642 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -93871,7 +94129,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &642 + - &643 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -93913,7 +94171,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &643 + - &644 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -93955,7 +94213,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &644 + - &645 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -94011,7 +94269,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &646 title: Locked Issue Event description: Locked Issue Event type: object @@ -94056,7 +94314,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &646 + - &647 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -94117,7 +94375,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &648 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -94178,68 +94436,68 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 - title: Removed from Project Issue Event - description: Removed from Project Issue Event - type: object - properties: - id: - type: integer - node_id: - type: string - url: - type: string - actor: *4 - event: - type: string - commit_id: - type: - - string - - 'null' - commit_url: - type: - - string - - 'null' - created_at: - type: string - performed_via_github_app: - anyOf: - - type: 'null' - - *5 - project_card: - type: object - properties: - id: - type: integer - url: - type: string - format: uri - project_id: - type: integer - project_url: - type: string - format: uri - column_name: - type: string - previous_column_name: - type: string - required: - - id - - url - - project_id - - project_url - - column_name - required: - - id - - node_id - - url - - actor - - event - - commit_id - - commit_url - - created_at - - performed_via_github_app - &649 + title: Removed from Project Issue Event + description: Removed from Project Issue Event + type: object + properties: + id: + type: integer + node_id: + type: string + url: + type: string + actor: *4 + event: + type: string + commit_id: + type: + - string + - 'null' + commit_url: + type: + - string + - 'null' + created_at: + type: string + performed_via_github_app: + anyOf: + - type: 'null' + - *5 + project_card: + type: object + properties: + id: + type: integer + url: + type: string + format: uri + project_id: + type: integer + project_url: + type: string + format: uri + column_name: + type: string + previous_column_name: + type: string + required: + - id + - url + - project_id + - project_url + - column_name + required: + - id + - node_id + - url + - actor + - event + - commit_id + - commit_url + - created_at + - performed_via_github_app + - &650 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -94332,7 +94590,7 @@ paths: color: red headers: Link: *45 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94349,9 +94607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -94363,7 +94621,7 @@ paths: type: array items: *212 examples: - default: &636 + default: &637 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94381,9 +94639,9 @@ paths: default: false headers: Link: *45 - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94400,9 +94658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -94463,10 +94721,10 @@ paths: type: array items: *212 examples: - default: *636 - '301': *444 + default: *637 + '301': *445 '404': *6 - '410': *626 + '410': *627 '422': *15 x-github: githubCloudOnly: false @@ -94483,9 +94741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -94547,10 +94805,10 @@ paths: type: array items: *212 examples: - default: *636 - '301': *444 + default: *637 + '301': *445 '404': *6 - '410': *626 + '410': *627 '422': *15 x-github: githubCloudOnly: false @@ -94567,15 +94825,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 responses: '204': description: Response - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94594,9 +94852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 - name: name in: path required: true @@ -94620,9 +94878,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *444 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94642,9 +94900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: false content: @@ -94673,7 +94931,7 @@ paths: '204': description: Response '403': *27 - '410': *626 + '410': *627 '404': *6 '422': *15 x-github: @@ -94691,9 +94949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 responses: '204': description: Response @@ -94723,9 +94981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 responses: '200': description: Response @@ -94733,10 +94991,10 @@ paths: application/json: schema: *213 examples: - default: *632 - '301': *444 + default: *633 + '301': *445 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94753,9 +95011,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 - 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. @@ -94781,13 +95039,13 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94805,9 +95063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -94839,16 +95097,16 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '201': description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -94870,10 +95128,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *438 - *439 - - *633 - - *630 + - *440 + - *634 + - *631 responses: '204': description: Response @@ -94902,9 +95160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -94928,7 +95186,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -94961,9 +95219,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -94975,11 +95233,11 @@ paths: type: array items: *213 examples: - default: *635 + default: *636 headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95007,9 +95265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -95038,14 +95296,14 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *626 + '410': *627 '422': *15 '404': *6 x-github: @@ -95065,9 +95323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 requestBody: required: true content: @@ -95100,7 +95358,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 '403': *27 '404': *6 '422': *7 @@ -95122,9 +95380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *438 - *439 - - *633 + - *440 + - *634 - *17 - *19 responses: @@ -95139,7 +95397,6 @@ paths: description: Timeline Event type: object anyOf: - - *637 - *638 - *639 - *640 @@ -95152,6 +95409,7 @@ paths: - *647 - *648 - *649 + - *650 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95480,7 +95738,7 @@ paths: type: string comments: type: array - items: &670 + items: &671 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -95721,7 +95979,7 @@ paths: type: string comments: type: array - items: *549 + items: *550 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -95996,7 +96254,7 @@ paths: headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96013,8 +96271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -96024,7 +96282,7 @@ paths: application/json: schema: type: array - items: &650 + items: &651 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -96092,8 +96350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96129,9 +96387,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: id: 1 key: ssh-rsa AAA... @@ -96165,9 +96423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *438 - *439 - - &652 + - *440 + - &653 name: key_id description: The unique identifier of the key. in: path @@ -96179,9 +96437,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -96199,9 +96457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *438 - *439 - - *652 + - *440 + - *653 responses: '204': description: Response @@ -96221,8 +96479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -96234,7 +96492,7 @@ paths: type: array items: *212 examples: - default: *636 + default: *637 headers: Link: *45 '404': *6 @@ -96255,8 +96513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96294,7 +96552,7 @@ paths: application/json: schema: *212 examples: - default: &653 + default: &654 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96326,8 +96584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *438 - *439 + - *440 - name: name in: path required: true @@ -96340,7 +96598,7 @@ paths: application/json: schema: *212 examples: - default: *653 + default: *654 '404': *6 x-github: githubCloudOnly: false @@ -96357,8 +96615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *438 - *439 + - *440 - name: name in: path required: true @@ -96423,8 +96681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *438 - *439 + - *440 - name: name in: path required: true @@ -96450,8 +96708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -96487,8 +96745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *438 - *439 + - *440 responses: '202': *37 '403': @@ -96516,8 +96774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -96543,9 +96801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *438 - *439 - - *524 + - *440 + - *525 responses: '200': description: Response @@ -96692,8 +96950,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96758,8 +97016,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96793,9 +97051,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *552 + schema: *553 examples: - default: *654 + default: *655 '204': description: Response when already merged '404': @@ -96820,8 +97078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *438 - *439 + - *440 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -96918,8 +97176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -96961,7 +97219,7 @@ paths: application/json: schema: *392 examples: - default: &655 + default: &656 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -97020,9 +97278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *438 - *439 - - &656 + - *440 + - &657 name: milestone_number description: The number that identifies the milestone. in: path @@ -97036,7 +97294,7 @@ paths: application/json: schema: *392 examples: - default: *655 + default: *656 '404': *6 x-github: githubCloudOnly: false @@ -97053,9 +97311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *438 - *439 - - *656 + - *440 + - *657 requestBody: required: false content: @@ -97095,7 +97353,7 @@ paths: application/json: schema: *392 examples: - default: *655 + default: *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97111,9 +97369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *438 - *439 - - *656 + - *440 + - *657 responses: '204': description: Response @@ -97134,9 +97392,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: - - *438 - *439 - - *656 + - *440 + - *657 - *17 - *19 responses: @@ -97148,7 +97406,7 @@ paths: type: array items: *212 examples: - default: *636 + default: *637 headers: Link: *45 x-github: @@ -97167,12 +97425,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: - - *438 - *439 - - *657 + - *440 - *658 - - *219 - *659 + - *219 + - *660 - *17 - *19 responses: @@ -97184,7 +97442,7 @@ paths: type: array items: *239 examples: - default: *660 + default: *661 headers: Link: *45 x-github: @@ -97208,8 +97466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -97267,14 +97525,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: &661 + schema: &662 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -97418,7 +97676,7 @@ paths: - custom_404 - public examples: - default: &662 + default: &663 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -97459,8 +97717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -97515,9 +97773,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '422': *15 '409': *117 x-github: @@ -97540,8 +97798,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -97649,8 +97907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -97676,8 +97934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -97687,7 +97945,7 @@ paths: application/json: schema: type: array - items: &663 + items: &664 title: Page Build description: Page Build type: object @@ -97779,8 +98037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *438 - *439 + - *440 responses: '201': description: Response @@ -97827,16 +98085,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *663 + schema: *664 examples: - default: &664 + default: &665 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -97884,8 +98142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *438 - *439 + - *440 - name: build_id in: path required: true @@ -97896,9 +98154,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: - default: *664 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97918,8 +98176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -98027,9 +98285,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: - - *438 - *439 - - &665 + - *440 + - &666 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -98087,9 +98345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *438 - *439 - - *665 + - *440 + - *666 responses: '204': *149 '404': *6 @@ -98116,8 +98374,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -98412,8 +98670,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: - - *438 - *439 + - *440 responses: '200': description: Private vulnerability reporting status @@ -98450,8 +98708,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: - - *438 - *439 + - *440 responses: '204': *149 '422': *14 @@ -98472,8 +98730,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: - - *438 - *439 + - *440 responses: '204': *149 '422': *14 @@ -98495,8 +98753,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -98506,7 +98764,7 @@ paths: type: array items: *150 examples: - default: *666 + default: *667 '403': *27 '404': *6 x-github: @@ -98528,8 +98786,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -98545,7 +98803,7 @@ paths: required: - properties examples: - default: *667 + default: *668 responses: '204': description: No Content when custom property values are successfully created @@ -98583,8 +98841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *438 - *439 + - *440 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -98644,9 +98902,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: *668 + default: *669 headers: Link: *45 '304': *35 @@ -98678,8 +98936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -98746,7 +99004,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &673 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -98986,7 +99244,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *669 + auto_merge: *670 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -99088,7 +99346,7 @@ paths: - merged_by - review_comments examples: - default: &673 + default: &674 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -99615,8 +99873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *438 - *439 + - *440 - name: sort in: query required: false @@ -99645,9 +99903,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: &675 + default: &676 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99724,17 +99982,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: - - *438 - *439 + - *440 - *228 responses: '200': description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: &671 + default: &672 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -99809,8 +100067,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: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -99833,9 +100091,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99851,8 +100109,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: - - *438 - *439 + - *440 - *228 responses: '204': @@ -99874,8 +100132,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: - - *438 - *439 + - *440 - *228 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -99902,9 +100160,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -99925,8 +100183,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: - - *438 - *439 + - *440 - *228 requestBody: required: true @@ -99959,16 +100217,16 @@ paths: description: Reaction exists content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '201': description: Reaction created content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -99990,10 +100248,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *438 - *439 + - *440 - *228 - - *630 + - *631 responses: '204': description: Response @@ -100036,9 +100294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *438 - *439 - - &674 + - *440 + - &675 name: pull_number description: The number that identifies the pull request. in: path @@ -100051,9 +100309,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '304': *35 '404': *6 '406': @@ -100088,9 +100346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -100132,9 +100390,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '422': *15 '403': *27 x-github: @@ -100156,9 +100414,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: true content: @@ -100221,7 +100479,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -100229,7 +100487,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -100259,9 +100517,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: - - *438 - *439 - - *674 + - *440 + - *675 - *236 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -100282,9 +100540,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *675 + default: *676 headers: Link: *45 x-github: @@ -100317,9 +100575,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: true content: @@ -100425,7 +100683,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: example-for-a-multi-line-comment: value: @@ -100513,9 +100771,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: - - *438 - *439 - - *674 + - *440 + - *675 - *228 requestBody: required: true @@ -100538,7 +100796,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: default: value: @@ -100624,9 +100882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *438 - *439 - - *674 + - *440 + - *675 - *17 - *19 responses: @@ -100636,9 +100894,9 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: - default: *676 + default: *677 headers: Link: *45 x-github: @@ -100668,9 +100926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *438 - *439 - - *674 + - *440 + - *675 - *17 - *19 responses: @@ -100680,7 +100938,7 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: default: value: @@ -100718,9 +100976,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: - - *438 - *439 - - *674 + - *440 + - *675 responses: '204': description: Response if pull request has been merged @@ -100743,9 +101001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -100857,9 +101115,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: - - *438 - *439 - - *674 + - *440 + - *675 responses: '200': description: Response @@ -100934,9 +101192,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -100973,7 +101231,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -101509,9 +101767,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: true content: @@ -101545,7 +101803,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -102050,9 +102308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *438 - *439 - - *674 + - *440 + - *675 - *17 - *19 responses: @@ -102062,7 +102320,7 @@ paths: application/json: schema: type: array - items: &677 + items: &678 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102218,9 +102476,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: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -102310,9 +102568,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &679 + default: &680 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102375,10 +102633,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: - - *438 - *439 - - *674 - - &678 + - *440 + - *675 + - &679 name: review_id description: The unique identifier of the review. in: path @@ -102390,9 +102648,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &680 + default: &681 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102451,10 +102709,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 requestBody: required: true content: @@ -102477,7 +102735,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: default: value: @@ -102539,18 +102797,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 responses: '200': description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *679 + default: *680 '422': *7 '404': *6 x-github: @@ -102577,10 +102835,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 - *17 - *19 responses: @@ -102838,10 +103096,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 requestBody: required: true content: @@ -102870,7 +103128,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: default: value: @@ -102933,10 +103191,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: - - *438 - *439 - - *674 - - *678 + - *440 + - *675 + - *679 requestBody: required: true content: @@ -102971,9 +103229,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *680 + default: *681 '404': *6 '422': *7 '403': *27 @@ -102995,9 +103253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *438 - *439 - - *674 + - *440 + - *675 requestBody: required: false content: @@ -103061,8 +103319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *438 - *439 + - *440 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103075,9 +103333,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: &682 + default: &683 value: type: file encoding: base64 @@ -103119,8 +103377,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: - - *438 - *439 + - *440 - name: dir description: The alternate path to look for a README file in: path @@ -103140,9 +103398,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 '404': *6 '422': *15 x-github: @@ -103164,8 +103422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -103175,7 +103433,7 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: default: value: @@ -103269,8 +103527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -103346,9 +103604,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &687 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -103453,9 +103711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *438 - *439 - - &685 + - *440 + - &686 name: asset_id description: The unique identifier of the asset. in: path @@ -103467,9 +103725,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: &686 + default: &687 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 @@ -103504,7 +103762,7 @@ paths: type: User site_admin: false '404': *6 - '302': *565 + '302': *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103520,9 +103778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *438 - *439 - - *685 + - *440 + - *686 requestBody: required: false content: @@ -103551,9 +103809,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *686 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103569,9 +103827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *438 - *439 - - *685 + - *440 + - *686 responses: '204': description: Response @@ -103595,8 +103853,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -103682,16 +103940,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *438 - *439 + - *440 responses: '200': description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103708,8 +103966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *438 - *439 + - *440 - name: tag description: tag parameter in: path @@ -103722,9 +103980,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -103746,9 +104004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *438 - *439 - - &688 + - *440 + - &689 name: release_id description: The unique identifier of the release. in: path @@ -103762,9 +104020,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 '401': description: Unauthorized x-github: @@ -103782,9 +104040,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *438 - *439 - - *688 + - *440 + - *689 requestBody: required: false content: @@ -103848,9 +104106,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 '404': description: Not Found if the discussion category name is invalid content: @@ -103871,9 +104129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *438 - *439 - - *688 + - *440 + - *689 responses: '204': description: Response @@ -103893,9 +104151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *438 - *439 - - *688 + - *440 + - *689 - *17 - *19 responses: @@ -103905,7 +104163,7 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: default: value: @@ -103987,9 +104245,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: - - *438 - *439 - - *688 + - *440 + - *689 - name: name in: query required: true @@ -104015,7 +104273,7 @@ paths: description: Response for successful upload content: application/json: - schema: *684 + schema: *685 examples: response-for-successful-upload: value: @@ -104070,9 +104328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *438 - *439 - - *688 + - *440 + - *689 - 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. @@ -104096,9 +104354,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -104119,9 +104377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *438 - *439 - - *688 + - *440 + - *689 requestBody: required: true content: @@ -104151,16 +104409,16 @@ paths: description: Reaction exists content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '201': description: Reaction created content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '422': *15 x-github: githubCloudOnly: false @@ -104182,10 +104440,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *438 - *439 - - *688 - - *630 + - *440 + - *689 + - *631 responses: '204': description: Response @@ -104209,9 +104467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *438 - *439 - - *491 + - *440 + - *492 - *17 - *19 responses: @@ -104228,7 +104486,7 @@ paths: oneOf: - allOf: - *164 - - &689 + - &690 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104249,67 +104507,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *165 - - *689 + - *690 - allOf: - *166 - - *689 + - *690 - allOf: - *167 - - *689 + - *690 - allOf: + - *691 - *690 - - *689 - allOf: - *168 - - *689 + - *690 - allOf: - *169 - - *689 + - *690 - allOf: - *170 - - *689 + - *690 - allOf: - *171 - - *689 + - *690 - allOf: - *172 - - *689 + - *690 - allOf: - *173 - - *689 + - *690 - allOf: - *174 - - *689 + - *690 - allOf: - *175 - - *689 + - *690 - allOf: - *176 - - *689 + - *690 - allOf: - *177 - - *689 + - *690 - allOf: - *178 - - *689 + - *690 - allOf: - *179 - - *689 + - *690 - allOf: - *180 - - *689 + - *690 - allOf: - *181 - - *689 + - *690 - allOf: - *182 - - *689 + - *690 - allOf: - *183 - - *689 + - *690 - allOf: - *184 - - *689 + - *690 examples: default: value: @@ -104348,8 +104606,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - *17 - *19 - name: includes_parents @@ -104360,7 +104618,7 @@ paths: schema: type: boolean default: true - - *691 + - *692 responses: '200': description: Response @@ -104415,8 +104673,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 requestBody: description: Request body required: true @@ -104445,7 +104703,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *692 + items: *693 required: - name - enforcement @@ -104478,7 +104736,7 @@ paths: application/json: schema: *185 examples: - default: &701 + default: &702 value: id: 42 name: super cool ruleset @@ -104525,12 +104783,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *438 - *439 - - *693 - - *103 + - *440 - *694 + - *103 - *695 + - *696 - *17 - *19 responses: @@ -104538,9 +104796,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: *697 + default: *698 '404': *6 '500': *38 x-github: @@ -104561,17 +104819,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *438 - *439 - - *698 + - *440 + - *699 responses: '200': description: Response content: application/json: - schema: *699 + schema: *700 examples: - default: *700 + default: *701 '404': *6 '500': *38 x-github: @@ -104599,8 +104857,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104622,7 +104880,7 @@ paths: application/json: schema: *185 examples: - default: *701 + default: *702 '404': *6 '500': *38 put: @@ -104640,8 +104898,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104675,7 +104933,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *692 + items: *693 examples: default: value: @@ -104705,7 +104963,7 @@ paths: application/json: schema: *185 examples: - default: *701 + default: *702 '404': *6 '500': *38 delete: @@ -104723,8 +104981,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104747,8 +105005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *438 - *439 + - *440 - *17 - *19 - name: ruleset_id @@ -104766,7 +105024,7 @@ paths: type: array items: *189 examples: - default: *408 + default: *409 '404': *6 '500': *38 x-github: @@ -104785,8 +105043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104804,7 +105062,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -104859,22 +105117,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: - - *438 - *439 - - *410 + - *440 - *411 - *412 - *413 - *414 + - *415 - *108 - *19 - *17 - - *702 - *703 - - *415 + - *704 - *416 - *417 - *418 + - *419 responses: '200': description: Response @@ -104882,7 +105140,7 @@ paths: application/json: schema: type: array - items: &707 + items: &708 type: object properties: number: *124 @@ -104898,8 +105156,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *704 - resolution: *705 + state: *705 + resolution: *706 resolved_at: type: - string @@ -104993,7 +105251,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *706 + - *707 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -105138,16 +105396,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: - - *438 - *439 - - *518 - - *418 + - *440 + - *519 + - *419 responses: '200': description: Response content: application/json: - schema: *707 + schema: *708 examples: default: value: @@ -105201,9 +105459,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: - - *438 - *439 - - *518 + - *440 + - *519 requestBody: required: true content: @@ -105211,8 +105469,8 @@ paths: schema: type: object properties: - state: *704 - resolution: *705 + state: *705 + resolution: *706 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105248,7 +105506,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: default: value: @@ -105343,9 +105601,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: - - *438 - *439 - - *518 + - *440 + - *519 - *19 - *17 responses: @@ -105356,7 +105614,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &886 + items: &889 type: object properties: type: @@ -105383,7 +105641,6 @@ paths: - commit details: oneOf: - - *708 - *709 - *710 - *711 @@ -105396,6 +105653,7 @@ paths: - *718 - *719 - *720 + - *721 examples: default: value: @@ -105481,8 +105739,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -105490,14 +105748,14 @@ paths: schema: type: object properties: - reason: &722 + reason: &723 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *721 + placeholder_id: *722 required: - reason - placeholder_id @@ -105514,7 +105772,7 @@ paths: schema: type: object properties: - reason: *722 + reason: *723 expire_at: type: - string @@ -105561,8 +105819,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: - - *438 - *439 + - *440 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -105577,7 +105835,7 @@ paths: properties: incremental_scans: type: array - items: &723 + items: &724 description: Information on a single scan performed by secret scanning on the repository type: object @@ -105605,15 +105863,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *723 + items: *724 backfill_scans: type: array - items: *723 + items: *724 custom_pattern_backfill_scans: type: array items: allOf: - - *723 + - *724 - type: object properties: pattern_name: @@ -105683,8 +105941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *438 - *439 + - *440 - *108 - name: sort description: The property to sort the results by. @@ -105728,9 +105986,9 @@ paths: application/json: schema: type: array - items: *724 + items: *725 examples: - default: *725 + default: *726 '400': *14 '404': *6 x-github: @@ -105753,8 +106011,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -105834,7 +106092,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 required: - login - type @@ -105924,9 +106182,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: &727 + default: &728 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106159,8 +106417,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -106273,7 +106531,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: default: value: @@ -106420,17 +106678,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: - - *438 - *439 - - *726 + - *440 + - *727 responses: '200': description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *727 + default: *728 '403': *27 '404': *6 x-github: @@ -106454,9 +106712,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: - - *438 - *439 - - *726 + - *440 + - *727 requestBody: required: true content: @@ -106536,7 +106794,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 required: - login - type @@ -106627,10 +106885,10 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: - default: *727 - add_credit: *727 + default: *728 + add_credit: *728 '403': *27 '404': *6 '422': @@ -106668,9 +106926,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: - - *438 - *439 - - *726 + - *440 + - *727 responses: '202': *37 '400': *14 @@ -106697,17 +106955,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: - - *438 - *439 - - *726 + - *440 + - *727 responses: '202': description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 '400': *14 '422': *15 '403': *27 @@ -106733,8 +106991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -106830,8 +107088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *438 - *439 + - *440 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -106840,7 +107098,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106873,8 +107131,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -106952,8 +107210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -107047,8 +107305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *438 - *439 + - *440 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -107202,8 +107460,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: - - *438 - *439 + - *440 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -107213,7 +107471,7 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: default: value: @@ -107246,8 +107504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *438 - *439 + - *440 - name: sha in: path required: true @@ -107303,7 +107561,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: default: value: @@ -107357,8 +107615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -107390,14 +107648,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *438 - *439 + - *440 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &730 + schema: &731 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -107470,8 +107728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *438 - *439 + - *440 requestBody: required: false content: @@ -107497,7 +107755,7 @@ paths: description: Response content: application/json: - schema: *730 + schema: *731 examples: default: value: @@ -107524,8 +107782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -107545,8 +107803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -107628,8 +107886,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: - - *438 - *439 + - *440 responses: '200': description: Response @@ -107637,7 +107895,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 title: Tag protection description: Tag protection type: object @@ -107694,8 +107952,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: - - *438 - *439 + - *440 requestBody: required: true content: @@ -107718,7 +107976,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *732 examples: default: value: @@ -107749,8 +108007,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: - - *438 - *439 + - *440 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -107787,8 +108045,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *438 - *439 + - *440 - name: ref in: path required: true @@ -107824,8 +108082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *438 - *439 + - *440 - *17 - *19 responses: @@ -107857,8 +108115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *438 - *439 + - *440 - *19 - *17 responses: @@ -107866,7 +108124,7 @@ paths: description: Response content: application/json: - schema: &732 + schema: &733 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -107878,7 +108136,7 @@ paths: required: - names examples: - default: &733 + default: &734 value: names: - octocat @@ -107901,8 +108159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -107933,9 +108191,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *733 examples: - default: *733 + default: *734 '404': *6 '422': *7 x-github: @@ -107956,9 +108214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *438 - *439 - - &734 + - *440 + - &735 name: per description: The time frame to display results for. in: query @@ -107989,7 +108247,7 @@ paths: - 128 clones: type: array - items: &735 + items: &736 title: Traffic type: object properties: @@ -108076,8 +108334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -108171,8 +108429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *438 - *439 + - *440 responses: '200': description: Response @@ -108235,9 +108493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *438 - *439 - - *734 + - *440 + - *735 responses: '200': description: Response @@ -108258,7 +108516,7 @@ paths: - 3782 views: type: array - items: *735 + items: *736 required: - uniques - count @@ -108335,8 +108593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *438 - *439 + - *440 requestBody: required: true content: @@ -108610,8 +108868,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: - - *438 - *439 + - *440 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -108634,8 +108892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -108657,8 +108915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *438 - *439 + - *440 responses: '204': description: Response @@ -108684,8 +108942,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *438 - *439 + - *440 - name: ref in: path required: true @@ -108777,9 +109035,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -108930,7 +109188,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &743 + - &744 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -108940,7 +109198,7 @@ paths: type: string examples: - members - - &748 + - &749 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -108952,7 +109210,7 @@ paths: format: int32 examples: - 1 - - &749 + - &750 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -108996,7 +109254,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &738 + items: &739 allOf: - type: object required: @@ -109078,7 +109336,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &750 + meta: &751 type: object description: The metadata associated with the creation/updates to the user. @@ -109143,30 +109401,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &739 + '400': &740 description: Bad request content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '401': *737 - '403': &740 + schema: *737 + '401': *738 + '403': &741 description: Permission denied - '429': &741 + '429': &742 description: Too many requests content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '500': &742 + schema: *737 + '500': &743 description: Internal server error content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 + schema: *737 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109190,7 +109448,7 @@ paths: required: true content: application/json: - schema: &746 + schema: &747 type: object required: - schemas @@ -109254,9 +109512,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *738 + schema: *739 examples: - group: &744 + group: &745 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -109275,13 +109533,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *739 - '401': *737 - '403': *740 - '409': &747 + '400': *740 + '401': *738 + '403': *741 + '409': &748 description: Duplicate record detected - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109298,7 +109556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &745 + - &746 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -109307,22 +109565,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *743 + - *744 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *738 + schema: *739 examples: - default: *744 - '400': *739 - '401': *737 - '403': *740 + default: *745 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109341,13 +109599,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *745 + - *746 - *39 requestBody: required: true content: application/json: - schema: *746 + schema: *747 examples: group: summary: Group @@ -109373,17 +109631,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *738 + schema: *739 examples: - group: *744 - groupWithMembers: *744 - '400': *739 - '401': *737 - '403': *740 + group: *745 + groupWithMembers: *745 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109407,13 +109665,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *745 + - *746 - *39 requestBody: required: true content: application/json: - schema: &757 + schema: &758 type: object required: - Operations @@ -109473,17 +109731,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *738 + schema: *739 examples: - updateGroup: *744 - addMembers: *744 - '400': *739 - '401': *737 - '403': *740 + updateGroup: *745 + addMembers: *745 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109499,17 +109757,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *745 + - *746 - *39 responses: '204': description: Group was deleted, no content - '400': *739 - '401': *737 - '403': *740 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109543,8 +109801,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *748 - *749 + - *750 - *39 responses: '200': @@ -109578,7 +109836,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &752 + items: &753 allOf: - type: object required: @@ -109670,7 +109928,7 @@ paths: address. examples: - true - roles: &751 + roles: &752 type: array description: The roles assigned to the user. items: @@ -109729,7 +109987,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *750 + meta: *751 startIndex: type: integer description: A starting index for the returned page @@ -109768,11 +110026,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *739 - '401': *737 - '403': *740 - '429': *741 - '500': *742 + '400': *740 + '401': *738 + '403': *741 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109796,7 +110054,7 @@ paths: required: true content: application/json: - schema: &755 + schema: &756 type: object required: - schemas @@ -109889,9 +110147,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *751 + roles: *752 examples: - user: &756 + user: &757 summary: User value: schemas: @@ -109938,9 +110196,9 @@ paths: description: User has been created content: application/scim+json: - schema: *752 + schema: *753 examples: - user: &753 + user: &754 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -109966,13 +110224,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *753 - '400': *739 - '401': *737 - '403': *740 - '409': *747 - '429': *741 - '500': *742 + enterpriseOwner: *754 + '400': *740 + '401': *738 + '403': *741 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109989,7 +110247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &754 + - &755 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -110002,15 +110260,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *752 + schema: *753 examples: - default: *753 - '400': *739 - '401': *737 - '403': *740 + default: *754 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110032,30 +110290,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *754 + - *755 - *39 requestBody: required: true content: application/json: - schema: *755 + schema: *756 examples: - user: *756 + user: *757 responses: '200': description: User was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - user: *753 - '400': *739 - '401': *737 - '403': *740 + user: *754 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110090,13 +110348,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *754 + - *755 - *39 requestBody: required: true content: application/json: - schema: *757 + schema: *758 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -110136,18 +110394,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *752 + schema: *753 examples: - userMultiValuedProperties: *753 - userSingleValuedProperties: *753 - disableUser: *753 - '400': *739 - '401': *737 - '403': *740 + userMultiValuedProperties: *754 + userSingleValuedProperties: *754 + disableUser: *754 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '409': *747 - '429': *741 - '500': *742 + '409': *748 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110167,17 +110425,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *754 + - *755 - *39 responses: '204': description: User was deleted, no content - '400': *739 - '401': *737 - '403': *740 + '400': *740 + '401': *738 + '403': *741 '404': *6 - '429': *741 - '500': *742 + '429': *742 + '500': *743 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110268,7 +110526,7 @@ paths: - 1 Resources: type: array - items: &758 + items: &759 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -110515,22 +110773,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &759 + '404': &760 description: Resource not found content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '403': &760 + schema: *737 + '403': &761 description: Forbidden content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '400': *739 - '429': *741 + schema: *737 + '400': *740 + '429': *742 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -110556,9 +110814,9 @@ paths: description: Response content: application/scim+json: - schema: *758 + schema: *759 examples: - default: &761 + default: &762 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110581,17 +110839,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *759 - '403': *760 - '500': *742 + '404': *760 + '403': *761 + '500': *743 '409': description: Conflict content: application/json: - schema: *736 + schema: *737 application/scim+json: - schema: *736 - '400': *739 + schema: *737 + '400': *740 requestBody: required: true content: @@ -110691,17 +110949,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *85 - - *754 + - *755 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *759 examples: - default: *761 - '404': *759 - '403': *760 + default: *762 + '404': *760 + '403': *761 '304': *35 x-github: githubCloudOnly: true @@ -110725,18 +110983,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *85 - - *754 + - *755 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *759 examples: - default: *761 + default: *762 '304': *35 - '404': *759 - '403': *760 + '404': *760 + '403': *761 requestBody: required: true content: @@ -110851,19 +111109,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *85 - - *754 + - *755 responses: '200': description: Response content: application/scim+json: - schema: *758 + schema: *759 examples: - default: *761 + default: *762 '304': *35 - '404': *759 - '403': *760 - '400': *739 + '404': *760 + '403': *761 + '400': *740 '429': description: Response content: @@ -110959,12 +111217,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *85 - - *754 + - *755 responses: '204': description: Response - '404': *759 - '403': *760 + '404': *760 + '403': *761 '304': *35 x-github: githubCloudOnly: true @@ -111098,7 +111356,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &762 + text_matches: &763 title: Search Result Text Matches type: array items: @@ -111262,7 +111520,7 @@ paths: enum: - author-date - committer-date - - &763 + - &764 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 @@ -111331,7 +111589,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 comment_count: type: integer message: @@ -111350,7 +111608,7 @@ paths: url: type: string format: uri - verification: *612 + verification: *613 required: - author - committer @@ -111365,7 +111623,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 parents: type: array items: @@ -111382,7 +111640,7 @@ paths: type: number node_id: type: string - text_matches: *762 + text_matches: *763 required: - sha - node_id @@ -111575,7 +111833,7 @@ paths: - interactions - created - updated - - *763 + - *764 - *17 - *19 - name: advanced_search @@ -111672,11 +111930,11 @@ paths: type: - string - 'null' - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: type: string state_reason: @@ -111704,7 +111962,7 @@ paths: - string - 'null' format: date-time - text_matches: *762 + text_matches: *763 pull_request: type: object properties: @@ -111927,7 +112185,7 @@ paths: enum: - created - updated - - *763 + - *764 - *17 - *19 responses: @@ -111972,7 +112230,7 @@ paths: - 'null' score: type: number - text_matches: *762 + text_matches: *763 required: - id - node_id @@ -112058,7 +112316,7 @@ paths: - forks - help-wanted-issues - updated - - *763 + - *764 - *17 - *19 responses: @@ -112295,7 +112553,7 @@ paths: - admin - pull - push - text_matches: *762 + text_matches: *763 temp_clone_token: type: string allow_merge_commit: @@ -112604,7 +112862,7 @@ paths: - string - 'null' format: uri - text_matches: *762 + text_matches: *763 related: type: - array @@ -112799,7 +113057,7 @@ paths: - followers - repositories - joined - - *763 + - *764 - *17 - *19 responses: @@ -112909,7 +113167,7 @@ paths: type: - boolean - 'null' - text_matches: *762 + text_matches: *763 blog: type: - string @@ -112991,7 +113249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &767 + - &768 name: team_id description: The unique identifier of the team. in: path @@ -113003,9 +113261,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -113032,7 +113290,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *767 + - *768 requestBody: required: true content: @@ -113096,16 +113354,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '201': description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 '422': *15 '403': *27 @@ -113133,7 +113391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *767 + - *768 responses: '204': description: Response @@ -113162,7 +113420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *767 + - *768 - *17 - *19 responses: @@ -113200,7 +113458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *767 + - *768 - name: role description: Filters members returned by their role in the team. in: query @@ -113251,7 +113509,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *767 + - *768 - *137 responses: '204': @@ -113288,7 +113546,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *767 + - *768 - *137 responses: '204': @@ -113328,7 +113586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *767 + - *768 - *137 responses: '204': @@ -113365,16 +113623,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *767 + - *768 - *137 responses: '200': description: Response content: application/json: - schema: *437 + schema: *438 examples: - response-if-user-is-a-team-maintainer: *768 + response-if-user-is-a-team-maintainer: *769 '404': *6 x-github: githubCloudOnly: false @@ -113407,7 +113665,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: - - *767 + - *768 - *137 requestBody: required: false @@ -113433,9 +113691,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: - response-if-users-membership-with-team-is-now-pending: *769 + response-if-users-membership-with-team-is-now-pending: *770 '403': description: Forbidden if team synchronization is set up '422': @@ -113469,7 +113727,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: - - *767 + - *768 - *137 responses: '204': @@ -113497,7 +113755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *767 + - *768 - *17 - *19 responses: @@ -113539,15 +113797,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *767 - - *438 + - *768 - *439 + - *440 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *770 + schema: *771 examples: alternative-response-with-extra-repository-information: value: @@ -113698,9 +113956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *767 - - *438 + - *768 - *439 + - *440 requestBody: required: false content: @@ -113750,9 +114008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *767 - - *438 + - *768 - *439 + - *440 responses: '204': description: Response @@ -113781,15 +114039,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *767 + - *768 responses: '200': description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 '403': *27 '404': *6 x-github: @@ -113816,7 +114074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *767 + - *768 requestBody: required: true content: @@ -113877,7 +114135,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -113908,7 +114166,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *767 + - *768 - *17 - *19 responses: @@ -113920,7 +114178,7 @@ paths: type: array items: *302 examples: - response-if-child-teams-exist: *771 + response-if-child-teams-exist: *772 headers: Link: *45 '404': *6 @@ -113953,7 +114211,7 @@ paths: application/json: schema: oneOf: - - &773 + - &774 title: Private User description: Private User type: object @@ -114203,7 +114461,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *772 + - *773 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -114363,7 +114621,7 @@ paths: description: Response content: application/json: - schema: *773 + schema: *774 examples: default: value: @@ -114709,7 +114967,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -114717,7 +114975,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -114761,7 +115019,7 @@ paths: type: integer secrets: type: array - items: &774 + items: &775 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114803,7 +115061,7 @@ paths: - visibility - selected_repositories_url examples: - default: *543 + default: *544 headers: Link: *45 x-github: @@ -114881,7 +115139,7 @@ paths: description: Response content: application/json: - schema: *774 + schema: *775 examples: default: value: @@ -115027,7 +115285,7 @@ paths: type: array items: *273 examples: - default: *775 + default: *776 '401': *23 '403': *27 '404': *6 @@ -115179,7 +115437,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '304': *35 '500': *38 '401': *23 @@ -115237,7 +115495,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -115294,7 +115552,7 @@ paths: description: Response content: application/json: - schema: &776 + schema: &777 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -115347,7 +115605,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &777 + default: &778 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -115392,9 +115650,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *777 examples: - default: *777 + default: *778 '404': *6 x-github: githubCloudOnly: false @@ -115431,9 +115689,9 @@ paths: type: integer machines: type: array - items: *542 + items: *543 examples: - default: *778 + default: *779 '304': *35 '500': *38 '401': *23 @@ -115518,11 +115776,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *443 + repository: *444 machine: anyOf: - type: 'null' - - *542 + - *543 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -116327,7 +116585,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '304': *35 '500': *38 '400': *14 @@ -116367,7 +116625,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '500': *38 '401': *23 '403': *27 @@ -116399,7 +116657,7 @@ paths: type: array items: *373 examples: - default: &789 + default: &790 value: - id: 197 name: hello_docker @@ -116500,7 +116758,7 @@ paths: application/json: schema: type: array - items: &779 + items: &780 title: Email description: Email type: object @@ -116570,9 +116828,9 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: - default: &791 + default: &792 value: - email: octocat@github.com verified: true @@ -116649,7 +116907,7 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: default: value: @@ -116907,7 +117165,7 @@ paths: application/json: schema: type: array - items: &780 + items: &781 title: GPG Key description: A unique encryption key type: object @@ -117052,7 +117310,7 @@ paths: - subkeys - revoked examples: - default: &805 + default: &808 value: - id: 3 name: Octocat's GPG Key @@ -117137,9 +117395,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *781 examples: - default: &781 + default: &782 value: id: 3 name: Octocat's GPG Key @@ -117196,7 +117454,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: - - &782 + - &783 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -117208,9 +117466,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *781 examples: - default: *781 + default: *782 '404': *6 '304': *35 '403': *27 @@ -117233,7 +117491,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: - - *782 + - *783 responses: '204': description: Response @@ -117538,7 +117796,7 @@ paths: required: true content: application/json: - schema: *623 + schema: *624 examples: default: value: @@ -117688,7 +117946,7 @@ paths: application/json: schema: type: array - items: &783 + items: &784 title: Key description: Key type: object @@ -117791,9 +118049,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *784 examples: - default: &784 + default: &785 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117826,15 +118084,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: - - *652 + - *653 responses: '200': description: Response content: application/json: - schema: *783 + schema: *784 examples: - default: *784 + default: *785 '404': *6 '304': *35 '403': *27 @@ -117857,7 +118115,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: - - *652 + - *653 responses: '204': description: Response @@ -117890,7 +118148,7 @@ paths: application/json: schema: type: array - items: &785 + items: &786 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117969,7 +118227,7 @@ paths: - account - plan examples: - default: &786 + default: &787 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118031,9 +118289,9 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: - default: *786 + default: *787 headers: Link: *45 '304': *35 @@ -119051,7 +119309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *369 - - *787 + - *788 responses: '204': description: Response @@ -119166,7 +119424,7 @@ paths: - docker - nuget - container - - *788 + - *789 - *19 - *17 responses: @@ -119178,8 +119436,8 @@ paths: type: array items: *373 examples: - default: *789 - '400': *790 + default: *790 + '400': *791 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119208,7 +119466,7 @@ paths: application/json: schema: *373 examples: - default: &806 + default: &809 value: id: 40201 name: octo-name @@ -119570,9 +119828,9 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: - default: *791 + default: *792 headers: Link: *45 '304': *35 @@ -119685,7 +119943,7 @@ paths: type: array items: *76 examples: - default: &798 + default: &799 summary: Default response value: - id: 1296269 @@ -120003,9 +120261,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -120043,9 +120301,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *792 + default: *793 headers: Link: *45 '304': *35 @@ -120124,7 +120382,7 @@ paths: application/json: schema: type: array - items: &793 + items: &794 title: Social account description: Social media account type: object @@ -120141,7 +120399,7 @@ paths: - provider - url examples: - default: &794 + default: &795 value: - provider: twitter url: https://twitter.com/github @@ -120204,9 +120462,9 @@ paths: application/json: schema: type: array - items: *793 + items: *794 examples: - default: *794 + default: *795 '422': *15 '304': *35 '404': *6 @@ -120294,7 +120552,7 @@ paths: application/json: schema: type: array - items: &795 + items: &796 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -120314,7 +120572,7 @@ paths: - title - created_at examples: - default: &820 + default: &823 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120379,9 +120637,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *796 examples: - default: &796 + default: &797 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120411,7 +120669,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: - - &797 + - &798 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -120423,9 +120681,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *796 examples: - default: *796 + default: *797 '404': *6 '304': *35 '403': *27 @@ -120448,7 +120706,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: - - *797 + - *798 responses: '204': description: Response @@ -120477,7 +120735,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: - - &821 + - &824 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 @@ -120502,11 +120760,11 @@ paths: type: array items: *76 examples: - default-response: *798 + default-response: *799 application/vnd.github.v3.star+json: schema: type: array - items: &822 + items: &825 title: Starred Repository description: Starred Repository type: object @@ -120662,8 +120920,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: - - *438 - *439 + - *440 responses: '204': description: Response if this repository is starred by you @@ -120691,8 +120949,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -120716,8 +120974,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: - - *438 - *439 + - *440 responses: '204': description: Response @@ -120789,7 +121047,7 @@ paths: application/json: schema: type: array - items: *431 + items: *432 examples: default: value: @@ -120875,10 +121133,10 @@ paths: application/json: schema: oneOf: + - *774 - *773 - - *772 examples: - default-response: &800 + default-response: &803 summary: Default response value: login: octocat @@ -120913,7 +121171,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &801 + response-with-git-hub-plan-information: &804 summary: Response with GitHub plan information value: login: octocat @@ -120970,7 +121228,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 + - &801 + name: user_id description: The unique identifier of the user. in: path required: true @@ -121035,7 +121294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *799 + - *800 - *17 responses: '200': @@ -121058,6 +121317,119 @@ 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: + - *801 + - *391 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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: *802 + examples: + table_view: + summary: Response for creating a table view + value: *401 + board_view: + summary: Response for creating a board view with filter + value: *401 + roadmap_view: + summary: Response for creating a roadmap view + value: *401 + '304': *35 + '403': *27 + '401': *23 + '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 @@ -121084,11 +121456,11 @@ paths: application/json: schema: oneOf: + - *774 - *773 - - *772 examples: - default-response: *800 - response-with-git-hub-plan-information: *801 + default-response: *803 + response-with-git-hub-plan-information: *804 '404': *6 x-github: githubCloudOnly: false @@ -121138,8 +121510,8 @@ paths: required: - subject_digests examples: - default: *802 - withPredicateType: *803 + default: *805 + withPredicateType: *806 responses: '200': description: Response @@ -121193,7 +121565,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *804 + default: *807 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -121398,7 +121770,7 @@ paths: initiator: type: string examples: - default: *485 + default: *486 '201': description: Response content: @@ -121439,7 +121811,7 @@ paths: type: array items: *373 examples: - default: *789 + default: *790 '403': *27 '401': *23 x-github: @@ -121823,9 +122195,9 @@ paths: application/json: schema: type: array - items: *780 + items: *781 examples: - default: *805 + default: *808 headers: Link: *45 x-github: @@ -121929,7 +122301,7 @@ paths: application/json: schema: *20 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122054,7 +122426,7 @@ paths: - docker - nuget - container - - *788 + - *789 - *137 - *19 - *17 @@ -122067,10 +122439,10 @@ paths: type: array items: *373 examples: - default: *789 + default: *790 '403': *27 '401': *23 - '400': *790 + '400': *791 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122100,7 +122472,7 @@ paths: application/json: schema: *373 examples: - default: *806 + default: *809 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122449,7 +122821,7 @@ paths: type: array items: *394 examples: - default: *807 + default: *810 headers: Link: *45 '304': *35 @@ -122509,7 +122881,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *808 + items: *811 required: - name - data_type @@ -122525,7 +122897,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *809 + iteration_configuration: *812 required: - name - data_type @@ -122547,8 +122919,8 @@ paths: value: name: Due date data_type: date - single_select_field: *810 - iteration_field: *811 + single_select_field: *813 + iteration_field: *814 responses: '201': description: Response @@ -122556,11 +122928,11 @@ paths: application/json: schema: *394 examples: - text_field: *812 - number_field: *813 - date_field: *814 - single_select_field: *815 - iteration_field: *816 + text_field: *815 + number_field: *816 + date_field: *817 + single_select_field: *818 + iteration_field: *819 '304': *35 '403': *27 '401': *23 @@ -122582,7 +122954,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *391 - - *817 + - *820 - *137 responses: '200': @@ -122591,7 +122963,7 @@ paths: application/json: schema: *394 examples: - default: *818 + default: *821 headers: Link: *45 '304': *35 @@ -122948,7 +123320,7 @@ paths: parameters: - *391 - *137 - - *819 + - *822 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -123227,9 +123599,9 @@ paths: application/json: schema: type: array - items: *793 + items: *794 examples: - default: *794 + default: *795 headers: Link: *45 x-github: @@ -123259,9 +123631,9 @@ paths: application/json: schema: type: array - items: *795 + items: *796 examples: - default: *820 + default: *823 headers: Link: *45 x-github: @@ -123286,7 +123658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *137 - - *821 + - *824 - *108 - *17 - *19 @@ -123298,11 +123670,11 @@ paths: schema: anyOf: - type: array - items: *822 + items: *825 - type: array items: *76 examples: - default-response: *798 + default-response: *799 headers: Link: *45 x-github: @@ -123462,7 +123834,7 @@ webhooks: type: string enum: - disabled - enterprise: &823 + enterprise: &826 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -123531,7 +123903,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &824 + installation: &827 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -123552,7 +123924,7 @@ webhooks: required: - id - node_id - organization: &825 + organization: &828 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -123625,7 +123997,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &826 + repository: &829 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -124538,10 +124910,10 @@ webhooks: type: string enum: - enabled - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -124617,11 +124989,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - rule: &827 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: &830 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) @@ -124844,11 +125216,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - rule: *827 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: *830 sender: *4 required: - action @@ -125036,11 +125408,11 @@ webhooks: - everyone required: - from - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - rule: *827 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: *830 sender: *4 required: - action @@ -125113,7 +125485,7 @@ webhooks: required: true content: application/json: - schema: &847 + schema: &850 title: Exemption request cancellation event type: object properties: @@ -125121,11 +125493,11 @@ webhooks: type: string enum: - cancelled - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: &828 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: &831 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -125399,7 +125771,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &829 + items: &832 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -125511,7 +125883,7 @@ webhooks: required: true content: application/json: - schema: &848 + schema: &851 title: Exemption request completed event type: object properties: @@ -125519,11 +125891,11 @@ webhooks: type: string enum: - completed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: *828 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 sender: *4 required: - action @@ -125595,7 +125967,7 @@ webhooks: required: true content: application/json: - schema: &845 + schema: &848 title: Exemption request created event type: object properties: @@ -125603,11 +125975,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: *828 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 sender: *4 required: - action @@ -125679,7 +126051,7 @@ webhooks: required: true content: application/json: - schema: &849 + schema: &852 title: Exemption response dismissed event type: object properties: @@ -125687,12 +126059,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: *828 - exemption_response: *829 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 + exemption_response: *832 sender: *4 required: - action @@ -125766,7 +126138,7 @@ webhooks: required: true content: application/json: - schema: &846 + schema: &849 title: Exemption response submitted event type: object properties: @@ -125774,12 +126146,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - exemption_request: *828 - exemption_response: *829 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 + exemption_response: *832 sender: *4 required: - action @@ -125863,7 +126235,7 @@ webhooks: type: string enum: - completed - check_run: &831 + check_run: &834 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125973,7 +126345,7 @@ webhooks: - examples: - neutral - deployment: *830 + deployment: *833 details_url: type: string examples: @@ -126071,10 +126443,10 @@ webhooks: - output - app - pull_requests - installation: *824 - enterprise: *823 - organization: *825 - repository: *826 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -126467,11 +126839,11 @@ webhooks: type: string enum: - created - check_run: *831 - installation: *824 - enterprise: *823 - organization: *825 - repository: *826 + check_run: *834 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -126867,11 +127239,11 @@ webhooks: type: string enum: - requested_action - check_run: *831 - installation: *824 - enterprise: *823 - organization: *825 - repository: *826 + check_run: *834 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 requested_action: description: The action requested by the user. type: object @@ -127276,11 +127648,11 @@ webhooks: type: string enum: - rerequested - check_run: *831 - installation: *824 - enterprise: *823 - organization: *825 - repository: *826 + check_run: *834 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -128272,10 +128644,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -128984,10 +129356,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -129690,10 +130062,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -129862,7 +130234,7 @@ webhooks: required: - login - id - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130014,20 +130386,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &832 + commit_oid: &835 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: *823 - installation: *824 - organization: *825 - ref: &833 + enterprise: *826 + installation: *827 + organization: *828 + ref: &836 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: *826 + repository: *829 sender: *4 required: - action @@ -130194,7 +130566,7 @@ webhooks: required: - login - id - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130435,12 +130807,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *832 - enterprise: *823 - installation: *824 - organization: *825 - ref: *833 - repository: *826 + commit_oid: *835 + enterprise: *826 + installation: *827 + organization: *828 + ref: *836 + repository: *829 sender: *4 required: - action @@ -130538,7 +130910,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130723,12 +131095,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *832 - enterprise: *823 - installation: *824 - organization: *825 - ref: *833 - repository: *826 + commit_oid: *835 + enterprise: *826 + installation: *827 + organization: *828 + ref: *836 + repository: *829 sender: *4 required: - action @@ -130897,7 +131269,7 @@ webhooks: required: - login - id - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131074,12 +131446,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *832 - enterprise: *823 - installation: *824 - organization: *825 - ref: *833 - repository: *826 + commit_oid: *835 + enterprise: *826 + installation: *827 + organization: *828 + ref: *836 + repository: *829 sender: *4 required: - action @@ -131180,7 +131552,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131369,9 +131741,9 @@ webhooks: type: - string - 'null' - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -131379,7 +131751,7 @@ webhooks: type: - string - 'null' - repository: *826 + repository: *829 sender: *4 required: - action @@ -131478,7 +131850,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -131625,12 +131997,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *832 - enterprise: *823 - installation: *824 - organization: *825 - ref: *833 - repository: *826 + commit_oid: *835 + enterprise: *826 + installation: *827 + organization: *828 + ref: *836 + repository: *829 sender: *4 required: - action @@ -131799,7 +132171,7 @@ webhooks: required: - login - id - dismissed_comment: *513 + dismissed_comment: *514 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131951,10 +132323,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -132214,10 +132586,10 @@ webhooks: - updated_at - author_association - body - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -132298,18 +132670,18 @@ webhooks: type: - string - 'null' - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *825 - pusher_type: &834 + organization: *828 + pusher_type: &837 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &835 + ref: &838 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -132319,7 +132691,7 @@ webhooks: enum: - tag - branch - repository: *826 + repository: *829 sender: *4 required: - ref @@ -132402,9 +132774,9 @@ webhooks: enum: - created definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132489,9 +132861,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132569,9 +132941,9 @@ webhooks: enum: - promote_to_enterprise definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132649,9 +133021,9 @@ webhooks: enum: - updated definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132728,10 +133100,10 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - repository: *826 - organization: *825 + enterprise: *826 + installation: *827 + repository: *829 + organization: *828 sender: *4 new_property_values: type: array @@ -132816,18 +133188,18 @@ webhooks: title: delete event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 - pusher_type: *834 - ref: *835 + enterprise: *826 + installation: *827 + organization: *828 + pusher_type: *837 + ref: *838 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *826 + repository: *829 sender: *4 required: - ref @@ -132911,11 +133283,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132999,11 +133371,11 @@ webhooks: type: string enum: - auto_reopened - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133087,11 +133459,11 @@ webhooks: type: string enum: - created - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133173,11 +133545,11 @@ webhooks: type: string enum: - dismissed - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133259,11 +133631,11 @@ webhooks: type: string enum: - fixed - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133346,11 +133718,11 @@ webhooks: type: string enum: - reintroduced - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133432,11 +133804,11 @@ webhooks: type: string enum: - reopened - alert: *571 - installation: *824 - organization: *825 - enterprise: *823 - repository: *826 + alert: *572 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -133513,9 +133885,9 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - key: &836 + enterprise: *826 + installation: *827 + key: &839 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -133553,8 +133925,8 @@ webhooks: - verified - created_at - read_only - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -133631,11 +134003,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - key: *836 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + key: *839 + organization: *828 + repository: *829 sender: *4 required: - action @@ -134207,12 +134579,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: &840 + workflow: &843 title: Workflow type: - object @@ -134950,13 +135322,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *577 + deployment: *578 pull_requests: type: array - items: *672 - repository: *826 - organization: *825 - installation: *824 + items: *673 + repository: *829 + organization: *828 + installation: *827 sender: *4 responses: '200': @@ -135027,7 +135399,7 @@ webhooks: type: string enum: - approved - approver: &837 + approver: &840 type: object properties: avatar_url: @@ -135070,11 +135442,11 @@ webhooks: type: string comment: type: string - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - reviewers: &838 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + reviewers: &841 type: array items: type: object @@ -135155,7 +135527,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &839 + workflow_job_run: &842 type: object properties: conclusion: @@ -135901,18 +136273,18 @@ webhooks: type: string enum: - rejected - approver: *837 + approver: *840 comment: type: string - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - reviewers: *838 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + reviewers: *841 sender: *4 since: type: string - workflow_job_run: *839 + workflow_job_run: *842 workflow_job_runs: type: array items: @@ -136629,13 +137001,13 @@ webhooks: type: string enum: - requested - enterprise: *823 + enterprise: *826 environment: type: string - installation: *824 - organization: *825 - repository: *826 - requestor: &850 + installation: *827 + organization: *828 + repository: *829 + requestor: &853 title: User type: - object @@ -138578,12 +138950,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *840 + workflow: *843 workflow_run: title: Deployment Workflow Run type: @@ -139274,7 +139646,7 @@ webhooks: type: string enum: - answered - answer: &843 + answer: &846 type: object properties: author_association: @@ -139434,11 +139806,11 @@ webhooks: - created_at - updated_at - body - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139565,11 +139937,11 @@ webhooks: - from required: - category - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139652,11 +140024,11 @@ webhooks: type: string enum: - closed - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139738,7 +140110,7 @@ webhooks: type: string enum: - created - comment: &842 + comment: &845 type: object properties: author_association: @@ -139898,11 +140270,11 @@ webhooks: - updated_at - body - reactions - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139985,12 +140357,12 @@ webhooks: type: string enum: - deleted - comment: *842 - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + comment: *845 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140085,12 +140457,12 @@ webhooks: - from required: - body - comment: *842 - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + comment: *845 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140174,11 +140546,11 @@ webhooks: type: string enum: - created - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140260,11 +140632,11 @@ webhooks: type: string enum: - deleted - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140364,11 +140736,11 @@ webhooks: type: string required: - from - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140450,10 +140822,10 @@ webhooks: type: string enum: - labeled - discussion: *841 - enterprise: *823 - installation: *824 - label: &844 + discussion: *844 + enterprise: *826 + installation: *827 + label: &847 title: Label type: object properties: @@ -140486,8 +140858,8 @@ webhooks: - color - default - description - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140570,11 +140942,11 @@ webhooks: type: string enum: - locked - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140656,11 +141028,11 @@ webhooks: type: string enum: - pinned - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140742,11 +141114,11 @@ webhooks: type: string enum: - reopened - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140831,16 +141203,16 @@ webhooks: changes: type: object properties: - new_discussion: *841 - new_repository: *826 + new_discussion: *844 + new_repository: *829 required: - new_discussion - new_repository - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140923,10 +141295,10 @@ webhooks: type: string enum: - unanswered - discussion: *841 - old_answer: *843 - organization: *825 - repository: *826 + discussion: *844 + old_answer: *846 + organization: *828 + repository: *829 sender: *4 required: - action @@ -141008,12 +141380,12 @@ webhooks: type: string enum: - unlabeled - discussion: *841 - enterprise: *823 - installation: *824 - label: *844 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -141096,11 +141468,11 @@ webhooks: type: string enum: - unlocked - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -141182,11 +141554,11 @@ webhooks: type: string enum: - unpinned - discussion: *841 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + discussion: *844 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -141255,7 +141627,7 @@ webhooks: required: true content: application/json: - schema: *845 + schema: *848 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141318,7 +141690,7 @@ webhooks: required: true content: application/json: - schema: *846 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141381,7 +141753,7 @@ webhooks: required: true content: application/json: - schema: *847 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141444,7 +141816,7 @@ webhooks: required: true content: application/json: - schema: *845 + schema: *848 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141507,7 +141879,7 @@ webhooks: required: true content: application/json: - schema: *846 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141573,7 +141945,7 @@ webhooks: required: true content: application/json: - schema: *847 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141639,7 +142011,7 @@ webhooks: required: true content: application/json: - schema: *848 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141705,7 +142077,7 @@ webhooks: required: true content: application/json: - schema: *845 + schema: *848 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141771,7 +142143,7 @@ webhooks: required: true content: application/json: - schema: *849 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141837,7 +142209,7 @@ webhooks: required: true content: application/json: - schema: *846 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141902,7 +142274,7 @@ webhooks: required: true content: application/json: - schema: *847 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -141967,7 +142339,7 @@ webhooks: required: true content: application/json: - schema: *848 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142032,7 +142404,7 @@ webhooks: required: true content: application/json: - schema: *845 + schema: *848 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142097,7 +142469,7 @@ webhooks: required: true content: application/json: - schema: *849 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142163,7 +142535,7 @@ webhooks: required: true content: application/json: - schema: *846 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142230,7 +142602,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *823 + enterprise: *826 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -142908,9 +143280,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - forkee @@ -143056,9 +143428,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pages: description: The pages that were updated. type: array @@ -143096,7 +143468,7 @@ webhooks: - action - sha - html_url - repository: *826 + repository: *829 sender: *4 required: - pages @@ -143172,10 +143544,10 @@ webhooks: type: string enum: - created - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: &851 + organization: *828 + repositories: &854 description: An array of repository objects that the installation can access. type: array @@ -143201,8 +143573,8 @@ webhooks: - name - full_name - private - repository: *826 - requester: *850 + repository: *829 + requester: *853 sender: *4 required: - action @@ -143277,11 +143649,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: *851 - repository: *826 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -143358,11 +143730,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: *851 - repository: *826 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -143439,10 +143811,10 @@ webhooks: type: string enum: - added - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories_added: &852 + organization: *828 + repositories_added: &855 description: An array of repository objects, which were added to the installation. type: array @@ -143488,15 +143860,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *826 - repository_selection: &853 + repository: *829 + repository_selection: &856 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *850 + requester: *853 sender: *4 required: - action @@ -143575,10 +143947,10 @@ webhooks: type: string enum: - removed - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories_added: *852 + organization: *828 + repositories_added: *855 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -143605,9 +143977,9 @@ webhooks: - name - full_name - private - repository: *826 - repository_selection: *853 - requester: *850 + repository: *829 + repository_selection: *856 + requester: *853 sender: *4 required: - action @@ -143686,11 +144058,11 @@ webhooks: type: string enum: - suspend - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: *851 - repository: *826 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -143873,10 +144245,10 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 target_type: type: string @@ -143955,11 +144327,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *823 + enterprise: *826 installation: *20 - organization: *825 - repositories: *851 - repository: *826 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -144207,8 +144579,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145025,8 +145397,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145387,8 +145759,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -145468,7 +145840,7 @@ webhooks: type: string enum: - deleted - comment: &854 + comment: &857 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -145635,8 +146007,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146449,8 +146821,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146813,8 +147185,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -146894,7 +147266,7 @@ webhooks: type: string enum: - edited - changes: &878 + changes: &881 description: The changes to the comment. type: object properties: @@ -146906,9 +147278,9 @@ webhooks: type: string required: - from - comment: *854 - enterprise: *823 - installation: *824 + comment: *857 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147724,8 +148096,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148086,8 +148458,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148177,9 +148549,9 @@ webhooks: type: number blocking_issue: *213 blocking_issue_repo: *76 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148268,9 +148640,9 @@ webhooks: type: number blocking_issue: *213 blocking_issue_repo: *76 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148358,9 +148730,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148449,9 +148821,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148531,10 +148903,10 @@ webhooks: type: string enum: - assigned - assignee: *850 - enterprise: *823 - installation: *824 - issue: &857 + assignee: *853 + enterprise: *826 + installation: *827 + issue: &860 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149346,11 +149718,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149470,8 +149842,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -149551,8 +149923,8 @@ webhooks: type: string enum: - closed - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150369,11 +150741,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150636,8 +151008,8 @@ webhooks: required: - state - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -150716,8 +151088,8 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151525,11 +151897,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151648,8 +152020,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -151728,8 +152100,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152560,11 +152932,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152662,7 +153034,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &855 + milestone: &858 title: Milestone description: A collection of related issues and pull requests. type: object @@ -152805,8 +153177,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -152905,8 +153277,8 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153718,11 +154090,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153842,9 +154214,9 @@ webhooks: - active_lock_reason - body - reactions - label: *844 - organization: *825 - repository: *826 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -153924,8 +154296,8 @@ webhooks: type: string enum: - labeled - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154736,11 +155108,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154860,9 +155232,9 @@ webhooks: - active_lock_reason - body - reactions - label: *844 - organization: *825 - repository: *826 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -154942,8 +155314,8 @@ webhooks: type: string enum: - locked - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155779,11 +156151,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155880,8 +156252,8 @@ webhooks: format: uri user_view_type: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -155960,8 +156332,8 @@ webhooks: type: string enum: - milestoned - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156791,11 +157163,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156892,9 +157264,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *855 - organization: *825 - repository: *826 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -157786,11 +158158,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158367,8 +158739,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159180,11 +159552,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159303,8 +159675,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -159384,9 +159756,9 @@ webhooks: type: string enum: - pinned - enterprise: *823 - installation: *824 - issue: &856 + enterprise: *826 + installation: *827 + issue: &859 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -160192,11 +160564,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160315,8 +160687,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -160395,8 +160767,8 @@ webhooks: type: string enum: - reopened - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161230,11 +161602,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161332,8 +161704,8 @@ webhooks: user_view_type: type: string type: *358 - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162222,11 +162594,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162825,11 +163197,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *823 - installation: *824 - issue: *856 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + issue: *859 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162909,12 +163281,12 @@ webhooks: type: string enum: - typed - enterprise: *823 - installation: *824 - issue: *857 + enterprise: *826 + installation: *827 + issue: *860 type: *358 - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162995,7 +163367,7 @@ webhooks: type: string enum: - unassigned - assignee: &881 + assignee: &884 title: User type: - object @@ -163067,11 +163439,11 @@ webhooks: required: - login - id - enterprise: *823 - installation: *824 - issue: *857 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + issue: *860 + organization: *828 + repository: *829 sender: *4 required: - action @@ -163150,12 +163522,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *823 - installation: *824 - issue: *857 - label: *844 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + issue: *860 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -163235,8 +163607,8 @@ webhooks: type: string enum: - unlocked - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -164070,11 +164442,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *764 - issue_dependencies_summary: *765 + sub_issues_summary: *765 + issue_dependencies_summary: *766 issue_field_values: type: array - items: *766 + items: *767 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164171,8 +164543,8 @@ webhooks: format: uri user_view_type: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164252,11 +164624,11 @@ webhooks: type: string enum: - unpinned - enterprise: *823 - installation: *824 - issue: *856 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + issue: *859 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164335,12 +164707,12 @@ webhooks: type: string enum: - untyped - enterprise: *823 - installation: *824 - issue: *857 + enterprise: *826 + installation: *827 + issue: *860 type: *358 - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164420,11 +164792,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - label: *844 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164502,11 +164874,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - label: *844 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164616,11 +164988,11 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - label: *844 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + label: *847 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164702,9 +165074,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *823 - installation: *824 - marketplace_purchase: &858 + enterprise: *826 + installation: *827 + marketplace_purchase: &861 title: Marketplace Purchase type: object required: @@ -164792,8 +165164,8 @@ webhooks: type: integer unit_count: type: integer - organization: *825 - previous_marketplace_purchase: &859 + organization: *828 + previous_marketplace_purchase: &862 title: Marketplace Purchase type: object properties: @@ -164877,7 +165249,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -164957,10 +165329,10 @@ webhooks: - changed effective_date: type: string - enterprise: *823 - installation: *824 - marketplace_purchase: *858 - organization: *825 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165048,7 +165420,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -165130,10 +165502,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *823 - installation: *824 - marketplace_purchase: *858 - organization: *825 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -165219,7 +165591,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -165300,8 +165672,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 marketplace_purchase: title: Marketplace Purchase type: object @@ -165387,9 +165759,9 @@ webhooks: type: integer unit_count: type: integer - organization: *825 - previous_marketplace_purchase: *859 - repository: *826 + organization: *828 + previous_marketplace_purchase: *862 + repository: *829 sender: *4 required: - action @@ -165469,12 +165841,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *823 - installation: *824 - marketplace_purchase: *858 - organization: *825 - previous_marketplace_purchase: *859 - repository: *826 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 + previous_marketplace_purchase: *862 + repository: *829 sender: *4 required: - action @@ -165576,11 +165948,11 @@ webhooks: type: string required: - to - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165682,11 +166054,11 @@ webhooks: type: - string - 'null' - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165765,11 +166137,11 @@ webhooks: type: string enum: - removed - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165847,11 +166219,11 @@ webhooks: type: string enum: - added - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 scope: description: The scope of the membership. Currently, can only be `team`. @@ -165929,7 +166301,7 @@ webhooks: required: - login - id - team: &860 + team: &863 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166159,11 +166531,11 @@ webhooks: type: string enum: - removed - enterprise: *823 - installation: *824 - member: *850 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 scope: description: The scope of the membership. Currently, can only be `team`. @@ -166242,7 +166614,7 @@ webhooks: required: - login - id - team: *860 + team: *863 required: - action - scope @@ -166324,8 +166696,8 @@ webhooks: type: string enum: - checks_requested - installation: *824 - merge_group: &861 + installation: *827 + merge_group: &864 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -166344,15 +166716,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *505 + head_commit: *506 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166438,10 +166810,10 @@ webhooks: - merged - invalidated - dequeued - installation: *824 - merge_group: *861 - organization: *825 - repository: *826 + installation: *827 + merge_group: *864 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166514,7 +166886,7 @@ webhooks: type: string enum: - deleted - enterprise: *823 + enterprise: *826 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -166623,12 +166995,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *824 - organization: *825 + installation: *827 + organization: *828 repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -166708,11 +167080,11 @@ webhooks: type: string enum: - closed - enterprise: *823 - installation: *824 - milestone: *855 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166791,9 +167163,9 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - milestone: &862 + enterprise: *826 + installation: *827 + milestone: &865 title: Milestone description: A collection of related issues and pull requests. type: object @@ -166935,8 +167307,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167015,11 +167387,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - milestone: *855 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167129,11 +167501,11 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - milestone: *855 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167213,11 +167585,11 @@ webhooks: type: string enum: - opened - enterprise: *823 - installation: *824 - milestone: *862 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + milestone: *865 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167296,11 +167668,11 @@ webhooks: type: string enum: - blocked - blocked_user: *850 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + blocked_user: *853 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167379,11 +167751,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *850 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + blocked_user: *853 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167459,7 +167831,7 @@ webhooks: enum: - created definition: *145 - enterprise: *823 + enterprise: *826 sender: *4 required: - action @@ -167539,8 +167911,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 sender: *4 required: - action @@ -167613,8 +167985,8 @@ webhooks: enum: - updated definition: *145 - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 sender: *4 required: - action @@ -167686,9 +168058,9 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 new_property_values: type: array @@ -167776,9 +168148,9 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - membership: &863 + enterprise: *826 + installation: *827 + membership: &866 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -167888,8 +168260,8 @@ webhooks: - role - organization_url - user - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167967,11 +168339,11 @@ webhooks: type: string enum: - member_added - enterprise: *823 - installation: *824 - membership: *863 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -168050,8 +168422,8 @@ webhooks: type: string enum: - member_invited - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -168173,10 +168545,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 - user: *850 + user: *853 required: - action - invitation @@ -168254,11 +168626,11 @@ webhooks: type: string enum: - member_removed - enterprise: *823 - installation: *824 - membership: *863 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -168345,11 +168717,11 @@ webhooks: properties: from: type: string - enterprise: *823 - installation: *824 - membership: *863 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -168425,9 +168797,9 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 package: description: Information about the package. type: object @@ -168950,7 +169322,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &864 + items: &867 title: Ruby Gems metadata type: object properties: @@ -169047,7 +169419,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -169123,9 +169495,9 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 package: description: Information about the package. type: object @@ -169487,7 +169859,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *864 + items: *867 source_url: type: string format: uri @@ -169558,7 +169930,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -169739,12 +170111,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *823 + enterprise: *826 id: type: integer - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - id @@ -169821,7 +170193,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &865 + personal_access_token_request: &868 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -169971,10 +170343,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *823 - organization: *825 + enterprise: *826 + organization: *828 sender: *4 - installation: *824 + installation: *827 required: - action - personal_access_token_request @@ -170051,11 +170423,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *865 - enterprise: *823 - organization: *825 + personal_access_token_request: *868 + enterprise: *826 + organization: *828 sender: *4 - installation: *824 + installation: *827 required: - action - personal_access_token_request @@ -170131,11 +170503,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *865 - enterprise: *823 - organization: *825 + personal_access_token_request: *868 + enterprise: *826 + organization: *828 sender: *4 - installation: *824 + installation: *827 required: - action - personal_access_token_request @@ -170210,11 +170582,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *865 - organization: *825 - enterprise: *823 + personal_access_token_request: *868 + organization: *828 + enterprise: *826 sender: *4 - installation: *824 + installation: *827 required: - action - personal_access_token_request @@ -170319,7 +170691,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *866 + last_response: *869 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -170351,8 +170723,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 zen: description: Random string of GitHub zen. @@ -170597,10 +170969,10 @@ webhooks: - from required: - note - enterprise: *823 - installation: *824 - organization: *825 - project_card: &867 + enterprise: *826 + installation: *827 + organization: *828 + project_card: &870 title: Project Card type: object properties: @@ -170723,7 +171095,7 @@ webhooks: - creator - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -170804,11 +171176,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - project_card: *867 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project_card: *870 + repository: *829 sender: *4 required: - action @@ -170888,9 +171260,9 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 project_card: title: Project Card type: object @@ -171020,7 +171392,7 @@ webhooks: repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -171114,11 +171486,11 @@ webhooks: - from required: - note - enterprise: *823 - installation: *824 - organization: *825 - project_card: *867 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project_card: *870 + repository: *829 sender: *4 required: - action @@ -171212,9 +171584,9 @@ webhooks: - from required: - column_id - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 project_card: allOf: - title: Project Card @@ -171411,7 +171783,7 @@ webhooks: type: string required: - after_id - repository: *826 + repository: *829 sender: *4 required: - action @@ -171491,10 +171863,10 @@ webhooks: type: string enum: - closed - enterprise: *823 - installation: *824 - organization: *825 - project: &869 + enterprise: *826 + installation: *827 + organization: *828 + project: &872 title: Project type: object properties: @@ -171621,7 +171993,7 @@ webhooks: - creator - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -171701,10 +172073,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - project_column: &868 + enterprise: *826 + installation: *827 + organization: *828 + project_column: &871 title: Project Column type: object properties: @@ -171744,7 +172116,7 @@ webhooks: - name - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -171823,14 +172195,14 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - project_column: *868 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -171919,11 +172291,11 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 - project_column: *868 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 + repository: *829 sender: *4 required: - action @@ -172003,11 +172375,11 @@ webhooks: type: string enum: - moved - enterprise: *823 - installation: *824 - organization: *825 - project_column: *868 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 + repository: *829 sender: *4 required: - action @@ -172087,11 +172459,11 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - project: *869 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -172171,14 +172543,14 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - project: *869 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -172279,11 +172651,11 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 - project: *869 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -172362,11 +172734,11 @@ webhooks: type: string enum: - reopened - enterprise: *823 - installation: *824 - organization: *825 - project: *869 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -172447,8 +172819,8 @@ webhooks: type: string enum: - closed - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172530,8 +172902,8 @@ webhooks: type: string enum: - created - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172613,8 +172985,8 @@ webhooks: type: string enum: - deleted - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172736,8 +173108,8 @@ webhooks: type: string to: type: string - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172821,7 +173193,7 @@ webhooks: type: string enum: - archived - changes: &873 + changes: &876 type: object properties: archived_at: @@ -172837,9 +173209,9 @@ webhooks: - string - 'null' format: date-time - installation: *824 - organization: *825 - projects_v2_item: &870 + installation: *827 + organization: *828 + projects_v2_item: &873 title: Projects v2 Item description: An item belonging to a project type: object @@ -172979,9 +173351,9 @@ webhooks: - 'null' to: type: string - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173063,9 +173435,9 @@ webhooks: type: string enum: - created - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173146,9 +173518,9 @@ webhooks: type: string enum: - deleted - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173253,7 +173625,7 @@ webhooks: oneOf: - type: string - type: integer - - &871 + - &874 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -173277,7 +173649,7 @@ webhooks: required: - id - name - - &872 + - &875 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173317,8 +173689,8 @@ webhooks: oneOf: - type: string - type: integer - - *871 - - *872 + - *874 + - *875 type: - 'null' - string @@ -173341,9 +173713,9 @@ webhooks: - 'null' required: - body - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173440,9 +173812,9 @@ webhooks: type: - string - 'null' - installation: *824 - organization: *825 - projects_v2_item: *870 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173525,10 +173897,10 @@ webhooks: type: string enum: - restored - changes: *873 - installation: *824 - organization: *825 - projects_v2_item: *870 + changes: *876 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -173610,8 +173982,8 @@ webhooks: type: string enum: - reopened - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -173693,9 +174065,9 @@ webhooks: type: string enum: - created - installation: *824 - organization: *825 - projects_v2_status_update: *874 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -173776,9 +174148,9 @@ webhooks: type: string enum: - deleted - installation: *824 - organization: *825 - projects_v2_status_update: *874 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -173924,9 +174296,9 @@ webhooks: - string - 'null' format: date - installation: *824 - organization: *825 - projects_v2_status_update: *874 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -173997,10 +174369,10 @@ webhooks: title: public event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - repository @@ -174077,13 +174449,13 @@ webhooks: type: string enum: - assigned - assignee: *850 - enterprise: *823 - installation: *824 - number: &875 + assignee: *853 + enterprise: *826 + installation: *827 + number: &878 description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -176432,7 +176804,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -176514,11 +176886,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -178860,7 +179232,7 @@ webhooks: - draft reason: type: string - repository: *826 + repository: *829 sender: *4 required: - action @@ -178942,11 +179314,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -181288,7 +181660,7 @@ webhooks: - draft reason: type: string - repository: *826 + repository: *829 sender: *4 required: - action @@ -181370,13 +181742,13 @@ webhooks: type: string enum: - closed - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: &876 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: &879 allOf: - - *672 + - *673 - type: object properties: allow_auto_merge: @@ -181438,7 +181810,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *826 + repository: *829 sender: *4 required: - action @@ -181519,12 +181891,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -181604,11 +181976,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *823 + enterprise: *826 milestone: *392 - number: *875 - organization: *825 - pull_request: &877 + number: *878 + organization: *828 + pull_request: &880 title: Pull Request type: object properties: @@ -183935,7 +184307,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -184014,11 +184386,11 @@ webhooks: type: string enum: - dequeued - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -186364,7 +186736,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *826 + repository: *829 sender: *4 required: - action @@ -186488,12 +186860,12 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -186573,11 +186945,11 @@ webhooks: type: string enum: - enqueued - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -188908,7 +189280,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -188988,11 +189360,11 @@ webhooks: type: string enum: - labeled - enterprise: *823 - installation: *824 - label: *844 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + label: *847 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -191340,7 +191712,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -191421,10 +191793,10 @@ webhooks: type: string enum: - locked - enterprise: *823 - installation: *824 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -193770,7 +194142,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -193850,12 +194222,12 @@ webhooks: type: string enum: - milestoned - enterprise: *823 + enterprise: *826 milestone: *392 - number: *875 - organization: *825 - pull_request: *877 - repository: *826 + number: *878 + organization: *828 + pull_request: *880 + repository: *829 sender: *4 required: - action @@ -193934,12 +194306,12 @@ webhooks: type: string enum: - opened - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -194020,12 +194392,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -194105,12 +194477,12 @@ webhooks: type: string enum: - reopened - enterprise: *823 - installation: *824 - number: *875 - organization: *825 - pull_request: *876 - repository: *826 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -194485,9 +194857,9 @@ webhooks: - start_side - side - reactions - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -196717,7 +197089,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -196797,7 +197169,7 @@ webhooks: type: string enum: - deleted - comment: &879 + comment: &882 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. @@ -197090,9 +197462,9 @@ webhooks: - start_side - side - reactions - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -199310,7 +199682,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -199390,11 +199762,11 @@ webhooks: type: string enum: - edited - changes: *878 - comment: *879 - enterprise: *823 - installation: *824 - organization: *825 + changes: *881 + comment: *882 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -201615,7 +201987,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -201696,9 +202068,9 @@ webhooks: type: string enum: - dismissed - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -203931,7 +204303,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 review: description: The review that was affected. type: object @@ -204182,9 +204554,9 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -206298,8 +206670,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 - review: &880 + repository: *829 + review: &883 description: The review that was affected. type: object properties: @@ -206537,12 +206909,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -208889,7 +209261,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_reviewer: title: User type: @@ -208975,12 +209347,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -211334,7 +211706,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211529,12 +211901,12 @@ webhooks: type: string enum: - review_requested - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -213883,7 +214255,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_reviewer: title: User type: @@ -213970,12 +214342,12 @@ webhooks: type: string enum: - review_requested - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *825 + organization: *828 pull_request: title: Pull Request type: object @@ -216315,7 +216687,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_team: title: Team description: Groups of organization members that gives permissions @@ -216499,9 +216871,9 @@ webhooks: type: string enum: - submitted - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -218737,8 +219109,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 - review: *880 + repository: *829 + review: *883 sender: *4 required: - action @@ -218818,9 +219190,9 @@ webhooks: type: string enum: - resolved - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -220951,7 +221323,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 sender: *4 thread: type: object @@ -221348,9 +221720,9 @@ webhooks: type: string enum: - unresolved - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -223464,7 +223836,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 sender: *4 thread: type: object @@ -223863,10 +224235,10 @@ webhooks: type: string before: type: string - enterprise: *823 - installation: *824 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -226201,7 +226573,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -226283,11 +226655,11 @@ webhooks: type: string enum: - unassigned - assignee: *881 - enterprise: *823 - installation: *824 - number: *875 - organization: *825 + assignee: *884 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -228637,7 +229009,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -228716,11 +229088,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *823 - installation: *824 - label: *844 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + label: *847 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -231059,7 +231431,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -231140,10 +231512,10 @@ webhooks: type: string enum: - unlocked - enterprise: *823 - installation: *824 - number: *875 - organization: *825 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -233472,7 +233844,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -233675,7 +234047,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *823 + enterprise: *826 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -233770,8 +234142,8 @@ webhooks: - url - author - committer - installation: *824 - organization: *825 + installation: *827 + organization: *828 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -234359,9 +234731,9 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 registry_package: type: object properties: @@ -234838,7 +235210,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *864 + items: *867 summary: type: string tag_name: @@ -234894,7 +235266,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -234972,9 +235344,9 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 registry_package: type: object properties: @@ -235286,7 +235658,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *864 + items: *867 summary: type: string tag_name: @@ -235336,7 +235708,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -235413,10 +235785,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - release: &882 + enterprise: *826 + installation: *827 + organization: *828 + release: &885 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235747,7 +236119,7 @@ webhooks: - updated_at - zipball_url - body - repository: *826 + repository: *829 sender: *4 required: - action @@ -235824,11 +236196,11 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - release: *882 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -235945,11 +236317,11 @@ webhooks: type: boolean required: - to - enterprise: *823 - installation: *824 - organization: *825 - release: *882 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -236027,9 +236399,9 @@ webhooks: type: string enum: - prereleased - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -236365,7 +236737,7 @@ webhooks: - string - 'null' format: uri - repository: *826 + repository: *829 sender: *4 required: - action @@ -236441,10 +236813,10 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 - release: &883 + enterprise: *826 + installation: *827 + organization: *828 + release: &886 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -236777,7 +237149,7 @@ webhooks: - string - 'null' format: uri - repository: *826 + repository: *829 sender: *4 required: - action @@ -236853,11 +237225,11 @@ webhooks: type: string enum: - released - enterprise: *823 - installation: *824 - organization: *825 - release: *882 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -236933,11 +237305,11 @@ webhooks: type: string enum: - unpublished - enterprise: *823 - installation: *824 - organization: *825 - release: *883 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + release: *886 + repository: *829 sender: *4 required: - action @@ -237013,11 +237385,11 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - repository_advisory: *724 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_advisory: *725 sender: *4 required: - action @@ -237093,11 +237465,11 @@ webhooks: type: string enum: - reported - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - repository_advisory: *724 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_advisory: *725 sender: *4 required: - action @@ -237173,10 +237545,10 @@ webhooks: type: string enum: - archived - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237253,10 +237625,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237334,10 +237706,10 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237422,10 +237794,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237540,10 +237912,10 @@ webhooks: - 'null' items: type: string - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237615,10 +237987,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 status: type: string @@ -237699,10 +238071,10 @@ webhooks: type: string enum: - privatized - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237779,10 +238151,10 @@ webhooks: type: string enum: - publicized - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237876,10 +238248,10 @@ webhooks: - name required: - repository - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237959,10 +238331,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 repository_ruleset: *185 sender: *4 required: @@ -238041,10 +238413,10 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 repository_ruleset: *185 sender: *4 required: @@ -238123,10 +238495,10 @@ webhooks: type: string enum: - edited - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 repository_ruleset: *185 changes: type: object @@ -238188,16 +238560,16 @@ webhooks: properties: added: type: array - items: *692 + items: *693 deleted: type: array - items: *692 + items: *693 updated: type: array items: type: object properties: - rule: *692 + rule: *693 changes: type: object properties: @@ -238434,10 +238806,10 @@ webhooks: - from required: - owner - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238515,10 +238887,10 @@ webhooks: type: string enum: - unarchived - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238596,7 +238968,7 @@ webhooks: type: string enum: - create - alert: &884 + alert: &887 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -238720,10 +239092,10 @@ webhooks: type: string enum: - open - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238933,10 +239305,10 @@ webhooks: type: string enum: - dismissed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239014,11 +239386,11 @@ webhooks: type: string enum: - reopen - alert: *884 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *887 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239220,10 +239592,10 @@ webhooks: enum: - fixed - open - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239301,7 +239673,7 @@ webhooks: type: string enum: - assigned - alert: &885 + alert: &888 type: object properties: number: *124 @@ -239416,10 +239788,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239497,11 +239869,11 @@ webhooks: type: string enum: - created - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239582,11 +239954,11 @@ webhooks: type: string enum: - created - alert: *885 - installation: *824 - location: *886 - organization: *825 - repository: *826 + alert: *888 + installation: *827 + location: *889 + organization: *828 + repository: *829 sender: *4 required: - location @@ -239824,11 +240196,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239906,11 +240278,11 @@ webhooks: type: string enum: - reopened - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -239988,11 +240360,11 @@ webhooks: type: string enum: - resolved - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240070,12 +240442,12 @@ webhooks: type: string enum: - unassigned - alert: *885 + alert: *888 assignee: *4 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240153,11 +240525,11 @@ webhooks: type: string enum: - validated - alert: *885 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240287,10 +240659,10 @@ webhooks: - organization - enterprise - - repository: *826 - enterprise: *823 - installation: *824 - organization: *825 + repository: *829 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -240368,11 +240740,11 @@ webhooks: type: string enum: - published - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - security_advisory: &887 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + security_advisory: &890 description: The details of the security advisory, including summary, description, and severity. type: object @@ -240558,11 +240930,11 @@ webhooks: type: string enum: - updated - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 - security_advisory: *887 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + security_advisory: *890 sender: *4 required: - action @@ -240635,10 +241007,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -240824,11 +241196,11 @@ webhooks: from: type: object properties: - security_and_analysis: *402 - enterprise: *823 - installation: *824 - organization: *825 - repository: *443 + security_and_analysis: *403 + enterprise: *826 + installation: *827 + organization: *828 + repository: *444 sender: *4 required: - changes @@ -240906,12 +241278,12 @@ webhooks: type: string enum: - cancelled - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: &888 + sponsorship: &891 type: object properties: created_at: @@ -241216,12 +241588,12 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - sponsorship @@ -241309,12 +241681,12 @@ webhooks: type: string required: - from - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - changes @@ -241391,17 +241763,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &889 + effective_date: &892 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: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - sponsorship @@ -241475,7 +241847,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &890 + changes: &893 type: object properties: tier: @@ -241519,13 +241891,13 @@ webhooks: - from required: - tier - effective_date: *889 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + effective_date: *892 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - changes @@ -241602,13 +241974,13 @@ webhooks: type: string enum: - tier_changed - changes: *890 - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + changes: *893 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *888 + sponsorship: *891 required: - action - changes @@ -241682,10 +242054,10 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -241769,10 +242141,10 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -242206,15 +242578,15 @@ webhooks: type: - string - 'null' - enterprise: *823 + enterprise: *826 id: description: The unique identifier of the status. type: integer - installation: *824 + installation: *827 name: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 sha: description: The Commit SHA. @@ -242330,9 +242702,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -242422,9 +242794,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -242514,9 +242886,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -242606,9 +242978,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *213 - installation: *824 - organization: *825 - repository: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -242685,12 +243057,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - team: &891 + team: &894 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -242920,9 +243292,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -243392,7 +243764,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -243468,9 +243840,9 @@ webhooks: type: string enum: - created - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -243940,7 +244312,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -244017,9 +244389,9 @@ webhooks: type: string enum: - deleted - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -244489,7 +244861,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -244633,9 +245005,9 @@ webhooks: - from required: - permissions - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -245105,7 +245477,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - changes @@ -245183,9 +245555,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -245655,7 +246027,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -245731,10 +246103,10 @@ webhooks: type: string enum: - started - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -245807,17 +246179,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *823 + enterprise: *826 inputs: type: - object - 'null' additionalProperties: true - installation: *824 - organization: *825 + installation: *827 + organization: *828 ref: type: string - repository: *826 + repository: *829 sender: *4 workflow: type: string @@ -245899,10 +246271,10 @@ webhooks: type: string enum: - completed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: allOf: @@ -246158,7 +246530,7 @@ webhooks: type: string required: - conclusion - deployment: *577 + deployment: *578 required: - action - repository @@ -246237,10 +246609,10 @@ webhooks: type: string enum: - in_progress - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: allOf: @@ -246522,7 +246894,7 @@ webhooks: required: - status - steps - deployment: *577 + deployment: *578 required: - action - repository @@ -246601,10 +246973,10 @@ webhooks: type: string enum: - queued - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: type: object @@ -246750,7 +247122,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *577 + deployment: *578 required: - action - repository @@ -246829,10 +247201,10 @@ webhooks: type: string enum: - waiting - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: type: object @@ -246979,7 +247351,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *577 + deployment: *578 required: - action - repository @@ -247059,12 +247431,12 @@ webhooks: type: string enum: - completed - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *840 + workflow: *843 workflow_run: title: Workflow Run type: object @@ -248083,12 +248455,12 @@ webhooks: type: string enum: - in_progress - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *840 + workflow: *843 workflow_run: title: Workflow Run type: object @@ -249092,12 +249464,12 @@ webhooks: type: string enum: - requested - enterprise: *823 - installation: *824 - organization: *825 - repository: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *840 + workflow: *843 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index d1e0a009c..c5557d0a3 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -37279,6 +37279,181 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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", @@ -52845,7 +53020,7 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true @@ -87293,6 +87468,181 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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", @@ -134339,7 +134689,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -140281,6 +140634,142 @@ "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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", @@ -321178,6 +321667,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": [ { @@ -326693,7 +327237,7 @@ } }, "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 06827d3cd..281620492 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -26872,6 +26872,129 @@ 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. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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 @@ -38135,7 +38258,7 @@ paths: examples: response: "$ref": "#/components/examples/code-scanning-analysis-default" - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true @@ -63112,6 +63235,129 @@ 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. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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 @@ -97118,7 +97364,9 @@ components: spdx_id: type: string url: - type: string + type: + - string + - 'null' node_id: type: string forks: @@ -101620,6 +101868,105 @@ 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. + examples: + - https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + examples: + - https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + description: The time when the view was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the view was last updated. + examples: + - '2022-04-28T12:00:00Z' + filter: + type: + - string + - 'null' + description: The filter query for the view. + examples: + - 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 @@ -236866,6 +237213,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 @@ -241575,7 +241966,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index d1e0a009c..c5557d0a3 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -37279,6 +37279,181 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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", @@ -52845,7 +53020,7 @@ } } }, - "application/json+sarif": { + "application/sarif+json": { "schema": { "type": "object", "additionalProperties": true @@ -87293,6 +87468,181 @@ } } }, + "/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.", + "examples": [ + "Sprint Board" + ] + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "examples": [ + "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.", + "examples": [ + "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" + }, + "examples": [ + 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", @@ -134339,7 +134689,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -140281,6 +140634,142 @@ "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.", + "examples": [ + "https://api.github.com/orgs/octocat/projectsV2/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "examples": [ + "https://github.com/orgs/octocat/projects/1/views/1" + ] + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the view was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "filter": { + "type": [ + "string", + "null" + ], + "description": "The filter query for the view.", + "examples": [ + "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", @@ -321178,6 +321667,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": [ { @@ -326693,7 +327237,7 @@ } }, "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", + "summary": "application/sarif+json response", "value": { "runs": [ { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 06827d3cd..281620492 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -26872,6 +26872,129 @@ 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. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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 @@ -38135,7 +38258,7 @@ paths: examples: response: "$ref": "#/components/examples/code-scanning-analysis-default" - application/json+sarif: + application/sarif+json: schema: type: object additionalProperties: true @@ -63112,6 +63235,129 @@ 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. + examples: + - Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + examples: + - 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. + examples: + - 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 + examples: + - 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 @@ -97118,7 +97364,9 @@ components: spdx_id: type: string url: - type: string + type: + - string + - 'null' node_id: type: string forks: @@ -101620,6 +101868,105 @@ 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. + examples: + - https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + examples: + - https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + description: The time when the view was created. + examples: + - '2022-04-28T12:00:00Z' + updated_at: + type: string + format: date-time + description: The time when the view was last updated. + examples: + - '2022-04-28T12:00:00Z' + filter: + type: + - string + - 'null' + description: The filter query for the view. + examples: + - 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 @@ -236866,6 +237213,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 @@ -241575,7 +241966,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-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index fd3cae557..7ac929b70 100644 --- a/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -116007,7 +116007,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -117287,7 +117290,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -124032,7 +124038,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -130191,7 +130200,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -131880,7 +131892,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -139789,7 +139804,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -141151,7 +141169,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -180346,7 +180367,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -185340,7 +185364,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -186608,7 +186635,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -189902,7 +189932,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -192093,7 +192126,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -196643,7 +196679,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -218062,7 +218101,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -245132,7 +245174,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -245945,7 +245990,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -247872,7 +247920,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -248685,7 +248736,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -251308,7 +251362,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -252121,7 +252178,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -259107,7 +259167,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -259920,7 +259983,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -295738,7 +295804,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -297610,7 +297679,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -298998,7 +299070,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -300718,7 +300793,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -307038,14 +307116,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": [ { @@ -323015,7 +323093,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -324332,7 +324413,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -369810,7 +369894,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -383690,7 +383777,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -385141,7 +385231,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -459246,7 +459339,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -529843,7 +529939,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -535832,7 +535931,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -544560,7 +544662,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -546134,7 +546239,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -558587,7 +558695,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -563070,7 +563181,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -579042,7 +579156,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -580569,7 +580686,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -581776,7 +581896,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -590955,7 +591078,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -596739,7 +596865,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -600618,7 +600747,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -674285,7 +674417,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -675553,7 +675688,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -724352,7 +724490,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -727787,7 +727928,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -754555,7 +754699,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -759473,7 +759620,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + "string", + "null" + ] }, "node_id": { "type": "string" @@ -764391,7 +764541,10 @@ "type": "string" }, "url": { - "type": "string" + "type": [ + {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}