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..40a86e768 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", @@ -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", @@ -116483,6 +116833,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 +296846,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": [ { 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..90e576f56 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 @@ -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 @@ -84441,6 +84687,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 +219352,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 diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 31189261a..40a86e768 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", @@ -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", @@ -116483,6 +116833,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 +296846,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": [ { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 9afccd074..90e576f56 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 @@ -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 @@ -84441,6 +84687,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 +219352,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 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..9e5c8a26d 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 @@ -198133,6 +198133,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", @@ -696708,6 +697506,804 @@ } } }, + "/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": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", 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..718cbd6ca 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: @@ -17141,7 +17141,7 @@ paths: type: boolean examples: - false - security_and_analysis: &265 + security_and_analysis: &266 type: - object - 'null' @@ -17306,7 +17306,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &538 value: - id: '1' repository: @@ -18836,7 +18836,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 +18982,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 +19094,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 +19102,7 @@ paths: schema: type: string - *110 - - &684 + - &687 name: sku description: The SKU to query for usage. in: query @@ -20081,7 +20081,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 +21319,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 +21402,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &330 type: object properties: days: @@ -21444,7 +21444,7 @@ paths: required: true content: application/json: - schema: &330 + schema: &331 type: object properties: days: @@ -21501,7 +21501,7 @@ paths: required: - approval_policy examples: - default: &331 + default: &332 value: approval_policy: first_time_contributors '404': *6 @@ -21560,7 +21560,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 type: object required: - run_workflows_from_fork_pull_requests @@ -21614,7 +21614,7 @@ paths: required: true content: application/json: - schema: &333 + schema: &334 type: object required: - run_workflows_from_fork_pull_requests @@ -22249,7 +22249,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 type: object properties: default_workflow_permissions: &137 @@ -22300,7 +22300,7 @@ paths: required: false content: application/json: - schema: &335 + schema: &336 type: object properties: default_workflow_permissions: *137 @@ -22793,7 +22793,7 @@ paths: type: array items: *144 examples: - default: &636 + default: &637 value: total_count: 1 repositories: @@ -23440,7 +23440,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 title: Runner Application description: Runner Application type: object @@ -23465,7 +23465,7 @@ paths: - download_url - filename examples: - default: &337 + default: &338 value: - os: osx architecture: x64 @@ -23551,7 +23551,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &338 + '201': &339 description: Response content: application/json: @@ -23666,7 +23666,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 +23705,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 +23739,7 @@ paths: application/json: schema: *146 examples: - default: &341 + default: &342 value: id: 23 name: MBP @@ -23965,7 +23965,7 @@ paths: - *66 - *145 responses: - '200': &342 + '200': &343 description: Response content: application/json: @@ -24022,7 +24022,7 @@ paths: parameters: - *66 - *145 - - &343 + - &344 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24154,7 +24154,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 +24189,7 @@ paths: - key_id - key examples: - default: &356 + default: &357 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24602,7 +24602,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 +25764,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 +25828,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 +26177,7 @@ paths: initiator: type: string examples: - default: &369 + default: &370 value: attestations: - bundle: @@ -27133,7 +27133,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 +27143,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 +27167,7 @@ paths: be returned. in: query required: false - schema: &396 + schema: &397 type: string description: State of a code scanning alert. enum: @@ -27190,7 +27190,7 @@ paths: be returned. in: query required: false - schema: &397 + schema: &398 type: string description: Severity of a code scanning alert. enum: @@ -27224,7 +27224,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 +27246,7 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: &399 + dismissed_reason: &400 type: - string - 'null' @@ -27257,14 +27257,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 +27325,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 +27336,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 +27369,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 +27390,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 +28684,7 @@ paths: machine: anyOf: - type: 'null' - - &429 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29636,7 +29636,7 @@ paths: - updated_at - visibility examples: - default: &430 + default: &431 value: total_count: 2 secrets: @@ -29674,7 +29674,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 +29709,7 @@ paths: - key_id - key examples: - default: &432 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29741,7 +29741,7 @@ paths: application/json: schema: *178 examples: - default: &434 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30739,7 +30739,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 +31054,7 @@ paths: - date additionalProperties: true examples: - default: &303 + default: &304 value: - date: '2024-06-24' total_active_users: 24 @@ -31156,7 +31156,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 +31364,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 +31383,7 @@ paths: - key_id - key examples: - default: &461 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33211,7 +33211,7 @@ paths: application/json: schema: *20 examples: - default: &499 + default: &500 value: id: 1 account: @@ -33439,7 +33439,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 +34299,7 @@ paths: application/json: schema: *220 examples: - default: &428 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35561,7 +35561,7 @@ paths: parameters: - *66 - *227 - - &648 + - &649 name: repo_name description: repo_name parameter in: path @@ -36620,7 +36620,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 +36661,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 +38487,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 +38761,7 @@ paths: content: oneOf: - *71 - - &443 + - &444 title: Pull Request Simple description: Pull Request Simple type: object @@ -39006,7 +39006,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 +39388,7 @@ paths: - updated_at - project_url examples: - default: &668 + default: &671 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39565,7 +39565,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 +39601,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 +39650,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 +39677,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 +39703,7 @@ paths: application/json: schema: *253 examples: - text_field: &673 + text_field: &676 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -39712,7 +39712,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 +39721,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 +39730,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 +39764,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 +39810,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 +39825,7 @@ paths: application/json: schema: *253 examples: - default: &679 + default: &682 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40948,6 +40948,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 +41218,7 @@ paths: parameters: - *250 - *66 - - &680 + - &683 name: view_number description: The number that identifies the project view. in: path @@ -41029,7 +41285,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 +41360,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 +41419,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 +41449,9 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: - default: *261 + default: *262 '403': *27 '404': *6 x-github: @@ -41217,7 +41473,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 +41485,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 +41522,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 +41599,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *263 + default: *264 '403': *27 '404': *6 x-github: @@ -41369,7 +41625,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 +41689,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 +41779,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 +42174,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: Full Repository description: Full Repository type: object @@ -42383,7 +42639,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 +42669,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 +42753,7 @@ paths: - network_count - subscribers_count examples: - default: &313 + default: &314 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43018,7 +43274,7 @@ paths: - *66 - *17 - *19 - - &566 + - &567 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43037,7 +43293,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 +43328,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 +43341,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 +43412,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 +43436,7 @@ paths: match. items: type: string - - &270 + - &271 title: Organization ruleset conditions type: object description: |- @@ -43194,7 +43450,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 +43484,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 +43506,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 +43519,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 +43552,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 +43560,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 +43577,7 @@ paths: type: string enum: - creation - - &272 + - &273 title: update description: Only allow users with bypass permission to update matching refs. @@ -43342,7 +43598,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 +43610,7 @@ paths: type: string enum: - deletion - - &274 + - &275 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43366,7 +43622,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 +43700,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 +43724,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 +43736,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 +43842,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 +43890,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 +43902,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 +43938,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 +43974,7 @@ paths: required: - operator - pattern - - &282 + - &283 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43754,7 +44010,7 @@ paths: required: - operator - pattern - - &283 + - &284 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43790,7 +44046,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43826,7 +44082,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 +44107,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 +44131,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 +44154,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 +44179,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 +44229,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 +44290,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 +44389,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 +44423,7 @@ paths: - *289 - *290 - *291 + - *292 required: - name - enforcement @@ -44205,9 +44461,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 +44518,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 +44533,7 @@ paths: in: query schema: type: string - - &569 + - &570 name: time_period description: |- The time period to filter by. @@ -44293,14 +44549,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 +44576,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &573 title: Rule Suites description: Response type: array @@ -44376,7 +44632,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 +44676,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 +44692,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &576 title: Rule Suite description: Response type: object @@ -44543,7 +44799,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 +44872,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '500': *104 put: @@ -44662,16 +44918,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 +44962,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '500': *104 delete: @@ -44765,7 +45021,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 +45045,7 @@ paths: type: string format: date-time examples: - default: &578 + default: &579 value: - version_id: 3 actor: @@ -44842,9 +45098,9 @@ paths: description: Response content: application/json: - schema: &579 + schema: &580 allOf: - - *295 + - *296 - type: object required: - state @@ -44914,7 +45170,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 +45181,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 +45191,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 +45200,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 +45219,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 +45234,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 +45244,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 +45254,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 +45263,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 +45272,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 +45281,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 +45313,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 +45427,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 +45491,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 +45552,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 +45567,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 +45582,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 +45597,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 +45612,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 +45627,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 +45642,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 +45657,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 +45672,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 +45687,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 +45702,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 +45942,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &297 + pattern_config_version: &298 type: - string - 'null' @@ -45696,7 +45952,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &296 + items: &297 type: object properties: token_type: @@ -45765,7 +46021,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 +46078,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 +46104,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 +46202,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 description: A repository security advisory. type: object properties: @@ -46190,7 +46446,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 credits_detailed: type: - array @@ -46201,7 +46457,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 +46521,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 +47248,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 +47387,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 +47418,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 +47430,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 headers: Link: *57 x-github: @@ -47198,7 +47454,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 +47493,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47259,7 +47515,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 +47660,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 +47790,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 +48189,7 @@ paths: - repos_count - organization examples: - default: &306 + default: &307 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48010,9 +48266,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 x-github: githubCloudOnly: false @@ -48097,16 +48353,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 +48509,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &308 title: Team Membership description: Team Membership type: object @@ -48281,7 +48537,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 +48600,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 +48709,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 +49359,8 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 requestBody: required: false content: @@ -49151,8 +49407,8 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 responses: '204': description: Response @@ -49189,7 +49445,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 +49599,7 @@ paths: resources: type: object properties: - core: &310 + core: &311 title: Rate Limit type: object properties: @@ -49360,21 +49616,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 +49735,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 +50243,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *312 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50005,8 +50261,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 +50510,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 +50542,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 +50565,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 +50589,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 +50616,7 @@ paths: type: integer artifacts: type: array - items: &315 + items: &316 title: Artifact description: An artifact type: object @@ -50455,7 +50711,7 @@ paths: - expires_at - updated_at examples: - default: &348 + default: &349 value: total_count: 2 artifacts: @@ -50516,9 +50772,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 +50786,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: default: value: @@ -50568,9 +50824,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 +50850,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 +50866,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 +50891,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 +50932,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 +50967,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 +51008,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 +51045,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 +51078,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 +51116,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Repository actions caches description: Repository actions caches type: object @@ -50910,7 +51166,7 @@ paths: - total_count - actions_caches examples: - default: &322 + default: &323 value: total_count: 1 actions_caches: @@ -50942,23 +51198,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 +51234,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 +51266,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 +51280,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 +51627,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 +51657,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 +51705,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 +51756,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 +51820,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 +51839,7 @@ paths: type: integer secrets: type: array - items: &353 + items: &354 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51604,7 +51860,7 @@ paths: - created_at - updated_at examples: - default: &354 + default: &355 value: total_count: 2 secrets: @@ -51637,9 +51893,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 +51912,7 @@ paths: type: integer variables: type: array - items: &357 + items: &358 title: Actions Variable type: object properties: @@ -51690,7 +51946,7 @@ paths: - created_at - updated_at examples: - default: &358 + default: &359 value: total_count: 2 variables: @@ -51723,8 +51979,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 +51989,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 +52022,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 +52034,7 @@ paths: schema: type: object properties: - enabled: *326 + enabled: *327 allowed_actions: *129 sha_pinning_required: *130 required: @@ -51810,14 +52066,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 +52090,7 @@ paths: required: - access_level examples: - default: &328 + default: &329 value: access_level: organization x-github: @@ -51858,15 +52114,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 +52146,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 +52177,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 +52188,7 @@ paths: required: true content: application/json: - schema: *330 + schema: *331 examples: default: summary: Set retention days @@ -51956,8 +52212,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 +52221,7 @@ paths: application/json: schema: *131 examples: - default: *331 + default: *332 '404': *6 x-github: enabledForGitHubApps: true @@ -51984,8 +52240,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 +52275,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 +52304,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 +52336,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 +52364,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 +52397,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 +52427,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 +52439,7 @@ paths: required: true content: application/json: - schema: *335 + schema: *336 examples: default: *139 x-github: @@ -52212,8 +52468,8 @@ paths: in: query schema: type: string - - *308 - *309 + - *310 - *17 - *19 responses: @@ -52257,8 +52513,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 +52522,9 @@ paths: application/json: schema: type: array - items: *336 + items: *337 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52290,8 +52546,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 +52590,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *338 + '201': *339 '404': *6 '422': *7 '409': *50 @@ -52365,8 +52621,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 +52630,7 @@ paths: application/json: schema: *148 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52402,8 +52658,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 +52667,7 @@ paths: application/json: schema: *148 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52433,8 +52689,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 +52699,7 @@ paths: application/json: schema: *146 examples: - default: *341 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52464,8 +52720,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 +52748,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 +52774,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 +52824,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 +52875,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 +52906,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 +52937,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 +52947,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 +52955,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 +52964,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 +52991,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 +53000,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 +53009,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 +53038,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 +53216,7 @@ paths: head_commit: anyOf: - type: 'null' - - &389 + - &390 title: Simple Commit description: A commit. type: object @@ -53075,7 +53331,7 @@ paths: - workflow_url - pull_requests examples: - default: &368 + default: &369 value: total_count: 1 workflow_runs: @@ -53311,24 +53567,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 +53825,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 +53850,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 +53980,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 +54015,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 +54036,9 @@ paths: type: integer artifacts: type: array - items: *315 + items: *316 examples: - default: *348 + default: *349 headers: Link: *57 x-github: @@ -53806,25 +54062,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 +54103,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 +54124,9 @@ paths: type: integer jobs: type: array - items: *351 + items: *352 examples: - default: &352 + default: &353 value: total_count: 1 jobs: @@ -53983,10 +54239,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 +54270,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 +54305,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 +54374,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 +54409,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 +54441,9 @@ paths: type: integer jobs: type: array - items: *351 + items: *352 examples: - default: *352 + default: *353 headers: Link: *57 x-github: @@ -54212,9 +54468,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 +54497,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 +54526,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 +54597,7 @@ paths: items: type: object properties: - type: &469 + type: &470 type: string description: The type of reviewer. enum: @@ -54427,9 +54683,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 +54735,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 +54847,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 +54903,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 +54950,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 +55006,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 +55145,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 +55164,9 @@ paths: type: integer secrets: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *57 x-github: @@ -54935,16 +55191,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 +55222,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 +55258,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 +55317,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 +55344,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 +55363,9 @@ paths: type: integer variables: type: array - items: *357 + items: *358 examples: - default: *358 + default: *359 headers: Link: *57 x-github: @@ -55132,8 +55388,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 +55441,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 +55477,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 +55521,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 +55548,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 +55567,7 @@ paths: type: integer workflows: type: array - items: &359 + items: &360 title: Workflow description: A GitHub Actions workflow type: object @@ -55429,9 +55685,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 +55702,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -55479,9 +55735,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 +55762,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 +55815,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 +55844,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 +55872,9 @@ paths: type: integer workflow_runs: type: array - items: *345 + items: *346 examples: - default: *368 + default: *369 headers: Link: *57 x-github: @@ -55650,9 +55906,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 +55969,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 +56138,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 +56176,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 +56213,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 +56326,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 +56384,7 @@ paths: initiator: type: string examples: - default: *369 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56148,8 +56404,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 +56413,7 @@ paths: application/json: schema: type: array - items: &370 + items: &371 title: Autolink reference description: An autolink reference. type: object @@ -56216,8 +56472,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 +56512,9 @@ paths: description: response content: application/json: - schema: *370 + schema: *371 examples: - default: &371 + default: &372 value: id: 1 key_prefix: TICKET- @@ -56289,9 +56545,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 +56559,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *371 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -56325,9 +56581,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 +56607,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 +56658,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 +56680,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 +56701,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 +56740,7 @@ paths: - url protected: type: boolean - protection: &374 + protection: &375 title: Branch Protection description: Branch Protection type: object @@ -56527,7 +56783,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 +56800,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 +56884,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 +57177,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 +57193,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 +57239,7 @@ paths: author: anyOf: - type: 'null' - - &373 + - &374 title: Git User description: Metaproperties for Git author/committer information. @@ -57005,7 +57261,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 message: type: string examples: @@ -57029,7 +57285,7 @@ paths: required: - sha - url - verification: &489 + verification: &490 title: Verification type: object properties: @@ -57109,7 +57365,7 @@ paths: type: integer files: type: array - items: &450 + items: &451 title: Diff Entry description: Diff Entry type: object @@ -57205,7 +57461,7 @@ paths: - self protected: type: boolean - protection: *374 + protection: *375 protection_url: type: string format: uri @@ -57314,7 +57570,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 +57592,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 +57794,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 +58056,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 +58215,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *376 + restrictions: *377 required_conversation_resolution: type: object properties: @@ -58071,9 +58327,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 +58354,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 +58386,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 +58415,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 +58442,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 +58548,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 +58648,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -58415,9 +58671,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 +58700,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 +58733,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 +58763,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 +58790,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 +58826,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 +58880,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 '404': *6 '422': *15 x-github: @@ -58648,9 +58904,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 +58930,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 +58966,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 +59035,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 +59101,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 +59169,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 +59268,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 +59293,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 +59305,7 @@ paths: type: array items: *5 examples: - default: &384 + default: &385 value: - id: 1 slug: octoapp @@ -59106,9 +59362,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 +59398,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59163,9 +59419,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 +59455,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59220,9 +59476,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 +59512,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59278,9 +59534,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 +59566,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 +59627,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 +59688,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 +59749,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 +59785,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 +59845,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 +59905,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 +59967,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 +59991,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -59851,8 +60107,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 +60387,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 +60523,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 +60810,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 +60824,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: &388 + default: &389 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60670,9 +60926,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 +61168,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60934,9 +61190,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 +61302,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 +61348,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 +61371,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 +61469,7 @@ paths: - string - 'null' format: date-time - head_commit: *389 + head_commit: *390 latest_check_runs_count: type: integer check_runs_url: @@ -61241,7 +61497,7 @@ paths: - check_runs_url - pull_requests examples: - default: &391 + default: &392 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61532,9 +61788,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 +61809,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 +62119,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 +62133,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61902,17 +62158,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 +62207,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 +62311,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 +62346,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 +62385,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 +62415,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 +62423,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 +62550,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 +62577,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 +62593,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &407 type: object properties: number: *162 @@ -62345,7 +62601,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 +62609,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 +62672,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 +62769,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 +62789,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 +62806,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 +62835,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -62655,7 +62911,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 +62938,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 +62973,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 +62990,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 +63015,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 +63069,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 +63117,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 +63142,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 +63159,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 +63179,7 @@ paths: properties: text: type: string - location: *416 + location: *417 html_url: type: string classifications: @@ -62931,7 +63187,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 +63226,7 @@ paths: end_column: 50 classifications: - source - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63004,25 +63260,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 +63300,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 +63341,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 +63404,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63184,8 +63440,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 +63454,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: response: summary: application/json response @@ -63252,7 +63508,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 +63595,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 +63652,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 +63674,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 +63683,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -63539,7 +63795,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 +63824,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 +63837,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: default: value: @@ -63613,9 +63869,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 +63893,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 +63904,7 @@ paths: responses: '204': description: Response - '403': *410 + '403': *411 '404': *6 '503': *105 x-github: @@ -63676,8 +63932,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 +63942,7 @@ paths: type: object additionalProperties: false properties: - language: &421 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63766,7 +64022,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 +64032,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 +64080,7 @@ paths: items: type: object properties: - repository: &422 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63866,7 +64122,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 +64154,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 +64169,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 +64192,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 +64209,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 +64355,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 +64386,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 +64399,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: - default: *424 + default: *425 '404': *6 '503': *105 x-github: @@ -64168,7 +64424,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 +64459,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 +64584,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 +64678,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 +64699,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 +64794,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 +64865,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 +64874,7 @@ paths: schema: type: object properties: - commit_sha: *427 + commit_sha: *428 ref: type: string description: |- @@ -64678,7 +64934,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 +64948,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 +64971,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 +65020,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 +65045,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 +65127,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 +65256,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65315,8 +65571,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 +65638,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 +65646,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '400': *14 '401': *23 '403': *27 @@ -65419,8 +65675,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65484,8 +65740,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 +65778,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: &639 + default: &640 value: total_count: 2 machines: @@ -65564,8 +65820,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 +65908,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 +65978,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 +65997,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 +66018,7 @@ paths: - created_at - updated_at examples: - default: *430 + default: *431 headers: Link: *57 x-github: @@ -65785,16 +66041,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 +66070,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 +66100,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 +66154,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 +66184,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 +66223,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Collaborator description: Collaborator type: object @@ -66160,8 +66416,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 +66464,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 +66492,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 +66720,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 +66753,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 +66775,7 @@ paths: user: anyOf: - type: 'null' - - *435 + - *436 required: - permission - role_name @@ -66573,8 +66829,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 +66840,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -66642,7 +66898,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 +66957,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 +67024,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 +67048,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -66843,8 +67099,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 +67122,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 +67150,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 +67194,7 @@ paths: - content - created_at examples: - default: &506 + default: &507 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66983,8 +67239,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 +67273,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 +67304,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 +67328,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 +67386,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 +67443,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 +67539,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 +67613,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 +67625,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *441 + default: *442 headers: Link: *57 x-github: @@ -67399,9 +67655,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 +67692,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 +67722,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 +67734,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 +68273,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 +68292,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 +68407,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 +68445,9 @@ paths: type: integer check_runs: type: array - items: *386 + items: *387 examples: - default: *447 + default: *448 headers: Link: *57 x-github: @@ -68216,9 +68472,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 +68482,7 @@ paths: schema: type: integer example: 1 - - *445 + - *446 - *17 - *19 responses: @@ -68244,7 +68500,7 @@ paths: type: integer check_suites: type: array - items: *390 + items: *391 examples: default: value: @@ -68444,9 +68700,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 +68904,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 +68916,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Status description: The status of a commit. type: object @@ -68741,7 +68997,7 @@ paths: site_admin: false headers: Link: *57 - '301': *312 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68769,8 +69025,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 +69059,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 +69083,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 +69224,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 +69273,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 +69298,10 @@ paths: - 6 commits: type: array - items: *439 + items: *440 files: type: array - items: *450 + items: *451 required: - url - html_url @@ -69331,8 +69587,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 +69741,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 +69878,7 @@ paths: - size - type - url - - &556 + - &557 title: Content File description: Content File type: object @@ -69840,7 +70096,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 +70165,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 +70188,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 +70284,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: File Commit description: File Commit type: object @@ -70184,7 +70440,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: example-for-creating-a-file: value: @@ -70238,7 +70494,7 @@ paths: schema: oneOf: - *3 - - &484 + - &485 description: Repository rule violation was detected type: object properties: @@ -70259,7 +70515,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 +70547,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 +70609,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -70408,8 +70664,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 +70789,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 +70802,7 @@ paths: schema: type: string - *184 - - *454 + - *455 - *185 - *186 - *51 @@ -70567,7 +70823,7 @@ paths: application/json: schema: type: array - items: &458 + items: &459 type: object description: A Dependabot alert. properties: @@ -70617,7 +70873,7 @@ paths: - direct - transitive - - security_advisory: *455 + security_advisory: *456 security_vulnerability: *55 url: *165 html_url: *166 @@ -70648,8 +70904,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 +71135,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 +71152,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -71009,9 +71265,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 +71312,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -71185,8 +71441,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 +71460,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &463 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71258,16 +71514,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 +71543,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 +71577,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 +71631,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 +71655,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 +71830,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 +72091,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 +72175,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 +72214,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 +72228,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 +72361,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 +72403,9 @@ paths: application/json: schema: type: array - items: *464 + items: *465 examples: - default: *465 + default: *466 headers: Link: *57 x-github: @@ -72215,8 +72471,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 +72554,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: simple-example: summary: Simple example @@ -72371,9 +72627,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 +72641,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: default: value: @@ -72450,9 +72706,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 +72730,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 +72742,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Deployment Status description: The status of a deployment. type: object @@ -72650,9 +72906,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 +72983,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 +73041,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 +73054,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '404': *6 x-github: githubCloudOnly: false @@ -72825,8 +73081,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 +73139,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 +73158,7 @@ paths: - 5 environments: type: array - items: &470 + items: &471 title: Environment description: Details of a deployment environment type: object @@ -72964,7 +73220,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 +73262,7 @@ paths: items: type: object properties: - type: *469 + type: *470 reviewer: anyOf: - *4 @@ -73033,7 +73289,7 @@ paths: - id - node_id - type - deployment_branch_policy: &473 + deployment_branch_policy: &474 type: - object - 'null' @@ -73150,9 +73406,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 +73421,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &474 + default: &475 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73251,9 +73507,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 +73519,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 +73538,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 +73565,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 +73591,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 +73618,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 +73639,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 +73700,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 +73750,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 +73794,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 +73809,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73574,10 +73830,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 +73862,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73627,10 +73883,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 +73911,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 +73930,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 +73952,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 +74055,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 +74078,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 +74115,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 +74137,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *479 + items: *480 examples: default: value: @@ -73916,10 +74172,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 +74187,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73954,10 +74210,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 +74239,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 +74259,9 @@ paths: type: integer secrets: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *57 x-github: @@ -74030,17 +74286,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 +74318,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 +74351,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 +74411,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 +74439,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 +74459,9 @@ paths: type: integer variables: type: array - items: *357 + items: *358 examples: - default: *358 + default: *359 headers: Link: *57 x-github: @@ -74228,9 +74484,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 +74538,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 +74570,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 +74615,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 +74640,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 +74709,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 +74869,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 +74903,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 '400': *14 '422': *15 '403': *27 @@ -74670,8 +74926,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 +74987,7 @@ paths: schema: oneOf: - *113 - - *484 + - *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74756,8 +75012,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 +75113,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 +75223,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 +75450,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 +75514,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 +75533,7 @@ paths: application/json: schema: type: array - items: &487 + items: &488 title: Git Reference description: Git references within a repository type: object @@ -75353,17 +75609,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 +75648,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 +75678,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 +75706,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 +75737,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 '422': *15 '409': *50 x-github: @@ -75501,9 +75757,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 +75814,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 +75882,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &491 title: Git Tag description: Metadata for a Git tag type: object @@ -75682,7 +75938,7 @@ paths: - sha - type - url - verification: *489 + verification: *490 required: - sha - url @@ -75692,7 +75948,7 @@ paths: - tag - message examples: - default: &491 + default: &492 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75765,8 +76021,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 +76033,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '404': *6 '409': *50 x-github: @@ -75803,8 +76059,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 +76134,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 +76236,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 +76260,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default-response: summary: Default response @@ -76063,8 +76319,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 +76330,7 @@ paths: application/json: schema: type: array - items: &493 + items: &494 title: Webhook description: Webhooks for repositories. type: object @@ -76137,7 +76393,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 +76470,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 +76524,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &494 + default: &495 value: type: Repository id: 12345678 @@ -76318,17 +76574,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 +76604,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 +76651,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '422': *15 '404': *6 x-github: @@ -76418,8 +76674,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 +76700,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 +76729,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 +76775,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 +76808,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 +76838,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 +76863,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 +76890,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 +76915,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 +76964,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 +76985,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 +77043,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 +77157,7 @@ paths: - html_url - authors_url examples: - default: &498 + default: &499 value: vcs: subversion use_lfs: true @@ -76917,7 +77173,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 +77202,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 +77251,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -77020,7 +77276,7 @@ paths: type: string '422': *15 '404': *6 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77048,8 +77304,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 +77357,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: example-1: summary: Example 1 @@ -77149,7 +77405,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 +77428,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 +77459,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 +77475,7 @@ paths: application/json: schema: type: array - items: &497 + items: &498 title: Porter Author description: Porter Author type: object @@ -77273,7 +77529,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 +77554,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 +77585,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: default: value: @@ -77342,7 +77598,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 +77622,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 +77664,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77436,8 +77692,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 +77720,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 +77747,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 +77756,8 @@ paths: application/json: schema: *20 examples: - default: *499 - '301': *312 + default: *500 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -77521,8 +77777,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 +77791,7 @@ paths: properties: {} additionalProperties: false examples: - default: &501 + default: &502 value: limit: collaborators_only origin: repository @@ -77560,13 +77816,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 +77836,7 @@ paths: application/json: schema: *210 examples: - default: *501 + default: *502 '409': description: Response x-github: @@ -77602,8 +77858,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 +77882,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 +77893,9 @@ paths: application/json: schema: type: array - items: *502 + items: *503 examples: - default: &653 + default: &654 value: - id: 1 repository: @@ -77770,8 +78026,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 +78057,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -77932,8 +78188,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 +78221,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 +78295,7 @@ paths: type: array items: *71 examples: - default: &512 + default: &513 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78187,7 +78443,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *312 + '301': *313 '422': *15 '404': *6 x-github: @@ -78216,8 +78472,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 +78565,7 @@ paths: application/json: schema: *71 examples: - default: &509 + default: &510 value: id: 1 node_id: MDU6SXNzdWUx @@ -78465,7 +78721,7 @@ paths: '422': *15 '503': *105 '404': *6 - '410': *503 + '410': *504 x-github: triggersNotification: true githubCloudOnly: false @@ -78493,8 +78749,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 +78771,9 @@ paths: application/json: schema: type: array - items: *504 + items: *505 examples: - default: &511 + default: &512 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78575,17 +78831,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 +78895,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 +78919,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -78683,8 +78939,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 +78961,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 +78989,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -78756,8 +79012,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 +79046,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 +79077,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 +79100,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 +79111,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Issue Event description: Issue Event type: object @@ -79194,8 +79450,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 +79462,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -79398,7 +79654,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *503 + '410': *504 '403': *27 x-github: githubCloudOnly: false @@ -79432,9 +79688,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 +79704,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 +79732,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 +79855,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 +79879,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 +79909,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79669,9 +79925,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 +79954,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79720,9 +79976,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 +80018,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 +80031,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 +80066,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 +80090,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 +80127,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 +80141,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 +80174,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 +80200,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 +80239,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 +80255,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 +80287,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 +80301,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 +80323,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 +80339,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 +80388,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &516 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80260,7 +80516,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &517 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80306,7 +80562,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80352,7 +80608,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80401,7 +80657,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 +80699,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 +80741,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 +80797,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &523 title: Locked Issue Event description: Locked Issue Event type: object @@ -80586,7 +80842,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 +80903,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 +81025,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 +81118,7 @@ paths: color: red headers: Link: *57 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80879,9 +81135,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 +81149,7 @@ paths: type: array items: *70 examples: - default: &513 + default: &514 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80911,9 +81167,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 +81186,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 +81249,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 +81269,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 +81333,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 +81353,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 +81380,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 +81406,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 +81428,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 +81459,7 @@ paths: '204': description: Response '403': *27 - '410': *503 + '410': *504 '404': *6 '422': *15 x-github: @@ -81221,9 +81477,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 +81509,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 +81519,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 +81539,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 +81567,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 +81591,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 +81625,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 +81656,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 +81688,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 +81714,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 +81747,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 +81761,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 +81793,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 +81824,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 +81851,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 +81886,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 '403': *27 '404': *6 '422': *7 @@ -81652,9 +81908,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 +81925,6 @@ paths: description: Timeline Event type: object anyOf: - - *514 - *515 - *516 - *517 @@ -81682,6 +81937,7 @@ paths: - *524 - *525 - *526 + - *527 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82010,7 +82266,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 +82507,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 +82782,7 @@ paths: headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82543,8 +82799,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 +82810,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 +82878,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 +82915,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 +82951,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 +82965,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -82729,9 +82985,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 +83007,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 +83020,7 @@ paths: type: array items: *70 examples: - default: *513 + default: *514 headers: Link: *57 '404': *6 @@ -82785,8 +83041,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 +83080,7 @@ paths: application/json: schema: *70 examples: - default: &530 + default: &531 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82856,8 +83112,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 +83126,7 @@ paths: application/json: schema: *70 examples: - default: *530 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -82887,8 +83143,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 +83209,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 +83236,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 +83276,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 +83425,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 +83491,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 +83526,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 +83553,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 +83651,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 +83694,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 +83753,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 +83769,7 @@ paths: application/json: schema: *251 examples: - default: *532 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -83530,9 +83786,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 +83828,7 @@ paths: application/json: schema: *251 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83588,9 +83844,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 +83867,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 +83881,7 @@ paths: type: array items: *70 examples: - default: *513 + default: *514 headers: Link: *57 x-github: @@ -83644,12 +83900,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 +83917,7 @@ paths: type: array items: *97 examples: - default: *537 + default: *538 headers: Link: *57 x-github: @@ -83685,8 +83941,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 +84000,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 +84151,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 +84192,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 +84248,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '422': *15 '409': *50 x-github: @@ -84017,8 +84273,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 +84374,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 +84401,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 +84412,7 @@ paths: application/json: schema: type: array - items: &540 + items: &541 title: Page Build description: Page Build type: object @@ -84248,8 +84504,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 +84552,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 +84609,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 +84621,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84387,8 +84643,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 +84752,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 +84812,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 +84841,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 +85137,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 +85175,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 +85197,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 +85220,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 +85229,7 @@ paths: application/json: schema: type: array - items: *264 + items: *265 examples: default: value: @@ -85004,8 +85260,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 +85273,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 +85323,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 +85384,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: *543 + default: *544 headers: Link: *57 '304': *35 @@ -85162,8 +85418,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 +85486,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 +85726,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 +85828,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 +86355,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 +86385,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 +86464,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 +86549,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 +86573,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86335,8 +86591,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 +86614,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 +86642,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -86409,8 +86665,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 +86699,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 +86730,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 +86776,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 +86791,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 +86828,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 +86872,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '422': *15 '403': *27 x-github: @@ -86640,9 +86896,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 +86961,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 +86969,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -86743,9 +86999,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 +87022,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: *550 + default: *551 headers: Link: *57 x-github: @@ -86801,9 +87057,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 +87165,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: example-for-a-multi-line-comment: value: @@ -86997,9 +87253,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 +87278,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: default: value: @@ -87108,9 +87364,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 +87376,9 @@ paths: application/json: schema: type: array - items: *439 + items: *440 examples: - default: *551 + default: *552 headers: Link: *57 x-github: @@ -87152,9 +87408,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 +87420,7 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: default: value: @@ -87202,9 +87458,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 +87483,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 +87597,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 +87674,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 +87713,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -87993,9 +88249,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 +88285,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -88534,9 +88790,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 +88802,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 +88958,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 +89050,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &554 + default: &555 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88859,10 +89115,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 +89130,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &555 + default: &556 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88935,10 +89191,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 +89217,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -89023,18 +89279,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 +89317,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 +89578,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 +89610,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -89417,10 +89673,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 +89711,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *555 + default: *556 '404': *6 '422': *7 '403': *27 @@ -89479,9 +89735,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 +89801,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 +89815,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: type: file encoding: base64 @@ -89603,8 +89859,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 +89880,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *6 '422': *15 x-github: @@ -89648,8 +89904,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 +89915,7 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: default: value: @@ -89753,8 +90009,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 +90086,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 +90193,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 +90207,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 +90244,7 @@ paths: type: User site_admin: false '404': *6 - '302': *452 + '302': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90004,9 +90260,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 +90291,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *561 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90053,9 +90309,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 +90335,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 +90422,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 +90448,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 +90462,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *562 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -90230,9 +90486,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 +90502,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 +90522,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 +90588,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 +90611,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 +90633,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 +90645,7 @@ paths: application/json: schema: type: array - items: *559 + items: *560 examples: default: value: @@ -90470,9 +90726,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 +90754,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *560 examples: response-for-successful-upload: value: @@ -90553,9 +90809,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 +90835,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -90602,9 +90858,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 +90890,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 +90921,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 +90948,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 +90966,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 +90986,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 +91087,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90843,7 +91099,7 @@ paths: schema: type: boolean default: true - - *566 + - *567 responses: '200': description: Response @@ -90851,7 +91107,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: value: @@ -90898,8 +91154,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 requestBody: description: Request body required: true @@ -90919,16 +91175,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 +91215,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 +91264,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 +91277,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *573 + default: *574 '404': *6 '500': *104 x-github: @@ -91044,17 +91300,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 +91338,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91103,9 +91359,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *577 + default: *578 '404': *6 '500': *104 put: @@ -91123,8 +91379,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91149,16 +91405,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 +91442,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *577 + default: *578 '404': *6 '500': *104 delete: @@ -91206,8 +91462,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91230,8 +91486,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 +91503,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *578 + default: *579 '404': *6 '500': *104 x-github: @@ -91268,8 +91524,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 +91543,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: default: value: @@ -91342,22 +91598,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 +91621,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 type: object properties: number: *162 @@ -91381,8 +91637,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 +91732,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 +91877,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 +91940,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 +91950,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 +91987,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -91826,9 +92082,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 +92095,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &744 + items: &747 type: object properties: type: @@ -91866,7 +92122,6 @@ paths: - commit details: oneOf: - - *595 - *596 - *597 - *598 @@ -91879,6 +92134,7 @@ paths: - *605 - *606 - *607 + - *608 examples: default: value: @@ -91964,8 +92220,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 +92229,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 +92253,7 @@ paths: schema: type: object properties: - reason: *609 + reason: *610 expire_at: type: - string @@ -92044,8 +92300,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 +92316,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 +92344,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 +92422,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 +92467,9 @@ paths: application/json: schema: type: array - items: *611 + items: *612 examples: - default: *612 + default: *613 '400': *14 '404': *6 x-github: @@ -92236,8 +92492,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 +92573,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 required: - login - type @@ -92407,9 +92663,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 +92898,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 +93012,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -92903,17 +93159,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 +93193,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 +93275,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 required: - login - type @@ -93110,10 +93366,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 +93407,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 +93436,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 +93472,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 +93569,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 +93579,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93356,8 +93612,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 +93691,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 +93786,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 +93941,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 +93952,7 @@ paths: application/json: schema: type: array - items: *615 + items: *616 examples: default: value: @@ -93729,8 +93985,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 +94042,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: default: value: @@ -93840,8 +94096,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 +94129,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 +94209,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 +94236,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -94007,8 +94263,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 +94284,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 +94367,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 +94376,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 title: Tag protection description: Tag protection type: object @@ -94177,8 +94433,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 +94457,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -94232,8 +94488,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 +94526,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 +94563,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 +94596,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 +94605,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 +94617,7 @@ paths: required: - names examples: - default: &620 + default: &621 value: names: - octocat @@ -94384,8 +94640,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 +94672,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *620 examples: - default: *620 + default: *621 '404': *6 '422': *7 x-github: @@ -94439,9 +94695,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 +94728,7 @@ paths: - 128 clones: type: array - items: &622 + items: &623 title: Traffic type: object properties: @@ -94559,8 +94815,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 +94910,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 +94974,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 +94997,7 @@ paths: - 3782 views: type: array - items: *622 + items: *623 required: - uniques - count @@ -94818,8 +95074,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 +95349,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 +95373,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 +95396,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 +95423,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 +95516,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 +95767,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &623 + text_matches: &624 title: Search Result Text Matches type: array items: @@ -95674,7 +95930,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 +95999,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 comment_count: type: integer message: @@ -95762,7 +96018,7 @@ paths: url: type: string format: uri - verification: *489 + verification: *490 required: - author - committer @@ -95777,7 +96033,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 parents: type: array items: @@ -95794,7 +96050,7 @@ paths: type: number node_id: type: string - text_matches: *623 + text_matches: *624 required: - sha - node_id @@ -95986,7 +96242,7 @@ paths: - interactions - created - updated - - *624 + - *625 - *17 - *19 - name: advanced_search @@ -96083,11 +96339,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 +96371,7 @@ paths: - string - 'null' format: date-time - text_matches: *623 + text_matches: *624 pull_request: type: object properties: @@ -96338,7 +96594,7 @@ paths: enum: - created - updated - - *624 + - *625 - *17 - *19 responses: @@ -96383,7 +96639,7 @@ paths: - 'null' score: type: number - text_matches: *623 + text_matches: *624 required: - id - node_id @@ -96468,7 +96724,7 @@ paths: - forks - help-wanted-issues - updated - - *624 + - *625 - *17 - *19 responses: @@ -96705,7 +96961,7 @@ paths: - admin - pull - push - text_matches: *623 + text_matches: *624 temp_clone_token: type: string allow_merge_commit: @@ -97013,7 +97269,7 @@ paths: - string - 'null' format: uri - text_matches: *623 + text_matches: *624 related: type: - array @@ -97206,7 +97462,7 @@ paths: - followers - repositories - joined - - *624 + - *625 - *17 - *19 responses: @@ -97316,7 +97572,7 @@ paths: type: - boolean - 'null' - text_matches: *623 + text_matches: *624 blog: type: - string @@ -97398,7 +97654,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 +97666,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 x-github: githubCloudOnly: false @@ -97439,7 +97695,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 +97759,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 +97796,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 +97825,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 +97863,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 +97914,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 +97951,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 +97991,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 +98028,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 +98070,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 +98096,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 +98132,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 +98160,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 +98202,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 +98361,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 +98413,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 +98440,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 +98452,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 +98485,7 @@ paths: application/json: schema: oneOf: - - &634 + - &635 title: Private User description: Private User type: object @@ -98479,7 +98735,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 +98895,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *635 examples: default: value: @@ -98985,7 +99241,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 +99249,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99037,7 +99293,7 @@ paths: type: integer secrets: type: array - items: &635 + items: &636 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99079,7 +99335,7 @@ paths: - visibility - selected_repositories_url examples: - default: *430 + default: *431 headers: Link: *57 x-github: @@ -99157,7 +99413,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -99303,7 +99559,7 @@ paths: type: array items: *144 examples: - default: *636 + default: *637 '401': *23 '403': *27 '404': *6 @@ -99455,7 +99711,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '304': *35 '500': *104 '401': *23 @@ -99513,7 +99769,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99570,7 +99826,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 +99879,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 +99924,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -99707,9 +99963,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: *639 + default: *640 '304': *35 '500': *104 '401': *23 @@ -99794,11 +100050,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 +100859,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '304': *35 '500': *104 '400': *14 @@ -100643,7 +100899,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '500': *104 '401': *23 '403': *27 @@ -100675,7 +100931,7 @@ paths: type: array items: *232 examples: - default: &650 + default: &651 value: - id: 197 name: hello_docker @@ -100776,7 +101032,7 @@ paths: application/json: schema: type: array - items: &640 + items: &641 title: Email description: Email type: object @@ -100846,9 +101102,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 +101181,7 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: default: value: @@ -101183,7 +101439,7 @@ paths: application/json: schema: type: array - items: &641 + items: &642 title: GPG Key description: A unique encryption key type: object @@ -101328,7 +101584,7 @@ paths: - subkeys - revoked examples: - default: &666 + default: &669 value: - id: 3 name: Octocat's GPG Key @@ -101413,9 +101669,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 +101728,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 +101740,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *642 + default: *643 '404': *6 '304': *35 '403': *27 @@ -101509,7 +101765,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 +102070,7 @@ paths: required: true content: application/json: - schema: *500 + schema: *501 examples: default: value: @@ -101964,7 +102220,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: Key description: Key type: object @@ -102067,9 +102323,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102102,15 +102358,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 +102389,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 +102422,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102245,7 +102501,7 @@ paths: - account - plan examples: - default: &647 + default: &648 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102307,9 +102563,9 @@ paths: application/json: schema: type: array - items: *646 + items: *647 examples: - default: *647 + default: *648 headers: Link: *57 '304': *35 @@ -103327,7 +103583,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *227 - - *648 + - *649 responses: '204': description: Response @@ -103442,7 +103698,7 @@ paths: - docker - nuget - container - - *649 + - *650 - *19 - *17 responses: @@ -103454,8 +103710,8 @@ paths: type: array items: *232 examples: - default: *650 - '400': *651 + default: *651 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103484,7 +103740,7 @@ paths: application/json: schema: *232 examples: - default: &667 + default: &670 value: id: 40201 name: octo-name @@ -103846,9 +104102,9 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: - default: *652 + default: *653 headers: Link: *57 '304': *35 @@ -103961,7 +104217,7 @@ paths: type: array items: *69 examples: - default: &659 + default: &660 summary: Default response value: - id: 1296269 @@ -104279,9 +104535,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 +104575,9 @@ paths: application/json: schema: type: array - items: *502 + items: *503 examples: - default: *653 + default: *654 headers: Link: *57 '304': *35 @@ -104400,7 +104656,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Social account description: Social media account type: object @@ -104417,7 +104673,7 @@ paths: - provider - url examples: - default: &655 + default: &656 value: - provider: twitter url: https://twitter.com/github @@ -104480,9 +104736,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *655 + default: *656 '422': *15 '304': *35 '404': *6 @@ -104570,7 +104826,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 +104846,7 @@ paths: - title - created_at examples: - default: &685 + default: &688 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104655,9 +104911,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: &657 + default: &658 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104687,7 +104943,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 +104955,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *657 + default: *658 '404': *6 '304': *35 '403': *27 @@ -104724,7 +104980,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 +105009,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 +105034,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 +105194,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 +105223,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 +105248,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 +105321,7 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: default: value: @@ -105151,10 +105407,10 @@ paths: application/json: schema: oneOf: + - *635 - *634 - - *633 examples: - default-response: &661 + default-response: &664 summary: Default response value: login: octocat @@ -105189,7 +105445,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 +105502,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 +105568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *660 + - *661 - *17 responses: '200': @@ -105334,6 +105591,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 +105730,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 +105784,8 @@ paths: required: - subject_digests examples: - default: *663 - withPredicateType: *664 + default: *666 + withPredicateType: *667 responses: '200': description: Response @@ -105469,7 +105839,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 +106044,7 @@ paths: initiator: type: string examples: - default: *369 + default: *370 '201': description: Response content: @@ -105715,7 +106085,7 @@ paths: type: array items: *232 examples: - default: *650 + default: *651 '403': *27 '401': *23 x-github: @@ -106099,9 +106469,9 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: - default: *666 + default: *669 headers: Link: *57 x-github: @@ -106205,7 +106575,7 @@ paths: application/json: schema: *20 examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106330,7 +106700,7 @@ paths: - docker - nuget - container - - *649 + - *650 - *62 - *19 - *17 @@ -106343,10 +106713,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 +106746,7 @@ paths: application/json: schema: *232 examples: - default: *667 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106725,7 +107095,7 @@ paths: type: array items: *253 examples: - default: *668 + default: *671 headers: Link: *57 '304': *35 @@ -106785,7 +107155,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 +107171,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *670 + iteration_configuration: *673 required: - name - data_type @@ -106823,8 +107193,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 +107202,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 +107228,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *250 - - *678 + - *681 - *62 responses: '200': @@ -106867,7 +107237,7 @@ paths: application/json: schema: *253 examples: - default: *679 + default: *682 headers: Link: *57 '304': *35 @@ -107224,7 +107594,7 @@ paths: parameters: - *250 - *62 - - *680 + - *683 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -107499,7 +107869,7 @@ paths: - *107 - *109 - *108 - - *681 + - *684 - *110 responses: '200': @@ -107630,7 +108000,7 @@ paths: parameters: - *62 - *107 - - *682 + - *685 - *108 responses: '200': @@ -107729,9 +108099,9 @@ paths: - *107 - *109 - *108 - - *683 + - *686 - *110 - - *684 + - *687 responses: '200': description: Response when getting a billing usage summary @@ -107865,9 +108235,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *655 + default: *656 headers: Link: *57 x-github: @@ -107897,9 +108267,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *685 + default: *688 headers: Link: *57 x-github: @@ -107924,7 +108294,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 +108306,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 +108470,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 +108539,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 +108560,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 +108633,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 +109546,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 +109625,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 +109852,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 +110044,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 +110132,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 +110242,7 @@ webhooks: - examples: - neutral - deployment: *693 + deployment: *696 details_url: type: string examples: @@ -109970,10 +110340,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 +110736,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 +111136,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 +111545,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 +112541,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 +113253,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 +113959,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 +114131,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 +114283,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 +114463,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 +114704,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 +114807,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 +114992,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 +115166,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 +115343,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 +115449,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 +115638,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 +115648,7 @@ webhooks: type: - string - 'null' - repository: *691 + repository: *694 sender: *4 required: - action @@ -115377,7 +115747,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 +115894,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 +116068,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 +116220,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 +116483,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 +116567,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 +116588,7 @@ webhooks: enum: - tag - branch - repository: *691 + repository: *694 sender: *4 required: - ref @@ -116300,10 +116670,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 +116758,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 +116837,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 +116917,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 +116997,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 +117085,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 +117180,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 +117268,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 +117356,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 +117442,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 +117528,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 +117615,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 +117701,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 +117782,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 +117822,8 @@ webhooks: - verified - created_at - read_only - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -117530,11 +117900,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 +118476,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 +119219,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 +119296,7 @@ webhooks: type: string enum: - approved - approver: &700 + approver: &703 type: object properties: avatar_url: @@ -118969,11 +119339,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 +119424,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &702 + workflow_job_run: &705 type: object properties: conclusion: @@ -119800,18 +120170,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 +120898,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 +122847,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 +123543,7 @@ webhooks: type: string enum: - answered - answer: &706 + answer: &709 type: object properties: author_association: @@ -123333,11 +123703,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 +123834,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 +123921,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 +124007,7 @@ webhooks: type: string enum: - created - comment: &705 + comment: &708 type: object properties: author_association: @@ -123797,11 +124167,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 +124254,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 +124354,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 +124443,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 +124529,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 +124633,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 +124719,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 +124755,8 @@ webhooks: - color - default - description - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124469,11 +124839,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 +124925,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 +125011,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 +125100,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 +125192,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 +125277,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 +125365,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 +125451,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 +125528,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 +126206,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 +126354,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 +126394,7 @@ webhooks: - action - sha - html_url - repository: *691 + repository: *694 sender: *4 required: - pages @@ -126100,10 +126470,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 +126499,8 @@ webhooks: - name - full_name - private - repository: *691 - requester: *708 + repository: *694 + requester: *711 sender: *4 required: - action @@ -126205,11 +126575,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 +126656,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 +126737,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 +126786,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 +126873,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 +126903,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 +126984,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 +127170,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 +127252,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 +127504,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 +128322,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 +128684,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -128395,7 +128765,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 +128932,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 +129746,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 +130110,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -129821,7 +130191,7 @@ webhooks: type: string enum: - edited - changes: &736 + changes: &739 description: The changes to the comment. type: object properties: @@ -129833,9 +130203,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 +131021,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 +131383,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131104,9 +131474,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 +131565,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 +131655,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 +131746,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 +131828,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 +132643,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 +132767,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -132478,8 +132848,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 +133666,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 +133933,8 @@ webhooks: required: - state - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -133643,8 +134013,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 +134822,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 +134945,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -134655,8 +135025,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 +135857,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 +135959,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 +136102,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -135832,8 +136202,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 +137015,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 +137139,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 +137221,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 +138033,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 +138157,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 +138239,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 +139076,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 +139177,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -138887,8 +139257,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 +140088,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 +140189,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 +141083,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 +141664,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 +142477,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 +142600,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -142311,9 +142681,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 +143489,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 +143612,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -143322,8 +143692,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 +144527,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 +144629,8 @@ webhooks: user_view_type: type: string type: *215 - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -145149,11 +145519,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 +146122,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 +146206,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 +146292,7 @@ webhooks: type: string enum: - unassigned - assignee: &739 + assignee: &742 title: User type: - object @@ -145994,11 +146364,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 +146447,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 +146532,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 +147367,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 +147468,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147179,11 +147549,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 +147632,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 +147717,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 +147799,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 +147913,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 +147999,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 +148089,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 +148174,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -147884,10 +148254,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 +148345,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -148057,10 +148427,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 +148516,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -148227,8 +148597,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 +148684,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 +148766,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 +148873,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 +148979,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 +149062,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 +149144,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 +149226,7 @@ webhooks: required: - login - id - team: &718 + team: &721 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149086,11 +149456,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 +149539,7 @@ webhooks: required: - login - id - team: *718 + team: *721 required: - action - scope @@ -149251,8 +149621,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 +149641,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 +149735,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 +149811,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 +149920,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 +150005,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 +150088,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 +150232,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149942,11 +150312,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 +150426,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 +150510,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 +150593,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 +150676,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 +150759,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 +150871,8 @@ webhooks: - role - organization_url - user - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150580,11 +150950,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 +151033,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 +151156,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 +151237,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 +151328,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 +151408,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 +151933,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &722 + items: &725 title: Ruby Gems metadata type: object properties: @@ -151660,7 +152030,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -151736,9 +152106,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 +152470,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *725 source_url: type: string format: uri @@ -152171,7 +152541,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -152352,12 +152722,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 +152804,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 +152954,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 +153034,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 +153114,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 +153193,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 +153302,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 +153334,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 +153580,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 +153706,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -153417,11 +153787,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 +153871,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 +154003,7 @@ webhooks: repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -153727,11 +154097,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 +154195,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 +154394,7 @@ webhooks: type: string required: - after_id - repository: *691 + repository: *694 sender: *4 required: - action @@ -154104,10 +154474,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 +154604,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -154314,10 +154684,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 +154727,7 @@ webhooks: - name - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -154436,14 +154806,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 +154902,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 +154986,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 +155070,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 +155154,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 +155262,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 +155345,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 +155430,8 @@ webhooks: type: string enum: - closed - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155143,8 +155513,8 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155226,8 +155596,8 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155349,8 +155719,8 @@ webhooks: type: string to: type: string - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155434,7 +155804,7 @@ webhooks: type: string enum: - archived - changes: &731 + changes: &734 type: object properties: archived_at: @@ -155450,9 +155820,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 +155962,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 +156046,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 +156129,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 +156236,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 +156260,7 @@ webhooks: required: - id - name - - &730 + - &733 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -155930,8 +156300,8 @@ webhooks: oneOf: - type: string - type: integer - - *729 - - *730 + - *732 + - *733 type: - 'null' - string @@ -155954,9 +156324,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 +156423,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 +156508,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 +156593,8 @@ webhooks: type: string enum: - reopened - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -156306,9 +156676,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 +156759,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 +156907,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 +156980,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 +157060,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 +159415,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -159127,11 +159497,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 +161843,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *694 sender: *4 required: - action @@ -161555,11 +161925,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 +164271,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *694 sender: *4 required: - action @@ -163983,13 +164353,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 +164421,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *691 + repository: *694 sender: *4 required: - action @@ -164132,12 +164502,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 +164587,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 +166918,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -166627,11 +166997,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 +169347,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *691 + repository: *694 sender: *4 required: - action @@ -169101,12 +169471,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 +169556,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 +171891,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -171601,11 +171971,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 +174323,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -174034,10 +174404,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 +176753,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -176463,12 +176833,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 +176917,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 +177003,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 +177088,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 +177468,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 +179700,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -179410,7 +179780,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 +180073,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 +182293,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -182003,11 +182373,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 +184598,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -184309,9 +184679,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 +186914,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 review: description: The review that was affected. type: object @@ -186795,9 +187165,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 +189281,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 +189520,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 +191872,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_reviewer: title: User type: @@ -191588,12 +191958,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 +194317,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 +194512,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 +196866,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_reviewer: title: User type: @@ -196583,12 +196953,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 +199298,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 +199482,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 +201720,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: *738 + repository: *694 + review: *741 sender: *4 required: - action @@ -201431,9 +201801,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 +203934,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 sender: *4 thread: type: object @@ -203961,9 +204331,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 +206447,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 sender: *4 thread: type: object @@ -206476,10 +206846,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 +209184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -208896,11 +209266,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 +211620,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -211329,11 +211699,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 +214042,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -213753,10 +214123,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 +216455,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -216288,7 +216658,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 +216753,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 +217342,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 +217821,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *722 + items: *725 summary: type: string tag_name: @@ -217507,7 +217877,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -217585,9 +217955,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 +218269,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *725 summary: type: string tag_name: @@ -217949,7 +218319,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -218026,10 +218396,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 +218730,7 @@ webhooks: - updated_at - zipball_url - body - repository: *691 + repository: *694 sender: *4 required: - action @@ -218437,11 +218807,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 +218928,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 +219010,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 +219348,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *694 sender: *4 required: - action @@ -219054,10 +219424,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 +219760,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *694 sender: *4 required: - action @@ -219466,11 +219836,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 +219916,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 +219996,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 +220076,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 +220156,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 +220236,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 +220317,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 +220405,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 +220523,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 +220598,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 +220682,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 +220762,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 +220859,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 +220942,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 +221024,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 +221106,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 +221129,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 +221171,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 +221417,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 +221498,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 +221579,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 +221703,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 +221916,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 +221997,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 +222203,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 +222284,7 @@ webhooks: type: string enum: - assigned - alert: &743 + alert: &746 type: object properties: number: *162 @@ -222029,10 +222399,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 +222480,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 +222565,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 +222807,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 +222889,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 +222971,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 +223053,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 +223136,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 +223270,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 +223351,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 +223541,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 +223618,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 +223807,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 +223889,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 +224199,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 +224292,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 +224374,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 +224458,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &748 + changes: &751 type: object properties: tier: @@ -224132,13 +224502,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 +224585,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 +224665,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 +224752,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 +225189,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 +225313,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 +225405,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 +225497,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 +225589,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 +225668,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 +225903,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 +226375,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -226081,9 +226451,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 +226923,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -226630,9 +227000,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 +227472,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -227246,9 +227616,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 +228088,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - changes @@ -227796,9 +228166,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 +228638,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -228344,10 +228714,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 +228790,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 +228882,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 +229141,7 @@ webhooks: type: string required: - conclusion - deployment: *464 + deployment: *465 required: - action - repository @@ -228850,10 +229220,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 +229505,7 @@ webhooks: required: - status - steps - deployment: *464 + deployment: *465 required: - action - repository @@ -229214,10 +229584,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 +229733,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *465 required: - action - repository @@ -229442,10 +229812,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 +229962,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *465 required: - action - repository @@ -229672,12 +230042,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 +231066,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 +232075,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..9e5c8a26d 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 @@ -198133,6 +198133,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", @@ -696708,6 +697506,804 @@ } } }, + "/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": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", 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..718cbd6ca 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: @@ -17141,7 +17141,7 @@ paths: type: boolean examples: - false - security_and_analysis: &265 + security_and_analysis: &266 type: - object - 'null' @@ -17306,7 +17306,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &538 value: - id: '1' repository: @@ -18836,7 +18836,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 +18982,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 +19094,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 +19102,7 @@ paths: schema: type: string - *110 - - &684 + - &687 name: sku description: The SKU to query for usage. in: query @@ -20081,7 +20081,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 +21319,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 +21402,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &330 type: object properties: days: @@ -21444,7 +21444,7 @@ paths: required: true content: application/json: - schema: &330 + schema: &331 type: object properties: days: @@ -21501,7 +21501,7 @@ paths: required: - approval_policy examples: - default: &331 + default: &332 value: approval_policy: first_time_contributors '404': *6 @@ -21560,7 +21560,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 type: object required: - run_workflows_from_fork_pull_requests @@ -21614,7 +21614,7 @@ paths: required: true content: application/json: - schema: &333 + schema: &334 type: object required: - run_workflows_from_fork_pull_requests @@ -22249,7 +22249,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 type: object properties: default_workflow_permissions: &137 @@ -22300,7 +22300,7 @@ paths: required: false content: application/json: - schema: &335 + schema: &336 type: object properties: default_workflow_permissions: *137 @@ -22793,7 +22793,7 @@ paths: type: array items: *144 examples: - default: &636 + default: &637 value: total_count: 1 repositories: @@ -23440,7 +23440,7 @@ paths: application/json: schema: type: array - items: &336 + items: &337 title: Runner Application description: Runner Application type: object @@ -23465,7 +23465,7 @@ paths: - download_url - filename examples: - default: &337 + default: &338 value: - os: osx architecture: x64 @@ -23551,7 +23551,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &338 + '201': &339 description: Response content: application/json: @@ -23666,7 +23666,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 +23705,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 +23739,7 @@ paths: application/json: schema: *146 examples: - default: &341 + default: &342 value: id: 23 name: MBP @@ -23965,7 +23965,7 @@ paths: - *66 - *145 responses: - '200': &342 + '200': &343 description: Response content: application/json: @@ -24022,7 +24022,7 @@ paths: parameters: - *66 - *145 - - &343 + - &344 name: name description: The name of a self-hosted runner's custom label. in: path @@ -24154,7 +24154,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 +24189,7 @@ paths: - key_id - key examples: - default: &356 + default: &357 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24602,7 +24602,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 +25764,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 +25828,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 +26177,7 @@ paths: initiator: type: string examples: - default: &369 + default: &370 value: attestations: - bundle: @@ -27133,7 +27133,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 +27143,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 +27167,7 @@ paths: be returned. in: query required: false - schema: &396 + schema: &397 type: string description: State of a code scanning alert. enum: @@ -27190,7 +27190,7 @@ paths: be returned. in: query required: false - schema: &397 + schema: &398 type: string description: Severity of a code scanning alert. enum: @@ -27224,7 +27224,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 +27246,7 @@ paths: - type: 'null' - *4 dismissed_at: *168 - dismissed_reason: &399 + dismissed_reason: &400 type: - string - 'null' @@ -27257,14 +27257,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 +27325,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 +27336,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 +27369,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 +27390,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 +28684,7 @@ paths: machine: anyOf: - type: 'null' - - &429 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -29636,7 +29636,7 @@ paths: - updated_at - visibility examples: - default: &430 + default: &431 value: total_count: 2 secrets: @@ -29674,7 +29674,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 +29709,7 @@ paths: - key_id - key examples: - default: &432 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29741,7 +29741,7 @@ paths: application/json: schema: *178 examples: - default: &434 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -30739,7 +30739,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 +31054,7 @@ paths: - date additionalProperties: true examples: - default: &303 + default: &304 value: - date: '2024-06-24' total_active_users: 24 @@ -31156,7 +31156,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 +31364,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 +31383,7 @@ paths: - key_id - key examples: - default: &461 + default: &462 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33211,7 +33211,7 @@ paths: application/json: schema: *20 examples: - default: &499 + default: &500 value: id: 1 account: @@ -33439,7 +33439,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 +34299,7 @@ paths: application/json: schema: *220 examples: - default: &428 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -35561,7 +35561,7 @@ paths: parameters: - *66 - *227 - - &648 + - &649 name: repo_name description: repo_name parameter in: path @@ -36620,7 +36620,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 +36661,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 +38487,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 +38761,7 @@ paths: content: oneOf: - *71 - - &443 + - &444 title: Pull Request Simple description: Pull Request Simple type: object @@ -39006,7 +39006,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 +39388,7 @@ paths: - updated_at - project_url examples: - default: &668 + default: &671 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39565,7 +39565,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 +39601,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 +39650,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 +39677,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 +39703,7 @@ paths: application/json: schema: *253 examples: - text_field: &673 + text_field: &676 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -39712,7 +39712,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 +39721,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 +39730,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 +39764,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 +39810,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 +39825,7 @@ paths: application/json: schema: *253 examples: - default: &679 + default: &682 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -40948,6 +40948,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 +41218,7 @@ paths: parameters: - *250 - *66 - - &680 + - &683 name: view_number description: The number that identifies the project view. in: path @@ -41029,7 +41285,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 +41360,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 +41419,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 +41449,9 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: - default: *261 + default: *262 '403': *27 '404': *6 x-github: @@ -41217,7 +41473,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 +41485,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 +41522,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 +41599,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *263 + default: *264 '403': *27 '404': *6 x-github: @@ -41369,7 +41625,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 +41689,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 +41779,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 +42174,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &312 title: Full Repository description: Full Repository type: object @@ -42383,7 +42639,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 +42669,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 +42753,7 @@ paths: - network_count - subscribers_count examples: - default: &313 + default: &314 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43018,7 +43274,7 @@ paths: - *66 - *17 - *19 - - &566 + - &567 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43037,7 +43293,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 +43328,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 +43341,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 +43412,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 +43436,7 @@ paths: match. items: type: string - - &270 + - &271 title: Organization ruleset conditions type: object description: |- @@ -43194,7 +43450,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 +43484,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 +43506,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 +43519,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 +43552,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 +43560,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 +43577,7 @@ paths: type: string enum: - creation - - &272 + - &273 title: update description: Only allow users with bypass permission to update matching refs. @@ -43342,7 +43598,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 +43610,7 @@ paths: type: string enum: - deletion - - &274 + - &275 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -43366,7 +43622,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 +43700,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 +43724,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 +43736,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 +43842,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 +43890,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 +43902,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 +43938,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 +43974,7 @@ paths: required: - operator - pattern - - &282 + - &283 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -43754,7 +44010,7 @@ paths: required: - operator - pattern - - &283 + - &284 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -43790,7 +44046,7 @@ paths: required: - operator - pattern - - &284 + - &285 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -43826,7 +44082,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 +44107,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 +44131,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 +44154,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 +44179,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 +44229,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 +44290,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 +44389,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 +44423,7 @@ paths: - *289 - *290 - *291 + - *292 required: - name - enforcement @@ -44205,9 +44461,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 +44518,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 +44533,7 @@ paths: in: query schema: type: string - - &569 + - &570 name: time_period description: |- The time period to filter by. @@ -44293,14 +44549,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 +44576,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &573 title: Rule Suites description: Response type: array @@ -44376,7 +44632,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 +44676,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 +44692,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &576 title: Rule Suite description: Response type: object @@ -44543,7 +44799,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 +44872,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '500': *104 put: @@ -44662,16 +44918,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 +44962,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '500': *104 delete: @@ -44765,7 +45021,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 +45045,7 @@ paths: type: string format: date-time examples: - default: &578 + default: &579 value: - version_id: 3 actor: @@ -44842,9 +45098,9 @@ paths: description: Response content: application/json: - schema: &579 + schema: &580 allOf: - - *295 + - *296 - type: object required: - state @@ -44914,7 +45170,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 +45181,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 +45191,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 +45200,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 +45219,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 +45234,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 +45244,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 +45254,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 +45263,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 +45272,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 +45281,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 +45313,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 +45427,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 +45491,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 +45552,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 +45567,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 +45582,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 +45597,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 +45612,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 +45627,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 +45642,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 +45657,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 +45672,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 +45687,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 +45702,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 +45942,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &297 + pattern_config_version: &298 type: - string - 'null' @@ -45696,7 +45952,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &296 + items: &297 type: object properties: token_type: @@ -45765,7 +46021,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 +46078,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 +46104,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 +46202,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 description: A repository security advisory. type: object properties: @@ -46190,7 +46446,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 credits_detailed: type: - array @@ -46201,7 +46457,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 +46521,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 +47248,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 +47387,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 +47418,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 +47430,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 headers: Link: *57 x-github: @@ -47198,7 +47454,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 +47493,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47259,7 +47515,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 +47660,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 +47790,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 +48189,7 @@ paths: - repos_count - organization examples: - default: &306 + default: &307 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48010,9 +48266,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 x-github: githubCloudOnly: false @@ -48097,16 +48353,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 +48509,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &308 title: Team Membership description: Team Membership type: object @@ -48281,7 +48537,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 +48600,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 +48709,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 +49359,8 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 requestBody: required: false content: @@ -49151,8 +49407,8 @@ paths: parameters: - *66 - *67 - - *308 - *309 + - *310 responses: '204': description: Response @@ -49189,7 +49445,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 +49599,7 @@ paths: resources: type: object properties: - core: &310 + core: &311 title: Rate Limit type: object properties: @@ -49360,21 +49616,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 +49735,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 +50243,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *312 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50005,8 +50261,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 +50510,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 +50542,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 +50565,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 +50589,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 +50616,7 @@ paths: type: integer artifacts: type: array - items: &315 + items: &316 title: Artifact description: An artifact type: object @@ -50455,7 +50711,7 @@ paths: - expires_at - updated_at examples: - default: &348 + default: &349 value: total_count: 2 artifacts: @@ -50516,9 +50772,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 +50786,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: default: value: @@ -50568,9 +50824,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 +50850,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 +50866,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 +50891,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 +50932,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 +50967,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 +51008,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 +51045,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 +51078,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 +51116,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Repository actions caches description: Repository actions caches type: object @@ -50910,7 +51166,7 @@ paths: - total_count - actions_caches examples: - default: &322 + default: &323 value: total_count: 1 actions_caches: @@ -50942,23 +51198,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 +51234,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 +51266,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 +51280,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 +51627,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 +51657,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 +51705,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 +51756,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 +51820,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 +51839,7 @@ paths: type: integer secrets: type: array - items: &353 + items: &354 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51604,7 +51860,7 @@ paths: - created_at - updated_at examples: - default: &354 + default: &355 value: total_count: 2 secrets: @@ -51637,9 +51893,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 +51912,7 @@ paths: type: integer variables: type: array - items: &357 + items: &358 title: Actions Variable type: object properties: @@ -51690,7 +51946,7 @@ paths: - created_at - updated_at examples: - default: &358 + default: &359 value: total_count: 2 variables: @@ -51723,8 +51979,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 +51989,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 +52022,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 +52034,7 @@ paths: schema: type: object properties: - enabled: *326 + enabled: *327 allowed_actions: *129 sha_pinning_required: *130 required: @@ -51810,14 +52066,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 +52090,7 @@ paths: required: - access_level examples: - default: &328 + default: &329 value: access_level: organization x-github: @@ -51858,15 +52114,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 +52146,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 +52177,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 +52188,7 @@ paths: required: true content: application/json: - schema: *330 + schema: *331 examples: default: summary: Set retention days @@ -51956,8 +52212,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 +52221,7 @@ paths: application/json: schema: *131 examples: - default: *331 + default: *332 '404': *6 x-github: enabledForGitHubApps: true @@ -51984,8 +52240,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 +52275,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 +52304,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 +52336,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 +52364,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 +52397,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 +52427,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 +52439,7 @@ paths: required: true content: application/json: - schema: *335 + schema: *336 examples: default: *139 x-github: @@ -52212,8 +52468,8 @@ paths: in: query schema: type: string - - *308 - *309 + - *310 - *17 - *19 responses: @@ -52257,8 +52513,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 +52522,9 @@ paths: application/json: schema: type: array - items: *336 + items: *337 examples: - default: *337 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52290,8 +52546,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 +52590,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *338 + '201': *339 '404': *6 '422': *7 '409': *50 @@ -52365,8 +52621,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 +52630,7 @@ paths: application/json: schema: *148 examples: - default: *339 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52402,8 +52658,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 +52667,7 @@ paths: application/json: schema: *148 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52433,8 +52689,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 +52699,7 @@ paths: application/json: schema: *146 examples: - default: *341 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52464,8 +52720,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 +52748,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 +52774,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 +52824,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 +52875,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 +52906,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 +52937,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 +52947,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 +52955,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 +52964,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 +52991,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 +53000,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 +53009,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 +53038,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 +53216,7 @@ paths: head_commit: anyOf: - type: 'null' - - &389 + - &390 title: Simple Commit description: A commit. type: object @@ -53075,7 +53331,7 @@ paths: - workflow_url - pull_requests examples: - default: &368 + default: &369 value: total_count: 1 workflow_runs: @@ -53311,24 +53567,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 +53825,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 +53850,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 +53980,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 +54015,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 +54036,9 @@ paths: type: integer artifacts: type: array - items: *315 + items: *316 examples: - default: *348 + default: *349 headers: Link: *57 x-github: @@ -53806,25 +54062,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 +54103,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 +54124,9 @@ paths: type: integer jobs: type: array - items: *351 + items: *352 examples: - default: &352 + default: &353 value: total_count: 1 jobs: @@ -53983,10 +54239,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 +54270,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 +54305,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 +54374,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 +54409,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 +54441,9 @@ paths: type: integer jobs: type: array - items: *351 + items: *352 examples: - default: *352 + default: *353 headers: Link: *57 x-github: @@ -54212,9 +54468,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 +54497,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 +54526,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 +54597,7 @@ paths: items: type: object properties: - type: &469 + type: &470 type: string description: The type of reviewer. enum: @@ -54427,9 +54683,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 +54735,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 +54847,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 +54903,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 +54950,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 +55006,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 +55145,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 +55164,9 @@ paths: type: integer secrets: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *57 x-github: @@ -54935,16 +55191,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 +55222,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 +55258,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 +55317,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 +55344,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 +55363,9 @@ paths: type: integer variables: type: array - items: *357 + items: *358 examples: - default: *358 + default: *359 headers: Link: *57 x-github: @@ -55132,8 +55388,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 +55441,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 +55477,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 +55521,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 +55548,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 +55567,7 @@ paths: type: integer workflows: type: array - items: &359 + items: &360 title: Workflow description: A GitHub Actions workflow type: object @@ -55429,9 +55685,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 +55702,7 @@ paths: description: Response content: application/json: - schema: *359 + schema: *360 examples: default: value: @@ -55479,9 +55735,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 +55762,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 +55815,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 +55844,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 +55872,9 @@ paths: type: integer workflow_runs: type: array - items: *345 + items: *346 examples: - default: *368 + default: *369 headers: Link: *57 x-github: @@ -55650,9 +55906,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 +55969,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 +56138,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 +56176,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 +56213,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 +56326,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 +56384,7 @@ paths: initiator: type: string examples: - default: *369 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56148,8 +56404,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 +56413,7 @@ paths: application/json: schema: type: array - items: &370 + items: &371 title: Autolink reference description: An autolink reference. type: object @@ -56216,8 +56472,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 +56512,9 @@ paths: description: response content: application/json: - schema: *370 + schema: *371 examples: - default: &371 + default: &372 value: id: 1 key_prefix: TICKET- @@ -56289,9 +56545,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 +56559,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *371 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -56325,9 +56581,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 +56607,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 +56658,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 +56680,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 +56701,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 +56740,7 @@ paths: - url protected: type: boolean - protection: &374 + protection: &375 title: Branch Protection description: Branch Protection type: object @@ -56527,7 +56783,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 +56800,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 +56884,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 +57177,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 +57193,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 +57239,7 @@ paths: author: anyOf: - type: 'null' - - &373 + - &374 title: Git User description: Metaproperties for Git author/committer information. @@ -57005,7 +57261,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 message: type: string examples: @@ -57029,7 +57285,7 @@ paths: required: - sha - url - verification: &489 + verification: &490 title: Verification type: object properties: @@ -57109,7 +57365,7 @@ paths: type: integer files: type: array - items: &450 + items: &451 title: Diff Entry description: Diff Entry type: object @@ -57205,7 +57461,7 @@ paths: - self protected: type: boolean - protection: *374 + protection: *375 protection_url: type: string format: uri @@ -57314,7 +57570,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 +57592,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 +57794,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 +58056,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 +58215,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *376 + restrictions: *377 required_conversation_resolution: type: object properties: @@ -58071,9 +58327,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 +58354,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 +58386,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 +58415,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 +58442,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 +58548,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 +58648,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *380 examples: - default: *380 + default: *381 '422': *15 x-github: githubCloudOnly: false @@ -58415,9 +58671,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 +58700,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 +58733,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 +58763,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 +58790,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 +58826,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 +58880,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *383 + default: *384 '404': *6 '422': *15 x-github: @@ -58648,9 +58904,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 +58930,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 +58966,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 +59035,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 +59101,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 +59169,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 +59268,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 +59293,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 +59305,7 @@ paths: type: array items: *5 examples: - default: &384 + default: &385 value: - id: 1 slug: octoapp @@ -59106,9 +59362,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 +59398,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59163,9 +59419,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 +59455,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59220,9 +59476,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 +59512,7 @@ paths: type: array items: *5 examples: - default: *384 + default: *385 '422': *15 x-github: githubCloudOnly: false @@ -59278,9 +59534,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 +59566,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 +59627,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 +59688,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 +59749,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 +59785,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 +59845,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 +59905,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 +59967,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 +59991,7 @@ paths: description: Response content: application/json: - schema: *385 + schema: *386 examples: default: value: @@ -59851,8 +60107,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 +60387,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 +60523,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 +60810,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 +60824,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: &388 + default: &389 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60670,9 +60926,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 +61168,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *388 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60934,9 +61190,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 +61302,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 +61348,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 +61371,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 +61469,7 @@ paths: - string - 'null' format: date-time - head_commit: *389 + head_commit: *390 latest_check_runs_count: type: integer check_runs_url: @@ -61241,7 +61497,7 @@ paths: - check_runs_url - pull_requests examples: - default: &391 + default: &392 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61532,9 +61788,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 +61809,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 +62119,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 +62133,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61902,17 +62158,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 +62207,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 +62311,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 +62346,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 +62385,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 +62415,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 +62423,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 +62550,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 +62577,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 +62593,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &407 type: object properties: number: *162 @@ -62345,7 +62601,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 +62609,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 +62672,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 +62769,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 +62789,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 +62806,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 +62835,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *407 examples: default: value: @@ -62655,7 +62911,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 +62938,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 +62973,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 +62990,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 +63015,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 +63069,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 +63117,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 +63142,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 +63159,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 +63179,7 @@ paths: properties: text: type: string - location: *416 + location: *417 html_url: type: string classifications: @@ -62931,7 +63187,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 +63226,7 @@ paths: end_column: 50 classifications: - source - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63004,25 +63260,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 +63300,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 +63341,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 +63404,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *404 + '403': *405 '404': *6 '503': *105 x-github: @@ -63184,8 +63440,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 +63454,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: response: summary: application/json response @@ -63252,7 +63508,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 +63595,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 +63652,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 +63674,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 +63683,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -63539,7 +63795,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 +63824,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 +63837,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: default: value: @@ -63613,9 +63869,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 +63893,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 +63904,7 @@ paths: responses: '204': description: Response - '403': *410 + '403': *411 '404': *6 '503': *105 x-github: @@ -63676,8 +63932,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 +63942,7 @@ paths: type: object additionalProperties: false properties: - language: &421 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63766,7 +64022,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 +64032,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 +64080,7 @@ paths: items: type: object properties: - repository: &422 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63866,7 +64122,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 +64154,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 +64169,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 +64192,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 +64209,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 +64355,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 +64386,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 +64399,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *426 examples: - default: *424 + default: *425 '404': *6 '503': *105 x-github: @@ -64168,7 +64424,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 +64459,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 +64584,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 +64678,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 +64699,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 +64794,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 +64865,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 +64874,7 @@ paths: schema: type: object properties: - commit_sha: *427 + commit_sha: *428 ref: type: string description: |- @@ -64678,7 +64934,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 +64948,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 +64971,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 +65020,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 +65045,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 +65127,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 +65256,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65315,8 +65571,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 +65638,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 +65646,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '400': *14 '401': *23 '403': *27 @@ -65419,8 +65675,8 @@ paths: parameters: - *17 - *19 - - *308 - *309 + - *310 responses: '200': description: Response @@ -65484,8 +65740,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 +65778,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: &639 + default: &640 value: total_count: 2 machines: @@ -65564,8 +65820,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 +65908,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 +65978,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 +65997,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 +66018,7 @@ paths: - created_at - updated_at examples: - default: *430 + default: *431 headers: Link: *57 x-github: @@ -65785,16 +66041,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 +66070,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 +66100,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 +66154,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 +66184,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 +66223,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Collaborator description: Collaborator type: object @@ -66160,8 +66416,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 +66464,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 +66492,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 +66720,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 +66753,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 +66775,7 @@ paths: user: anyOf: - type: 'null' - - *435 + - *436 required: - permission - role_name @@ -66573,8 +66829,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 +66840,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -66642,7 +66898,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 +66957,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 +67024,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 +67048,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: default: value: @@ -66843,8 +67099,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 +67122,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 +67150,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 +67194,7 @@ paths: - content - created_at examples: - default: &506 + default: &507 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -66983,8 +67239,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 +67273,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 +67304,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 +67328,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 +67386,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 +67443,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 +67539,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 +67613,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 +67625,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *441 + default: *442 headers: Link: *57 x-github: @@ -67399,9 +67655,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 +67692,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 +67722,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 +67734,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 +68273,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 +68292,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 +68407,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 +68445,9 @@ paths: type: integer check_runs: type: array - items: *386 + items: *387 examples: - default: *447 + default: *448 headers: Link: *57 x-github: @@ -68216,9 +68472,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 +68482,7 @@ paths: schema: type: integer example: 1 - - *445 + - *446 - *17 - *19 responses: @@ -68244,7 +68500,7 @@ paths: type: integer check_suites: type: array - items: *390 + items: *391 examples: default: value: @@ -68444,9 +68700,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 +68904,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 +68916,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Status description: The status of a commit. type: object @@ -68741,7 +68997,7 @@ paths: site_admin: false headers: Link: *57 - '301': *312 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68769,8 +69025,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 +69059,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 +69083,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 +69224,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 +69273,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 +69298,10 @@ paths: - 6 commits: type: array - items: *439 + items: *440 files: type: array - items: *450 + items: *451 required: - url - html_url @@ -69331,8 +69587,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 +69741,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 +69878,7 @@ paths: - size - type - url - - &556 + - &557 title: Content File description: Content File type: object @@ -69840,7 +70096,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 +70165,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 +70188,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 +70284,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: File Commit description: File Commit type: object @@ -70184,7 +70440,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: example-for-creating-a-file: value: @@ -70238,7 +70494,7 @@ paths: schema: oneOf: - *3 - - &484 + - &485 description: Repository rule violation was detected type: object properties: @@ -70259,7 +70515,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 +70547,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 +70609,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: default: value: @@ -70408,8 +70664,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 +70789,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 +70802,7 @@ paths: schema: type: string - *184 - - *454 + - *455 - *185 - *186 - *51 @@ -70567,7 +70823,7 @@ paths: application/json: schema: type: array - items: &458 + items: &459 type: object description: A Dependabot alert. properties: @@ -70617,7 +70873,7 @@ paths: - direct - transitive - - security_advisory: *455 + security_advisory: *456 security_vulnerability: *55 url: *165 html_url: *166 @@ -70648,8 +70904,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 +71135,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 +71152,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -71009,9 +71265,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 +71312,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -71185,8 +71441,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 +71460,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &463 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71258,16 +71514,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 +71543,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 +71577,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 +71631,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 +71655,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 +71830,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 +72091,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 +72175,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 +72214,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 +72228,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 +72361,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 +72403,9 @@ paths: application/json: schema: type: array - items: *464 + items: *465 examples: - default: *465 + default: *466 headers: Link: *57 x-github: @@ -72215,8 +72471,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 +72554,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: simple-example: summary: Simple example @@ -72371,9 +72627,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 +72641,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: default: value: @@ -72450,9 +72706,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 +72730,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 +72742,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Deployment Status description: The status of a deployment. type: object @@ -72650,9 +72906,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 +72983,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 +73041,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 +73054,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: - default: *468 + default: *469 '404': *6 x-github: githubCloudOnly: false @@ -72825,8 +73081,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 +73139,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 +73158,7 @@ paths: - 5 environments: type: array - items: &470 + items: &471 title: Environment description: Details of a deployment environment type: object @@ -72964,7 +73220,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 +73262,7 @@ paths: items: type: object properties: - type: *469 + type: *470 reviewer: anyOf: - *4 @@ -73033,7 +73289,7 @@ paths: - id - node_id - type - deployment_branch_policy: &473 + deployment_branch_policy: &474 type: - object - 'null' @@ -73150,9 +73406,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 +73421,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &474 + default: &475 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73251,9 +73507,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 +73519,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 +73538,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 +73565,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 +73591,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 +73618,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 +73639,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 +73700,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 +73750,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 +73794,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 +73809,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73574,10 +73830,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 +73862,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: - default: *476 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73627,10 +73883,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 +73911,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 +73930,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 +73952,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 +74055,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 +74078,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 +74115,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 +74137,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *479 + items: *480 examples: default: value: @@ -73916,10 +74172,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 +74187,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *480 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73954,10 +74210,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 +74239,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 +74259,9 @@ paths: type: integer secrets: type: array - items: *353 + items: *354 examples: - default: *354 + default: *355 headers: Link: *57 x-github: @@ -74030,17 +74286,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 +74318,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 +74351,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 +74411,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 +74439,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 +74459,9 @@ paths: type: integer variables: type: array - items: *357 + items: *358 examples: - default: *358 + default: *359 headers: Link: *57 x-github: @@ -74228,9 +74484,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 +74538,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 +74570,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 +74615,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 +74640,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 +74709,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 +74869,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 +74903,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *313 + default: *314 '400': *14 '422': *15 '403': *27 @@ -74670,8 +74926,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 +74987,7 @@ paths: schema: oneOf: - *113 - - *484 + - *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74756,8 +75012,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 +75113,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 +75223,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 +75450,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 +75514,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 +75533,7 @@ paths: application/json: schema: type: array - items: &487 + items: &488 title: Git Reference description: Git references within a repository type: object @@ -75353,17 +75609,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 +75648,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 +75678,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 +75706,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 +75737,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 '422': *15 '409': *50 x-github: @@ -75501,9 +75757,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 +75814,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 +75882,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &491 title: Git Tag description: Metadata for a Git tag type: object @@ -75682,7 +75938,7 @@ paths: - sha - type - url - verification: *489 + verification: *490 required: - sha - url @@ -75692,7 +75948,7 @@ paths: - tag - message examples: - default: &491 + default: &492 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75765,8 +76021,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 +76033,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '404': *6 '409': *50 x-github: @@ -75803,8 +76059,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 +76134,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 +76236,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 +76260,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default-response: summary: Default response @@ -76063,8 +76319,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 +76330,7 @@ paths: application/json: schema: type: array - items: &493 + items: &494 title: Webhook description: Webhooks for repositories. type: object @@ -76137,7 +76393,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 +76470,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 +76524,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &494 + default: &495 value: type: Repository id: 12345678 @@ -76318,17 +76574,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 +76604,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 +76651,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '422': *15 '404': *6 x-github: @@ -76418,8 +76674,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 +76700,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 +76729,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 +76775,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 +76808,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 +76838,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 +76863,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 +76890,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 +76915,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 +76964,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 +76985,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 +77043,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 +77157,7 @@ paths: - html_url - authors_url examples: - default: &498 + default: &499 value: vcs: subversion use_lfs: true @@ -76917,7 +77173,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 +77202,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 +77251,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default: value: @@ -77020,7 +77276,7 @@ paths: type: string '422': *15 '404': *6 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77048,8 +77304,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 +77357,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: example-1: summary: Example 1 @@ -77149,7 +77405,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 +77428,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 +77459,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 +77475,7 @@ paths: application/json: schema: type: array - items: &497 + items: &498 title: Porter Author description: Porter Author type: object @@ -77273,7 +77529,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 +77554,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 +77585,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *498 examples: default: value: @@ -77342,7 +77598,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 +77622,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 +77664,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *496 + '503': *497 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77436,8 +77692,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 +77720,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 +77747,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 +77756,8 @@ paths: application/json: schema: *20 examples: - default: *499 - '301': *312 + default: *500 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -77521,8 +77777,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 +77791,7 @@ paths: properties: {} additionalProperties: false examples: - default: &501 + default: &502 value: limit: collaborators_only origin: repository @@ -77560,13 +77816,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 +77836,7 @@ paths: application/json: schema: *210 examples: - default: *501 + default: *502 '409': description: Response x-github: @@ -77602,8 +77858,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 +77882,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 +77893,9 @@ paths: application/json: schema: type: array - items: *502 + items: *503 examples: - default: &653 + default: &654 value: - id: 1 repository: @@ -77770,8 +78026,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 +78057,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: default: value: @@ -77932,8 +78188,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 +78221,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 +78295,7 @@ paths: type: array items: *71 examples: - default: &512 + default: &513 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78187,7 +78443,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *312 + '301': *313 '422': *15 '404': *6 x-github: @@ -78216,8 +78472,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 +78565,7 @@ paths: application/json: schema: *71 examples: - default: &509 + default: &510 value: id: 1 node_id: MDU6SXNzdWUx @@ -78465,7 +78721,7 @@ paths: '422': *15 '503': *105 '404': *6 - '410': *503 + '410': *504 x-github: triggersNotification: true githubCloudOnly: false @@ -78493,8 +78749,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 +78771,9 @@ paths: application/json: schema: type: array - items: *504 + items: *505 examples: - default: &511 + default: &512 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78575,17 +78831,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 +78895,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 +78919,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -78683,8 +78939,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 +78961,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 +78989,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -78756,8 +79012,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 +79046,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 +79077,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 +79100,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 +79111,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Issue Event description: Issue Event type: object @@ -79194,8 +79450,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 +79462,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -79398,7 +79654,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *503 + '410': *504 '403': *27 x-github: githubCloudOnly: false @@ -79432,9 +79688,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 +79704,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 +79732,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 +79855,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 +79879,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 +79909,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79669,9 +79925,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 +79954,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79720,9 +79976,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 +80018,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 +80031,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 +80066,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 +80090,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 +80127,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 +80141,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 +80174,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 +80200,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 +80239,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 +80255,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 +80287,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 +80301,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 +80323,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 +80339,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 +80388,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &516 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80260,7 +80516,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &517 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80306,7 +80562,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &518 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80352,7 +80608,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80401,7 +80657,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 +80699,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 +80741,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 +80797,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &523 title: Locked Issue Event description: Locked Issue Event type: object @@ -80586,7 +80842,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 +80903,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 +81025,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 +81118,7 @@ paths: color: red headers: Link: *57 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80879,9 +81135,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 +81149,7 @@ paths: type: array items: *70 examples: - default: &513 + default: &514 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80911,9 +81167,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 +81186,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 +81249,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 +81269,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 +81333,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 +81353,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 +81380,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 +81406,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 +81428,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 +81459,7 @@ paths: '204': description: Response '403': *27 - '410': *503 + '410': *504 '404': *6 '422': *15 x-github: @@ -81221,9 +81477,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 +81509,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 +81519,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 +81539,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 +81567,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 +81591,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 +81625,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 +81656,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 +81688,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 +81714,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 +81747,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 +81761,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 +81793,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 +81824,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 +81851,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 +81886,7 @@ paths: application/json: schema: *71 examples: - default: *509 + default: *510 '403': *27 '404': *6 '422': *7 @@ -81652,9 +81908,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 +81925,6 @@ paths: description: Timeline Event type: object anyOf: - - *514 - *515 - *516 - *517 @@ -81682,6 +81937,7 @@ paths: - *524 - *525 - *526 + - *527 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -82010,7 +82266,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 +82507,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 +82782,7 @@ paths: headers: Link: *57 '404': *6 - '410': *503 + '410': *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82543,8 +82799,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 +82810,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 +82878,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 +82915,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 +82951,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 +82965,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *528 examples: - default: *528 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -82729,9 +82985,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 +83007,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 +83020,7 @@ paths: type: array items: *70 examples: - default: *513 + default: *514 headers: Link: *57 '404': *6 @@ -82785,8 +83041,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 +83080,7 @@ paths: application/json: schema: *70 examples: - default: &530 + default: &531 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82856,8 +83112,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 +83126,7 @@ paths: application/json: schema: *70 examples: - default: *530 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -82887,8 +83143,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 +83209,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 +83236,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 +83276,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 +83425,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 +83491,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 +83526,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 +83553,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 +83651,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 +83694,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 +83753,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 +83769,7 @@ paths: application/json: schema: *251 examples: - default: *532 + default: *533 '404': *6 x-github: githubCloudOnly: false @@ -83530,9 +83786,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 +83828,7 @@ paths: application/json: schema: *251 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83588,9 +83844,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 +83867,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 +83881,7 @@ paths: type: array items: *70 examples: - default: *513 + default: *514 headers: Link: *57 x-github: @@ -83644,12 +83900,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 +83917,7 @@ paths: type: array items: *97 examples: - default: *537 + default: *538 headers: Link: *57 x-github: @@ -83685,8 +83941,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 +84000,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 +84151,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 +84192,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 +84248,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *539 + default: *540 '422': *15 '409': *50 x-github: @@ -84017,8 +84273,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 +84374,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 +84401,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 +84412,7 @@ paths: application/json: schema: type: array - items: &540 + items: &541 title: Page Build description: Page Build type: object @@ -84248,8 +84504,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 +84552,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 +84609,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 +84621,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *541 examples: - default: *541 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84387,8 +84643,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 +84752,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 +84812,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 +84841,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 +85137,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 +85175,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 +85197,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 +85220,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 +85229,7 @@ paths: application/json: schema: type: array - items: *264 + items: *265 examples: default: value: @@ -85004,8 +85260,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 +85273,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 +85323,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 +85384,9 @@ paths: application/json: schema: type: array - items: *443 + items: *444 examples: - default: *543 + default: *544 headers: Link: *57 '304': *35 @@ -85162,8 +85418,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 +85486,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 +85726,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 +85828,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 +86355,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 +86385,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 +86464,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 +86549,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 +86573,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: - default: *546 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86335,8 +86591,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 +86614,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 +86642,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -86409,8 +86665,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 +86699,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 +86730,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 +86776,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 +86791,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 +86828,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 +86872,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: - default: *548 + default: *549 '422': *15 '403': *27 x-github: @@ -86640,9 +86896,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 +86961,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 +86969,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -86743,9 +86999,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 +87022,9 @@ paths: application/json: schema: type: array - items: *545 + items: *546 examples: - default: *550 + default: *551 headers: Link: *57 x-github: @@ -86801,9 +87057,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 +87165,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: example-for-a-multi-line-comment: value: @@ -86997,9 +87253,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 +87278,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *546 examples: default: value: @@ -87108,9 +87364,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 +87376,9 @@ paths: application/json: schema: type: array - items: *439 + items: *440 examples: - default: *551 + default: *552 headers: Link: *57 x-github: @@ -87152,9 +87408,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 +87420,7 @@ paths: application/json: schema: type: array - items: *450 + items: *451 examples: default: value: @@ -87202,9 +87458,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 +87483,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 +87597,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 +87674,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 +87713,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -87993,9 +88249,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 +88285,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: default: value: @@ -88534,9 +88790,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 +88802,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 +88958,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 +89050,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &554 + default: &555 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88859,10 +89115,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 +89130,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: &555 + default: &556 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88935,10 +89191,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 +89217,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -89023,18 +89279,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 +89317,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 +89578,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 +89610,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -89417,10 +89673,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 +89711,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *555 + default: *556 '404': *6 '422': *7 '403': *27 @@ -89479,9 +89735,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 +89801,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 +89815,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: &557 + default: &558 value: type: file encoding: base64 @@ -89603,8 +89859,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 +89880,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *6 '422': *15 x-github: @@ -89648,8 +89904,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 +89915,7 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: default: value: @@ -89753,8 +90009,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 +90086,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 +90193,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 +90207,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 +90244,7 @@ paths: type: User site_admin: false '404': *6 - '302': *452 + '302': *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90004,9 +90260,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 +90291,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *561 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90053,9 +90309,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 +90335,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 +90422,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 +90448,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 +90462,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *559 examples: - default: *562 + default: *563 '404': *6 x-github: githubCloudOnly: false @@ -90230,9 +90486,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 +90502,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 +90522,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 +90588,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 +90611,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 +90633,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 +90645,7 @@ paths: application/json: schema: type: array - items: *559 + items: *560 examples: default: value: @@ -90470,9 +90726,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 +90754,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *560 examples: response-for-successful-upload: value: @@ -90553,9 +90809,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 +90835,9 @@ paths: application/json: schema: type: array - items: *437 + items: *438 examples: - default: *506 + default: *507 headers: Link: *57 '404': *6 @@ -90602,9 +90858,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 +90890,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 +90921,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 +90948,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 +90966,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 +90986,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 +91087,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90843,7 +91099,7 @@ paths: schema: type: boolean default: true - - *566 + - *567 responses: '200': description: Response @@ -90851,7 +91107,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: value: @@ -90898,8 +91154,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 requestBody: description: Request body required: true @@ -90919,16 +91175,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 +91215,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 +91264,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 +91277,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *573 examples: - default: *573 + default: *574 '404': *6 '500': *104 x-github: @@ -91044,17 +91300,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 +91338,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91103,9 +91359,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *577 + default: *578 '404': *6 '500': *104 put: @@ -91123,8 +91379,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91149,16 +91405,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 +91442,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *577 + default: *578 '404': *6 '500': *104 delete: @@ -91206,8 +91462,8 @@ paths: category: repos subcategory: rules parameters: - - *308 - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91230,8 +91486,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 +91503,9 @@ paths: application/json: schema: type: array - items: *295 + items: *296 examples: - default: *578 + default: *579 '404': *6 '500': *104 x-github: @@ -91268,8 +91524,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 +91543,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *580 examples: default: value: @@ -91342,22 +91598,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 +91621,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 type: object properties: number: *162 @@ -91381,8 +91637,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 +91732,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 +91877,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 +91940,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 +91950,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 +91987,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -91826,9 +92082,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 +92095,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &744 + items: &747 type: object properties: type: @@ -91866,7 +92122,6 @@ paths: - commit details: oneOf: - - *595 - *596 - *597 - *598 @@ -91879,6 +92134,7 @@ paths: - *605 - *606 - *607 + - *608 examples: default: value: @@ -91964,8 +92220,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 +92229,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 +92253,7 @@ paths: schema: type: object properties: - reason: *609 + reason: *610 expire_at: type: - string @@ -92044,8 +92300,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 +92316,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 +92344,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 +92422,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 +92467,9 @@ paths: application/json: schema: type: array - items: *611 + items: *612 examples: - default: *612 + default: *613 '400': *14 '404': *6 x-github: @@ -92236,8 +92492,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 +92573,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 required: - login - type @@ -92407,9 +92663,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 +92898,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 +93012,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -92903,17 +93159,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 +93193,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 +93275,7 @@ paths: login: type: string description: The username of the user credited. - type: *298 + type: *299 required: - login - type @@ -93110,10 +93366,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 +93407,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 +93436,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 +93472,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 +93569,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 +93579,7 @@ paths: application/json: schema: type: array - items: &615 + items: &616 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93356,8 +93612,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 +93691,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 +93786,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 +93941,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 +93952,7 @@ paths: application/json: schema: type: array - items: *615 + items: *616 examples: default: value: @@ -93729,8 +93985,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 +94042,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: default: value: @@ -93840,8 +94096,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 +94129,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 +94209,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 +94236,7 @@ paths: description: Response content: application/json: - schema: *617 + schema: *618 examples: default: value: @@ -94007,8 +94263,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 +94284,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 +94367,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 +94376,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 title: Tag protection description: Tag protection type: object @@ -94177,8 +94433,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 +94457,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -94232,8 +94488,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 +94526,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 +94563,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 +94596,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 +94605,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 +94617,7 @@ paths: required: - names examples: - default: &620 + default: &621 value: names: - octocat @@ -94384,8 +94640,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 +94672,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *620 examples: - default: *620 + default: *621 '404': *6 '422': *7 x-github: @@ -94439,9 +94695,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 +94728,7 @@ paths: - 128 clones: type: array - items: &622 + items: &623 title: Traffic type: object properties: @@ -94559,8 +94815,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 +94910,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 +94974,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 +94997,7 @@ paths: - 3782 views: type: array - items: *622 + items: *623 required: - uniques - count @@ -94818,8 +95074,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 +95349,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 +95373,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 +95396,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 +95423,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 +95516,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 +95767,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &623 + text_matches: &624 title: Search Result Text Matches type: array items: @@ -95674,7 +95930,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 +95999,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 comment_count: type: integer message: @@ -95762,7 +96018,7 @@ paths: url: type: string format: uri - verification: *489 + verification: *490 required: - author - committer @@ -95777,7 +96033,7 @@ paths: committer: anyOf: - type: 'null' - - *373 + - *374 parents: type: array items: @@ -95794,7 +96050,7 @@ paths: type: number node_id: type: string - text_matches: *623 + text_matches: *624 required: - sha - node_id @@ -95986,7 +96242,7 @@ paths: - interactions - created - updated - - *624 + - *625 - *17 - *19 - name: advanced_search @@ -96083,11 +96339,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 +96371,7 @@ paths: - string - 'null' format: date-time - text_matches: *623 + text_matches: *624 pull_request: type: object properties: @@ -96338,7 +96594,7 @@ paths: enum: - created - updated - - *624 + - *625 - *17 - *19 responses: @@ -96383,7 +96639,7 @@ paths: - 'null' score: type: number - text_matches: *623 + text_matches: *624 required: - id - node_id @@ -96468,7 +96724,7 @@ paths: - forks - help-wanted-issues - updated - - *624 + - *625 - *17 - *19 responses: @@ -96705,7 +96961,7 @@ paths: - admin - pull - push - text_matches: *623 + text_matches: *624 temp_clone_token: type: string allow_merge_commit: @@ -97013,7 +97269,7 @@ paths: - string - 'null' format: uri - text_matches: *623 + text_matches: *624 related: type: - array @@ -97206,7 +97462,7 @@ paths: - followers - repositories - joined - - *624 + - *625 - *17 - *19 responses: @@ -97316,7 +97572,7 @@ paths: type: - boolean - 'null' - text_matches: *623 + text_matches: *624 blog: type: - string @@ -97398,7 +97654,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 +97666,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *6 x-github: githubCloudOnly: false @@ -97439,7 +97695,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 +97759,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 +97796,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 +97825,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 +97863,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 +97914,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 +97951,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 +97991,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 +98028,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 +98070,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 +98096,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 +98132,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 +98160,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 +98202,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 +98361,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 +98413,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 +98440,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 +98452,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 +98485,7 @@ paths: application/json: schema: oneOf: - - &634 + - &635 title: Private User description: Private User type: object @@ -98479,7 +98735,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 +98895,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *635 examples: default: value: @@ -98985,7 +99241,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 +99249,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99037,7 +99293,7 @@ paths: type: integer secrets: type: array - items: &635 + items: &636 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99079,7 +99335,7 @@ paths: - visibility - selected_repositories_url examples: - default: *430 + default: *431 headers: Link: *57 x-github: @@ -99157,7 +99413,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -99303,7 +99559,7 @@ paths: type: array items: *144 examples: - default: *636 + default: *637 '401': *23 '403': *27 '404': *6 @@ -99455,7 +99711,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '304': *35 '500': *104 '401': *23 @@ -99513,7 +99769,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '401': *23 '403': *27 '404': *6 @@ -99570,7 +99826,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 +99879,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 +99924,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *638 examples: - default: *638 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -99707,9 +99963,9 @@ paths: type: integer machines: type: array - items: *429 + items: *430 examples: - default: *639 + default: *640 '304': *35 '500': *104 '401': *23 @@ -99794,11 +100050,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 +100859,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '304': *35 '500': *104 '400': *14 @@ -100643,7 +100899,7 @@ paths: application/json: schema: *220 examples: - default: *428 + default: *429 '500': *104 '401': *23 '403': *27 @@ -100675,7 +100931,7 @@ paths: type: array items: *232 examples: - default: &650 + default: &651 value: - id: 197 name: hello_docker @@ -100776,7 +101032,7 @@ paths: application/json: schema: type: array - items: &640 + items: &641 title: Email description: Email type: object @@ -100846,9 +101102,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 +101181,7 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: default: value: @@ -101183,7 +101439,7 @@ paths: application/json: schema: type: array - items: &641 + items: &642 title: GPG Key description: A unique encryption key type: object @@ -101328,7 +101584,7 @@ paths: - subkeys - revoked examples: - default: &666 + default: &669 value: - id: 3 name: Octocat's GPG Key @@ -101413,9 +101669,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 +101728,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 +101740,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *642 + default: *643 '404': *6 '304': *35 '403': *27 @@ -101509,7 +101765,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 +102070,7 @@ paths: required: true content: application/json: - schema: *500 + schema: *501 examples: default: value: @@ -101964,7 +102220,7 @@ paths: application/json: schema: type: array - items: &644 + items: &645 title: Key description: Key type: object @@ -102067,9 +102323,9 @@ paths: description: Response content: application/json: - schema: *644 + schema: *645 examples: - default: &645 + default: &646 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102102,15 +102358,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 +102389,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 +102422,7 @@ paths: application/json: schema: type: array - items: &646 + items: &647 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102245,7 +102501,7 @@ paths: - account - plan examples: - default: &647 + default: &648 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102307,9 +102563,9 @@ paths: application/json: schema: type: array - items: *646 + items: *647 examples: - default: *647 + default: *648 headers: Link: *57 '304': *35 @@ -103327,7 +103583,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *227 - - *648 + - *649 responses: '204': description: Response @@ -103442,7 +103698,7 @@ paths: - docker - nuget - container - - *649 + - *650 - *19 - *17 responses: @@ -103454,8 +103710,8 @@ paths: type: array items: *232 examples: - default: *650 - '400': *651 + default: *651 + '400': *652 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103484,7 +103740,7 @@ paths: application/json: schema: *232 examples: - default: &667 + default: &670 value: id: 40201 name: octo-name @@ -103846,9 +104102,9 @@ paths: application/json: schema: type: array - items: *640 + items: *641 examples: - default: *652 + default: *653 headers: Link: *57 '304': *35 @@ -103961,7 +104217,7 @@ paths: type: array items: *69 examples: - default: &659 + default: &660 summary: Default response value: - id: 1296269 @@ -104279,9 +104535,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 +104575,9 @@ paths: application/json: schema: type: array - items: *502 + items: *503 examples: - default: *653 + default: *654 headers: Link: *57 '304': *35 @@ -104400,7 +104656,7 @@ paths: application/json: schema: type: array - items: &654 + items: &655 title: Social account description: Social media account type: object @@ -104417,7 +104673,7 @@ paths: - provider - url examples: - default: &655 + default: &656 value: - provider: twitter url: https://twitter.com/github @@ -104480,9 +104736,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *655 + default: *656 '422': *15 '304': *35 '404': *6 @@ -104570,7 +104826,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 +104846,7 @@ paths: - title - created_at examples: - default: &685 + default: &688 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104655,9 +104911,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: &657 + default: &658 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -104687,7 +104943,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 +104955,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: - default: *657 + default: *658 '404': *6 '304': *35 '403': *27 @@ -104724,7 +104980,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 +105009,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 +105034,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 +105194,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 +105223,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 +105248,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 +105321,7 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: default: value: @@ -105151,10 +105407,10 @@ paths: application/json: schema: oneOf: + - *635 - *634 - - *633 examples: - default-response: &661 + default-response: &664 summary: Default response value: login: octocat @@ -105189,7 +105445,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 +105502,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 +105568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *660 + - *661 - *17 responses: '200': @@ -105334,6 +105591,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 +105730,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 +105784,8 @@ paths: required: - subject_digests examples: - default: *663 - withPredicateType: *664 + default: *666 + withPredicateType: *667 responses: '200': description: Response @@ -105469,7 +105839,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 +106044,7 @@ paths: initiator: type: string examples: - default: *369 + default: *370 '201': description: Response content: @@ -105715,7 +106085,7 @@ paths: type: array items: *232 examples: - default: *650 + default: *651 '403': *27 '401': *23 x-github: @@ -106099,9 +106469,9 @@ paths: application/json: schema: type: array - items: *641 + items: *642 examples: - default: *666 + default: *669 headers: Link: *57 x-github: @@ -106205,7 +106575,7 @@ paths: application/json: schema: *20 examples: - default: *499 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106330,7 +106700,7 @@ paths: - docker - nuget - container - - *649 + - *650 - *62 - *19 - *17 @@ -106343,10 +106713,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 +106746,7 @@ paths: application/json: schema: *232 examples: - default: *667 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106725,7 +107095,7 @@ paths: type: array items: *253 examples: - default: *668 + default: *671 headers: Link: *57 '304': *35 @@ -106785,7 +107155,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 +107171,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *670 + iteration_configuration: *673 required: - name - data_type @@ -106823,8 +107193,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 +107202,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 +107228,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *250 - - *678 + - *681 - *62 responses: '200': @@ -106867,7 +107237,7 @@ paths: application/json: schema: *253 examples: - default: *679 + default: *682 headers: Link: *57 '304': *35 @@ -107224,7 +107594,7 @@ paths: parameters: - *250 - *62 - - *680 + - *683 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -107499,7 +107869,7 @@ paths: - *107 - *109 - *108 - - *681 + - *684 - *110 responses: '200': @@ -107630,7 +108000,7 @@ paths: parameters: - *62 - *107 - - *682 + - *685 - *108 responses: '200': @@ -107729,9 +108099,9 @@ paths: - *107 - *109 - *108 - - *683 + - *686 - *110 - - *684 + - *687 responses: '200': description: Response when getting a billing usage summary @@ -107865,9 +108235,9 @@ paths: application/json: schema: type: array - items: *654 + items: *655 examples: - default: *655 + default: *656 headers: Link: *57 x-github: @@ -107897,9 +108267,9 @@ paths: application/json: schema: type: array - items: *656 + items: *657 examples: - default: *685 + default: *688 headers: Link: *57 x-github: @@ -107924,7 +108294,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 +108306,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 +108470,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 +108539,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 +108560,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 +108633,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 +109546,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 +109625,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 +109852,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 +110044,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 +110132,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 +110242,7 @@ webhooks: - examples: - neutral - deployment: *693 + deployment: *696 details_url: type: string examples: @@ -109970,10 +110340,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 +110736,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 +111136,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 +111545,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 +112541,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 +113253,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 +113959,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 +114131,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 +114283,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 +114463,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 +114704,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 +114807,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 +114992,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 +115166,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 +115343,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 +115449,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 +115638,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 +115648,7 @@ webhooks: type: - string - 'null' - repository: *691 + repository: *694 sender: *4 required: - action @@ -115377,7 +115747,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 +115894,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 +116068,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 +116220,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 +116483,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 +116567,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 +116588,7 @@ webhooks: enum: - tag - branch - repository: *691 + repository: *694 sender: *4 required: - ref @@ -116300,10 +116670,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 +116758,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 +116837,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 +116917,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 +116997,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 +117085,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 +117180,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 +117268,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 +117356,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 +117442,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 +117528,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 +117615,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 +117701,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 +117782,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 +117822,8 @@ webhooks: - verified - created_at - read_only - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -117530,11 +117900,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 +118476,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 +119219,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 +119296,7 @@ webhooks: type: string enum: - approved - approver: &700 + approver: &703 type: object properties: avatar_url: @@ -118969,11 +119339,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 +119424,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &702 + workflow_job_run: &705 type: object properties: conclusion: @@ -119800,18 +120170,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 +120898,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 +122847,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 +123543,7 @@ webhooks: type: string enum: - answered - answer: &706 + answer: &709 type: object properties: author_association: @@ -123333,11 +123703,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 +123834,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 +123921,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 +124007,7 @@ webhooks: type: string enum: - created - comment: &705 + comment: &708 type: object properties: author_association: @@ -123797,11 +124167,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 +124254,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 +124354,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 +124443,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 +124529,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 +124633,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 +124719,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 +124755,8 @@ webhooks: - color - default - description - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -124469,11 +124839,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 +124925,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 +125011,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 +125100,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 +125192,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 +125277,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 +125365,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 +125451,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 +125528,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 +126206,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 +126354,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 +126394,7 @@ webhooks: - action - sha - html_url - repository: *691 + repository: *694 sender: *4 required: - pages @@ -126100,10 +126470,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 +126499,8 @@ webhooks: - name - full_name - private - repository: *691 - requester: *708 + repository: *694 + requester: *711 sender: *4 required: - action @@ -126205,11 +126575,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 +126656,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 +126737,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 +126786,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 +126873,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 +126903,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 +126984,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 +127170,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 +127252,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 +127504,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 +128322,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 +128684,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -128395,7 +128765,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 +128932,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 +129746,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 +130110,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -129821,7 +130191,7 @@ webhooks: type: string enum: - edited - changes: &736 + changes: &739 description: The changes to the comment. type: object properties: @@ -129833,9 +130203,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 +131021,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 +131383,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -131104,9 +131474,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 +131565,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 +131655,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 +131746,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 +131828,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 +132643,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 +132767,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -132478,8 +132848,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 +133666,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 +133933,8 @@ webhooks: required: - state - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -133643,8 +134013,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 +134822,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 +134945,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -134655,8 +135025,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 +135857,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 +135959,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 +136102,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -135832,8 +136202,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 +137015,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 +137139,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 +137221,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 +138033,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 +138157,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 +138239,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 +139076,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 +139177,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -138887,8 +139257,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 +140088,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 +140189,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 +141083,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 +141664,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 +142477,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 +142600,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -142311,9 +142681,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 +143489,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 +143612,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -143322,8 +143692,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 +144527,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 +144629,8 @@ webhooks: user_view_type: type: string type: *215 - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -145149,11 +145519,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 +146122,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 +146206,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 +146292,7 @@ webhooks: type: string enum: - unassigned - assignee: &739 + assignee: &742 title: User type: - object @@ -145994,11 +146364,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 +146447,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 +146532,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 +147367,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 +147468,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -147179,11 +147549,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 +147632,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 +147717,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 +147799,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 +147913,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 +147999,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 +148089,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 +148174,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -147884,10 +148254,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 +148345,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -148057,10 +148427,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 +148516,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *694 sender: *4 required: - action @@ -148227,8 +148597,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 +148684,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 +148766,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 +148873,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 +148979,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 +149062,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 +149144,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 +149226,7 @@ webhooks: required: - login - id - team: &718 + team: &721 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149086,11 +149456,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 +149539,7 @@ webhooks: required: - login - id - team: *718 + team: *721 required: - action - scope @@ -149251,8 +149621,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 +149641,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 +149735,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 +149811,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 +149920,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 +150005,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 +150088,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 +150232,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -149942,11 +150312,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 +150426,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 +150510,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 +150593,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 +150676,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 +150759,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 +150871,8 @@ webhooks: - role - organization_url - user - organization: *690 - repository: *691 + organization: *693 + repository: *694 sender: *4 required: - action @@ -150580,11 +150950,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 +151033,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 +151156,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 +151237,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 +151328,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 +151408,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 +151933,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &722 + items: &725 title: Ruby Gems metadata type: object properties: @@ -151660,7 +152030,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -151736,9 +152106,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 +152470,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *725 source_url: type: string format: uri @@ -152171,7 +152541,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -152352,12 +152722,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 +152804,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 +152954,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 +153034,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 +153114,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 +153193,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 +153302,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 +153334,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 +153580,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 +153706,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -153417,11 +153787,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 +153871,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 +154003,7 @@ webhooks: repository: anyOf: - type: 'null' - - *691 + - *694 sender: *4 required: - action @@ -153727,11 +154097,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 +154195,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 +154394,7 @@ webhooks: type: string required: - after_id - repository: *691 + repository: *694 sender: *4 required: - action @@ -154104,10 +154474,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 +154604,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -154314,10 +154684,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 +154727,7 @@ webhooks: - name - created_at - updated_at - repository: *691 + repository: *694 sender: *4 required: - action @@ -154436,14 +154806,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 +154902,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 +154986,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 +155070,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 +155154,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 +155262,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 +155345,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 +155430,8 @@ webhooks: type: string enum: - closed - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155143,8 +155513,8 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155226,8 +155596,8 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155349,8 +155719,8 @@ webhooks: type: string to: type: string - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -155434,7 +155804,7 @@ webhooks: type: string enum: - archived - changes: &731 + changes: &734 type: object properties: archived_at: @@ -155450,9 +155820,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 +155962,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 +156046,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 +156129,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 +156236,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 +156260,7 @@ webhooks: required: - id - name - - &730 + - &733 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -155930,8 +156300,8 @@ webhooks: oneOf: - type: string - type: integer - - *729 - - *730 + - *732 + - *733 type: - 'null' - string @@ -155954,9 +156324,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 +156423,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 +156508,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 +156593,8 @@ webhooks: type: string enum: - reopened - installation: *689 - organization: *690 + installation: *692 + organization: *693 projects_v2: *248 sender: *4 required: @@ -156306,9 +156676,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 +156759,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 +156907,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 +156980,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 +157060,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 +159415,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -159127,11 +159497,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 +161843,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *694 sender: *4 required: - action @@ -161555,11 +161925,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 +164271,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *694 sender: *4 required: - action @@ -163983,13 +164353,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 +164421,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *691 + repository: *694 sender: *4 required: - action @@ -164132,12 +164502,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 +164587,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 +166918,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -166627,11 +166997,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 +169347,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *691 + repository: *694 sender: *4 required: - action @@ -169101,12 +169471,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 +169556,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 +171891,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -171601,11 +171971,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 +174323,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -174034,10 +174404,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 +176753,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -176463,12 +176833,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 +176917,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 +177003,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 +177088,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 +177468,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 +179700,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -179410,7 +179780,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 +180073,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 +182293,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -182003,11 +182373,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 +184598,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *694 sender: *4 required: - action @@ -184309,9 +184679,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 +186914,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 review: description: The review that was affected. type: object @@ -186795,9 +187165,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 +189281,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 +189520,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 +191872,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_reviewer: title: User type: @@ -191588,12 +191958,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 +194317,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 +194512,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 +196866,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 requested_reviewer: title: User type: @@ -196583,12 +196953,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 +199298,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 +199482,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 +201720,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: *738 + repository: *694 + review: *741 sender: *4 required: - action @@ -201431,9 +201801,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 +203934,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 sender: *4 thread: type: object @@ -203961,9 +204331,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 +206447,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *694 sender: *4 thread: type: object @@ -206476,10 +206846,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 +209184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -208896,11 +209266,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 +211620,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -211329,11 +211699,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 +214042,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -213753,10 +214123,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 +216455,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *694 sender: *4 required: - action @@ -216288,7 +216658,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 +216753,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 +217342,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 +217821,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *722 + items: *725 summary: type: string tag_name: @@ -217507,7 +217877,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -217585,9 +217955,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 +218269,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *725 summary: type: string tag_name: @@ -217949,7 +218319,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *694 sender: *4 required: - action @@ -218026,10 +218396,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 +218730,7 @@ webhooks: - updated_at - zipball_url - body - repository: *691 + repository: *694 sender: *4 required: - action @@ -218437,11 +218807,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 +218928,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 +219010,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 +219348,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *694 sender: *4 required: - action @@ -219054,10 +219424,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 +219760,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *694 sender: *4 required: - action @@ -219466,11 +219836,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 +219916,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 +219996,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 +220076,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 +220156,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 +220236,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 +220317,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 +220405,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 +220523,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 +220598,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 +220682,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 +220762,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 +220859,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 +220942,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 +221024,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 +221106,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 +221129,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 +221171,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 +221417,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 +221498,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 +221579,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 +221703,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 +221916,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 +221997,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 +222203,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 +222284,7 @@ webhooks: type: string enum: - assigned - alert: &743 + alert: &746 type: object properties: number: *162 @@ -222029,10 +222399,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 +222480,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 +222565,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 +222807,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 +222889,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 +222971,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 +223053,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 +223136,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 +223270,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 +223351,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 +223541,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 +223618,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 +223807,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 +223889,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 +224199,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 +224292,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 +224374,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 +224458,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &748 + changes: &751 type: object properties: tier: @@ -224132,13 +224502,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 +224585,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 +224665,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 +224752,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 +225189,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 +225313,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 +225405,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 +225497,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 +225589,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 +225668,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 +225903,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 +226375,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -226081,9 +226451,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 +226923,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -226630,9 +227000,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 +227472,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -227246,9 +227616,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 +228088,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - changes @@ -227796,9 +228166,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 +228638,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *752 required: - action - team @@ -228344,10 +228714,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 +228790,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 +228882,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 +229141,7 @@ webhooks: type: string required: - conclusion - deployment: *464 + deployment: *465 required: - action - repository @@ -228850,10 +229220,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 +229505,7 @@ webhooks: required: - status - steps - deployment: *464 + deployment: *465 required: - action - repository @@ -229214,10 +229584,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 +229733,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *465 required: - action - repository @@ -229442,10 +229812,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 +229962,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *465 required: - action - repository @@ -229672,12 +230042,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 +231066,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 +232075,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..eabfd39e1 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -253593,6 +253593,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", @@ -772224,6 +773022,804 @@ } } }, + "/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": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", 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..f50e647bd 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: @@ -31890,7 +31890,7 @@ paths: type: boolean examples: - false - security_and_analysis: &402 + security_and_analysis: &403 type: - object - 'null' @@ -32063,7 +32063,7 @@ paths: - url - subscription_url examples: - default: &660 + default: &661 value: - id: '1' repository: @@ -33192,7 +33192,7 @@ paths: type: array items: *150 examples: - default: &666 + default: &667 value: - property_name: environment value: production @@ -33242,7 +33242,7 @@ paths: required: - properties examples: - default: &667 + default: &668 value: properties: - property_name: environment @@ -34133,7 +34133,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 +36256,7 @@ paths: type: array items: *273 examples: - default: &775 + default: &776 value: total_count: 1 repositories: @@ -37300,7 +37300,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 +37335,7 @@ paths: - key_id - key examples: - default: &472 + default: &473 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37748,7 +37748,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 +38988,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 +39052,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 +39401,7 @@ paths: initiator: type: string examples: - default: &485 + default: &486 value: attestations: - bundle: @@ -40323,7 +40323,7 @@ paths: be returned. in: query required: false - schema: &510 + schema: &511 type: string description: Severity of a code scanning alert. enum: @@ -41383,7 +41383,7 @@ paths: machine: anyOf: - type: 'null' - - &542 + - &543 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42335,7 +42335,7 @@ paths: - updated_at - visibility examples: - default: &543 + default: &544 value: total_count: 2 secrets: @@ -42373,7 +42373,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 +42408,7 @@ paths: - key_id - key examples: - default: &545 + default: &546 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42440,7 +42440,7 @@ paths: application/json: schema: *316 examples: - default: &547 + default: &548 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44319,7 +44319,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 +44338,7 @@ paths: - key_id - key examples: - default: &574 + default: &575 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44668,7 +44668,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 +44676,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 +44684,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: time_period description: |- The time period to filter by. @@ -44700,7 +44700,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 +44725,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 +44888,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 +45006,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 +45129,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &589 + default: &590 value: - id: 21 number: 42 @@ -45231,7 +45231,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 +45358,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 +45704,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 +45794,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 +45849,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 +45889,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 +46054,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 +46068,7 @@ paths: - name - description examples: - default: &404 + default: &405 value: - name: add_assignee description: Assign or remove a user @@ -47218,7 +47218,7 @@ paths: application/json: schema: *20 examples: - default: &622 + default: &623 value: id: 1 account: @@ -47446,7 +47446,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 +48314,7 @@ paths: application/json: schema: *363 examples: - default: &541 + default: &542 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49576,7 +49576,7 @@ paths: parameters: - *85 - *369 - - &787 + - &788 name: repo_name description: repo_name parameter in: path @@ -50922,7 +50922,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 +50963,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 +52789,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 +53063,7 @@ paths: content: oneOf: - *213 - - &556 + - &557 title: Pull Request Simple description: Pull Request Simple type: object @@ -53308,7 +53308,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 +53690,7 @@ paths: - updated_at - project_url examples: - default: &807 + default: &810 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53867,7 +53867,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 +53903,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 +53952,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 +53979,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 +54005,7 @@ paths: application/json: schema: *394 examples: - text_field: &812 + text_field: &815 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54014,7 +54014,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 +54023,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 +54032,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 +54066,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 +54112,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 +54127,7 @@ paths: application/json: schema: *394 examples: - default: &818 + default: &821 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -55250,6 +55250,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 +55520,7 @@ paths: parameters: - *391 - *85 - - &819 + - &822 name: view_number description: The number that identifies the project view. in: path @@ -55462,7 +55718,7 @@ paths: required: true content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -56034,7 +56290,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &444 title: Full Repository description: Full Repository type: object @@ -56499,7 +56755,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 +56785,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 +56869,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &446 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57139,9 +57395,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: *404 + default: *405 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57166,7 +57422,7 @@ paths: - *85 - *17 - *19 - - &691 + - &692 name: targets description: | A comma-separated list of rule targets to filter by. @@ -57258,11 +57514,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 +57583,7 @@ paths: application/json: schema: *185 examples: - default: &406 + default: &407 value: id: 21 name: super cool ruleset @@ -57382,7 +57638,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 +57650,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 +57677,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &697 title: Rule Suites description: Response type: array @@ -57477,7 +57733,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 +57777,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 +57793,7 @@ paths: description: Response content: application/json: - schema: &699 + schema: &700 title: Rule Suite description: Response type: object @@ -57644,7 +57900,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 +57975,7 @@ paths: application/json: schema: *185 examples: - default: *406 + default: *407 '404': *6 '500': *38 put: @@ -57768,11 +58024,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 +58065,7 @@ paths: application/json: schema: *185 examples: - default: *406 + default: *407 '404': *6 '500': *38 delete: @@ -57868,7 +58124,7 @@ paths: type: array items: *189 examples: - default: *408 + default: *409 '404': *6 '500': *38 x-github: @@ -57905,7 +58161,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -57968,15 +58224,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 +58242,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 +58252,10 @@ paths: required: false schema: type: string - - *415 - *416 - *417 - *418 + - *419 responses: '200': description: Response @@ -58007,9 +58263,9 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *420 + default: *421 headers: Link: *45 '404': *6 @@ -58044,9 +58300,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *422 + default: *423 '403': *27 '404': *6 patch: @@ -58199,7 +58455,7 @@ paths: application/json: schema: type: array - items: &724 + items: &725 description: A repository security advisory. type: object properties: @@ -58443,7 +58699,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 credits_detailed: type: - array @@ -58454,7 +58710,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 +58774,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 +59245,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 +59253,9 @@ paths: description: Success content: application/json: - schema: *425 + schema: *426 examples: - default: *426 + default: *427 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59282,7 +59538,7 @@ paths: type: array items: *142 examples: - default: *427 + default: *428 headers: Link: *45 x-github: @@ -59483,15 +59739,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 +59785,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 +59837,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 +60045,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 +60444,7 @@ paths: - repos_count - organization examples: - default: &432 + default: &433 value: id: 1 node_id: MDQ6VGVhbTE= @@ -60265,9 +60521,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -60352,16 +60608,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 +60673,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60463,9 +60719,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60606,7 +60862,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &438 title: Team Membership description: Team Membership type: object @@ -60634,7 +60890,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 +60953,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 +61062,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 +61712,8 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 requestBody: required: false content: @@ -61504,8 +61760,8 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 responses: '204': description: Response @@ -61538,9 +61794,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61606,7 +61862,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -61651,7 +61907,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 +62061,7 @@ paths: resources: type: object properties: - core: &442 + core: &443 title: Rate Limit type: object properties: @@ -61822,21 +62078,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 +62197,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 +62709,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62471,8 +62727,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 +62986,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 +63018,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 +63041,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 +63065,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 +63092,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &448 title: Artifact description: An artifact type: object @@ -62931,7 +63187,7 @@ paths: - expires_at - updated_at examples: - default: &464 + default: &465 value: total_count: 2 artifacts: @@ -62992,9 +63248,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 +63262,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: default: value: @@ -63044,9 +63300,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 +63326,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 +63342,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 +63367,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 +63408,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 +63443,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 +63484,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 +63521,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 +63554,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 +63592,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: Repository actions caches description: Repository actions caches type: object @@ -63386,7 +63642,7 @@ paths: - total_count - actions_caches examples: - default: &454 + default: &455 value: total_count: 1 actions_caches: @@ -63418,23 +63674,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 +63710,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 +63742,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 +63756,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 +64103,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 +64133,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 +64181,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 +64232,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 +64296,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 +64315,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &470 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64080,7 +64336,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &471 value: total_count: 2 secrets: @@ -64113,9 +64369,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 +64388,7 @@ paths: type: integer variables: type: array - items: &473 + items: &474 title: Actions Variable type: object properties: @@ -64166,7 +64422,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &475 value: total_count: 2 variables: @@ -64199,8 +64455,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 +64465,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 +64500,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 +64512,7 @@ paths: schema: type: object properties: - enabled: *457 + enabled: *458 allowed_actions: *58 sha_pinning_required: *59 required: @@ -64289,14 +64545,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 +64570,7 @@ paths: required: - access_level examples: - default: &459 + default: &460 value: access_level: organization x-github: @@ -64339,15 +64595,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 +64627,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 +64658,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 +64693,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 +64721,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 +64756,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 +64785,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 +64817,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 +64849,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 +64882,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 +64912,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 +64953,8 @@ paths: in: query schema: type: string - - *438 - *439 + - *440 - *17 - *19 responses: @@ -64742,8 +64998,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 +65031,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 +65106,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 +65143,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 +65174,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 +65205,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 +65233,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 +65259,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 +65309,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 +65360,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 +65391,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 +65422,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 +65432,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 +65440,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 +65449,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 +65476,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 +65485,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 +65494,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 +65523,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 +65701,7 @@ paths: head_commit: anyOf: - type: 'null' - - &505 + - &506 title: Simple Commit description: A commit. type: object @@ -65560,7 +65816,7 @@ paths: - workflow_url - pull_requests examples: - default: &484 + default: &485 value: total_count: 1 workflow_runs: @@ -65796,24 +66052,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 +66310,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 +66335,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 +66465,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 +66500,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 +66521,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *448 examples: - default: *464 + default: *465 headers: Link: *45 x-github: @@ -66291,25 +66547,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 +66588,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 +66609,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *468 examples: - default: &468 + default: &469 value: total_count: 1 jobs: @@ -66468,10 +66724,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 +66755,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 +66790,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 +66859,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 +66894,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 +66926,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *45 x-github: @@ -66697,9 +66953,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 +66982,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 +67011,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 +67082,7 @@ paths: items: type: object properties: - type: &592 + type: &593 type: string description: The type of reviewer. enum: @@ -66912,9 +67168,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 +67220,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 +67332,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 +67388,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 +67435,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 +67492,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 +67631,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 +67650,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *470 examples: - default: *470 + default: *471 headers: Link: *45 x-github: @@ -67421,16 +67677,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 +67708,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 +67744,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 +67803,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 +67830,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 +67849,9 @@ paths: type: integer variables: type: array - items: *473 + items: *474 examples: - default: *474 + default: *475 headers: Link: *45 x-github: @@ -67618,8 +67874,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 +67927,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 +67963,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 +68007,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 +68034,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 +68053,7 @@ paths: type: integer workflows: type: array - items: &475 + items: &476 title: Workflow description: A GitHub Actions workflow type: object @@ -67915,9 +68171,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 +68188,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -67965,9 +68221,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 +68248,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 +68301,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 +68330,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 +68358,9 @@ paths: type: integer workflow_runs: type: array - items: *461 + items: *462 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -68137,9 +68393,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 +68456,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 +68625,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 +68663,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 +68700,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 +68813,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 +68871,7 @@ paths: initiator: type: string examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68635,8 +68891,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 +68900,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Autolink reference description: An autolink reference. type: object @@ -68703,8 +68959,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 +68999,9 @@ paths: description: response content: application/json: - schema: *486 + schema: *487 examples: - default: &487 + default: &488 value: id: 1 key_prefix: TICKET- @@ -68776,9 +69032,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 +69046,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -68812,9 +69068,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 +69094,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 +69145,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 +69167,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 +69188,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 +69227,7 @@ paths: - url protected: type: boolean - protection: &490 + protection: &491 title: Branch Protection description: Branch Protection type: object @@ -69014,7 +69270,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 +69287,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 +69371,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 +69664,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 +69680,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 +69726,7 @@ paths: author: anyOf: - type: 'null' - - &489 + - &490 title: Git User description: Metaproperties for Git author/committer information. @@ -69492,7 +69748,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 message: type: string examples: @@ -69516,7 +69772,7 @@ paths: required: - sha - url - verification: &612 + verification: &613 title: Verification type: object properties: @@ -69596,7 +69852,7 @@ paths: type: integer files: type: array - items: &563 + items: &564 title: Diff Entry description: Diff Entry type: object @@ -69692,7 +69948,7 @@ paths: - self protected: type: boolean - protection: *490 + protection: *491 protection_url: type: string format: uri @@ -69801,7 +70057,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 +70079,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 +70281,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 +70543,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 +70702,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *492 + restrictions: *493 required_conversation_resolution: type: object properties: @@ -70558,9 +70814,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 +70841,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 +70873,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 +70902,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 +70929,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 +71035,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 +71135,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *496 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -70902,9 +71158,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 +71187,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 +71220,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 +71250,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 +71277,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 +71313,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 +71367,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *499 + default: *500 '404': *6 '422': *15 x-github: @@ -71135,9 +71391,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 +71417,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 +71453,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 +71522,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 +71588,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 +71656,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 +71755,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 +71780,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 +71792,7 @@ paths: type: array items: *5 examples: - default: &500 + default: &501 value: - id: 1 slug: octoapp @@ -71593,9 +71849,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 +71885,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71650,9 +71906,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 +71942,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71707,9 +71963,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 +71999,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71765,9 +72021,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 +72053,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 +72114,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 +72175,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 +72236,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 +72272,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 +72332,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 +72392,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 +72454,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 +72478,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: default: value: @@ -72336,8 +72592,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -72373,8 +72629,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72447,8 +72703,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -72488,8 +72744,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72559,8 +72815,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72631,8 +72887,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_response_id in: path required: true @@ -72665,8 +72921,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 +73201,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 +73337,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 +73624,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 +73638,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &504 + default: &505 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -73484,9 +73740,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 +73982,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73748,9 +74004,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 +74116,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 +74162,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 +74185,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 +74283,7 @@ paths: - string - 'null' format: date-time - head_commit: *505 + head_commit: *506 latest_check_runs_count: type: integer check_runs_url: @@ -74055,7 +74311,7 @@ paths: - check_runs_url - pull_requests examples: - default: &507 + default: &508 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -74346,9 +74602,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 +74623,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 +74933,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 +74947,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74716,17 +74972,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 +75021,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 +75125,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 +75160,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 +75205,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 +75229,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 +75237,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 +75364,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 +75391,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 +75407,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 type: object properties: number: *124 @@ -75159,7 +75415,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 +75423,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 +75486,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 +75583,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 +75603,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 +75620,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 +75649,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -75469,7 +75725,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 +75752,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 +75787,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 +75804,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 +75829,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 +75883,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 +75931,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 +75956,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 +75973,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 +75993,7 @@ paths: properties: text: type: string - location: *529 + location: *530 html_url: type: string classifications: @@ -75745,7 +76001,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 +76040,7 @@ paths: end_column: 50 classifications: - source - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75818,25 +76074,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 +76114,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 +76155,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 +76218,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75998,8 +76254,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 +76268,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: response: summary: application/json response @@ -76066,7 +76322,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 +76409,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 +76466,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 +76488,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 +76497,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: CodeQL Database description: A CodeQL database. type: object @@ -76353,7 +76609,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 +76638,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 +76651,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -76427,9 +76683,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 +76707,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 +76718,7 @@ paths: responses: '204': description: Response - '403': *523 + '403': *524 '404': *6 '503': *190 x-github: @@ -76490,8 +76746,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 +76756,7 @@ paths: type: object additionalProperties: false properties: - language: &534 + language: &535 type: string description: The language targeted by the CodeQL query enum: @@ -76580,7 +76836,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 +76846,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 +76894,7 @@ paths: items: type: object properties: - repository: &535 + repository: &536 title: Repository Identifier description: Repository Identifier type: object @@ -76680,7 +76936,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 +76968,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 +76983,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 +77006,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 +77023,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 +77169,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 +77200,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 +77213,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *537 + default: *538 '404': *6 '503': *190 x-github: @@ -76982,7 +77238,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 +77273,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 +77398,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 +77492,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 +77513,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 +77608,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 +77679,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 +77688,7 @@ paths: schema: type: object properties: - commit_sha: *540 + commit_sha: *541 ref: type: string description: |- @@ -77492,7 +77748,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 +77762,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 +77785,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 +77834,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 +77859,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 +77941,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 +78070,8 @@ paths: parameters: - *17 - *19 - - *438 - *439 + - *440 responses: '200': description: Response @@ -78129,8 +78385,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 +78452,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 +78460,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '400': *14 '401': *23 '403': *27 @@ -78233,8 +78489,8 @@ paths: parameters: - *17 - *19 - - *438 - *439 + - *440 responses: '200': description: Response @@ -78298,8 +78554,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 +78592,9 @@ paths: type: integer machines: type: array - items: *542 + items: *543 examples: - default: &778 + default: &779 value: total_count: 2 machines: @@ -78378,8 +78634,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 +78722,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 +78792,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 +78811,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 +78832,7 @@ paths: - created_at - updated_at examples: - default: *543 + default: *544 headers: Link: *45 x-github: @@ -78599,16 +78855,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 +78884,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 +78914,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 +78968,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 +78998,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 +79037,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 title: Collaborator description: Collaborator type: object @@ -78974,8 +79230,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 +79278,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 +79306,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 +79534,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 +79567,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 +79589,7 @@ paths: user: anyOf: - type: 'null' - - *548 + - *549 required: - permission - role_name @@ -79387,8 +79643,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 +79654,7 @@ paths: application/json: schema: type: array - items: &549 + items: &550 title: Commit Comment description: Commit Comment type: object @@ -79456,7 +79712,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 +79771,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 +79838,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 +79862,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -79657,8 +79913,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 +79936,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 +79964,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 +80008,7 @@ paths: - content - created_at examples: - default: &629 + default: &630 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -79797,8 +80053,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 +80087,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 +80118,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 +80142,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 +80200,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 +80257,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 +80353,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 +80427,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 +80439,9 @@ paths: application/json: schema: type: array - items: *549 + items: *550 examples: - default: *554 + default: *555 headers: Link: *45 x-github: @@ -80213,9 +80469,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 +80506,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 +80536,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 +80548,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 +81087,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 +81106,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 +81221,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 +81259,9 @@ paths: type: integer check_runs: type: array - items: *502 + items: *503 examples: - default: *560 + default: *561 headers: Link: *45 x-github: @@ -81030,9 +81286,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 +81296,7 @@ paths: schema: type: integer example: 1 - - *558 + - *559 - *17 - *19 responses: @@ -81058,7 +81314,7 @@ paths: type: integer check_suites: type: array - items: *506 + items: *507 examples: default: value: @@ -81258,9 +81514,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 +81718,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 +81730,7 @@ paths: application/json: schema: type: array - items: &729 + items: &730 title: Status description: The status of a commit. type: object @@ -81555,7 +81811,7 @@ paths: site_admin: false headers: Link: *45 - '301': *444 + '301': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81583,8 +81839,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 +81873,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 +81897,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 +82038,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 +82087,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 +82112,10 @@ paths: - 6 commits: type: array - items: *552 + items: *553 files: type: array - items: *563 + items: *564 required: - url - html_url @@ -82145,8 +82401,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 +82555,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 +82692,7 @@ paths: - size - type - url - - &681 + - &682 title: Content File description: Content File type: object @@ -82654,7 +82910,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 +82979,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 +83002,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 +83098,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &567 title: File Commit description: File Commit type: object @@ -82998,7 +83254,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: example-for-creating-a-file: value: @@ -83052,7 +83308,7 @@ paths: schema: oneOf: - *3 - - &607 + - &608 description: Repository rule violation was detected type: object properties: @@ -83073,7 +83329,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 +83361,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 +83423,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -83222,8 +83478,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 +83603,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 +83616,7 @@ paths: schema: type: string - *325 - - *567 + - *568 - *326 - *327 - *108 @@ -83381,7 +83637,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 type: object description: A Dependabot alert. properties: @@ -83431,7 +83687,7 @@ paths: - direct - transitive - - security_advisory: *568 + security_advisory: *569 security_vulnerability: *128 url: *129 html_url: *130 @@ -83462,8 +83718,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 +83949,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 +83966,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -83823,9 +84079,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 +84126,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -83999,8 +84255,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 +84274,7 @@ paths: type: integer secrets: type: array - items: &575 + items: &576 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84072,16 +84328,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 +84357,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 +84391,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 +84445,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 +84469,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 +84644,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 +84905,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 +84989,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 +85028,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 +85042,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 +85175,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 +85217,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: *578 + default: *579 headers: Link: *45 x-github: @@ -85029,8 +85285,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 +85368,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: simple-example: summary: Simple example @@ -85185,9 +85441,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 +85455,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -85264,9 +85520,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 +85544,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 +85556,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 title: Deployment Status description: The status of a deployment. type: object @@ -85464,9 +85720,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 +85797,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 +85855,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 +85868,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 '404': *6 x-github: githubCloudOnly: false @@ -85641,12 +85897,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 - - *582 + - *440 - *583 - *584 - *585 + - *586 - *17 - *19 responses: @@ -85656,9 +85912,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *587 + default: *588 '404': *6 '403': *27 '500': *38 @@ -85682,8 +85938,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85695,7 +85951,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *586 + schema: *587 examples: default: value: @@ -85751,8 +86007,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85811,12 +86067,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 - - *582 + - *440 - *583 - *584 - *585 + - *586 - *17 - *19 responses: @@ -85826,9 +86082,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *589 + default: *590 '404': *6 '403': *27 '500': *38 @@ -85852,8 +86108,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85865,7 +86121,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -85916,8 +86172,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85955,7 +86211,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -86006,8 +86262,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86078,8 +86334,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86112,8 +86368,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -86127,9 +86383,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: *591 + default: *592 '404': *6 '403': *27 '500': *38 @@ -86154,8 +86410,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86167,7 +86423,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -86225,8 +86481,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86295,8 +86551,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 +86609,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 +86628,7 @@ paths: - 5 environments: type: array - items: &593 + items: &594 title: Environment description: Details of a deployment environment type: object @@ -86434,7 +86690,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 +86732,7 @@ paths: items: type: object properties: - type: *592 + type: *593 reviewer: anyOf: - *4 @@ -86503,7 +86759,7 @@ paths: - id - node_id - type - deployment_branch_policy: &596 + deployment_branch_policy: &597 type: - object - 'null' @@ -86620,9 +86876,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 +86891,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: &597 + default: &598 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -86721,9 +86977,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 +86989,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 +87008,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 +87035,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 +87061,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 +87088,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 +87109,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 +87170,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 +87220,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 +87264,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 +87279,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87044,10 +87300,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 +87332,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87097,10 +87353,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 +87381,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 +87400,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 +87422,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 +87525,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 +87548,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 +87585,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 +87607,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *602 + items: *603 examples: default: value: @@ -87386,10 +87642,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 +87657,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: - default: *603 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87424,10 +87680,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 +87709,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 +87729,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *470 examples: - default: *470 + default: *471 headers: Link: *45 x-github: @@ -87500,17 +87756,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 +87788,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 +87821,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 +87881,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 +87909,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 +87929,9 @@ paths: type: integer variables: type: array - items: *473 + items: *474 examples: - default: *474 + default: *475 headers: Link: *45 x-github: @@ -87698,9 +87954,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 +88008,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 +88040,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 +88085,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 +88110,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 +88179,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 +88339,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 +88373,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 '400': *14 '422': *15 '403': *27 @@ -88140,8 +88396,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 +88457,7 @@ paths: schema: oneOf: - *248 - - *607 + - *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88226,8 +88482,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 +88583,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 +88693,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 +88920,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 +88984,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 +89003,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Git Reference description: Git references within a repository type: object @@ -88823,17 +89079,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 +89118,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 +89148,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 +89176,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 +89207,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 '422': *15 '409': *117 x-github: @@ -88971,9 +89227,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 +89284,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 +89352,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Git Tag description: Metadata for a Git tag type: object @@ -89152,7 +89408,7 @@ paths: - sha - type - url - verification: *612 + verification: *613 required: - sha - url @@ -89162,7 +89418,7 @@ paths: - tag - message examples: - default: &614 + default: &615 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89235,8 +89491,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 +89503,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 '409': *117 x-github: @@ -89273,8 +89529,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 +89604,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 +89706,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 +89730,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default-response: summary: Default response @@ -89533,8 +89789,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 +89800,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Webhook description: Webhooks for repositories. type: object @@ -89607,7 +89863,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 +89940,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 +89994,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &617 + default: &618 value: type: Repository id: 12345678 @@ -89788,17 +90044,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 +90074,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 +90121,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '422': *15 '404': *6 x-github: @@ -89888,8 +90144,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 +90170,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 +90199,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 +90245,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 +90278,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 +90308,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 +90333,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 +90360,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 +90385,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 +90434,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 +90455,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 +90513,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 +90627,7 @@ paths: - html_url - authors_url examples: - default: &621 + default: &622 value: vcs: subversion use_lfs: true @@ -90387,7 +90643,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 +90672,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 +90721,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -90490,7 +90746,7 @@ paths: type: string '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90518,8 +90774,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 +90827,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: example-1: summary: Example 1 @@ -90619,7 +90875,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 +90898,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 +90929,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 +90945,7 @@ paths: application/json: schema: type: array - items: &620 + items: &621 title: Porter Author description: Porter Author type: object @@ -90743,7 +90999,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 +91024,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 +91055,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: default: value: @@ -90812,7 +91068,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 +91092,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 +91134,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90906,8 +91162,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 +91190,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 +91217,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 +91226,8 @@ paths: application/json: schema: *20 examples: - default: *622 - '301': *444 + default: *623 + '301': *445 '404': *6 x-github: githubCloudOnly: false @@ -90991,8 +91247,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 +91261,7 @@ paths: properties: {} additionalProperties: false examples: - default: &624 + default: &625 value: limit: collaborators_only origin: repository @@ -91030,13 +91286,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 +91306,7 @@ paths: application/json: schema: *353 examples: - default: *624 + default: *625 '409': description: Response x-github: @@ -91072,8 +91328,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 +91352,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 +91363,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: &792 + default: &793 value: - id: 1 repository: @@ -91240,8 +91496,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 +91527,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -91402,8 +91658,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 +91691,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 +91765,7 @@ paths: type: array items: *213 examples: - default: &635 + default: &636 value: - id: 1 node_id: MDU6SXNzdWUx @@ -91657,7 +91913,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *444 + '301': *445 '422': *15 '404': *6 x-github: @@ -91686,8 +91942,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 +92035,7 @@ paths: application/json: schema: *213 examples: - default: &632 + default: &633 value: id: 1 node_id: MDU6SXNzdWUx @@ -91935,7 +92191,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *626 + '410': *627 x-github: triggersNotification: true githubCloudOnly: false @@ -91963,8 +92219,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 +92241,9 @@ paths: application/json: schema: type: array - items: *627 + items: *628 examples: - default: &634 + default: &635 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92045,17 +92301,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 +92365,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 +92389,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '422': *15 x-github: githubCloudOnly: false @@ -92153,8 +92409,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 +92431,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 +92459,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -92226,8 +92482,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 +92516,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 +92547,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 +92570,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 +92581,7 @@ paths: application/json: schema: type: array - items: &631 + items: &632 title: Issue Event description: Issue Event type: object @@ -92664,8 +92920,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 +92932,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -92868,7 +93124,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *626 + '410': *627 '403': *27 x-github: githubCloudOnly: false @@ -92902,9 +93158,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 +93174,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 +93202,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 +93325,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 +93349,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 +93379,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93139,9 +93395,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 +93424,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93190,9 +93446,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 +93488,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 +93501,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 +93536,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 +93560,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 +93597,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 +93611,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 +93644,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 +93670,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 +93709,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 +93725,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 +93757,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 +93771,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 +93793,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 +93809,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 +93858,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &638 + - &639 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -93730,7 +93986,7 @@ paths: - performed_via_github_app - assignee - assigner - - &639 + - &640 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -93776,7 +94032,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &640 + - &641 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -93822,7 +94078,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &642 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -93871,7 +94127,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 +94169,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 +94211,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 +94267,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &646 title: Locked Issue Event description: Locked Issue Event type: object @@ -94056,7 +94312,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 +94373,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,7 +94434,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &649 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -94239,7 +94495,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &650 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -94332,7 +94588,7 @@ paths: color: red headers: Link: *45 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94349,9 +94605,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 +94619,7 @@ paths: type: array items: *212 examples: - default: &636 + default: &637 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94381,9 +94637,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 +94656,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 +94719,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 +94739,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 +94803,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 +94823,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 +94850,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 +94876,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 +94898,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 +94929,7 @@ paths: '204': description: Response '403': *27 - '410': *626 + '410': *627 '404': *6 '422': *15 x-github: @@ -94691,9 +94947,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 +94979,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 +94989,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 +95009,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 +95037,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 +95061,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 +95095,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 +95126,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 +95158,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 +95184,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 +95217,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 +95231,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 +95263,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 +95294,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 +95321,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 +95356,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 '403': *27 '404': *6 '422': *7 @@ -95122,9 +95378,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 +95395,6 @@ paths: description: Timeline Event type: object anyOf: - - *637 - *638 - *639 - *640 @@ -95152,6 +95407,7 @@ paths: - *647 - *648 - *649 + - *650 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95480,7 +95736,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 +95977,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 +96252,7 @@ paths: headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96013,8 +96269,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 +96280,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 +96348,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 +96385,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 +96421,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 +96435,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -96199,9 +96455,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 +96477,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 +96490,7 @@ paths: type: array items: *212 examples: - default: *636 + default: *637 headers: Link: *45 '404': *6 @@ -96255,8 +96511,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 +96550,7 @@ paths: application/json: schema: *212 examples: - default: &653 + default: &654 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96326,8 +96582,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 +96596,7 @@ paths: application/json: schema: *212 examples: - default: *653 + default: *654 '404': *6 x-github: githubCloudOnly: false @@ -96357,8 +96613,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 +96679,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 +96706,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 +96743,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 +96772,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 +96799,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 +96948,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 +97014,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 +97049,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 +97076,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 +97174,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 +97217,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 +97276,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 +97292,7 @@ paths: application/json: schema: *392 examples: - default: *655 + default: *656 '404': *6 x-github: githubCloudOnly: false @@ -97053,9 +97309,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 +97351,7 @@ paths: application/json: schema: *392 examples: - default: *655 + default: *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97111,9 +97367,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 +97390,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 +97404,7 @@ paths: type: array items: *212 examples: - default: *636 + default: *637 headers: Link: *45 x-github: @@ -97167,12 +97423,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 +97440,7 @@ paths: type: array items: *239 examples: - default: *660 + default: *661 headers: Link: *45 x-github: @@ -97208,8 +97464,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 +97523,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 +97674,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 +97715,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 +97771,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '422': *15 '409': *117 x-github: @@ -97540,8 +97796,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 +97905,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 +97932,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 +97943,7 @@ paths: application/json: schema: type: array - items: &663 + items: &664 title: Page Build description: Page Build type: object @@ -97779,8 +98035,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 +98083,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 +98140,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 +98152,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: - default: *664 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97918,8 +98174,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 +98283,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 +98343,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 +98372,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 +98668,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 +98706,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 +98728,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 +98751,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 +98762,7 @@ paths: type: array items: *150 examples: - default: *666 + default: *667 '403': *27 '404': *6 x-github: @@ -98528,8 +98784,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 +98801,7 @@ paths: required: - properties examples: - default: *667 + default: *668 responses: '204': description: No Content when custom property values are successfully created @@ -98583,8 +98839,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 +98900,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: *668 + default: *669 headers: Link: *45 '304': *35 @@ -98678,8 +98934,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 +99002,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 +99242,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 +99344,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 +99871,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 +99901,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 +99980,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 +100065,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 +100089,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99851,8 +100107,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 +100130,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 +100158,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -99925,8 +100181,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 +100215,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 +100246,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 +100292,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 +100307,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 +100344,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 +100388,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '422': *15 '403': *27 x-github: @@ -100156,9 +100412,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 +100477,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 +100485,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -100259,9 +100515,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 +100538,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *675 + default: *676 headers: Link: *45 x-github: @@ -100317,9 +100573,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 +100681,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: example-for-a-multi-line-comment: value: @@ -100513,9 +100769,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 +100794,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: default: value: @@ -100624,9 +100880,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 +100892,9 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: - default: *676 + default: *677 headers: Link: *45 x-github: @@ -100668,9 +100924,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 +100936,7 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: default: value: @@ -100718,9 +100974,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 +100999,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 +101113,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 +101190,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 +101229,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -101509,9 +101765,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 +101801,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -102050,9 +102306,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 +102318,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 +102474,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 +102566,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &679 + default: &680 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102375,10 +102631,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 +102646,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &680 + default: &681 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102451,10 +102707,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 +102733,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: default: value: @@ -102539,18 +102795,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 +102833,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 +103094,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 +103126,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: default: value: @@ -102933,10 +103189,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 +103227,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *680 + default: *681 '404': *6 '422': *7 '403': *27 @@ -102995,9 +103251,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 +103317,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 +103331,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: &682 + default: &683 value: type: file encoding: base64 @@ -103119,8 +103375,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 +103396,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 '404': *6 '422': *15 x-github: @@ -103164,8 +103420,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 +103431,7 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: default: value: @@ -103269,8 +103525,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 +103602,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 +103709,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 +103723,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 +103760,7 @@ paths: type: User site_admin: false '404': *6 - '302': *565 + '302': *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103520,9 +103776,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 +103807,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *686 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103569,9 +103825,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 +103851,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 +103938,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 +103964,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 +103978,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -103746,9 +104002,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 +104018,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 +104038,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 +104104,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 +104127,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 +104149,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 +104161,7 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: default: value: @@ -103987,9 +104243,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 +104271,7 @@ paths: description: Response for successful upload content: application/json: - schema: *684 + schema: *685 examples: response-for-successful-upload: value: @@ -104070,9 +104326,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 +104352,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -104119,9 +104375,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 +104407,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 +104438,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 +104465,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 +104484,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 +104505,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 +104604,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - *17 - *19 - name: includes_parents @@ -104360,7 +104616,7 @@ paths: schema: type: boolean default: true - - *691 + - *692 responses: '200': description: Response @@ -104415,8 +104671,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 requestBody: description: Request body required: true @@ -104445,7 +104701,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *692 + items: *693 required: - name - enforcement @@ -104478,7 +104734,7 @@ paths: application/json: schema: *185 examples: - default: &701 + default: &702 value: id: 42 name: super cool ruleset @@ -104525,12 +104781,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 +104794,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: *697 + default: *698 '404': *6 '500': *38 x-github: @@ -104561,17 +104817,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 +104855,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104622,7 +104878,7 @@ paths: application/json: schema: *185 examples: - default: *701 + default: *702 '404': *6 '500': *38 put: @@ -104640,8 +104896,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104675,7 +104931,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *692 + items: *693 examples: default: value: @@ -104705,7 +104961,7 @@ paths: application/json: schema: *185 examples: - default: *701 + default: *702 '404': *6 '500': *38 delete: @@ -104723,8 +104979,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104747,8 +105003,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 +105022,7 @@ paths: type: array items: *189 examples: - default: *408 + default: *409 '404': *6 '500': *38 x-github: @@ -104785,8 +105041,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 +105060,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -104859,22 +105115,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 +105138,7 @@ paths: application/json: schema: type: array - items: &707 + items: &708 type: object properties: number: *124 @@ -104898,8 +105154,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 +105249,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 +105394,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 +105457,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 +105467,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 +105504,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: default: value: @@ -105343,9 +105599,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 +105612,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &886 + items: &889 type: object properties: type: @@ -105383,7 +105639,6 @@ paths: - commit details: oneOf: - - *708 - *709 - *710 - *711 @@ -105396,6 +105651,7 @@ paths: - *718 - *719 - *720 + - *721 examples: default: value: @@ -105481,8 +105737,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 +105746,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 +105770,7 @@ paths: schema: type: object properties: - reason: *722 + reason: *723 expire_at: type: - string @@ -105561,8 +105817,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 +105833,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 +105861,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 +105939,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 +105984,9 @@ paths: application/json: schema: type: array - items: *724 + items: *725 examples: - default: *725 + default: *726 '400': *14 '404': *6 x-github: @@ -105753,8 +106009,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 +106090,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 required: - login - type @@ -105924,9 +106180,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 +106415,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 +106529,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: default: value: @@ -106420,17 +106676,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 +106710,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 +106792,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 required: - login - type @@ -106627,10 +106883,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 +106924,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 +106953,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 +106989,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 +107086,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 +107096,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106873,8 +107129,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 +107208,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 +107303,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 +107458,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 +107469,7 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: default: value: @@ -107246,8 +107502,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 +107559,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: default: value: @@ -107357,8 +107613,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 +107646,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 +107726,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 +107753,7 @@ paths: description: Response content: application/json: - schema: *730 + schema: *731 examples: default: value: @@ -107524,8 +107780,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 +107801,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 +107884,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 +107893,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 title: Tag protection description: Tag protection type: object @@ -107694,8 +107950,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 +107974,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *732 examples: default: value: @@ -107749,8 +108005,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 +108043,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 +108080,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 +108113,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 +108122,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 +108134,7 @@ paths: required: - names examples: - default: &733 + default: &734 value: names: - octocat @@ -107901,8 +108157,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 +108189,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *733 examples: - default: *733 + default: *734 '404': *6 '422': *7 x-github: @@ -107956,9 +108212,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 +108245,7 @@ paths: - 128 clones: type: array - items: &735 + items: &736 title: Traffic type: object properties: @@ -108076,8 +108332,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 +108427,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 +108491,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 +108514,7 @@ paths: - 3782 views: type: array - items: *735 + items: *736 required: - uniques - count @@ -108335,8 +108591,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 +108866,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 +108890,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 +108913,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 +108940,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 +109033,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 +109186,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 +109196,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 +109208,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 +109252,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &738 + items: &739 allOf: - type: object required: @@ -109078,7 +109334,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 +109399,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 +109446,7 @@ paths: required: true content: application/json: - schema: &746 + schema: &747 type: object required: - schemas @@ -109254,9 +109510,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 +109531,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 +109554,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 +109563,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 +109597,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 +109629,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 +109663,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 +109729,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 +109755,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 +109799,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *748 - *749 + - *750 - *39 responses: '200': @@ -109578,7 +109834,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &752 + items: &753 allOf: - type: object required: @@ -109670,7 +109926,7 @@ paths: address. examples: - true - roles: &751 + roles: &752 type: array description: The roles assigned to the user. items: @@ -109729,7 +109985,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 +110024,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 +110052,7 @@ paths: required: true content: application/json: - schema: &755 + schema: &756 type: object required: - schemas @@ -109889,9 +110145,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 +110194,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 +110222,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 +110245,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 +110258,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 +110288,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 +110346,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 +110392,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 +110423,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 +110524,7 @@ paths: - 1 Resources: type: array - items: &758 + items: &759 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -110515,22 +110771,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 +110812,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 +110837,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 +110947,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 +110981,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 +111107,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 +111215,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 +111354,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &762 + text_matches: &763 title: Search Result Text Matches type: array items: @@ -111262,7 +111518,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 +111587,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 comment_count: type: integer message: @@ -111350,7 +111606,7 @@ paths: url: type: string format: uri - verification: *612 + verification: *613 required: - author - committer @@ -111365,7 +111621,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 parents: type: array items: @@ -111382,7 +111638,7 @@ paths: type: number node_id: type: string - text_matches: *762 + text_matches: *763 required: - sha - node_id @@ -111575,7 +111831,7 @@ paths: - interactions - created - updated - - *763 + - *764 - *17 - *19 - name: advanced_search @@ -111672,11 +111928,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 +111960,7 @@ paths: - string - 'null' format: date-time - text_matches: *762 + text_matches: *763 pull_request: type: object properties: @@ -111927,7 +112183,7 @@ paths: enum: - created - updated - - *763 + - *764 - *17 - *19 responses: @@ -111972,7 +112228,7 @@ paths: - 'null' score: type: number - text_matches: *762 + text_matches: *763 required: - id - node_id @@ -112058,7 +112314,7 @@ paths: - forks - help-wanted-issues - updated - - *763 + - *764 - *17 - *19 responses: @@ -112295,7 +112551,7 @@ paths: - admin - pull - push - text_matches: *762 + text_matches: *763 temp_clone_token: type: string allow_merge_commit: @@ -112604,7 +112860,7 @@ paths: - string - 'null' format: uri - text_matches: *762 + text_matches: *763 related: type: - array @@ -112799,7 +113055,7 @@ paths: - followers - repositories - joined - - *763 + - *764 - *17 - *19 responses: @@ -112909,7 +113165,7 @@ paths: type: - boolean - 'null' - text_matches: *762 + text_matches: *763 blog: type: - string @@ -112991,7 +113247,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 +113259,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -113032,7 +113288,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 +113352,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 +113389,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 +113418,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 +113456,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 +113507,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 +113544,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 +113584,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 +113621,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 +113663,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 +113689,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 +113725,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 +113753,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 +113795,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 +113954,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 +114006,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 +114037,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 +114072,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 +114133,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -113908,7 +114164,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 +114176,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 +114209,7 @@ paths: application/json: schema: oneOf: - - &773 + - &774 title: Private User description: Private User type: object @@ -114203,7 +114459,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 +114619,7 @@ paths: description: Response content: application/json: - schema: *773 + schema: *774 examples: default: value: @@ -114709,7 +114965,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 +114973,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -114761,7 +115017,7 @@ paths: type: integer secrets: type: array - items: &774 + items: &775 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114803,7 +115059,7 @@ paths: - visibility - selected_repositories_url examples: - default: *543 + default: *544 headers: Link: *45 x-github: @@ -114881,7 +115137,7 @@ paths: description: Response content: application/json: - schema: *774 + schema: *775 examples: default: value: @@ -115027,7 +115283,7 @@ paths: type: array items: *273 examples: - default: *775 + default: *776 '401': *23 '403': *27 '404': *6 @@ -115179,7 +115435,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '304': *35 '500': *38 '401': *23 @@ -115237,7 +115493,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -115294,7 +115550,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 +115603,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 +115648,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *777 examples: - default: *777 + default: *778 '404': *6 x-github: githubCloudOnly: false @@ -115431,9 +115687,9 @@ paths: type: integer machines: type: array - items: *542 + items: *543 examples: - default: *778 + default: *779 '304': *35 '500': *38 '401': *23 @@ -115518,11 +115774,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 +116583,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '304': *35 '500': *38 '400': *14 @@ -116367,7 +116623,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '500': *38 '401': *23 '403': *27 @@ -116399,7 +116655,7 @@ paths: type: array items: *373 examples: - default: &789 + default: &790 value: - id: 197 name: hello_docker @@ -116500,7 +116756,7 @@ paths: application/json: schema: type: array - items: &779 + items: &780 title: Email description: Email type: object @@ -116570,9 +116826,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 +116905,7 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: default: value: @@ -116907,7 +117163,7 @@ paths: application/json: schema: type: array - items: &780 + items: &781 title: GPG Key description: A unique encryption key type: object @@ -117052,7 +117308,7 @@ paths: - subkeys - revoked examples: - default: &805 + default: &808 value: - id: 3 name: Octocat's GPG Key @@ -117137,9 +117393,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 +117452,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 +117464,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *781 examples: - default: *781 + default: *782 '404': *6 '304': *35 '403': *27 @@ -117233,7 +117489,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 +117794,7 @@ paths: required: true content: application/json: - schema: *623 + schema: *624 examples: default: value: @@ -117688,7 +117944,7 @@ paths: application/json: schema: type: array - items: &783 + items: &784 title: Key description: Key type: object @@ -117791,9 +118047,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *784 examples: - default: &784 + default: &785 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117826,15 +118082,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 +118113,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 +118146,7 @@ paths: application/json: schema: type: array - items: &785 + items: &786 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117969,7 +118225,7 @@ paths: - account - plan examples: - default: &786 + default: &787 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118031,9 +118287,9 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: - default: *786 + default: *787 headers: Link: *45 '304': *35 @@ -119051,7 +119307,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 +119422,7 @@ paths: - docker - nuget - container - - *788 + - *789 - *19 - *17 responses: @@ -119178,8 +119434,8 @@ paths: type: array items: *373 examples: - default: *789 - '400': *790 + default: *790 + '400': *791 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119208,7 +119464,7 @@ paths: application/json: schema: *373 examples: - default: &806 + default: &809 value: id: 40201 name: octo-name @@ -119570,9 +119826,9 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: - default: *791 + default: *792 headers: Link: *45 '304': *35 @@ -119685,7 +119941,7 @@ paths: type: array items: *76 examples: - default: &798 + default: &799 summary: Default response value: - id: 1296269 @@ -120003,9 +120259,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 +120299,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *792 + default: *793 headers: Link: *45 '304': *35 @@ -120124,7 +120380,7 @@ paths: application/json: schema: type: array - items: &793 + items: &794 title: Social account description: Social media account type: object @@ -120141,7 +120397,7 @@ paths: - provider - url examples: - default: &794 + default: &795 value: - provider: twitter url: https://twitter.com/github @@ -120204,9 +120460,9 @@ paths: application/json: schema: type: array - items: *793 + items: *794 examples: - default: *794 + default: *795 '422': *15 '304': *35 '404': *6 @@ -120294,7 +120550,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 +120570,7 @@ paths: - title - created_at examples: - default: &820 + default: &823 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120379,9 +120635,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *796 examples: - default: &796 + default: &797 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120411,7 +120667,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 +120679,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *796 examples: - default: *796 + default: *797 '404': *6 '304': *35 '403': *27 @@ -120448,7 +120704,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 +120733,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 +120758,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 +120918,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 +120947,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 +120972,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 +121045,7 @@ paths: application/json: schema: type: array - items: *431 + items: *432 examples: default: value: @@ -120875,10 +121131,10 @@ paths: application/json: schema: oneOf: + - *774 - *773 - - *772 examples: - default-response: &800 + default-response: &803 summary: Default response value: login: octocat @@ -120913,7 +121169,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 +121226,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 +121292,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 +121315,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 +121454,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 +121508,8 @@ paths: required: - subject_digests examples: - default: *802 - withPredicateType: *803 + default: *805 + withPredicateType: *806 responses: '200': description: Response @@ -121193,7 +121563,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 +121768,7 @@ paths: initiator: type: string examples: - default: *485 + default: *486 '201': description: Response content: @@ -121439,7 +121809,7 @@ paths: type: array items: *373 examples: - default: *789 + default: *790 '403': *27 '401': *23 x-github: @@ -121823,9 +122193,9 @@ paths: application/json: schema: type: array - items: *780 + items: *781 examples: - default: *805 + default: *808 headers: Link: *45 x-github: @@ -121929,7 +122299,7 @@ paths: application/json: schema: *20 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122054,7 +122424,7 @@ paths: - docker - nuget - container - - *788 + - *789 - *137 - *19 - *17 @@ -122067,10 +122437,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 +122470,7 @@ paths: application/json: schema: *373 examples: - default: *806 + default: *809 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122449,7 +122819,7 @@ paths: type: array items: *394 examples: - default: *807 + default: *810 headers: Link: *45 '304': *35 @@ -122509,7 +122879,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 +122895,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *809 + iteration_configuration: *812 required: - name - data_type @@ -122547,8 +122917,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 +122926,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 +122952,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 +122961,7 @@ paths: application/json: schema: *394 examples: - default: *818 + default: *821 headers: Link: *45 '304': *35 @@ -122948,7 +123318,7 @@ paths: parameters: - *391 - *137 - - *819 + - *822 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -123227,9 +123597,9 @@ paths: application/json: schema: type: array - items: *793 + items: *794 examples: - default: *794 + default: *795 headers: Link: *45 x-github: @@ -123259,9 +123629,9 @@ paths: application/json: schema: type: array - items: *795 + items: *796 examples: - default: *820 + default: *823 headers: Link: *45 x-github: @@ -123286,7 +123656,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 +123668,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 +123832,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 +123901,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 +123922,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 +123995,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 +124908,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 +124987,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 +125214,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 +125406,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 +125483,7 @@ webhooks: required: true content: application/json: - schema: &847 + schema: &850 title: Exemption request cancellation event type: object properties: @@ -125121,11 +125491,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 +125769,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 +125881,7 @@ webhooks: required: true content: application/json: - schema: &848 + schema: &851 title: Exemption request completed event type: object properties: @@ -125519,11 +125889,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 +125965,7 @@ webhooks: required: true content: application/json: - schema: &845 + schema: &848 title: Exemption request created event type: object properties: @@ -125603,11 +125973,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 +126049,7 @@ webhooks: required: true content: application/json: - schema: &849 + schema: &852 title: Exemption response dismissed event type: object properties: @@ -125687,12 +126057,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 +126136,7 @@ webhooks: required: true content: application/json: - schema: &846 + schema: &849 title: Exemption response submitted event type: object properties: @@ -125774,12 +126144,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 +126233,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 +126343,7 @@ webhooks: - examples: - neutral - deployment: *830 + deployment: *833 details_url: type: string examples: @@ -126071,10 +126441,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 +126837,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 +127237,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 +127646,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 +128642,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 +129354,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 +130060,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 +130232,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 +130384,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 +130564,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 +130805,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 +130908,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 +131093,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 +131267,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 +131444,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 +131550,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 +131739,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 +131749,7 @@ webhooks: type: - string - 'null' - repository: *826 + repository: *829 sender: *4 required: - action @@ -131478,7 +131848,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 +131995,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 +132169,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 +132321,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 +132584,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 +132668,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 +132689,7 @@ webhooks: enum: - tag - branch - repository: *826 + repository: *829 sender: *4 required: - ref @@ -132402,9 +132772,9 @@ webhooks: enum: - created definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132489,9 +132859,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 +132939,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 +133019,9 @@ webhooks: enum: - updated definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132728,10 +133098,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 +133186,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 +133281,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 +133369,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 +133457,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 +133543,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 +133629,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 +133716,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 +133802,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 +133883,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 +133923,8 @@ webhooks: - verified - created_at - read_only - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -133631,11 +134001,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 +134577,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 +135320,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 +135397,7 @@ webhooks: type: string enum: - approved - approver: &837 + approver: &840 type: object properties: avatar_url: @@ -135070,11 +135440,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 +135525,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &839 + workflow_job_run: &842 type: object properties: conclusion: @@ -135901,18 +136271,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 +136999,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 +138948,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 +139644,7 @@ webhooks: type: string enum: - answered - answer: &843 + answer: &846 type: object properties: author_association: @@ -139434,11 +139804,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 +139935,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 +140022,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 +140108,7 @@ webhooks: type: string enum: - created - comment: &842 + comment: &845 type: object properties: author_association: @@ -139898,11 +140268,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 +140355,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 +140455,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 +140544,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 +140630,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 +140734,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 +140820,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 +140856,8 @@ webhooks: - color - default - description - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140570,11 +140940,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 +141026,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 +141112,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 +141201,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 +141293,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 +141378,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 +141466,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 +141552,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 +141625,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 +141688,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 +141751,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 +141814,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 +141877,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 +141943,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 +142009,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 +142075,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 +142141,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 +142207,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 +142272,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 +142337,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 +142402,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 +142467,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 +142533,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 +142600,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 +143278,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 +143426,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 +143466,7 @@ webhooks: - action - sha - html_url - repository: *826 + repository: *829 sender: *4 required: - pages @@ -143172,10 +143542,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 +143571,8 @@ webhooks: - name - full_name - private - repository: *826 - requester: *850 + repository: *829 + requester: *853 sender: *4 required: - action @@ -143277,11 +143647,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 +143728,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 +143809,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 +143858,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 +143945,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 +143975,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 +144056,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 +144243,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 +144325,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 +144577,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 +145395,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 +145757,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -145468,7 +145838,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 +146005,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 +146819,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 +147183,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -146894,7 +147264,7 @@ webhooks: type: string enum: - edited - changes: &878 + changes: &881 description: The changes to the comment. type: object properties: @@ -146906,9 +147276,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 +148094,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 +148456,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148177,9 +148547,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 +148638,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 +148728,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 +148819,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 +148901,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 +149716,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 +149840,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -149551,8 +149921,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 +150739,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 +151006,8 @@ webhooks: required: - state - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -150716,8 +151086,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 +151895,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 +152018,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -151728,8 +152098,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 +152930,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 +153032,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 +153175,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -152905,8 +153275,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 +154088,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 +154212,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 +154294,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 +155106,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 +155230,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 +155312,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 +156149,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 +156250,8 @@ webhooks: format: uri user_view_type: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -155960,8 +156330,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 +157161,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 +157262,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 +158156,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 +158737,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 +159550,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 +159673,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -159384,9 +159754,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 +160562,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 +160685,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -160395,8 +160765,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 +161600,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 +161702,8 @@ webhooks: user_view_type: type: string type: *358 - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162222,11 +162592,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 +163195,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 +163279,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 +163365,7 @@ webhooks: type: string enum: - unassigned - assignee: &881 + assignee: &884 title: User type: - object @@ -163067,11 +163437,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 +163520,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 +163605,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 +164440,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 +164541,8 @@ webhooks: format: uri user_view_type: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164252,11 +164622,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 +164705,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 +164790,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 +164872,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 +164986,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 +165072,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 +165162,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 +165247,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -164957,10 +165327,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 +165418,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -165130,10 +165500,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 +165589,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -165300,8 +165670,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 +165757,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 +165839,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 +165946,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 +166052,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 +166135,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 +166217,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 +166299,7 @@ webhooks: required: - login - id - team: &860 + team: &863 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166159,11 +166529,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 +166612,7 @@ webhooks: required: - login - id - team: *860 + team: *863 required: - action - scope @@ -166324,8 +166694,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 +166714,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 +166808,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 +166884,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 +166993,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 +167078,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 +167161,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 +167305,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167015,11 +167385,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 +167499,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 +167583,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 +167666,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 +167749,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 +167829,7 @@ webhooks: enum: - created definition: *145 - enterprise: *823 + enterprise: *826 sender: *4 required: - action @@ -167539,8 +167909,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 +167983,8 @@ webhooks: enum: - updated definition: *145 - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 sender: *4 required: - action @@ -167686,9 +168056,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 +168146,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 +168258,8 @@ webhooks: - role - organization_url - user - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167967,11 +168337,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 +168420,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 +168543,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 +168624,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 +168715,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 +168795,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 +169320,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &864 + items: &867 title: Ruby Gems metadata type: object properties: @@ -169047,7 +169417,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -169123,9 +169493,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 +169857,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *864 + items: *867 source_url: type: string format: uri @@ -169558,7 +169928,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -169739,12 +170109,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 +170191,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 +170341,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 +170421,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 +170501,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 +170580,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 +170689,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 +170721,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 +170967,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 +171093,7 @@ webhooks: - creator - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -170804,11 +171174,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 +171258,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 +171390,7 @@ webhooks: repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -171114,11 +171484,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 +171582,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 +171781,7 @@ webhooks: type: string required: - after_id - repository: *826 + repository: *829 sender: *4 required: - action @@ -171491,10 +171861,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 +171991,7 @@ webhooks: - creator - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -171701,10 +172071,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 +172114,7 @@ webhooks: - name - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -171823,14 +172193,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 +172289,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 +172373,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 +172457,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 +172541,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 +172649,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 +172732,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 +172817,8 @@ webhooks: type: string enum: - closed - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172530,8 +172900,8 @@ webhooks: type: string enum: - created - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172613,8 +172983,8 @@ webhooks: type: string enum: - deleted - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172736,8 +173106,8 @@ webhooks: type: string to: type: string - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172821,7 +173191,7 @@ webhooks: type: string enum: - archived - changes: &873 + changes: &876 type: object properties: archived_at: @@ -172837,9 +173207,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 +173349,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 +173433,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 +173516,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 +173623,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 +173647,7 @@ webhooks: required: - id - name - - &872 + - &875 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173317,8 +173687,8 @@ webhooks: oneOf: - type: string - type: integer - - *871 - - *872 + - *874 + - *875 type: - 'null' - string @@ -173341,9 +173711,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 +173810,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 +173895,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 +173980,8 @@ webhooks: type: string enum: - reopened - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -173693,9 +174063,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 +174146,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 +174294,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 +174367,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 +174447,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 +176802,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -176514,11 +176884,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 +179230,7 @@ webhooks: - draft reason: type: string - repository: *826 + repository: *829 sender: *4 required: - action @@ -178942,11 +179312,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 +181658,7 @@ webhooks: - draft reason: type: string - repository: *826 + repository: *829 sender: *4 required: - action @@ -181370,13 +181740,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 +181808,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *826 + repository: *829 sender: *4 required: - action @@ -181519,12 +181889,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 +181974,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 +184305,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -184014,11 +184384,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 +186734,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *826 + repository: *829 sender: *4 required: - action @@ -186488,12 +186858,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 +186943,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 +189278,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -188988,11 +189358,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 +191710,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -191421,10 +191791,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 +194140,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -193850,12 +194220,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 +194304,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 +194390,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 +194475,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 +194855,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 +197087,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -196797,7 +197167,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 +197460,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 +199680,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -199390,11 +199760,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 +201985,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -201696,9 +202066,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 +204301,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 review: description: The review that was affected. type: object @@ -204182,9 +204552,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 +206668,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 +206907,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 +209259,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_reviewer: title: User type: @@ -208975,12 +209345,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 +211704,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 +211899,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 +214253,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_reviewer: title: User type: @@ -213970,12 +214340,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 +216685,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 +216869,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 +219107,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 - review: *880 + repository: *829 + review: *883 sender: *4 required: - action @@ -218818,9 +219188,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 +221321,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 sender: *4 thread: type: object @@ -221348,9 +221718,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 +223834,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 sender: *4 thread: type: object @@ -223863,10 +224233,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 +226571,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -226283,11 +226653,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 +229007,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -228716,11 +229086,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 +231429,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -231140,10 +231510,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 +233842,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -233675,7 +234045,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 +234140,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 +234729,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 +235208,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *864 + items: *867 summary: type: string tag_name: @@ -234894,7 +235264,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -234972,9 +235342,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 +235656,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *864 + items: *867 summary: type: string tag_name: @@ -235336,7 +235706,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -235413,10 +235783,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 +236117,7 @@ webhooks: - updated_at - zipball_url - body - repository: *826 + repository: *829 sender: *4 required: - action @@ -235824,11 +236194,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 +236315,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 +236397,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 +236735,7 @@ webhooks: - string - 'null' format: uri - repository: *826 + repository: *829 sender: *4 required: - action @@ -236441,10 +236811,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 +237147,7 @@ webhooks: - string - 'null' format: uri - repository: *826 + repository: *829 sender: *4 required: - action @@ -236853,11 +237223,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 +237303,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 +237383,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 +237463,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 +237543,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 +237623,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 +237704,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 +237792,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 +237910,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 +237985,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 +238069,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 +238149,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 +238246,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 +238329,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 +238411,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 +238493,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 +238558,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 +238804,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 +238885,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 +238966,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 +239090,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 +239303,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 +239384,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 +239590,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 +239671,7 @@ webhooks: type: string enum: - assigned - alert: &885 + alert: &888 type: object properties: number: *124 @@ -239416,10 +239786,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 +239867,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 +239952,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 +240194,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 +240276,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 +240358,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 +240440,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 +240523,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 +240657,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 +240738,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 +240928,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 +241005,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 +241194,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 +241276,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 +241586,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 +241679,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 +241761,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 +241845,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &890 + changes: &893 type: object properties: tier: @@ -241519,13 +241889,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 +241972,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 +242052,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 +242139,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 +242576,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 +242700,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 +242792,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 +242884,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 +242976,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 +243055,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 +243290,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 +243762,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -243468,9 +243838,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 +244310,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -244017,9 +244387,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 +244859,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -244633,9 +245003,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 +245475,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - changes @@ -245183,9 +245553,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 +246025,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -245731,10 +246101,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 +246177,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 +246269,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 +246528,7 @@ webhooks: type: string required: - conclusion - deployment: *577 + deployment: *578 required: - action - repository @@ -246237,10 +246607,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 +246892,7 @@ webhooks: required: - status - steps - deployment: *577 + deployment: *578 required: - action - repository @@ -246601,10 +246971,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 +247120,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *577 + deployment: *578 required: - action - repository @@ -246829,10 +247199,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 +247349,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *577 + deployment: *578 required: - action - repository @@ -247059,12 +247429,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 +248453,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 +249462,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..eabfd39e1 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -253593,6 +253593,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", @@ -772224,6 +773022,804 @@ } } }, + "/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": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index c65634977..f50e647bd 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: @@ -31890,7 +31890,7 @@ paths: type: boolean examples: - false - security_and_analysis: &402 + security_and_analysis: &403 type: - object - 'null' @@ -32063,7 +32063,7 @@ paths: - url - subscription_url examples: - default: &660 + default: &661 value: - id: '1' repository: @@ -33192,7 +33192,7 @@ paths: type: array items: *150 examples: - default: &666 + default: &667 value: - property_name: environment value: production @@ -33242,7 +33242,7 @@ paths: required: - properties examples: - default: &667 + default: &668 value: properties: - property_name: environment @@ -34133,7 +34133,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 +36256,7 @@ paths: type: array items: *273 examples: - default: &775 + default: &776 value: total_count: 1 repositories: @@ -37300,7 +37300,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 +37335,7 @@ paths: - key_id - key examples: - default: &472 + default: &473 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37748,7 +37748,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 +38988,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 +39052,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 +39401,7 @@ paths: initiator: type: string examples: - default: &485 + default: &486 value: attestations: - bundle: @@ -40323,7 +40323,7 @@ paths: be returned. in: query required: false - schema: &510 + schema: &511 type: string description: Severity of a code scanning alert. enum: @@ -41383,7 +41383,7 @@ paths: machine: anyOf: - type: 'null' - - &542 + - &543 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -42335,7 +42335,7 @@ paths: - updated_at - visibility examples: - default: &543 + default: &544 value: total_count: 2 secrets: @@ -42373,7 +42373,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 +42408,7 @@ paths: - key_id - key examples: - default: &545 + default: &546 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42440,7 +42440,7 @@ paths: application/json: schema: *316 examples: - default: &547 + default: &548 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44319,7 +44319,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 +44338,7 @@ paths: - key_id - key examples: - default: &574 + default: &575 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -44668,7 +44668,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 +44676,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 +44684,7 @@ paths: required: false schema: type: string - - &584 + - &585 name: time_period description: |- The time period to filter by. @@ -44700,7 +44700,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 +44725,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 +44888,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 +45006,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 +45129,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &589 + default: &590 value: - id: 21 number: 42 @@ -45231,7 +45231,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 +45358,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 +45704,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 +45794,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 +45849,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 +45889,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 +46054,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 +46068,7 @@ paths: - name - description examples: - default: &404 + default: &405 value: - name: add_assignee description: Assign or remove a user @@ -47218,7 +47218,7 @@ paths: application/json: schema: *20 examples: - default: &622 + default: &623 value: id: 1 account: @@ -47446,7 +47446,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 +48314,7 @@ paths: application/json: schema: *363 examples: - default: &541 + default: &542 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -49576,7 +49576,7 @@ paths: parameters: - *85 - *369 - - &787 + - &788 name: repo_name description: repo_name parameter in: path @@ -50922,7 +50922,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 +50963,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 +52789,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 +53063,7 @@ paths: content: oneOf: - *213 - - &556 + - &557 title: Pull Request Simple description: Pull Request Simple type: object @@ -53308,7 +53308,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 +53690,7 @@ paths: - updated_at - project_url examples: - default: &807 + default: &810 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53867,7 +53867,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 +53903,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 +53952,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 +53979,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 +54005,7 @@ paths: application/json: schema: *394 examples: - text_field: &812 + text_field: &815 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -54014,7 +54014,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 +54023,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 +54032,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 +54066,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 +54112,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 +54127,7 @@ paths: application/json: schema: *394 examples: - default: &818 + default: &821 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -55250,6 +55250,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 +55520,7 @@ paths: parameters: - *391 - *85 - - &819 + - &822 name: view_number description: The number that identifies the project view. in: path @@ -55462,7 +55718,7 @@ paths: required: true content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -56034,7 +56290,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &444 title: Full Repository description: Full Repository type: object @@ -56499,7 +56755,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 +56785,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 +56869,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &446 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57139,9 +57395,9 @@ paths: application/json: schema: type: array - items: *403 + items: *404 examples: - default: *404 + default: *405 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57166,7 +57422,7 @@ paths: - *85 - *17 - *19 - - &691 + - &692 name: targets description: | A comma-separated list of rule targets to filter by. @@ -57258,11 +57514,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 +57583,7 @@ paths: application/json: schema: *185 examples: - default: &406 + default: &407 value: id: 21 name: super cool ruleset @@ -57382,7 +57638,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 +57650,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 +57677,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &697 title: Rule Suites description: Response type: array @@ -57477,7 +57733,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 +57777,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 +57793,7 @@ paths: description: Response content: application/json: - schema: &699 + schema: &700 title: Rule Suite description: Response type: object @@ -57644,7 +57900,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 +57975,7 @@ paths: application/json: schema: *185 examples: - default: *406 + default: *407 '404': *6 '500': *38 put: @@ -57768,11 +58024,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 +58065,7 @@ paths: application/json: schema: *185 examples: - default: *406 + default: *407 '404': *6 '500': *38 delete: @@ -57868,7 +58124,7 @@ paths: type: array items: *189 examples: - default: *408 + default: *409 '404': *6 '500': *38 x-github: @@ -57905,7 +58161,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -57968,15 +58224,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 +58242,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 +58252,10 @@ paths: required: false schema: type: string - - *415 - *416 - *417 - *418 + - *419 responses: '200': description: Response @@ -58007,9 +58263,9 @@ paths: application/json: schema: type: array - items: *419 + items: *420 examples: - default: *420 + default: *421 headers: Link: *45 '404': *6 @@ -58044,9 +58300,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *422 + default: *423 '403': *27 '404': *6 patch: @@ -58199,7 +58455,7 @@ paths: application/json: schema: type: array - items: &724 + items: &725 description: A repository security advisory. type: object properties: @@ -58443,7 +58699,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 credits_detailed: type: - array @@ -58454,7 +58710,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 +58774,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 +59245,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 +59253,9 @@ paths: description: Success content: application/json: - schema: *425 + schema: *426 examples: - default: *426 + default: *427 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -59282,7 +59538,7 @@ paths: type: array items: *142 examples: - default: *427 + default: *428 headers: Link: *45 x-github: @@ -59483,15 +59739,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 +59785,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 +59837,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 +60045,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 +60444,7 @@ paths: - repos_count - organization examples: - default: &432 + default: &433 value: id: 1 node_id: MDQ6VGVhbTE= @@ -60265,9 +60521,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -60352,16 +60608,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 +60673,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60463,9 +60719,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60606,7 +60862,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &438 title: Team Membership description: Team Membership type: object @@ -60634,7 +60890,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 +60953,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 +61062,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 +61712,8 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 requestBody: required: false content: @@ -61504,8 +61760,8 @@ paths: parameters: - *85 - *210 - - *438 - *439 + - *440 responses: '204': description: Response @@ -61538,9 +61794,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *441 + default: *442 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61606,7 +61862,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -61651,7 +61907,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 +62061,7 @@ paths: resources: type: object properties: - core: &442 + core: &443 title: Rate Limit type: object properties: @@ -61822,21 +62078,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 +62197,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 +62709,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62471,8 +62727,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 +62986,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 +63018,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 +63041,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 +63065,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 +63092,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &448 title: Artifact description: An artifact type: object @@ -62931,7 +63187,7 @@ paths: - expires_at - updated_at examples: - default: &464 + default: &465 value: total_count: 2 artifacts: @@ -62992,9 +63248,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 +63262,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: default: value: @@ -63044,9 +63300,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 +63326,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 +63342,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 +63367,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 +63408,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 +63443,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 +63484,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 +63521,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 +63554,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 +63592,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: Repository actions caches description: Repository actions caches type: object @@ -63386,7 +63642,7 @@ paths: - total_count - actions_caches examples: - default: &454 + default: &455 value: total_count: 1 actions_caches: @@ -63418,23 +63674,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 +63710,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 +63742,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 +63756,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 +64103,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 +64133,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 +64181,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 +64232,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 +64296,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 +64315,7 @@ paths: type: integer secrets: type: array - items: &469 + items: &470 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64080,7 +64336,7 @@ paths: - created_at - updated_at examples: - default: &470 + default: &471 value: total_count: 2 secrets: @@ -64113,9 +64369,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 +64388,7 @@ paths: type: integer variables: type: array - items: &473 + items: &474 title: Actions Variable type: object properties: @@ -64166,7 +64422,7 @@ paths: - created_at - updated_at examples: - default: &474 + default: &475 value: total_count: 2 variables: @@ -64199,8 +64455,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 +64465,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 +64500,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 +64512,7 @@ paths: schema: type: object properties: - enabled: *457 + enabled: *458 allowed_actions: *58 sha_pinning_required: *59 required: @@ -64289,14 +64545,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 +64570,7 @@ paths: required: - access_level examples: - default: &459 + default: &460 value: access_level: organization x-github: @@ -64339,15 +64595,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 +64627,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 +64658,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 +64693,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 +64721,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 +64756,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 +64785,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 +64817,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 +64849,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 +64882,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 +64912,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 +64953,8 @@ paths: in: query schema: type: string - - *438 - *439 + - *440 - *17 - *19 responses: @@ -64742,8 +64998,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 +65031,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 +65106,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 +65143,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 +65174,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 +65205,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 +65233,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 +65259,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 +65309,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 +65360,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 +65391,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 +65422,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 +65432,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 +65440,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 +65449,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 +65476,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 +65485,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 +65494,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 +65523,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 +65701,7 @@ paths: head_commit: anyOf: - type: 'null' - - &505 + - &506 title: Simple Commit description: A commit. type: object @@ -65560,7 +65816,7 @@ paths: - workflow_url - pull_requests examples: - default: &484 + default: &485 value: total_count: 1 workflow_runs: @@ -65796,24 +66052,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 +66310,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 +66335,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 +66465,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 +66500,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 +66521,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *448 examples: - default: *464 + default: *465 headers: Link: *45 x-github: @@ -66291,25 +66547,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 +66588,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 +66609,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *468 examples: - default: &468 + default: &469 value: total_count: 1 jobs: @@ -66468,10 +66724,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 +66755,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 +66790,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 +66859,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 +66894,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 +66926,9 @@ paths: type: integer jobs: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *45 x-github: @@ -66697,9 +66953,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 +66982,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 +67011,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 +67082,7 @@ paths: items: type: object properties: - type: &592 + type: &593 type: string description: The type of reviewer. enum: @@ -66912,9 +67168,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 +67220,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 +67332,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 +67388,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 +67435,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 +67492,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 +67631,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 +67650,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *470 examples: - default: *470 + default: *471 headers: Link: *45 x-github: @@ -67421,16 +67677,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 +67708,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 +67744,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 +67803,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 +67830,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 +67849,9 @@ paths: type: integer variables: type: array - items: *473 + items: *474 examples: - default: *474 + default: *475 headers: Link: *45 x-github: @@ -67618,8 +67874,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 +67927,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 +67963,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 +68007,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 +68034,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 +68053,7 @@ paths: type: integer workflows: type: array - items: &475 + items: &476 title: Workflow description: A GitHub Actions workflow type: object @@ -67915,9 +68171,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 +68188,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *476 examples: default: value: @@ -67965,9 +68221,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 +68248,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 +68301,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 +68330,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 +68358,9 @@ paths: type: integer workflow_runs: type: array - items: *461 + items: *462 examples: - default: *484 + default: *485 headers: Link: *45 x-github: @@ -68137,9 +68393,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 +68456,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 +68625,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 +68663,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 +68700,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 +68813,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 +68871,7 @@ paths: initiator: type: string examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68635,8 +68891,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 +68900,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Autolink reference description: An autolink reference. type: object @@ -68703,8 +68959,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 +68999,9 @@ paths: description: response content: application/json: - schema: *486 + schema: *487 examples: - default: &487 + default: &488 value: id: 1 key_prefix: TICKET- @@ -68776,9 +69032,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 +69046,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -68812,9 +69068,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 +69094,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 +69145,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 +69167,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 +69188,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 +69227,7 @@ paths: - url protected: type: boolean - protection: &490 + protection: &491 title: Branch Protection description: Branch Protection type: object @@ -69014,7 +69270,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 +69287,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 +69371,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 +69664,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 +69680,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 +69726,7 @@ paths: author: anyOf: - type: 'null' - - &489 + - &490 title: Git User description: Metaproperties for Git author/committer information. @@ -69492,7 +69748,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 message: type: string examples: @@ -69516,7 +69772,7 @@ paths: required: - sha - url - verification: &612 + verification: &613 title: Verification type: object properties: @@ -69596,7 +69852,7 @@ paths: type: integer files: type: array - items: &563 + items: &564 title: Diff Entry description: Diff Entry type: object @@ -69692,7 +69948,7 @@ paths: - self protected: type: boolean - protection: *490 + protection: *491 protection_url: type: string format: uri @@ -69801,7 +70057,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 +70079,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 +70281,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 +70543,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 +70702,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *492 + restrictions: *493 required_conversation_resolution: type: object properties: @@ -70558,9 +70814,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 +70841,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 +70873,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 +70902,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 +70929,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 +71035,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 +71135,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: - default: *496 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -70902,9 +71158,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 +71187,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 +71220,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 +71250,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 +71277,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 +71313,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 +71367,9 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *499 + default: *500 '404': *6 '422': *15 x-github: @@ -71135,9 +71391,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 +71417,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 +71453,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 +71522,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 +71588,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 +71656,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 +71755,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 +71780,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 +71792,7 @@ paths: type: array items: *5 examples: - default: &500 + default: &501 value: - id: 1 slug: octoapp @@ -71593,9 +71849,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 +71885,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71650,9 +71906,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 +71942,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71707,9 +71963,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 +71999,7 @@ paths: type: array items: *5 examples: - default: *500 + default: *501 '422': *15 x-github: githubCloudOnly: false @@ -71765,9 +72021,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 +72053,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 +72114,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 +72175,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 +72236,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 +72272,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 +72332,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 +72392,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 +72454,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 +72478,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *502 examples: default: value: @@ -72336,8 +72592,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -72373,8 +72629,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72447,8 +72703,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -72488,8 +72744,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72559,8 +72815,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_request_number in: path required: true @@ -72631,8 +72887,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *438 - *439 + - *440 - name: bypass_response_id in: path required: true @@ -72665,8 +72921,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 +73201,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 +73337,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 +73624,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 +73638,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: &504 + default: &505 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -73484,9 +73740,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 +73982,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *503 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73748,9 +74004,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 +74116,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 +74162,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 +74185,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 +74283,7 @@ paths: - string - 'null' format: date-time - head_commit: *505 + head_commit: *506 latest_check_runs_count: type: integer check_runs_url: @@ -74055,7 +74311,7 @@ paths: - check_runs_url - pull_requests examples: - default: &507 + default: &508 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -74346,9 +74602,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 +74623,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 +74933,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 +74947,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74716,17 +74972,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 +75021,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 +75125,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 +75160,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 +75205,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 +75229,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 +75237,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 +75364,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 +75391,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 +75407,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 type: object properties: number: *124 @@ -75159,7 +75415,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 +75423,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 +75486,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 +75583,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 +75603,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 +75620,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 +75649,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -75469,7 +75725,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 +75752,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 +75787,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 +75804,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 +75829,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 +75883,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 +75931,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 +75956,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 +75973,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 +75993,7 @@ paths: properties: text: type: string - location: *529 + location: *530 html_url: type: string classifications: @@ -75745,7 +76001,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 +76040,7 @@ paths: end_column: 50 classifications: - source - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75818,25 +76074,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 +76114,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 +76155,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 +76218,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *517 + '403': *518 '404': *6 '503': *190 x-github: @@ -75998,8 +76254,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 +76268,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: response: summary: application/json response @@ -76066,7 +76322,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 +76409,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 +76466,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 +76488,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 +76497,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: CodeQL Database description: A CodeQL database. type: object @@ -76353,7 +76609,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 +76638,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 +76651,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -76427,9 +76683,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 +76707,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 +76718,7 @@ paths: responses: '204': description: Response - '403': *523 + '403': *524 '404': *6 '503': *190 x-github: @@ -76490,8 +76746,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 +76756,7 @@ paths: type: object additionalProperties: false properties: - language: &534 + language: &535 type: string description: The language targeted by the CodeQL query enum: @@ -76580,7 +76836,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 +76846,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 +76894,7 @@ paths: items: type: object properties: - repository: &535 + repository: &536 title: Repository Identifier description: Repository Identifier type: object @@ -76680,7 +76936,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 +76968,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 +76983,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 +77006,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 +77023,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 +77169,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 +77200,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 +77213,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: - default: *537 + default: *538 '404': *6 '503': *190 x-github: @@ -76982,7 +77238,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 +77273,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 +77398,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 +77492,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 +77513,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 +77608,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 +77679,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 +77688,7 @@ paths: schema: type: object properties: - commit_sha: *540 + commit_sha: *541 ref: type: string description: |- @@ -77492,7 +77748,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 +77762,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 +77785,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 +77834,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 +77859,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 +77941,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 +78070,8 @@ paths: parameters: - *17 - *19 - - *438 - *439 + - *440 responses: '200': description: Response @@ -78129,8 +78385,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 +78452,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 +78460,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '400': *14 '401': *23 '403': *27 @@ -78233,8 +78489,8 @@ paths: parameters: - *17 - *19 - - *438 - *439 + - *440 responses: '200': description: Response @@ -78298,8 +78554,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 +78592,9 @@ paths: type: integer machines: type: array - items: *542 + items: *543 examples: - default: &778 + default: &779 value: total_count: 2 machines: @@ -78378,8 +78634,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 +78722,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 +78792,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 +78811,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 +78832,7 @@ paths: - created_at - updated_at examples: - default: *543 + default: *544 headers: Link: *45 x-github: @@ -78599,16 +78855,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 +78884,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 +78914,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 +78968,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 +78998,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 +79037,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 title: Collaborator description: Collaborator type: object @@ -78974,8 +79230,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 +79278,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 +79306,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 +79534,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 +79567,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 +79589,7 @@ paths: user: anyOf: - type: 'null' - - *548 + - *549 required: - permission - role_name @@ -79387,8 +79643,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 +79654,7 @@ paths: application/json: schema: type: array - items: &549 + items: &550 title: Commit Comment description: Commit Comment type: object @@ -79456,7 +79712,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 +79771,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 +79838,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 +79862,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *550 examples: default: value: @@ -79657,8 +79913,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 +79936,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 +79964,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 +80008,7 @@ paths: - content - created_at examples: - default: &629 + default: &630 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -79797,8 +80053,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 +80087,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 +80118,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 +80142,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 +80200,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 +80257,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 +80353,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 +80427,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 +80439,9 @@ paths: application/json: schema: type: array - items: *549 + items: *550 examples: - default: *554 + default: *555 headers: Link: *45 x-github: @@ -80213,9 +80469,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 +80506,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 +80536,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 +80548,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 +81087,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 +81106,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 +81221,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 +81259,9 @@ paths: type: integer check_runs: type: array - items: *502 + items: *503 examples: - default: *560 + default: *561 headers: Link: *45 x-github: @@ -81030,9 +81286,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 +81296,7 @@ paths: schema: type: integer example: 1 - - *558 + - *559 - *17 - *19 responses: @@ -81058,7 +81314,7 @@ paths: type: integer check_suites: type: array - items: *506 + items: *507 examples: default: value: @@ -81258,9 +81514,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 +81718,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 +81730,7 @@ paths: application/json: schema: type: array - items: &729 + items: &730 title: Status description: The status of a commit. type: object @@ -81555,7 +81811,7 @@ paths: site_admin: false headers: Link: *45 - '301': *444 + '301': *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81583,8 +81839,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 +81873,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 +81897,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 +82038,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 +82087,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 +82112,10 @@ paths: - 6 commits: type: array - items: *552 + items: *553 files: type: array - items: *563 + items: *564 required: - url - html_url @@ -82145,8 +82401,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 +82555,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 +82692,7 @@ paths: - size - type - url - - &681 + - &682 title: Content File description: Content File type: object @@ -82654,7 +82910,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 +82979,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 +83002,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 +83098,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &567 title: File Commit description: File Commit type: object @@ -82998,7 +83254,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: example-for-creating-a-file: value: @@ -83052,7 +83308,7 @@ paths: schema: oneOf: - *3 - - &607 + - &608 description: Repository rule violation was detected type: object properties: @@ -83073,7 +83329,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 +83361,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 +83423,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *567 examples: default: value: @@ -83222,8 +83478,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 +83603,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 +83616,7 @@ paths: schema: type: string - *325 - - *567 + - *568 - *326 - *327 - *108 @@ -83381,7 +83637,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 type: object description: A Dependabot alert. properties: @@ -83431,7 +83687,7 @@ paths: - direct - transitive - - security_advisory: *568 + security_advisory: *569 security_vulnerability: *128 url: *129 html_url: *130 @@ -83462,8 +83718,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 +83949,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 +83966,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -83823,9 +84079,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 +84126,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: default: value: @@ -83999,8 +84255,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 +84274,7 @@ paths: type: integer secrets: type: array - items: &575 + items: &576 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84072,16 +84328,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 +84357,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 +84391,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 +84445,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 +84469,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 +84644,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 +84905,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 +84989,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 +85028,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 +85042,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 +85175,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 +85217,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: *578 + default: *579 headers: Link: *45 x-github: @@ -85029,8 +85285,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 +85368,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: simple-example: summary: Simple example @@ -85185,9 +85441,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 +85455,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -85264,9 +85520,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 +85544,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 +85556,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 title: Deployment Status description: The status of a deployment. type: object @@ -85464,9 +85720,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 +85797,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 +85855,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 +85868,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 '404': *6 x-github: githubCloudOnly: false @@ -85641,12 +85897,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 - - *582 + - *440 - *583 - *584 - *585 + - *586 - *17 - *19 responses: @@ -85656,9 +85912,9 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: - default: *587 + default: *588 '404': *6 '403': *27 '500': *38 @@ -85682,8 +85938,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85695,7 +85951,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *586 + schema: *587 examples: default: value: @@ -85751,8 +86007,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85811,12 +86067,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 - - *582 + - *440 - *583 - *584 - *585 + - *586 - *17 - *19 responses: @@ -85826,9 +86082,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *589 + default: *590 '404': *6 '403': *27 '500': *38 @@ -85852,8 +86108,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85865,7 +86121,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -85916,8 +86172,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -85955,7 +86211,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *588 + schema: *589 examples: default: value: @@ -86006,8 +86262,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86078,8 +86334,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86112,8 +86368,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - *101 - *102 - *103 @@ -86127,9 +86383,9 @@ paths: application/json: schema: type: array - items: *590 + items: *591 examples: - default: *591 + default: *592 '404': *6 '403': *27 '500': *38 @@ -86154,8 +86410,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86167,7 +86423,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -86225,8 +86481,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *438 - *439 + - *440 - name: alert_number in: path required: true @@ -86295,8 +86551,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 +86609,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 +86628,7 @@ paths: - 5 environments: type: array - items: &593 + items: &594 title: Environment description: Details of a deployment environment type: object @@ -86434,7 +86690,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 +86732,7 @@ paths: items: type: object properties: - type: *592 + type: *593 reviewer: anyOf: - *4 @@ -86503,7 +86759,7 @@ paths: - id - node_id - type - deployment_branch_policy: &596 + deployment_branch_policy: &597 type: - object - 'null' @@ -86620,9 +86876,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 +86891,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *594 examples: - default: &597 + default: &598 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -86721,9 +86977,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 +86989,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 +87008,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 +87035,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 +87061,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 +87088,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 +87109,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 +87170,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 +87220,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 +87264,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 +87279,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87044,10 +87300,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 +87332,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *599 examples: - default: *599 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87097,10 +87353,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 +87381,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 +87400,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 +87422,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 +87525,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 +87548,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 +87585,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 +87607,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *602 + items: *603 examples: default: value: @@ -87386,10 +87642,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 +87657,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *602 examples: - default: *603 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87424,10 +87680,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 +87709,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 +87729,9 @@ paths: type: integer secrets: type: array - items: *469 + items: *470 examples: - default: *470 + default: *471 headers: Link: *45 x-github: @@ -87500,17 +87756,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 +87788,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 +87821,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 +87881,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 +87909,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 +87929,9 @@ paths: type: integer variables: type: array - items: *473 + items: *474 examples: - default: *474 + default: *475 headers: Link: *45 x-github: @@ -87698,9 +87954,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 +88008,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 +88040,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 +88085,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 +88110,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 +88179,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 +88339,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 +88373,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *444 examples: - default: *445 + default: *446 '400': *14 '422': *15 '403': *27 @@ -88140,8 +88396,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 +88457,7 @@ paths: schema: oneOf: - *248 - - *607 + - *608 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88226,8 +88482,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 +88583,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 +88693,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 +88920,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 +88984,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 +89003,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Git Reference description: Git references within a repository type: object @@ -88823,17 +89079,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 +89118,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 +89148,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 +89176,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 +89207,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 '422': *15 '409': *117 x-github: @@ -88971,9 +89227,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 +89284,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 +89352,7 @@ paths: description: Response content: application/json: - schema: &613 + schema: &614 title: Git Tag description: Metadata for a Git tag type: object @@ -89152,7 +89408,7 @@ paths: - sha - type - url - verification: *612 + verification: *613 required: - sha - url @@ -89162,7 +89418,7 @@ paths: - tag - message examples: - default: &614 + default: &615 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89235,8 +89491,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 +89503,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: - default: *614 + default: *615 '404': *6 '409': *117 x-github: @@ -89273,8 +89529,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 +89604,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 +89706,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 +89730,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *616 examples: default-response: summary: Default response @@ -89533,8 +89789,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 +89800,7 @@ paths: application/json: schema: type: array - items: &616 + items: &617 title: Webhook description: Webhooks for repositories. type: object @@ -89607,7 +89863,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 +89940,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 +89994,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &617 + default: &618 value: type: Repository id: 12345678 @@ -89788,17 +90044,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 +90074,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 +90121,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *617 + default: *618 '422': *15 '404': *6 x-github: @@ -89888,8 +90144,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 +90170,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 +90199,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 +90245,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 +90278,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 +90308,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 +90333,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 +90360,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 +90385,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 +90434,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 +90455,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 +90513,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 +90627,7 @@ paths: - html_url - authors_url examples: - default: &621 + default: &622 value: vcs: subversion use_lfs: true @@ -90387,7 +90643,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 +90672,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 +90721,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -90490,7 +90746,7 @@ paths: type: string '422': *15 '404': *6 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90518,8 +90774,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 +90827,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: example-1: summary: Example 1 @@ -90619,7 +90875,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 +90898,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 +90929,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 +90945,7 @@ paths: application/json: schema: type: array - items: &620 + items: &621 title: Porter Author description: Porter Author type: object @@ -90743,7 +90999,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 +91024,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 +91055,7 @@ paths: description: Response content: application/json: - schema: *620 + schema: *621 examples: default: value: @@ -90812,7 +91068,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 +91092,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 +91134,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *619 + '503': *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90906,8 +91162,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 +91190,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 +91217,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 +91226,8 @@ paths: application/json: schema: *20 examples: - default: *622 - '301': *444 + default: *623 + '301': *445 '404': *6 x-github: githubCloudOnly: false @@ -90991,8 +91247,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 +91261,7 @@ paths: properties: {} additionalProperties: false examples: - default: &624 + default: &625 value: limit: collaborators_only origin: repository @@ -91030,13 +91286,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 +91306,7 @@ paths: application/json: schema: *353 examples: - default: *624 + default: *625 '409': description: Response x-github: @@ -91072,8 +91328,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 +91352,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 +91363,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: &792 + default: &793 value: - id: 1 repository: @@ -91240,8 +91496,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 +91527,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *626 examples: default: value: @@ -91402,8 +91658,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 +91691,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 +91765,7 @@ paths: type: array items: *213 examples: - default: &635 + default: &636 value: - id: 1 node_id: MDU6SXNzdWUx @@ -91657,7 +91913,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *444 + '301': *445 '422': *15 '404': *6 x-github: @@ -91686,8 +91942,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 +92035,7 @@ paths: application/json: schema: *213 examples: - default: &632 + default: &633 value: id: 1 node_id: MDU6SXNzdWUx @@ -91935,7 +92191,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *626 + '410': *627 x-github: triggersNotification: true githubCloudOnly: false @@ -91963,8 +92219,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 +92241,9 @@ paths: application/json: schema: type: array - items: *627 + items: *628 examples: - default: &634 + default: &635 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92045,17 +92301,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 +92365,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 +92389,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *628 examples: - default: *628 + default: *629 '422': *15 x-github: githubCloudOnly: false @@ -92153,8 +92409,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 +92431,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 +92459,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -92226,8 +92482,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 +92516,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 +92547,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 +92570,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 +92581,7 @@ paths: application/json: schema: type: array - items: &631 + items: &632 title: Issue Event description: Issue Event type: object @@ -92664,8 +92920,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 +92932,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -92868,7 +93124,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *626 + '410': *627 '403': *27 x-github: githubCloudOnly: false @@ -92902,9 +93158,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 +93174,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 +93202,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 +93325,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 +93349,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 +93379,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93139,9 +93395,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 +93424,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93190,9 +93446,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 +93488,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 +93501,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 +93536,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 +93560,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 +93597,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 +93611,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 +93644,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 +93670,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 +93709,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 +93725,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 +93757,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 +93771,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 +93793,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 +93809,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 +93858,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &638 + - &639 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -93730,7 +93986,7 @@ paths: - performed_via_github_app - assignee - assigner - - &639 + - &640 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -93776,7 +94032,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &640 + - &641 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -93822,7 +94078,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &641 + - &642 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -93871,7 +94127,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 +94169,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 +94211,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 +94267,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &646 title: Locked Issue Event description: Locked Issue Event type: object @@ -94056,7 +94312,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 +94373,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,7 +94434,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &649 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -94239,7 +94495,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &650 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -94332,7 +94588,7 @@ paths: color: red headers: Link: *45 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94349,9 +94605,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 +94619,7 @@ paths: type: array items: *212 examples: - default: &636 + default: &637 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94381,9 +94637,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 +94656,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 +94719,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 +94739,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 +94803,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 +94823,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 +94850,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 +94876,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 +94898,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 +94929,7 @@ paths: '204': description: Response '403': *27 - '410': *626 + '410': *627 '404': *6 '422': *15 x-github: @@ -94691,9 +94947,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 +94979,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 +94989,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 +95009,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 +95037,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 +95061,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 +95095,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 +95126,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 +95158,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 +95184,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 +95217,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 +95231,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 +95263,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 +95294,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 +95321,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 +95356,7 @@ paths: application/json: schema: *213 examples: - default: *632 + default: *633 '403': *27 '404': *6 '422': *7 @@ -95122,9 +95378,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 +95395,6 @@ paths: description: Timeline Event type: object anyOf: - - *637 - *638 - *639 - *640 @@ -95152,6 +95407,7 @@ paths: - *647 - *648 - *649 + - *650 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95480,7 +95736,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 +95977,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 +96252,7 @@ paths: headers: Link: *45 '404': *6 - '410': *626 + '410': *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96013,8 +96269,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 +96280,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 +96348,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 +96385,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 +96421,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 +96435,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -96199,9 +96455,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 +96477,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 +96490,7 @@ paths: type: array items: *212 examples: - default: *636 + default: *637 headers: Link: *45 '404': *6 @@ -96255,8 +96511,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 +96550,7 @@ paths: application/json: schema: *212 examples: - default: &653 + default: &654 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96326,8 +96582,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 +96596,7 @@ paths: application/json: schema: *212 examples: - default: *653 + default: *654 '404': *6 x-github: githubCloudOnly: false @@ -96357,8 +96613,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 +96679,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 +96706,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 +96743,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 +96772,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 +96799,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 +96948,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 +97014,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 +97049,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 +97076,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 +97174,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 +97217,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 +97276,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 +97292,7 @@ paths: application/json: schema: *392 examples: - default: *655 + default: *656 '404': *6 x-github: githubCloudOnly: false @@ -97053,9 +97309,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 +97351,7 @@ paths: application/json: schema: *392 examples: - default: *655 + default: *656 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97111,9 +97367,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 +97390,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 +97404,7 @@ paths: type: array items: *212 examples: - default: *636 + default: *637 headers: Link: *45 x-github: @@ -97167,12 +97423,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 +97440,7 @@ paths: type: array items: *239 examples: - default: *660 + default: *661 headers: Link: *45 x-github: @@ -97208,8 +97464,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 +97523,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 +97674,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 +97715,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 +97771,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '422': *15 '409': *117 x-github: @@ -97540,8 +97796,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 +97905,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 +97932,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 +97943,7 @@ paths: application/json: schema: type: array - items: &663 + items: &664 title: Page Build description: Page Build type: object @@ -97779,8 +98035,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 +98083,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 +98140,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 +98152,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *664 examples: - default: *664 + default: *665 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97918,8 +98174,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 +98283,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 +98343,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 +98372,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 +98668,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 +98706,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 +98728,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 +98751,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 +98762,7 @@ paths: type: array items: *150 examples: - default: *666 + default: *667 '403': *27 '404': *6 x-github: @@ -98528,8 +98784,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 +98801,7 @@ paths: required: - properties examples: - default: *667 + default: *668 responses: '204': description: No Content when custom property values are successfully created @@ -98583,8 +98839,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 +98900,9 @@ paths: application/json: schema: type: array - items: *556 + items: *557 examples: - default: *668 + default: *669 headers: Link: *45 '304': *35 @@ -98678,8 +98934,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 +99002,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 +99242,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 +99344,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 +99871,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 +99901,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 +99980,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 +100065,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 +100089,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: *671 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99851,8 +100107,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 +100130,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 +100158,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -99925,8 +100181,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 +100215,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 +100246,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 +100292,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 +100307,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 +100344,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 +100388,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *673 examples: - default: *673 + default: *674 '422': *15 '403': *27 x-github: @@ -100156,9 +100412,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 +100477,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 +100485,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -100259,9 +100515,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 +100538,9 @@ paths: application/json: schema: type: array - items: *670 + items: *671 examples: - default: *675 + default: *676 headers: Link: *45 x-github: @@ -100317,9 +100573,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 +100681,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: example-for-a-multi-line-comment: value: @@ -100513,9 +100769,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 +100794,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: default: value: @@ -100624,9 +100880,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 +100892,9 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: - default: *676 + default: *677 headers: Link: *45 x-github: @@ -100668,9 +100924,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 +100936,7 @@ paths: application/json: schema: type: array - items: *563 + items: *564 examples: default: value: @@ -100718,9 +100974,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 +100999,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 +101113,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 +101190,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 +101229,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -101509,9 +101765,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 +101801,7 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: default: value: @@ -102050,9 +102306,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 +102318,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 +102474,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 +102566,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &679 + default: &680 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102375,10 +102631,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 +102646,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: &680 + default: &681 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102451,10 +102707,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 +102733,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: default: value: @@ -102539,18 +102795,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 +102833,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 +103094,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 +103126,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: default: value: @@ -102933,10 +103189,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 +103227,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *678 examples: - default: *680 + default: *681 '404': *6 '422': *7 '403': *27 @@ -102995,9 +103251,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 +103317,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 +103331,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: &682 + default: &683 value: type: file encoding: base64 @@ -103119,8 +103375,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 +103396,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 '404': *6 '422': *15 x-github: @@ -103164,8 +103420,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 +103431,7 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: default: value: @@ -103269,8 +103525,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 +103602,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 +103709,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 +103723,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 +103760,7 @@ paths: type: User site_admin: false '404': *6 - '302': *565 + '302': *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103520,9 +103776,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 +103807,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *685 examples: - default: *686 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103569,9 +103825,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 +103851,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 +103938,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 +103964,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 +103978,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *687 + default: *688 '404': *6 x-github: githubCloudOnly: false @@ -103746,9 +104002,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 +104018,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 +104038,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 +104104,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 +104127,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 +104149,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 +104161,7 @@ paths: application/json: schema: type: array - items: *684 + items: *685 examples: default: value: @@ -103987,9 +104243,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 +104271,7 @@ paths: description: Response for successful upload content: application/json: - schema: *684 + schema: *685 examples: response-for-successful-upload: value: @@ -104070,9 +104326,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 +104352,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *629 + default: *630 headers: Link: *45 '404': *6 @@ -104119,9 +104375,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 +104407,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 +104438,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 +104465,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 +104484,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 +104505,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 +104604,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - *17 - *19 - name: includes_parents @@ -104360,7 +104616,7 @@ paths: schema: type: boolean default: true - - *691 + - *692 responses: '200': description: Response @@ -104415,8 +104671,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 requestBody: description: Request body required: true @@ -104445,7 +104701,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *692 + items: *693 required: - name - enforcement @@ -104478,7 +104734,7 @@ paths: application/json: schema: *185 examples: - default: &701 + default: &702 value: id: 42 name: super cool ruleset @@ -104525,12 +104781,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 +104794,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: *697 + default: *698 '404': *6 '500': *38 x-github: @@ -104561,17 +104817,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 +104855,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104622,7 +104878,7 @@ paths: application/json: schema: *185 examples: - default: *701 + default: *702 '404': *6 '500': *38 put: @@ -104640,8 +104896,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104675,7 +104931,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *692 + items: *693 examples: default: value: @@ -104705,7 +104961,7 @@ paths: application/json: schema: *185 examples: - default: *701 + default: *702 '404': *6 '500': *38 delete: @@ -104723,8 +104979,8 @@ paths: category: repos subcategory: rules parameters: - - *438 - *439 + - *440 - name: ruleset_id description: The ID of the ruleset. in: path @@ -104747,8 +105003,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 +105022,7 @@ paths: type: array items: *189 examples: - default: *408 + default: *409 '404': *6 '500': *38 x-github: @@ -104785,8 +105041,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 +105060,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -104859,22 +105115,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 +105138,7 @@ paths: application/json: schema: type: array - items: &707 + items: &708 type: object properties: number: *124 @@ -104898,8 +105154,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 +105249,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 +105394,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 +105457,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 +105467,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 +105504,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: default: value: @@ -105343,9 +105599,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 +105612,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &886 + items: &889 type: object properties: type: @@ -105383,7 +105639,6 @@ paths: - commit details: oneOf: - - *708 - *709 - *710 - *711 @@ -105396,6 +105651,7 @@ paths: - *718 - *719 - *720 + - *721 examples: default: value: @@ -105481,8 +105737,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 +105746,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 +105770,7 @@ paths: schema: type: object properties: - reason: *722 + reason: *723 expire_at: type: - string @@ -105561,8 +105817,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 +105833,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 +105861,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 +105939,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 +105984,9 @@ paths: application/json: schema: type: array - items: *724 + items: *725 examples: - default: *725 + default: *726 '400': *14 '404': *6 x-github: @@ -105753,8 +106009,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 +106090,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 required: - login - type @@ -105924,9 +106180,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 +106415,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 +106529,7 @@ paths: description: Response content: application/json: - schema: *724 + schema: *725 examples: default: value: @@ -106420,17 +106676,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 +106710,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 +106792,7 @@ paths: login: type: string description: The username of the user credited. - type: *423 + type: *424 required: - login - type @@ -106627,10 +106883,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 +106924,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 +106953,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 +106989,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 +107086,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 +107096,7 @@ paths: application/json: schema: type: array - items: &728 + items: &729 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -106873,8 +107129,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 +107208,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 +107303,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 +107458,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 +107469,7 @@ paths: application/json: schema: type: array - items: *728 + items: *729 examples: default: value: @@ -107246,8 +107502,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 +107559,7 @@ paths: description: Response content: application/json: - schema: *729 + schema: *730 examples: default: value: @@ -107357,8 +107613,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 +107646,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 +107726,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 +107753,7 @@ paths: description: Response content: application/json: - schema: *730 + schema: *731 examples: default: value: @@ -107524,8 +107780,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 +107801,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 +107884,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 +107893,7 @@ paths: application/json: schema: type: array - items: &731 + items: &732 title: Tag protection description: Tag protection type: object @@ -107694,8 +107950,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 +107974,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *732 examples: default: value: @@ -107749,8 +108005,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 +108043,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 +108080,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 +108113,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 +108122,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 +108134,7 @@ paths: required: - names examples: - default: &733 + default: &734 value: names: - octocat @@ -107901,8 +108157,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 +108189,9 @@ paths: description: Response content: application/json: - schema: *732 + schema: *733 examples: - default: *733 + default: *734 '404': *6 '422': *7 x-github: @@ -107956,9 +108212,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 +108245,7 @@ paths: - 128 clones: type: array - items: &735 + items: &736 title: Traffic type: object properties: @@ -108076,8 +108332,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 +108427,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 +108491,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 +108514,7 @@ paths: - 3782 views: type: array - items: *735 + items: *736 required: - uniques - count @@ -108335,8 +108591,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 +108866,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 +108890,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 +108913,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 +108940,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 +109033,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 +109186,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 +109196,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 +109208,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 +109252,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &738 + items: &739 allOf: - type: object required: @@ -109078,7 +109334,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 +109399,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 +109446,7 @@ paths: required: true content: application/json: - schema: &746 + schema: &747 type: object required: - schemas @@ -109254,9 +109510,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 +109531,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 +109554,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 +109563,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 +109597,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 +109629,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 +109663,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 +109729,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 +109755,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 +109799,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *748 - *749 + - *750 - *39 responses: '200': @@ -109578,7 +109834,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &752 + items: &753 allOf: - type: object required: @@ -109670,7 +109926,7 @@ paths: address. examples: - true - roles: &751 + roles: &752 type: array description: The roles assigned to the user. items: @@ -109729,7 +109985,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 +110024,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 +110052,7 @@ paths: required: true content: application/json: - schema: &755 + schema: &756 type: object required: - schemas @@ -109889,9 +110145,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 +110194,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 +110222,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 +110245,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 +110258,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 +110288,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 +110346,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 +110392,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 +110423,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 +110524,7 @@ paths: - 1 Resources: type: array - items: &758 + items: &759 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -110515,22 +110771,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 +110812,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 +110837,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 +110947,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 +110981,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 +111107,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 +111215,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 +111354,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &762 + text_matches: &763 title: Search Result Text Matches type: array items: @@ -111262,7 +111518,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 +111587,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 comment_count: type: integer message: @@ -111350,7 +111606,7 @@ paths: url: type: string format: uri - verification: *612 + verification: *613 required: - author - committer @@ -111365,7 +111621,7 @@ paths: committer: anyOf: - type: 'null' - - *489 + - *490 parents: type: array items: @@ -111382,7 +111638,7 @@ paths: type: number node_id: type: string - text_matches: *762 + text_matches: *763 required: - sha - node_id @@ -111575,7 +111831,7 @@ paths: - interactions - created - updated - - *763 + - *764 - *17 - *19 - name: advanced_search @@ -111672,11 +111928,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 +111960,7 @@ paths: - string - 'null' format: date-time - text_matches: *762 + text_matches: *763 pull_request: type: object properties: @@ -111927,7 +112183,7 @@ paths: enum: - created - updated - - *763 + - *764 - *17 - *19 responses: @@ -111972,7 +112228,7 @@ paths: - 'null' score: type: number - text_matches: *762 + text_matches: *763 required: - id - node_id @@ -112058,7 +112314,7 @@ paths: - forks - help-wanted-issues - updated - - *763 + - *764 - *17 - *19 responses: @@ -112295,7 +112551,7 @@ paths: - admin - pull - push - text_matches: *762 + text_matches: *763 temp_clone_token: type: string allow_merge_commit: @@ -112604,7 +112860,7 @@ paths: - string - 'null' format: uri - text_matches: *762 + text_matches: *763 related: type: - array @@ -112799,7 +113055,7 @@ paths: - followers - repositories - joined - - *763 + - *764 - *17 - *19 responses: @@ -112909,7 +113165,7 @@ paths: type: - boolean - 'null' - text_matches: *762 + text_matches: *763 blog: type: - string @@ -112991,7 +113247,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 +113259,9 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: - default: *432 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -113032,7 +113288,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 +113352,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 +113389,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 +113418,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 +113456,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 +113507,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 +113544,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 +113584,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 +113621,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 +113663,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 +113689,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 +113725,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 +113753,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 +113795,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 +113954,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 +114006,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 +114037,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 +114072,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 +114133,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -113908,7 +114164,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 +114176,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 +114209,7 @@ paths: application/json: schema: oneOf: - - &773 + - &774 title: Private User description: Private User type: object @@ -114203,7 +114459,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 +114619,7 @@ paths: description: Response content: application/json: - schema: *773 + schema: *774 examples: default: value: @@ -114709,7 +114965,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 +114973,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -114761,7 +115017,7 @@ paths: type: integer secrets: type: array - items: &774 + items: &775 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -114803,7 +115059,7 @@ paths: - visibility - selected_repositories_url examples: - default: *543 + default: *544 headers: Link: *45 x-github: @@ -114881,7 +115137,7 @@ paths: description: Response content: application/json: - schema: *774 + schema: *775 examples: default: value: @@ -115027,7 +115283,7 @@ paths: type: array items: *273 examples: - default: *775 + default: *776 '401': *23 '403': *27 '404': *6 @@ -115179,7 +115435,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '304': *35 '500': *38 '401': *23 @@ -115237,7 +115493,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '401': *23 '403': *27 '404': *6 @@ -115294,7 +115550,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 +115603,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 +115648,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *777 examples: - default: *777 + default: *778 '404': *6 x-github: githubCloudOnly: false @@ -115431,9 +115687,9 @@ paths: type: integer machines: type: array - items: *542 + items: *543 examples: - default: *778 + default: *779 '304': *35 '500': *38 '401': *23 @@ -115518,11 +115774,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 +116583,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '304': *35 '500': *38 '400': *14 @@ -116367,7 +116623,7 @@ paths: application/json: schema: *363 examples: - default: *541 + default: *542 '500': *38 '401': *23 '403': *27 @@ -116399,7 +116655,7 @@ paths: type: array items: *373 examples: - default: &789 + default: &790 value: - id: 197 name: hello_docker @@ -116500,7 +116756,7 @@ paths: application/json: schema: type: array - items: &779 + items: &780 title: Email description: Email type: object @@ -116570,9 +116826,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 +116905,7 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: default: value: @@ -116907,7 +117163,7 @@ paths: application/json: schema: type: array - items: &780 + items: &781 title: GPG Key description: A unique encryption key type: object @@ -117052,7 +117308,7 @@ paths: - subkeys - revoked examples: - default: &805 + default: &808 value: - id: 3 name: Octocat's GPG Key @@ -117137,9 +117393,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 +117452,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 +117464,9 @@ paths: description: Response content: application/json: - schema: *780 + schema: *781 examples: - default: *781 + default: *782 '404': *6 '304': *35 '403': *27 @@ -117233,7 +117489,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 +117794,7 @@ paths: required: true content: application/json: - schema: *623 + schema: *624 examples: default: value: @@ -117688,7 +117944,7 @@ paths: application/json: schema: type: array - items: &783 + items: &784 title: Key description: Key type: object @@ -117791,9 +118047,9 @@ paths: description: Response content: application/json: - schema: *783 + schema: *784 examples: - default: &784 + default: &785 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117826,15 +118082,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 +118113,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 +118146,7 @@ paths: application/json: schema: type: array - items: &785 + items: &786 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -117969,7 +118225,7 @@ paths: - account - plan examples: - default: &786 + default: &787 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -118031,9 +118287,9 @@ paths: application/json: schema: type: array - items: *785 + items: *786 examples: - default: *786 + default: *787 headers: Link: *45 '304': *35 @@ -119051,7 +119307,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 +119422,7 @@ paths: - docker - nuget - container - - *788 + - *789 - *19 - *17 responses: @@ -119178,8 +119434,8 @@ paths: type: array items: *373 examples: - default: *789 - '400': *790 + default: *790 + '400': *791 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119208,7 +119464,7 @@ paths: application/json: schema: *373 examples: - default: &806 + default: &809 value: id: 40201 name: octo-name @@ -119570,9 +119826,9 @@ paths: application/json: schema: type: array - items: *779 + items: *780 examples: - default: *791 + default: *792 headers: Link: *45 '304': *35 @@ -119685,7 +119941,7 @@ paths: type: array items: *76 examples: - default: &798 + default: &799 summary: Default response value: - id: 1296269 @@ -120003,9 +120259,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 +120299,9 @@ paths: application/json: schema: type: array - items: *625 + items: *626 examples: - default: *792 + default: *793 headers: Link: *45 '304': *35 @@ -120124,7 +120380,7 @@ paths: application/json: schema: type: array - items: &793 + items: &794 title: Social account description: Social media account type: object @@ -120141,7 +120397,7 @@ paths: - provider - url examples: - default: &794 + default: &795 value: - provider: twitter url: https://twitter.com/github @@ -120204,9 +120460,9 @@ paths: application/json: schema: type: array - items: *793 + items: *794 examples: - default: *794 + default: *795 '422': *15 '304': *35 '404': *6 @@ -120294,7 +120550,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 +120570,7 @@ paths: - title - created_at examples: - default: &820 + default: &823 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120379,9 +120635,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *796 examples: - default: &796 + default: &797 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -120411,7 +120667,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 +120679,9 @@ paths: description: Response content: application/json: - schema: *795 + schema: *796 examples: - default: *796 + default: *797 '404': *6 '304': *35 '403': *27 @@ -120448,7 +120704,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 +120733,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 +120758,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 +120918,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 +120947,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 +120972,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 +121045,7 @@ paths: application/json: schema: type: array - items: *431 + items: *432 examples: default: value: @@ -120875,10 +121131,10 @@ paths: application/json: schema: oneOf: + - *774 - *773 - - *772 examples: - default-response: &800 + default-response: &803 summary: Default response value: login: octocat @@ -120913,7 +121169,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 +121226,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 +121292,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 +121315,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 +121454,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 +121508,8 @@ paths: required: - subject_digests examples: - default: *802 - withPredicateType: *803 + default: *805 + withPredicateType: *806 responses: '200': description: Response @@ -121193,7 +121563,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 +121768,7 @@ paths: initiator: type: string examples: - default: *485 + default: *486 '201': description: Response content: @@ -121439,7 +121809,7 @@ paths: type: array items: *373 examples: - default: *789 + default: *790 '403': *27 '401': *23 x-github: @@ -121823,9 +122193,9 @@ paths: application/json: schema: type: array - items: *780 + items: *781 examples: - default: *805 + default: *808 headers: Link: *45 x-github: @@ -121929,7 +122299,7 @@ paths: application/json: schema: *20 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122054,7 +122424,7 @@ paths: - docker - nuget - container - - *788 + - *789 - *137 - *19 - *17 @@ -122067,10 +122437,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 +122470,7 @@ paths: application/json: schema: *373 examples: - default: *806 + default: *809 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122449,7 +122819,7 @@ paths: type: array items: *394 examples: - default: *807 + default: *810 headers: Link: *45 '304': *35 @@ -122509,7 +122879,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 +122895,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *809 + iteration_configuration: *812 required: - name - data_type @@ -122547,8 +122917,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 +122926,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 +122952,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 +122961,7 @@ paths: application/json: schema: *394 examples: - default: *818 + default: *821 headers: Link: *45 '304': *35 @@ -122948,7 +123318,7 @@ paths: parameters: - *391 - *137 - - *819 + - *822 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -123227,9 +123597,9 @@ paths: application/json: schema: type: array - items: *793 + items: *794 examples: - default: *794 + default: *795 headers: Link: *45 x-github: @@ -123259,9 +123629,9 @@ paths: application/json: schema: type: array - items: *795 + items: *796 examples: - default: *820 + default: *823 headers: Link: *45 x-github: @@ -123286,7 +123656,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 +123668,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 +123832,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 +123901,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 +123922,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 +123995,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 +124908,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 +124987,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 +125214,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 +125406,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 +125483,7 @@ webhooks: required: true content: application/json: - schema: &847 + schema: &850 title: Exemption request cancellation event type: object properties: @@ -125121,11 +125491,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 +125769,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 +125881,7 @@ webhooks: required: true content: application/json: - schema: &848 + schema: &851 title: Exemption request completed event type: object properties: @@ -125519,11 +125889,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 +125965,7 @@ webhooks: required: true content: application/json: - schema: &845 + schema: &848 title: Exemption request created event type: object properties: @@ -125603,11 +125973,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 +126049,7 @@ webhooks: required: true content: application/json: - schema: &849 + schema: &852 title: Exemption response dismissed event type: object properties: @@ -125687,12 +126057,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 +126136,7 @@ webhooks: required: true content: application/json: - schema: &846 + schema: &849 title: Exemption response submitted event type: object properties: @@ -125774,12 +126144,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 +126233,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 +126343,7 @@ webhooks: - examples: - neutral - deployment: *830 + deployment: *833 details_url: type: string examples: @@ -126071,10 +126441,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 +126837,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 +127237,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 +127646,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 +128642,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 +129354,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 +130060,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 +130232,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 +130384,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 +130564,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 +130805,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 +130908,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 +131093,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 +131267,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 +131444,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 +131550,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 +131739,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 +131749,7 @@ webhooks: type: - string - 'null' - repository: *826 + repository: *829 sender: *4 required: - action @@ -131478,7 +131848,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 +131995,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 +132169,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 +132321,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 +132584,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 +132668,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 +132689,7 @@ webhooks: enum: - tag - branch - repository: *826 + repository: *829 sender: *4 required: - ref @@ -132402,9 +132772,9 @@ webhooks: enum: - created definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132489,9 +132859,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 +132939,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 +133019,9 @@ webhooks: enum: - updated definition: *151 - enterprise: *823 - installation: *824 - organization: *825 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -132728,10 +133098,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 +133186,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 +133281,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 +133369,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 +133457,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 +133543,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 +133629,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 +133716,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 +133802,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 +133883,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 +133923,8 @@ webhooks: - verified - created_at - read_only - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -133631,11 +134001,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 +134577,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 +135320,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 +135397,7 @@ webhooks: type: string enum: - approved - approver: &837 + approver: &840 type: object properties: avatar_url: @@ -135070,11 +135440,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 +135525,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &839 + workflow_job_run: &842 type: object properties: conclusion: @@ -135901,18 +136271,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 +136999,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 +138948,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 +139644,7 @@ webhooks: type: string enum: - answered - answer: &843 + answer: &846 type: object properties: author_association: @@ -139434,11 +139804,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 +139935,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 +140022,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 +140108,7 @@ webhooks: type: string enum: - created - comment: &842 + comment: &845 type: object properties: author_association: @@ -139898,11 +140268,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 +140355,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 +140455,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 +140544,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 +140630,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 +140734,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 +140820,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 +140856,8 @@ webhooks: - color - default - description - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140570,11 +140940,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 +141026,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 +141112,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 +141201,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 +141293,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 +141378,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 +141466,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 +141552,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 +141625,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 +141688,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 +141751,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 +141814,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 +141877,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 +141943,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 +142009,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 +142075,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 +142141,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 +142207,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 +142272,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 +142337,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 +142402,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 +142467,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 +142533,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 +142600,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 +143278,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 +143426,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 +143466,7 @@ webhooks: - action - sha - html_url - repository: *826 + repository: *829 sender: *4 required: - pages @@ -143172,10 +143542,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 +143571,8 @@ webhooks: - name - full_name - private - repository: *826 - requester: *850 + repository: *829 + requester: *853 sender: *4 required: - action @@ -143277,11 +143647,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 +143728,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 +143809,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 +143858,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 +143945,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 +143975,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 +144056,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 +144243,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 +144325,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 +144577,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 +145395,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 +145757,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -145468,7 +145838,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 +146005,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 +146819,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 +147183,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -146894,7 +147264,7 @@ webhooks: type: string enum: - edited - changes: &878 + changes: &881 description: The changes to the comment. type: object properties: @@ -146906,9 +147276,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 +148094,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 +148456,8 @@ webhooks: - state - locked - assignee - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148177,9 +148547,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 +148638,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 +148728,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 +148819,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 +148901,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 +149716,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 +149840,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -149551,8 +149921,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 +150739,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 +151006,8 @@ webhooks: required: - state - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -150716,8 +151086,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 +151895,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 +152018,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -151728,8 +152098,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 +152930,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 +153032,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 +153175,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -152905,8 +153275,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 +154088,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 +154212,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 +154294,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 +155106,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 +155230,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 +155312,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 +156149,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 +156250,8 @@ webhooks: format: uri user_view_type: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -155960,8 +156330,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 +157161,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 +157262,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 +158156,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 +158737,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 +159550,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 +159673,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -159384,9 +159754,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 +160562,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 +160685,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -160395,8 +160765,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 +161600,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 +161702,8 @@ webhooks: user_view_type: type: string type: *358 - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162222,11 +162592,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 +163195,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 +163279,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 +163365,7 @@ webhooks: type: string enum: - unassigned - assignee: &881 + assignee: &884 title: User type: - object @@ -163067,11 +163437,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 +163520,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 +163605,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 +164440,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 +164541,8 @@ webhooks: format: uri user_view_type: type: string - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164252,11 +164622,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 +164705,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 +164790,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 +164872,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 +164986,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 +165072,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 +165162,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 +165247,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -164957,10 +165327,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 +165418,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -165130,10 +165500,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 +165589,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *826 + repository: *829 sender: *4 required: - action @@ -165300,8 +165670,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 +165757,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 +165839,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 +165946,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 +166052,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 +166135,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 +166217,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 +166299,7 @@ webhooks: required: - login - id - team: &860 + team: &863 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -166159,11 +166529,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 +166612,7 @@ webhooks: required: - login - id - team: *860 + team: *863 required: - action - scope @@ -166324,8 +166694,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 +166714,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 +166808,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 +166884,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 +166993,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 +167078,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 +167161,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 +167305,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167015,11 +167385,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 +167499,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 +167583,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 +167666,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 +167749,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 +167829,7 @@ webhooks: enum: - created definition: *145 - enterprise: *823 + enterprise: *826 sender: *4 required: - action @@ -167539,8 +167909,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 +167983,8 @@ webhooks: enum: - updated definition: *145 - enterprise: *823 - installation: *824 + enterprise: *826 + installation: *827 sender: *4 required: - action @@ -167686,9 +168056,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 +168146,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 +168258,8 @@ webhooks: - role - organization_url - user - organization: *825 - repository: *826 + organization: *828 + repository: *829 sender: *4 required: - action @@ -167967,11 +168337,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 +168420,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 +168543,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 +168624,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 +168715,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 +168795,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 +169320,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &864 + items: &867 title: Ruby Gems metadata type: object properties: @@ -169047,7 +169417,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -169123,9 +169493,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 +169857,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *864 + items: *867 source_url: type: string format: uri @@ -169558,7 +169928,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -169739,12 +170109,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 +170191,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 +170341,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 +170421,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 +170501,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 +170580,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 +170689,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 +170721,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 +170967,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 +171093,7 @@ webhooks: - creator - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -170804,11 +171174,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 +171258,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 +171390,7 @@ webhooks: repository: anyOf: - type: 'null' - - *826 + - *829 sender: *4 required: - action @@ -171114,11 +171484,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 +171582,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 +171781,7 @@ webhooks: type: string required: - after_id - repository: *826 + repository: *829 sender: *4 required: - action @@ -171491,10 +171861,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 +171991,7 @@ webhooks: - creator - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -171701,10 +172071,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 +172114,7 @@ webhooks: - name - created_at - updated_at - repository: *826 + repository: *829 sender: *4 required: - action @@ -171823,14 +172193,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 +172289,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 +172373,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 +172457,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 +172541,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 +172649,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 +172732,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 +172817,8 @@ webhooks: type: string enum: - closed - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172530,8 +172900,8 @@ webhooks: type: string enum: - created - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172613,8 +172983,8 @@ webhooks: type: string enum: - deleted - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172736,8 +173106,8 @@ webhooks: type: string to: type: string - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -172821,7 +173191,7 @@ webhooks: type: string enum: - archived - changes: &873 + changes: &876 type: object properties: archived_at: @@ -172837,9 +173207,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 +173349,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 +173433,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 +173516,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 +173623,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 +173647,7 @@ webhooks: required: - id - name - - &872 + - &875 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -173317,8 +173687,8 @@ webhooks: oneOf: - type: string - type: integer - - *871 - - *872 + - *874 + - *875 type: - 'null' - string @@ -173341,9 +173711,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 +173810,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 +173895,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 +173980,8 @@ webhooks: type: string enum: - reopened - installation: *824 - organization: *825 + installation: *827 + organization: *828 projects_v2: *389 sender: *4 required: @@ -173693,9 +174063,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 +174146,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 +174294,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 +174367,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 +174447,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 +176802,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -176514,11 +176884,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 +179230,7 @@ webhooks: - draft reason: type: string - repository: *826 + repository: *829 sender: *4 required: - action @@ -178942,11 +179312,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 +181658,7 @@ webhooks: - draft reason: type: string - repository: *826 + repository: *829 sender: *4 required: - action @@ -181370,13 +181740,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 +181808,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *826 + repository: *829 sender: *4 required: - action @@ -181519,12 +181889,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 +181974,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 +184305,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -184014,11 +184384,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 +186734,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *826 + repository: *829 sender: *4 required: - action @@ -186488,12 +186858,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 +186943,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 +189278,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -188988,11 +189358,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 +191710,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -191421,10 +191791,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 +194140,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -193850,12 +194220,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 +194304,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 +194390,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 +194475,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 +194855,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 +197087,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -196797,7 +197167,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 +197460,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 +199680,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -199390,11 +199760,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 +201985,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *826 + repository: *829 sender: *4 required: - action @@ -201696,9 +202066,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 +204301,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 review: description: The review that was affected. type: object @@ -204182,9 +204552,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 +206668,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 +206907,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 +209259,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_reviewer: title: User type: @@ -208975,12 +209345,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 +211704,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 +211899,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 +214253,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 requested_reviewer: title: User type: @@ -213970,12 +214340,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 +216685,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 +216869,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 +219107,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 - review: *880 + repository: *829 + review: *883 sender: *4 required: - action @@ -218818,9 +219188,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 +221321,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 sender: *4 thread: type: object @@ -221348,9 +221718,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 +223834,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *826 + repository: *829 sender: *4 thread: type: object @@ -223863,10 +224233,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 +226571,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -226283,11 +226653,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 +229007,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -228716,11 +229086,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 +231429,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -231140,10 +231510,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 +233842,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *826 + repository: *829 sender: *4 required: - action @@ -233675,7 +234045,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 +234140,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 +234729,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 +235208,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *864 + items: *867 summary: type: string tag_name: @@ -234894,7 +235264,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -234972,9 +235342,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 +235656,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *864 + items: *867 summary: type: string tag_name: @@ -235336,7 +235706,7 @@ webhooks: - owner - package_version - registry - repository: *826 + repository: *829 sender: *4 required: - action @@ -235413,10 +235783,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 +236117,7 @@ webhooks: - updated_at - zipball_url - body - repository: *826 + repository: *829 sender: *4 required: - action @@ -235824,11 +236194,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 +236315,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 +236397,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 +236735,7 @@ webhooks: - string - 'null' format: uri - repository: *826 + repository: *829 sender: *4 required: - action @@ -236441,10 +236811,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 +237147,7 @@ webhooks: - string - 'null' format: uri - repository: *826 + repository: *829 sender: *4 required: - action @@ -236853,11 +237223,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 +237303,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 +237383,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 +237463,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 +237543,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 +237623,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 +237704,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 +237792,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 +237910,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 +237985,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 +238069,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 +238149,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 +238246,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 +238329,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 +238411,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 +238493,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 +238558,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 +238804,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 +238885,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 +238966,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 +239090,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 +239303,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 +239384,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 +239590,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 +239671,7 @@ webhooks: type: string enum: - assigned - alert: &885 + alert: &888 type: object properties: number: *124 @@ -239416,10 +239786,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 +239867,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 +239952,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 +240194,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 +240276,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 +240358,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 +240440,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 +240523,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 +240657,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 +240738,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 +240928,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 +241005,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 +241194,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 +241276,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 +241586,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 +241679,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 +241761,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 +241845,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &890 + changes: &893 type: object properties: tier: @@ -241519,13 +241889,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 +241972,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 +242052,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 +242139,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 +242576,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 +242700,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 +242792,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 +242884,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 +242976,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 +243055,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 +243290,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 +243762,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -243468,9 +243838,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 +244310,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -244017,9 +244387,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 +244859,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -244633,9 +245003,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 +245475,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - changes @@ -245183,9 +245553,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 +246025,7 @@ webhooks: - topics - visibility sender: *4 - team: *891 + team: *894 required: - action - team @@ -245731,10 +246101,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 +246177,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 +246269,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 +246528,7 @@ webhooks: type: string required: - conclusion - deployment: *577 + deployment: *578 required: - action - repository @@ -246237,10 +246607,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 +246892,7 @@ webhooks: required: - status - steps - deployment: *577 + deployment: *578 required: - action - repository @@ -246601,10 +246971,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 +247120,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *577 + deployment: *578 required: - action - repository @@ -246829,10 +247199,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 +247349,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *577 + deployment: *578 required: - action - repository @@ -247059,12 +247429,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 +248453,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 +249462,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..b4c2e06b5 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", @@ -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", @@ -140281,6 +140631,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 +321664,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": [ { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 06827d3cd..3b4f2f842 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 @@ -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 @@ -101620,6 +101866,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 +237211,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 diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index d1e0a009c..b4c2e06b5 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", @@ -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", @@ -140281,6 +140631,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 +321664,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": [ { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 06827d3cd..3b4f2f842 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 @@ -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 @@ -101620,6 +101866,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 +237211,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