diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 4651c1823..6314cd7d6 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -25559,6 +25559,175 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -71562,6 +71731,175 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", @@ -114868,6 +115206,130 @@ "archived_at" ] }, + "projects-v2-view": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, "custom-property": { "title": "Organization Custom Property", "description": "Custom property defined on an organization", @@ -287460,6 +287922,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 912f0836d..92d82ec9b 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -18483,6 +18483,126 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -51947,6 +52067,126 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -84065,6 +84305,99 @@ components: - created_at - updated_at - archived_at + projects-v2-view: + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element is a tuple + of [field_id, direction] where direction is "asc" or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by custom-property: title: Organization Custom Property description: Custom property defined on an organization @@ -215760,6 +216093,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 4651c1823..6314cd7d6 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -25559,6 +25559,175 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -71562,6 +71731,175 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", @@ -114868,6 +115206,130 @@ "archived_at" ] }, + "projects-v2-view": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, "custom-property": { "title": "Organization Custom Property", "description": "Custom property defined on an organization", @@ -287460,6 +287922,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 912f0836d..92d82ec9b 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -18483,6 +18483,126 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -51947,6 +52067,126 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -84065,6 +84305,99 @@ components: - created_at - updated_at - archived_at + projects-v2-view: + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element is a tuple + of [field_id, direction] where direction is "asc" or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by custom-property: title: Organization Custom Property description: Custom property defined on an organization @@ -215760,6 +216093,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index f88151a98..e239470ed 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -171050,6 +171050,736 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -589180,6 +589910,736 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index cd5e9112e..2ccf03642 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &313 + type: &314 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &637 + - &638 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -2891,7 +2891,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &278 + properties: &279 id: description: Unique identifier of the repository example: 42 @@ -3329,7 +3329,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &279 + required: &280 - archive_url - assignees_url - blobs_url @@ -8796,7 +8796,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &475 + - &476 name: has in: query description: |- @@ -8912,7 +8912,7 @@ paths: - unknown - direct - transitive - security_advisory: &476 + security_advisory: &477 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9174,14 +9174,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &477 + auto_dismissed_at: &478 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &478 + dismissal_request: &479 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10543,7 +10543,7 @@ paths: properties: action: type: string - discussion: &729 + discussion: &732 title: Discussion description: A Discussion in a repository. type: object @@ -10910,7 +10910,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &530 id: type: integer format: int64 @@ -11287,7 +11287,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &649 + sub_issues_summary: &650 title: Sub-issues Summary type: object properties: @@ -11307,7 +11307,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &650 + issue_dependencies_summary: &651 title: Issue Dependencies Summary type: object properties: @@ -11326,7 +11326,7 @@ paths: - total_blocking issue_field_values: type: array - items: &651 + items: &652 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11387,7 +11387,7 @@ paths: - node_id - data_type - value - required: &530 + required: &531 - assignee - closed_at - comments @@ -11425,7 +11425,7 @@ paths: action: type: string issue: *75 - comment: &525 + comment: &526 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12144,7 +12144,7 @@ paths: type: string release: allOf: - - &582 + - &583 title: Release description: A release. type: object @@ -12215,7 +12215,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &584 title: Release Asset description: Data related to a release. type: object @@ -12806,7 +12806,7 @@ paths: url: type: string format: uri - user: &657 + user: &658 title: Public User description: Public User type: object @@ -16111,14 +16111,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &324 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16180,7 +16180,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &328 + '301': &329 description: Moved permanently content: application/json: @@ -16202,7 +16202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &559 name: all description: If `true`, show notifications marked as read. in: query @@ -16210,7 +16210,7 @@ paths: schema: type: boolean default: false - - &559 + - &560 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16220,7 +16220,7 @@ paths: type: boolean default: false - *82 - - &560 + - &561 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16532,7 +16532,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &280 + security_and_analysis: &281 nullable: true type: object properties: @@ -16694,7 +16694,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &562 value: - id: '1' repository: @@ -18201,7 +18201,7 @@ paths: required: false schema: type: string - - &706 + - &709 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18347,7 +18347,7 @@ paths: parameters: - *68 - *114 - - &707 + - &710 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18459,7 +18459,7 @@ paths: - *114 - *116 - *115 - - &708 + - &711 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -18467,7 +18467,7 @@ paths: schema: type: string - *117 - - &709 + - &712 name: sku description: The SKU to query for usage. in: query @@ -19369,7 +19369,7 @@ paths: type: integer repository_cache_usages: type: array - items: &335 + items: &336 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20561,7 +20561,7 @@ paths: - all - local_only - selected - selected_actions_url: &341 + selected_actions_url: &342 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -20644,7 +20644,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &346 type: object properties: days: @@ -20686,7 +20686,7 @@ paths: required: true content: application/json: - schema: &346 + schema: &347 type: object properties: days: @@ -20743,7 +20743,7 @@ paths: required: - approval_policy examples: - default: &347 + default: &348 value: approval_policy: first_time_contributors '404': *6 @@ -20802,7 +20802,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &349 type: object required: - run_workflows_from_fork_pull_requests @@ -20856,7 +20856,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &350 type: object required: - run_workflows_from_fork_pull_requests @@ -21491,7 +21491,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &351 type: object properties: default_workflow_permissions: &144 @@ -21542,7 +21542,7 @@ paths: required: false content: application/json: - schema: &351 + schema: &352 type: object properties: default_workflow_permissions: *144 @@ -22031,7 +22031,7 @@ paths: type: array items: *151 examples: - default: &660 + default: &661 value: total_count: 1 repositories: @@ -22673,7 +22673,7 @@ paths: application/json: schema: type: array - items: &352 + items: &353 title: Runner Application description: Runner Application type: object @@ -22698,7 +22698,7 @@ paths: - download_url - filename examples: - default: &353 + default: &354 value: - os: osx architecture: x64 @@ -22784,7 +22784,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &354 + '201': &355 description: Response content: application/json: @@ -22895,7 +22895,7 @@ paths: - token - expires_at examples: - default: &355 + default: &356 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22934,7 +22934,7 @@ paths: application/json: schema: *155 examples: - default: &356 + default: &357 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22968,7 +22968,7 @@ paths: application/json: schema: *153 examples: - default: &357 + default: &358 value: id: 23 name: MBP @@ -23194,7 +23194,7 @@ paths: - *68 - *152 responses: - '200': &358 + '200': &359 description: Response content: application/json: @@ -23251,7 +23251,7 @@ paths: parameters: - *68 - *152 - - &359 + - &360 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23381,7 +23381,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &372 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23410,7 +23410,7 @@ paths: - key_id - key examples: - default: &372 + default: &373 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23823,7 +23823,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *68 - - &340 + - &341 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24960,12 +24960,12 @@ paths: required: - subject_digests examples: - default: &688 + default: &691 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &689 + withPredicateType: &692 value: subject_digests: - sha256:abc123 @@ -25023,7 +25023,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &690 + default: &693 value: attestations_subject_digests: - sha256:abc: @@ -25372,7 +25372,7 @@ paths: initiator: type: string examples: - default: &385 + default: &386 value: attestations: - bundle: @@ -26301,7 +26301,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *68 - - &410 + - &411 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -26311,7 +26311,7 @@ paths: schema: &176 type: string description: The name of the tool used to generate the code scanning analysis. - - &411 + - &412 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -26334,7 +26334,7 @@ paths: be returned. in: query required: false - schema: &413 + schema: &414 type: string description: State of a code scanning alert. enum: @@ -26357,7 +26357,7 @@ paths: be returned. in: query required: false - schema: &414 + schema: &415 type: string description: Severity of a code scanning alert. enum: @@ -26391,7 +26391,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: &415 + instances_url: &416 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26414,7 +26414,7 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: &416 + dismissed_reason: &417 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26423,13 +26423,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &417 + dismissed_comment: &418 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &418 + rule: &419 type: object properties: id: @@ -26482,7 +26482,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &419 + tool: &420 type: object properties: name: *176 @@ -26492,26 +26492,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *177 - most_recent_instance: &420 + most_recent_instance: &421 type: object properties: - ref: &412 + ref: &413 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &430 + analysis_key: &431 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &431 + environment: &432 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &432 + category: &433 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26525,7 +26525,7 @@ paths: properties: text: type: string - location: &433 + location: &434 type: object description: Describe a region within a file for the alert. properties: @@ -26546,7 +26546,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &434 + items: &435 type: string description: A classification of the file. For example to identify it as generated. @@ -27836,7 +27836,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &446 + properties: &447 name: type: string description: The name of the machine. @@ -27878,7 +27878,7 @@ paths: - ready - in_progress nullable: true - required: &447 + required: &448 - name - display_name - operating_system @@ -28746,7 +28746,7 @@ paths: - updated_at - visibility examples: - default: &448 + default: &449 value: total_count: 2 secrets: @@ -28784,7 +28784,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28813,7 +28813,7 @@ paths: - key_id - key examples: - default: &450 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28845,7 +28845,7 @@ paths: application/json: schema: *185 examples: - default: &452 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29843,7 +29843,7 @@ paths: application/json: schema: type: array - items: &318 + items: &319 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30150,7 +30150,7 @@ paths: - date additionalProperties: true examples: - default: &319 + default: &320 value: - date: '2024-06-24' total_active_users: 24 @@ -30252,7 +30252,7 @@ paths: '500': *111 '403': *29 '404': *6 - '422': &320 + '422': &321 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -30458,7 +30458,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30475,7 +30475,7 @@ paths: - key_id - key examples: - default: &482 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32275,7 +32275,7 @@ paths: application/json: schema: *22 examples: - default: &520 + default: &521 value: id: 1 account: @@ -32500,7 +32500,7 @@ paths: required: true content: application/json: - schema: &521 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -33353,7 +33353,7 @@ paths: application/json: schema: *231 examples: - default: &445 + default: &446 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34602,7 +34602,7 @@ paths: parameters: - *68 - *238 - - &673 + - &674 name: repo_name description: repo_name parameter in: path @@ -35347,7 +35347,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &314 + items: &315 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -35641,7 +35641,7 @@ paths: - nuget - container - *68 - - &674 + - &675 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35682,7 +35682,7 @@ paths: default: *245 '403': *29 '401': *25 - '400': &676 + '400': &677 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37474,7 +37474,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &760 + properties: &763 id: type: number description: The unique identifier of the status update. @@ -37522,7 +37522,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &761 + required: &764 - id - node_id - created_at @@ -37736,7 +37736,7 @@ paths: content: oneOf: - *75 - - &462 + - &463 title: Pull Request Simple description: Pull Request Simple type: object @@ -37965,7 +37965,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: &568 + auto_merge: &569 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38340,7 +38340,7 @@ paths: - updated_at - project_url examples: - default: &693 + default: &696 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38517,7 +38517,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &694 + items: &697 type: object properties: name: @@ -38553,7 +38553,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &695 + iteration_configuration: &698 type: object description: The configuration for iteration fields. properties: @@ -38602,7 +38602,7 @@ paths: value: name: Due date data_type: date - single_select_field: &696 + single_select_field: &699 summary: Create a single select field value: name: Priority @@ -38629,7 +38629,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &697 + iteration_field: &700 summary: Create an iteration field value: name: Sprint @@ -38655,7 +38655,7 @@ paths: application/json: schema: *266 examples: - text_field: &698 + text_field: &701 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -38664,7 +38664,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &699 + number_field: &702 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -38673,7 +38673,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &700 + date_field: &703 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -38682,7 +38682,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &701 + single_select_field: &704 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38716,7 +38716,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &702 + iteration_field: &705 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -38762,7 +38762,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *262 - - &703 + - &706 name: field_id description: The unique identifier of the field. in: path @@ -38777,7 +38777,7 @@ paths: application/json: schema: *266 examples: - default: &704 + default: &707 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39889,6 +39889,253 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - *68 + - *262 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: &688 + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element + is a tuple of [field_id, direction] where direction is "asc" + or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping + (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by + examples: + table_view: + summary: Response for creating a table view + value: &273 + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 + board_view: + summary: Response for creating a board view with filter + value: *273 + roadmap_view: + summary: Response for creating a roadmap view + value: *273 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -39903,7 +40150,7 @@ paths: parameters: - *262 - *68 - - &705 + - &708 name: view_number description: The number that identifies the project view. in: path @@ -39970,7 +40217,7 @@ paths: application/json: schema: type: array - items: &273 + items: &274 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -40035,7 +40282,7 @@ paths: - property_name - value_type examples: - default: &274 + default: &275 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40094,7 +40341,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *273 + items: *274 minItems: 1 maxItems: 100 required: @@ -40124,9 +40371,9 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: - default: *274 + default: *275 '403': *29 '404': *6 x-github: @@ -40148,7 +40395,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *68 - - &275 + - &276 name: custom_property_name description: The custom property name in: path @@ -40160,9 +40407,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: &276 + default: &277 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40197,7 +40444,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *68 - - *275 + - *276 requestBody: required: true content: @@ -40265,9 +40512,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: *276 + default: *277 '403': *29 '404': *6 x-github: @@ -40291,7 +40538,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *68 - - *275 + - *276 responses: '204': *182 '403': *29 @@ -40352,7 +40599,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &277 + items: &278 title: Custom Property Value description: Custom property name and associated value type: object @@ -40439,7 +40686,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *277 + items: *278 required: - repository_names - properties @@ -40833,7 +41080,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &328 title: Full Repository description: Full Repository type: object @@ -41110,8 +41357,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *278 - required: *279 + properties: *279 + required: *280 nullable: true temp_clone_token: type: string @@ -41226,7 +41473,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &467 + properties: &468 url: type: string format: uri @@ -41242,12 +41489,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &468 + required: &469 - url - key - name - html_url - security_and_analysis: *280 + security_and_analysis: *281 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41331,7 +41578,7 @@ paths: - network_count - subscribers_count examples: - default: &329 + default: &330 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41852,7 +42099,7 @@ paths: - *68 - *17 - *19 - - &590 + - &591 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41870,7 +42117,7 @@ paths: application/json: schema: type: array - items: &307 + items: &308 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41905,7 +42152,7 @@ paths: source: type: string description: The name of the source - enforcement: &283 + enforcement: &284 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41918,7 +42165,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &284 + items: &285 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41988,7 +42235,7 @@ paths: conditions: nullable: true anyOf: - - &281 + - &282 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42012,7 +42259,7 @@ paths: match. items: type: string - - &285 + - &286 title: Organization ruleset conditions type: object description: |- @@ -42026,7 +42273,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42060,7 +42307,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42082,7 +42329,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42095,7 +42342,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &282 + items: &283 title: Repository ruleset property targeting definition type: object @@ -42128,17 +42375,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *282 + items: *283 required: - repository_property rules: type: array - items: &591 + items: &592 title: Repository Rule type: object description: A repository rule. oneOf: - - &286 + - &287 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42150,7 +42397,7 @@ paths: type: string enum: - creation - - &287 + - &288 title: update description: Only allow users with bypass permission to update matching refs. @@ -42171,7 +42418,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &288 + - &289 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42183,7 +42430,7 @@ paths: type: string enum: - deletion - - &289 + - &290 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42195,7 +42442,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &590 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42273,7 +42520,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &290 + - &291 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42297,7 +42544,7 @@ paths: type: string required: - required_deployment_environments - - &291 + - &292 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42309,7 +42556,7 @@ paths: type: string enum: - required_signatures - - &292 + - &293 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42415,7 +42662,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &293 + - &294 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42463,7 +42710,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &294 + - &295 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42475,7 +42722,7 @@ paths: type: string enum: - non_fast_forward - - &295 + - &296 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42511,7 +42758,7 @@ paths: required: - operator - pattern - - &296 + - &297 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42547,7 +42794,7 @@ paths: required: - operator - pattern - - &297 + - &298 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -42583,7 +42830,7 @@ paths: required: - operator - pattern - - &298 + - &299 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42619,7 +42866,7 @@ paths: required: - operator - pattern - - &299 + - &300 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42655,7 +42902,7 @@ paths: required: - operator - pattern - - &300 + - &301 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42680,7 +42927,7 @@ paths: type: string required: - restricted_file_paths - - &301 + - &302 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42704,7 +42951,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &302 + - &303 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42727,7 +42974,7 @@ paths: type: string required: - restricted_file_extensions - - &303 + - &304 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42752,7 +42999,7 @@ paths: maximum: 100 required: - max_file_size - - &304 + - &305 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42802,7 +43049,7 @@ paths: - repository_id required: - workflows - - &305 + - &306 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42863,7 +43110,7 @@ paths: - tool required: - code_scanning_tools - - &306 + - &307 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42962,21 +43209,20 @@ paths: - push - repository default: branch - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *285 + items: *285 + conditions: *286 rules: type: array description: An array of rules within the ruleset. - items: &309 + items: &310 title: Repository Rule type: object description: A repository rule. oneOf: - - *286 - *287 - *288 - *289 @@ -42997,6 +43243,7 @@ paths: - *304 - *305 - *306 + - *307 required: - name - enforcement @@ -43034,9 +43281,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &308 + default: &309 value: id: 21 name: super cool ruleset @@ -43091,7 +43338,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *68 - - &592 + - &593 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -43106,7 +43353,7 @@ paths: in: query schema: type: string - - &593 + - &594 name: time_period description: |- The time period to filter by. @@ -43122,14 +43369,14 @@ paths: - week - month default: day - - &594 + - &595 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &595 + - &596 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43149,7 +43396,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &597 title: Rule Suites description: Response type: array @@ -43204,7 +43451,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &597 + default: &598 value: - id: 21 actor_id: 12 @@ -43248,7 +43495,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *68 - - &598 + - &599 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43264,7 +43511,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &600 title: Rule Suite description: Response type: object @@ -43363,7 +43610,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &600 + default: &601 value: id: 21 actor_id: 12 @@ -43436,9 +43683,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '500': *111 put: @@ -43482,16 +43729,16 @@ paths: - tag - push - repository - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *285 + items: *285 + conditions: *286 rules: description: An array of rules within the ruleset. type: array - items: *309 + items: *310 examples: default: value: @@ -43526,9 +43773,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '500': *111 delete: @@ -43585,7 +43832,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Ruleset version type: object description: The historical version of a ruleset @@ -43609,7 +43856,7 @@ paths: type: string format: date-time examples: - default: &602 + default: &603 value: - version_id: 3 actor: @@ -43662,9 +43909,9 @@ paths: description: Response content: application/json: - schema: &603 + schema: &604 allOf: - - *310 + - *311 - type: object required: - state @@ -43734,7 +43981,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *68 - - &604 + - &605 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -43745,7 +43992,7 @@ paths: enum: - open - resolved - - &605 + - &606 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -43755,7 +44002,7 @@ paths: required: false schema: type: string - - &606 + - &607 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -43764,7 +44011,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -43783,7 +44030,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &608 + - &609 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -43798,7 +44045,7 @@ paths: - *53 - *19 - *17 - - &609 + - &610 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43808,7 +44055,7 @@ paths: required: false schema: type: string - - &610 + - &611 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43818,7 +44065,7 @@ paths: required: false schema: type: string - - &611 + - &612 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -43827,7 +44074,7 @@ paths: required: false schema: type: string - - &612 + - &613 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -43836,7 +44083,7 @@ paths: schema: type: boolean default: false - - &613 + - &614 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -43845,7 +44092,7 @@ paths: schema: type: boolean default: false - - &614 + - &615 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -43880,14 +44127,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &615 + state: &616 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &616 + resolution: &617 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -43994,8 +44241,8 @@ paths: pull request. ' - oneOf: &617 - - &619 + oneOf: &618 + - &620 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -44047,7 +44294,7 @@ paths: - blob_url - commit_sha - commit_url - - &620 + - &621 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -44102,7 +44349,7 @@ paths: - page_url - commit_sha - commit_url - - &621 + - &622 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -44116,7 +44363,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &622 + - &623 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -44130,7 +44377,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &623 + - &624 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -44144,7 +44391,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &624 + - &625 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -44158,7 +44405,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &625 + - &626 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -44172,7 +44419,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &626 + - &627 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -44186,7 +44433,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &627 + - &628 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -44200,7 +44447,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &628 + - &629 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -44214,7 +44461,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &629 + - &630 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -44228,7 +44475,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &630 + - &631 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -44242,7 +44489,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &631 + - &632 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -44484,7 +44731,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &312 + pattern_config_version: &313 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -44493,7 +44740,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &311 + items: &312 type: object properties: token_type: @@ -44559,7 +44806,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *311 + items: *312 examples: default: value: @@ -44616,7 +44863,7 @@ paths: schema: type: object properties: - pattern_config_version: *312 + pattern_config_version: *313 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -44642,7 +44889,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *312 + custom_pattern_version: *313 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -44740,7 +44987,7 @@ paths: application/json: schema: type: array - items: &635 + items: &636 description: A repository security advisory. type: object properties: @@ -44960,7 +45207,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 credits_detailed: type: array nullable: true @@ -44970,7 +45217,7 @@ paths: type: object properties: user: *4 - type: *313 + type: *314 state: type: string description: The state of the user's acceptance of the @@ -45031,7 +45278,7 @@ paths: - private_fork additionalProperties: false examples: - default: &636 + default: &637 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45418,7 +45665,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: *243 x-github: @@ -45756,7 +46003,7 @@ paths: type: integer network_configurations: type: array - items: &315 + items: &316 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -45888,9 +46135,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: &316 + default: &317 value: id: 123456789ABCDEF name: My network configuration @@ -45919,7 +46166,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *68 - - &317 + - &318 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -45931,9 +46178,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *316 + default: *317 headers: Link: *59 x-github: @@ -45955,7 +46202,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *68 - - *317 + - *318 requestBody: required: true content: @@ -45994,9 +46241,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *316 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46016,7 +46263,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *68 - - *317 + - *318 responses: '204': description: Response @@ -46156,13 +46403,13 @@ paths: application/json: schema: type: array - items: *318 + items: *319 examples: - default: *319 + default: *320 '500': *111 '403': *29 '404': *6 - '422': *320 + '422': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46286,7 +46533,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46613,7 +46860,7 @@ paths: - repos_count - organization examples: - default: &322 + default: &323 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46690,9 +46937,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -46776,16 +47023,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '201': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 '422': *15 '403': *29 @@ -46932,7 +47179,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &324 title: Team Membership description: Team Membership type: object @@ -46959,7 +47206,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &653 + response-if-user-is-a-team-maintainer: &654 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47022,9 +47269,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-users-membership-with-team-is-now-pending: &654 + response-if-users-membership-with-team-is-now-pending: &655 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47131,14 +47378,14 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &655 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -47709,8 +47956,8 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 requestBody: required: false content: @@ -47757,8 +48004,8 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 responses: '204': description: Response @@ -47795,7 +48042,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: &656 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47949,7 +48196,7 @@ paths: resources: type: object properties: - core: &326 + core: &327 title: Rate Limit type: object properties: @@ -47966,21 +48213,21 @@ paths: - remaining - reset - used - graphql: *326 - search: *326 - code_search: *326 - source_import: *326 - integration_manifest: *326 - code_scanning_upload: *326 - actions_runner_registration: *326 - scim: *326 - dependency_snapshots: *326 - dependency_sbom: *326 - code_scanning_autofix: *326 + graphql: *327 + search: *327 + code_search: *327 + source_import: *327 + integration_manifest: *327 + code_scanning_upload: *327 + actions_runner_registration: *327 + scim: *327 + dependency_snapshots: *327 + dependency_sbom: *327 + code_scanning_autofix: *327 required: - core - search - rate: *326 + rate: *327 required: - rate - resources @@ -48085,14 +48332,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *327 + schema: *328 examples: default-response: summary: Default response @@ -48593,7 +48840,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *328 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48611,8 +48858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -48859,10 +49106,10 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 - '307': &330 + default: *330 + '307': &331 description: Temporary Redirect content: application/json: @@ -48891,8 +49138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -48914,7 +49161,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *330 + '307': *331 '404': *6 '409': *52 x-github: @@ -48938,11 +49185,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &363 + - &364 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48965,7 +49212,7 @@ paths: type: integer artifacts: type: array - items: &331 + items: &332 title: Artifact description: An artifact type: object @@ -49043,7 +49290,7 @@ paths: - expires_at - updated_at examples: - default: &364 + default: &365 value: total_count: 2 artifacts: @@ -49104,9 +49351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *324 - *325 - - &332 + - *326 + - &333 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49118,7 +49365,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -49156,9 +49403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *324 - *325 - - *332 + - *326 + - *333 responses: '204': description: Response @@ -49182,9 +49429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *324 - *325 - - *332 + - *326 + - *333 - name: archive_format in: path required: true @@ -49198,7 +49445,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &524 + '410': &525 description: Gone content: application/json: @@ -49223,14 +49470,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &333 + schema: &334 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -49263,13 +49510,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *333 + schema: *334 examples: selected_actions: *42 responses: @@ -49298,14 +49545,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &334 + schema: &335 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -49338,13 +49585,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *334 + schema: *335 examples: selected_actions: *44 responses: @@ -49375,14 +49622,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: default: value: @@ -49408,11 +49655,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &336 + - &337 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49446,7 +49693,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &338 title: Repository actions caches description: Repository actions caches type: object @@ -49488,7 +49735,7 @@ paths: - total_count - actions_caches examples: - default: &338 + default: &339 value: total_count: 1 actions_caches: @@ -49520,23 +49767,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *324 - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49556,8 +49803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *324 - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49588,9 +49835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *324 - *325 - - &339 + - *326 + - &340 name: job_id description: The unique identifier of the job. in: path @@ -49602,7 +49849,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &368 title: Job description: Information of a job execution in a workflow run type: object @@ -49909,9 +50156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *324 - *325 - - *339 + - *326 + - *340 responses: '302': description: Response @@ -49939,9 +50186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *324 - *325 - - *339 + - *326 + - *340 requestBody: required: false content: @@ -49986,8 +50233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Status response @@ -50037,8 +50284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50101,8 +50348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50120,7 +50367,7 @@ paths: type: integer secrets: type: array - items: &369 + items: &370 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50140,7 +50387,7 @@ paths: - created_at - updated_at examples: - default: &370 + default: &371 value: total_count: 2 secrets: @@ -50173,9 +50420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *324 - *325 - - *340 + - *326 + - *341 - *19 responses: '200': @@ -50192,7 +50439,7 @@ paths: type: integer variables: type: array - items: &373 + items: &374 title: Actions Variable type: object properties: @@ -50222,7 +50469,7 @@ paths: - created_at - updated_at examples: - default: &374 + default: &375 value: total_count: 2 variables: @@ -50255,8 +50502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50265,11 +50512,11 @@ paths: schema: type: object properties: - enabled: &342 + enabled: &343 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *136 - selected_actions_url: *341 + selected_actions_url: *342 sha_pinning_required: *137 required: - enabled @@ -50298,8 +50545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50310,7 +50557,7 @@ paths: schema: type: object properties: - enabled: *342 + enabled: *343 allowed_actions: *136 sha_pinning_required: *137 required: @@ -50342,14 +50589,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &343 + schema: &344 type: object properties: access_level: @@ -50366,7 +50613,7 @@ paths: required: - access_level examples: - default: &344 + default: &345 value: access_level: organization x-github: @@ -50390,15 +50637,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 responses: '204': description: Response @@ -50422,14 +50669,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: default: value: @@ -50453,8 +50700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -50464,7 +50711,7 @@ paths: required: true content: application/json: - schema: *346 + schema: *347 examples: default: summary: Set retention days @@ -50488,8 +50735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50497,7 +50744,7 @@ paths: application/json: schema: *138 examples: - default: *347 + default: *348 '404': *6 x-github: enabledForGitHubApps: true @@ -50516,8 +50763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50551,14 +50798,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: default: *139 '403': *29 @@ -50580,13 +50827,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *349 + schema: *350 examples: default: *139 responses: @@ -50612,8 +50859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50640,8 +50887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50673,14 +50920,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: default: *146 x-github: @@ -50703,8 +50950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Success response @@ -50715,7 +50962,7 @@ paths: required: true content: application/json: - schema: *351 + schema: *352 examples: default: *146 x-github: @@ -50744,8 +50991,8 @@ paths: in: query schema: type: string - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50789,8 +51036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50798,9 +51045,9 @@ paths: application/json: schema: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50822,8 +51069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50866,7 +51113,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *354 + '201': *355 '404': *6 '422': *7 '409': *52 @@ -50897,8 +51144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50906,7 +51153,7 @@ paths: application/json: schema: *155 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50934,8 +51181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50943,7 +51190,7 @@ paths: application/json: schema: *155 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50965,8 +51212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 responses: '200': @@ -50975,7 +51222,7 @@ paths: application/json: schema: *153 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50996,8 +51243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *324 - *325 + - *326 - *152 responses: '204': @@ -51024,8 +51271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 responses: '200': *157 @@ -51050,8 +51297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 requestBody: required: true @@ -51100,8 +51347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 requestBody: required: true @@ -51151,11 +51398,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 responses: - '200': *358 + '200': *359 '404': *6 x-github: githubCloudOnly: false @@ -51182,10 +51429,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 - - *359 + - *360 responses: '200': *157 '404': *6 @@ -51213,9 +51460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *324 - *325 - - &377 + - *326 + - &378 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51223,7 +51470,7 @@ paths: required: false schema: type: string - - &378 + - &379 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51231,7 +51478,7 @@ paths: required: false schema: type: string - - &379 + - &380 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51240,7 +51487,7 @@ paths: required: false schema: type: string - - &380 + - &381 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51267,7 +51514,7 @@ paths: - pending - *17 - *19 - - &381 + - &382 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51276,7 +51523,7 @@ paths: schema: type: string format: date-time - - &360 + - &361 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51285,13 +51532,13 @@ paths: schema: type: boolean default: false - - &382 + - &383 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &383 + - &384 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51314,7 +51561,7 @@ paths: type: integer workflow_runs: type: array - items: &361 + items: &362 title: Workflow Run description: An invocation of a workflow type: object @@ -51462,7 +51709,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &405 + properties: &406 id: type: string description: SHA for the commit @@ -51513,7 +51760,7 @@ paths: - name - email nullable: true - required: &406 + required: &407 - id - tree_id - message @@ -51560,7 +51807,7 @@ paths: - workflow_url - pull_requests examples: - default: &384 + default: &385 value: total_count: 1 workflow_runs: @@ -51796,24 +52043,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *324 - *325 - - &362 + - *326 + - &363 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: &365 + default: &366 value: id: 30433642 name: Build @@ -52054,9 +52301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '204': description: Response @@ -52079,9 +52326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -52200,9 +52447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '201': description: Response @@ -52235,12 +52482,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *324 - *325 - - *362 + - *326 + - *363 - *17 - *19 - - *363 + - *364 responses: '200': description: Response @@ -52256,9 +52503,9 @@ paths: type: integer artifacts: type: array - items: *331 + items: *332 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -52282,25 +52529,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *324 - *325 - - *362 - - &366 + - *326 + - *363 + - &367 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *365 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52323,10 +52570,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *324 - *325 - - *362 - - *366 + - *326 + - *363 + - *367 - *17 - *19 responses: @@ -52344,9 +52591,9 @@ paths: type: integer jobs: type: array - items: *367 + items: *368 examples: - default: &368 + default: &369 value: total_count: 1 jobs: @@ -52459,10 +52706,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *324 - *325 - - *362 - - *366 + - *326 + - *363 + - *367 responses: '302': description: Response @@ -52490,9 +52737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '202': description: Response @@ -52525,9 +52772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: true content: @@ -52594,9 +52841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '202': description: Response @@ -52629,9 +52876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -52661,9 +52908,9 @@ paths: type: integer jobs: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -52688,9 +52935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '302': description: Response @@ -52717,9 +52964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '204': description: Response @@ -52746,9 +52993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -52808,7 +53055,7 @@ paths: items: type: object properties: - type: &490 + type: &491 type: string description: The type of reviewer. enum: @@ -52893,9 +53140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: true content: @@ -52942,7 +53189,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53048,7 +53295,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53104,9 +53351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: false content: @@ -53150,9 +53397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: false content: @@ -53205,9 +53452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -53344,8 +53591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53363,9 +53610,9 @@ paths: type: integer secrets: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *59 x-github: @@ -53390,16 +53637,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53421,17 +53668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: &503 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53457,8 +53704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -53516,8 +53763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -53543,9 +53790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *324 - *325 - - *340 + - *326 + - *341 - *19 responses: '200': @@ -53562,9 +53809,9 @@ paths: type: integer variables: type: array - items: *373 + items: *374 examples: - default: *374 + default: *375 headers: Link: *59 x-github: @@ -53587,8 +53834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -53640,17 +53887,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: &504 + default: &505 value: name: USERNAME value: octocat @@ -53676,8 +53923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 requestBody: required: true @@ -53720,8 +53967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 responses: '204': @@ -53747,8 +53994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53766,7 +54013,7 @@ paths: type: integer workflows: type: array - items: &375 + items: &376 title: Workflow description: A GitHub Actions workflow type: object @@ -53873,9 +54120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *324 - *325 - - &376 + - *326 + - &377 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53890,7 +54137,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -53923,9 +54170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -53950,9 +54197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -54003,9 +54250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -54032,19 +54279,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *324 - *325 - - *376 + - *326 - *377 - *378 - *379 - *380 + - *381 - *17 - *19 - - *381 - - *360 - *382 + - *361 - *383 + - *384 responses: '200': description: Response @@ -54060,9 +54307,9 @@ paths: type: integer workflow_runs: type: array - items: *361 + items: *362 examples: - default: *384 + default: *385 headers: Link: *59 x-github: @@ -54094,9 +54341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '200': description: Response @@ -54157,8 +54404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *324 - *325 + - *326 - *53 - *17 - *45 @@ -54322,8 +54569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -54360,8 +54607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *324 - *325 + - *326 - name: assignee in: path required: true @@ -54397,8 +54644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54510,8 +54757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *324 - *325 + - *326 - *17 - *45 - *46 @@ -54568,7 +54815,7 @@ paths: initiator: type: string examples: - default: *385 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54588,8 +54835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -54597,7 +54844,7 @@ paths: application/json: schema: type: array - items: &386 + items: &387 title: Autolink reference description: An autolink reference. type: object @@ -54651,8 +54898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54691,9 +54938,9 @@ paths: description: response content: application/json: - schema: *386 + schema: *387 examples: - default: &387 + default: &388 value: id: 1 key_prefix: TICKET- @@ -54724,9 +54971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *324 - *325 - - &388 + - *326 + - &389 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54738,9 +54985,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 '404': *6 x-github: githubCloudOnly: false @@ -54760,9 +55007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *324 - *325 - - *388 + - *326 + - *389 responses: '204': description: Response @@ -54786,8 +55033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54835,8 +55082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54857,8 +55104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54878,8 +55125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *324 - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54917,7 +55164,7 @@ paths: - url protected: type: boolean - protection: &390 + protection: &391 title: Branch Protection description: Branch Protection type: object @@ -54959,7 +55206,7 @@ paths: required: - contexts - checks - enforce_admins: &393 + enforce_admins: &394 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54974,7 +55221,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &395 + required_pull_request_reviews: &396 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55050,7 +55297,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &392 + restrictions: &393 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55327,9 +55574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *324 - *325 - - &391 + - *326 + - &392 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55343,14 +55590,14 @@ paths: description: Response content: application/json: - schema: &401 + schema: &402 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &458 + commit: &459 title: Commit description: Commit type: object @@ -55384,7 +55631,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &389 + properties: &390 name: type: string example: '"Chris Wanstrath"' @@ -55400,7 +55647,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true message: type: string @@ -55421,7 +55668,7 @@ paths: required: - sha - url - verification: &510 + verification: &511 title: Verification type: object properties: @@ -55491,7 +55738,7 @@ paths: type: integer files: type: array - items: &471 + items: &472 title: Diff Entry description: Diff Entry type: object @@ -55575,7 +55822,7 @@ paths: - self protected: type: boolean - protection: *390 + protection: *391 protection_url: type: string format: uri @@ -55682,7 +55929,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *328 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -55704,15 +55951,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: default: value: @@ -55906,9 +56153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -56163,7 +56410,7 @@ paths: url: type: string format: uri - required_status_checks: &398 + required_status_checks: &399 title: Status Check Policy description: Status Check Policy type: object @@ -56315,7 +56562,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *392 + restrictions: *393 required_conversation_resolution: type: object properties: @@ -56427,9 +56674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56454,17 +56701,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &394 + default: &395 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56486,17 +56733,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56515,9 +56762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56542,17 +56789,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &396 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56648,9 +56895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -56748,9 +56995,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -56771,9 +57018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56800,17 +57047,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &397 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56833,17 +57080,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *397 + default: *398 '404': *6 x-github: githubCloudOnly: false @@ -56863,9 +57110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56890,17 +57137,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: &399 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56926,9 +57173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -56980,9 +57227,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: *399 + default: *400 '404': *6 '422': *15 x-github: @@ -57004,9 +57251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -57030,9 +57277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57066,9 +57313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57135,9 +57382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57201,9 +57448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: content: application/json: @@ -57269,15 +57516,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -57368,9 +57615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -57393,9 +57640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57405,7 +57652,7 @@ paths: type: array items: *5 examples: - default: &400 + default: &401 value: - id: 1 slug: octoapp @@ -57462,9 +57709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57498,7 +57745,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57519,9 +57766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57555,7 +57802,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57576,9 +57823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57612,7 +57859,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57634,9 +57881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57666,9 +57913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57727,9 +57974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57788,9 +58035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: content: application/json: @@ -57849,9 +58096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57885,9 +58132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57945,9 +58192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58005,9 +58252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58067,9 +58314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58091,7 +58338,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -58207,8 +58454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58487,7 +58734,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &403 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58607,7 +58854,7 @@ paths: check. type: array items: *80 - deployment: &718 + deployment: &721 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58887,9 +59134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *324 - *325 - - &403 + - *326 + - &404 name: check_run_id description: The unique identifier of the check run. in: path @@ -58901,9 +59148,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &404 + default: &405 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59003,9 +59250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *324 - *325 - - *403 + - *326 + - *404 requestBody: required: true content: @@ -59245,9 +59492,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *404 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59267,9 +59514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *324 - *325 - - *403 + - *326 + - *404 - *17 - *19 responses: @@ -59364,9 +59611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *324 - *325 - - *403 + - *326 + - *404 responses: '201': description: Response @@ -59410,8 +59657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59433,7 +59680,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &407 + schema: &408 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59519,12 +59766,12 @@ paths: type: string format: date-time nullable: true - head_commit: &744 + head_commit: &747 title: Simple Commit description: A commit. type: object - properties: *405 - required: *406 + properties: *406 + required: *407 latest_check_runs_count: type: integer check_runs_url: @@ -59552,7 +59799,7 @@ paths: - check_runs_url - pull_requests examples: - default: &408 + default: &409 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59843,9 +60090,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59864,8 +60111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -60174,9 +60421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *324 - *325 - - &409 + - *326 + - &410 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60188,9 +60435,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60213,17 +60460,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *324 - *325 - - *409 - - &464 + - *326 + - *410 + - &465 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &465 + - &466 name: status description: Returns check runs with the specified `status`. in: query @@ -60262,9 +60509,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *403 examples: - default: &466 + default: &467 value: total_count: 1 check_runs: @@ -60366,9 +60613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *324 - *325 - - *409 + - *326 + - *410 responses: '201': description: Response @@ -60401,21 +60648,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *410 + - *326 - *411 + - *412 - *19 - *17 - - &428 + - &429 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *412 - - &429 + schema: *413 + - &430 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60440,13 +60687,13 @@ paths: be returned. in: query required: false - schema: *413 + schema: *414 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *414 + schema: *415 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -60470,7 +60717,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: *415 + instances_url: *416 state: *178 fixed_at: *174 dismissed_by: @@ -60481,11 +60728,11 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: *416 - dismissed_comment: *417 - rule: *418 - tool: *419 - most_recent_instance: *420 + dismissed_reason: *417 + dismissed_comment: *418 + rule: *419 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60611,7 +60858,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &421 + '403': &422 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60638,9 +60885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *324 - *325 - - &422 + - *326 + - &423 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60654,7 +60901,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &424 type: object properties: number: *169 @@ -60662,7 +60909,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: *415 + instances_url: *416 state: *178 fixed_at: *174 dismissed_by: @@ -60673,8 +60920,8 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *417 + dismissed_comment: *418 rule: type: object properties: @@ -60728,8 +60975,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *419 - most_recent_instance: *420 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60828,7 +61075,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -60848,9 +61095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: true content: @@ -60865,8 +61112,8 @@ paths: enum: - open - dismissed - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *417 + dismissed_comment: *418 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60894,7 +61141,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -60970,7 +61217,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &427 + '403': &428 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60997,15 +61244,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 responses: '200': description: Response content: application/json: - schema: &424 + schema: &425 type: object properties: status: @@ -61031,13 +61278,13 @@ paths: - description - started_at examples: - default: &425 + default: &426 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &426 + '400': &427 description: Bad Request content: application/json: @@ -61048,7 +61295,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61073,29 +61320,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 responses: '200': description: OK content: application/json: - schema: *424 + schema: *425 examples: - default: *425 + default: *426 '202': description: Accepted content: application/json: - schema: *424 + schema: *425 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *426 + '400': *427 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61127,9 +61374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: false content: @@ -61174,8 +61421,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *426 - '403': *427 + '400': *427 + '403': *428 '404': *6 '422': description: Unprocessable Entity @@ -61199,13 +61446,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 - *19 - *17 - - *428 - *429 + - *430 responses: '200': description: Response @@ -61216,10 +61463,10 @@ paths: items: type: object properties: - ref: *412 - analysis_key: *430 - environment: *431 - category: *432 + ref: *413 + analysis_key: *431 + environment: *432 + category: *433 state: type: string description: State of a code scanning alert instance. @@ -61234,7 +61481,7 @@ paths: properties: text: type: string - location: *433 + location: *434 html_url: type: string classifications: @@ -61242,7 +61489,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *434 + items: *435 examples: default: value: @@ -61281,7 +61528,7 @@ paths: end_column: 50 classifications: - source - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61315,25 +61562,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *324 - *325 - - *410 + - *326 - *411 + - *412 - *19 - *17 - - *429 + - *430 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *412 + schema: *413 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &436 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61354,23 +61601,23 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: - ref: *412 - commit_sha: &444 + ref: *413 + commit_sha: &445 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *430 + analysis_key: *431 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *432 + category: *433 error: type: string example: error reading field xyz @@ -61394,8 +61641,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *419 + sarif_id: *436 + tool: *420 deletable: type: boolean warning: @@ -61456,7 +61703,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61492,8 +61739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61506,7 +61753,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: response: summary: application/json response @@ -61560,7 +61807,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *421 + '403': *422 '404': *6 '422': description: Response if analysis could not be processed @@ -61647,8 +61894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61701,7 +61948,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *427 + '403': *428 '404': *6 '503': *112 x-github: @@ -61723,8 +61970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -61732,7 +61979,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: CodeQL Database description: A CodeQL database. type: object @@ -61843,7 +62090,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61872,8 +62119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61885,7 +62132,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: default: value: @@ -61917,9 +62164,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &473 + '302': &474 description: Found - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61941,8 +62188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61952,7 +62199,7 @@ paths: responses: '204': description: Response - '403': *427 + '403': *428 '404': *6 '503': *112 x-github: @@ -61980,8 +62227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -61990,7 +62237,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &439 type: string description: The language targeted by the CodeQL query enum: @@ -62070,7 +62317,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &443 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62080,7 +62327,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *438 + query_language: *439 query_pack_url: type: string description: The download url for the query pack. @@ -62127,7 +62374,7 @@ paths: items: type: object properties: - repository: &439 + repository: &440 title: Repository Identifier description: Repository Identifier type: object @@ -62163,7 +62410,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &444 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62195,7 +62442,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &441 type: object properties: repository_count: @@ -62209,7 +62456,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *439 + items: *440 required: - repository_count - repositories @@ -62231,8 +62478,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *441 + over_limit_repos: *441 required: - access_mismatch_repos - not_found_repos @@ -62248,7 +62495,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &442 summary: Default response value: id: 1 @@ -62394,10 +62641,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *442 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *442 '404': *6 '422': description: Unable to process variant analysis submission @@ -62425,8 +62672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *324 - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62438,9 +62685,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *441 + default: *442 '404': *6 '503': *112 x-github: @@ -62463,7 +62710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *324 + - *325 - name: repo in: path description: The name of the controller repository. @@ -62498,7 +62745,7 @@ paths: type: object properties: repository: *58 - analysis_status: *443 + analysis_status: *444 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62623,8 +62870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -62709,7 +62956,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -62730,8 +62977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62823,7 +63070,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *427 + '403': *428 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62894,8 +63141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62903,7 +63150,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *445 ref: type: string description: |- @@ -62961,7 +63208,7 @@ paths: schema: type: object properties: - id: *435 + id: *436 url: type: string description: The REST API URL for checking the status of the upload. @@ -62975,7 +63222,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *427 + '403': *428 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62998,8 +63245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *324 - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63045,7 +63292,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *421 + '403': *422 '404': description: Not Found if the sarif id does not match any upload '503': *112 @@ -63070,8 +63317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -63152,8 +63399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *324 - *325 + - *326 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63273,8 +63520,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63588,8 +63835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -63654,7 +63901,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63662,7 +63909,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '400': *14 '401': *25 '403': *29 @@ -63691,8 +63938,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63756,8 +64003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *324 - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63792,14 +64039,14 @@ paths: type: integer machines: type: array - items: &663 + items: &664 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 examples: - default: &664 + default: &665 value: total_count: 2 machines: @@ -63839,8 +64086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *324 - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63924,8 +64171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *324 - *325 + - *326 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -63991,8 +64238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64010,7 +64257,7 @@ paths: type: integer secrets: type: array - items: &451 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64030,7 +64277,7 @@ paths: - created_at - updated_at examples: - default: *448 + default: *449 headers: Link: *59 x-github: @@ -64053,16 +64300,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64082,17 +64329,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64112,8 +64359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -64166,8 +64413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -64196,8 +64443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *324 - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64239,7 +64486,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &453 + properties: &454 login: type: string example: octocat @@ -64332,7 +64579,7 @@ paths: user_view_type: type: string example: public - required: &454 + required: &455 - avatar_url - events_url - followers_url @@ -64406,8 +64653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 responses: '204': @@ -64454,8 +64701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 requestBody: required: false @@ -64482,7 +64729,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &523 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64711,8 +64958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 responses: '204': @@ -64744,8 +64991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *324 - *325 + - *326 - *64 responses: '200': @@ -64766,8 +65013,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true required: - permission @@ -64822,8 +65069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64833,7 +65080,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Commit Comment description: Commit Comment type: object @@ -64891,7 +65138,7 @@ paths: - created_at - updated_at examples: - default: &460 + default: &461 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64950,17 +65197,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &461 + default: &462 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65017,8 +65264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -65041,7 +65288,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -65092,8 +65339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -65115,8 +65362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65143,7 +65390,7 @@ paths: application/json: schema: type: array - items: &456 + items: &457 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -65186,7 +65433,7 @@ paths: - content - created_at examples: - default: &527 + default: &528 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65231,8 +65478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -65265,9 +65512,9 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: &457 + default: &458 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65296,9 +65543,9 @@ paths: description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -65320,10 +65567,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - &528 + - &529 name: reaction_id description: The unique identifier of the reaction. in: path @@ -65378,8 +65625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *324 - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65435,9 +65682,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: &575 + default: &576 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65531,9 +65778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *324 - *325 - - &459 + - *326 + - &460 name: commit_sha description: The SHA of the commit. in: path @@ -65605,9 +65852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *324 - *325 - - *459 + - *326 + - *460 - *17 - *19 responses: @@ -65617,9 +65864,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *460 + default: *461 headers: Link: *59 x-github: @@ -65647,9 +65894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *324 - *325 - - *459 + - *326 + - *460 requestBody: required: true content: @@ -65684,9 +65931,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *461 + default: *462 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65714,9 +65961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *324 - *325 - - *459 + - *326 + - *460 - *17 - *19 responses: @@ -65726,9 +65973,9 @@ paths: application/json: schema: type: array - items: *462 + items: *463 examples: - default: &567 + default: &568 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66265,11 +66512,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *324 - *325 + - *326 - *19 - *17 - - &463 + - &464 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66284,9 +66531,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: &554 + default: &555 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66399,11 +66646,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *324 - *325 - - *463 + - *326 - *464 - *465 + - *466 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66437,9 +66684,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *403 examples: - default: *466 + default: *467 headers: Link: *59 x-github: @@ -66464,9 +66711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66474,7 +66721,7 @@ paths: schema: type: integer example: 1 - - *464 + - *465 - *17 - *19 responses: @@ -66492,7 +66739,7 @@ paths: type: integer check_suites: type: array - items: *407 + items: *408 examples: default: value: @@ -66692,9 +66939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - *17 - *19 responses: @@ -66892,9 +67139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - *17 - *19 responses: @@ -66904,7 +67151,7 @@ paths: application/json: schema: type: array - items: &640 + items: &641 title: Status description: The status of a commit. type: object @@ -66985,7 +67232,7 @@ paths: site_admin: false headers: Link: *59 - '301': *328 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67013,8 +67260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -67043,20 +67290,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &469 + properties: &470 url: type: string format: uri html_url: type: string format: uri - required: &470 + required: &471 - url - html_url nullable: true @@ -67070,26 +67317,26 @@ paths: contributing: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true readme: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true issue_template: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true pull_request_template: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true required: - code_of_conduct @@ -67216,8 +67463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *324 - *325 + - *326 - *19 - *17 - name: basehead @@ -67260,8 +67507,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *458 - merge_base_commit: *458 + base_commit: *459 + merge_base_commit: *459 status: type: string enum: @@ -67281,10 +67528,10 @@ paths: example: 6 commits: type: array - items: *458 + items: *459 files: type: array - items: *471 + items: *472 required: - url - html_url @@ -67570,8 +67817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -67714,7 +67961,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &472 + response-if-content-is-a-file: &473 summary: Response if content is a file value: type: file @@ -67846,7 +68093,7 @@ paths: - size - type - url - - &580 + - &581 title: Content File description: Content File type: object @@ -68047,7 +68294,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *472 + response-if-content-is-a-file: *473 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68116,7 +68363,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *473 + '302': *474 '304': *37 x-github: githubCloudOnly: false @@ -68139,8 +68386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68233,7 +68480,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &475 title: File Commit description: File Commit type: object @@ -68385,7 +68632,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: example-for-creating-a-file: value: @@ -68439,7 +68686,7 @@ paths: schema: oneOf: - *3 - - &505 + - &506 description: Repository rule violation was detected type: object properties: @@ -68460,7 +68707,7 @@ paths: items: type: object properties: - placeholder_id: &632 + placeholder_id: &633 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68492,8 +68739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68554,7 +68801,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -68609,8 +68856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *324 - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68733,8 +68980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *324 - *325 + - *326 - *189 - *190 - *191 @@ -68746,7 +68993,7 @@ paths: schema: type: string - *193 - - *475 + - *476 - *194 - *195 - *53 @@ -68767,7 +69014,7 @@ paths: application/json: schema: type: array - items: &479 + items: &480 type: object description: A Dependabot alert. properties: @@ -68813,7 +69060,7 @@ paths: - unknown - direct - transitive - security_advisory: *476 + security_advisory: *477 security_vulnerability: *57 url: *172 html_url: *173 @@ -68844,8 +69091,8 @@ paths: nullable: true maxLength: 280 fixed_at: *174 - auto_dismissed_at: *477 - dismissal_request: *478 + auto_dismissed_at: *478 + dismissal_request: *479 required: - number - state @@ -69075,9 +69322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *324 - *325 - - &480 + - *326 + - &481 name: alert_number in: path description: |- @@ -69092,7 +69339,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69205,9 +69452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *324 - *325 - - *480 + - *326 + - *481 requestBody: required: true content: @@ -69252,7 +69499,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69381,8 +69628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -69400,7 +69647,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &484 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69453,16 +69700,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: *482 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69482,15 +69729,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: default: value: @@ -69516,8 +69763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -69570,8 +69817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -69594,8 +69841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *324 - *325 + - *326 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -69755,8 +70002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -69995,8 +70242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70071,7 +70318,7 @@ paths: - version - url additionalProperties: false - metadata: &484 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70104,7 +70351,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *484 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -70117,7 +70364,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *484 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -70246,8 +70493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *324 - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -70287,9 +70534,9 @@ paths: application/json: schema: type: array - items: *485 + items: *486 examples: - default: *486 + default: *487 headers: Link: *59 x-github: @@ -70355,8 +70602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70437,7 +70684,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: simple-example: summary: Simple example @@ -70510,9 +70757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *324 - *325 - - &487 + - *326 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -70524,7 +70771,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70589,9 +70836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *324 - *325 - - *487 + - *326 + - *488 responses: '204': description: Response @@ -70613,9 +70860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *324 - *325 - - *487 + - *326 + - *488 - *17 - *19 responses: @@ -70625,7 +70872,7 @@ paths: application/json: schema: type: array - items: &488 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -70786,9 +71033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *324 - *325 - - *487 + - *326 + - *488 requestBody: required: true content: @@ -70863,9 +71110,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &489 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70921,9 +71168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *324 - *325 - - *487 + - *326 + - *488 - name: status_id in: path required: true @@ -70934,9 +71181,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -70961,8 +71208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -71019,8 +71266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -71037,7 +71284,7 @@ paths: type: integer environments: type: array - items: &491 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -71089,7 +71336,7 @@ paths: type: type: string example: wait_timer - wait_timer: &493 + wait_timer: &494 type: integer example: 30 description: The amount of time to delay a job after @@ -71126,7 +71373,7 @@ paths: items: type: object properties: - type: *490 + type: *491 reviewer: anyOf: - *4 @@ -71150,7 +71397,7 @@ paths: - id - node_id - type - deployment_branch_policy: &494 + deployment_branch_policy: &495 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71266,9 +71513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *324 - *325 - - &492 + - *326 + - &493 name: environment_name in: path required: true @@ -71281,9 +71528,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &495 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71367,9 +71614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: false content: @@ -71378,7 +71625,7 @@ paths: type: object nullable: true properties: - wait_timer: *493 + wait_timer: *494 prevent_self_review: type: boolean example: false @@ -71395,13 +71642,13 @@ paths: items: type: object properties: - type: *490 + type: *491 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *494 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -71421,9 +71668,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *495 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71447,9 +71694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *324 - *325 - - *492 + - *326 + - *493 responses: '204': description: Default response @@ -71474,9 +71721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *17 - *19 responses: @@ -71494,7 +71741,7 @@ paths: example: 2 branch_policies: type: array - items: &496 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71551,9 +71798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: true content: @@ -71599,9 +71846,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - example-wildcard: &497 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71643,10 +71890,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - &498 + - *326 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -71658,9 +71905,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71679,10 +71926,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - *498 + - *326 + - *493 + - *499 requestBody: required: true content: @@ -71710,9 +71957,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71731,10 +71978,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - *498 + - *326 + - *493 + - *499 responses: '204': description: Response @@ -71759,9 +72006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 responses: '200': description: List of deployment protection rules @@ -71777,7 +72024,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &499 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -71796,7 +72043,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &500 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71895,9 +72142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 requestBody: content: application/json: @@ -71918,9 +72165,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *499 + schema: *500 examples: - default: &501 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71955,9 +72202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 - *19 - *17 responses: @@ -71976,7 +72223,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *500 + items: *501 examples: default: value: @@ -72011,10 +72258,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *324 - *325 - - *492 - - &502 + - *326 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72026,9 +72273,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *501 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72049,10 +72296,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 - - *502 + - *503 responses: '204': description: Response @@ -72078,9 +72325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *17 - *19 responses: @@ -72098,9 +72345,9 @@ paths: type: integer secrets: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *59 x-github: @@ -72125,17 +72372,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *324 - *325 - - *492 + - *326 + - *493 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72157,18 +72404,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72190,9 +72437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 requestBody: required: true @@ -72250,9 +72497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 responses: '204': @@ -72278,10 +72525,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *324 - *325 - - *492 - - *340 + - *326 + - *493 + - *341 - *19 responses: '200': @@ -72298,9 +72545,9 @@ paths: type: integer variables: type: array - items: *373 + items: *374 examples: - default: *374 + default: *375 headers: Link: *59 x-github: @@ -72323,9 +72570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: true content: @@ -72377,18 +72624,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *162 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72409,10 +72656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *324 - *325 + - *326 - *162 - - *492 + - *493 requestBody: required: true content: @@ -72454,10 +72701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *324 - *325 + - *326 - *162 - - *492 + - *493 responses: '204': description: Response @@ -72479,8 +72726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -72548,8 +72795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *324 - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72708,8 +72955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -72741,9 +72988,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 '400': *14 '422': *15 '403': *29 @@ -72764,8 +73011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72825,7 +73072,7 @@ paths: schema: oneOf: - *120 - - *505 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72850,8 +73097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *324 - *325 + - *326 - name: file_sha in: path required: true @@ -72950,8 +73197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73060,7 +73307,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73274,15 +73521,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *324 - *325 - - *459 + - *326 + - *460 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: default: value: @@ -73338,9 +73585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *324 - *325 - - &507 + - *326 + - &508 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -73357,7 +73604,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -73432,17 +73679,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &509 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73471,8 +73718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73501,9 +73748,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73529,9 +73776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 requestBody: required: true content: @@ -73560,9 +73807,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 '422': *15 '409': *52 x-github: @@ -73580,9 +73827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 responses: '204': description: Response @@ -73637,8 +73884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73705,7 +73952,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -73756,7 +74003,7 @@ paths: - sha - type - url - verification: *510 + verification: *511 required: - sha - url @@ -73766,7 +74013,7 @@ paths: - tag - message examples: - default: &512 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73839,8 +74086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *324 - *325 + - *326 - name: tag_sha in: path required: true @@ -73851,9 +74098,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *6 '409': *52 x-github: @@ -73877,8 +74124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73951,7 +74198,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74047,8 +74294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *324 - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74071,7 +74318,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: default-response: summary: Default response @@ -74130,8 +74377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -74141,7 +74388,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -74195,7 +74442,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &752 + last_response: &755 title: Hook Response type: object properties: @@ -74269,8 +74516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -74322,9 +74569,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: &515 + default: &516 value: type: Repository id: 12345678 @@ -74372,17 +74619,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -74402,8 +74649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 requestBody: required: true @@ -74449,9 +74696,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '422': *15 '404': *6 x-github: @@ -74472,8 +74719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74498,8 +74745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *203 responses: '200': @@ -74527,8 +74774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *203 requestBody: required: false @@ -74573,8 +74820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *17 - *204 @@ -74606,8 +74853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *16 responses: @@ -74636,8 +74883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *16 responses: @@ -74661,8 +74908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74688,8 +74935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74713,8 +74960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74760,8 +75007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *182 '409': *52 @@ -74781,8 +75028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *182 '409': *52 @@ -74839,14 +75086,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &516 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -74945,7 +75192,7 @@ paths: - html_url - authors_url examples: - default: &519 + default: &520 value: vcs: subversion use_lfs: true @@ -74961,7 +75208,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &517 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -74990,8 +75237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75039,7 +75286,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -75064,7 +75311,7 @@ paths: type: string '422': *15 '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75092,8 +75339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -75142,7 +75389,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: example-1: summary: Example 1 @@ -75190,7 +75437,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75213,12 +75460,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *324 - *325 + - *326 responses: '204': description: Response - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75244,9 +75491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *324 - *325 - - &685 + - *326 + - &686 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75260,7 +75507,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 title: Porter Author description: Porter Author type: object @@ -75314,7 +75561,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75339,8 +75586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *324 - *325 + - *326 - name: author_id in: path required: true @@ -75370,7 +75617,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -75383,7 +75630,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75407,8 +75654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75449,7 +75696,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75477,8 +75724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75505,11 +75752,11 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *519 + default: *520 '422': *15 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75532,8 +75779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75541,8 +75788,8 @@ paths: application/json: schema: *22 examples: - default: *520 - '301': *328 + default: *521 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -75562,8 +75809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75576,7 +75823,7 @@ paths: properties: {} additionalProperties: false examples: - default: &522 + default: &523 value: limit: collaborators_only origin: repository @@ -75601,13 +75848,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *521 + schema: *522 examples: default: summary: Example request body @@ -75621,7 +75868,7 @@ paths: application/json: schema: *221 examples: - default: *522 + default: *523 '409': description: Response x-github: @@ -75643,8 +75890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -75667,8 +75914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -75678,9 +75925,9 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: &678 + default: &679 value: - id: 1 repository: @@ -75811,8 +76058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *324 - *325 + - *326 - *225 requestBody: required: false @@ -75842,7 +76089,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -75973,8 +76220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *324 - *325 + - *326 - *225 responses: '204': @@ -76006,8 +76253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *324 - *325 + - *326 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -76080,7 +76327,7 @@ paths: type: array items: *75 examples: - default: &535 + default: &536 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76228,7 +76475,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *328 + '301': *329 '422': *15 '404': *6 x-github: @@ -76257,8 +76504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -76342,7 +76589,7 @@ paths: application/json: schema: *75 examples: - default: &532 + default: &533 value: id: 1 node_id: MDU6SXNzdWUx @@ -76498,7 +76745,7 @@ paths: '422': *15 '503': *112 '404': *6 - '410': *524 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -76526,8 +76773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *99 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76548,9 +76795,9 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: &534 + default: &535 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76608,17 +76855,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76672,8 +76919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -76696,9 +76943,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -76716,8 +76963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -76738,8 +76985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76766,9 +77013,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -76789,8 +77036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -76823,16 +77070,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -76854,10 +77101,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - *528 + - *529 responses: '204': description: Response @@ -76877,8 +77124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -76888,7 +77135,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Issue Event description: Issue Event type: object @@ -76931,8 +77178,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *530 + required: *531 nullable: true label: title: Issue Event Label @@ -77239,8 +77486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *324 - *325 + - *326 - name: event_id in: path required: true @@ -77251,7 +77498,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -77443,7 +77690,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *524 + '410': *525 '403': *29 x-github: githubCloudOnly: false @@ -77477,9 +77724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *324 - *325 - - &533 + - *326 + - &534 name: issue_number description: The number that identifies the issue. in: path @@ -77493,10 +77740,10 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '404': *6 - '410': *524 + '410': *525 '304': *37 x-github: githubCloudOnly: false @@ -77521,9 +77768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -77629,13 +77876,13 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 '422': *15 '503': *112 '403': *29 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77653,9 +77900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -77683,7 +77930,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77699,9 +77946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: content: application/json: @@ -77728,7 +77975,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77750,9 +77997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: assignee in: path required: true @@ -77792,9 +78039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *82 - *17 - *19 @@ -77805,13 +78052,13 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: *534 + default: *535 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77840,9 +78087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -77864,16 +78111,16 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -77901,9 +78148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -77915,12 +78162,12 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77948,9 +78195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -77974,15 +78221,15 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *328 + '301': *329 '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -78013,9 +78260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78029,13 +78276,13 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *524 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -78061,9 +78308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78075,12 +78322,12 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78097,9 +78344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78113,7 +78360,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &538 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78167,7 +78414,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &539 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78303,7 +78550,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &540 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78354,7 +78601,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78405,7 +78652,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &542 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78459,7 +78706,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78506,7 +78753,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78553,7 +78800,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78613,7 +78860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &546 title: Locked Issue Event description: Locked Issue Event type: object @@ -78661,7 +78908,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &547 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78727,7 +78974,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &548 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78793,7 +79040,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &549 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78859,7 +79106,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &550 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78950,7 +79197,7 @@ paths: color: red headers: Link: *59 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78967,9 +79214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78981,7 +79228,7 @@ paths: type: array items: *74 examples: - default: &536 + default: &537 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78999,9 +79246,9 @@ paths: default: false headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79018,9 +79265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79081,10 +79328,10 @@ paths: type: array items: *74 examples: - default: *536 - '301': *328 + default: *537 + '301': *329 '404': *6 - '410': *524 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -79101,9 +79348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79165,10 +79412,10 @@ paths: type: array items: *74 examples: - default: *536 - '301': *328 + default: *537 + '301': *329 '404': *6 - '410': *524 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -79185,15 +79432,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '204': description: Response - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79212,9 +79459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: name in: path required: true @@ -79238,9 +79485,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79260,9 +79507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79290,7 +79537,7 @@ paths: '204': description: Response '403': *29 - '410': *524 + '410': *525 '404': *6 '422': *15 x-github: @@ -79308,9 +79555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '204': description: Response @@ -79340,9 +79587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '200': description: Response @@ -79350,10 +79597,10 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79370,9 +79617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -79398,13 +79645,13 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79422,9 +79669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79456,16 +79703,16 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -79487,10 +79734,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *324 - *325 - - *533 - - *528 + - *326 + - *534 + - *529 responses: '204': description: Response @@ -79519,9 +79766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79545,7 +79792,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79578,9 +79825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -79592,11 +79839,11 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79624,9 +79871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79655,14 +79902,14 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -79682,9 +79929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79717,7 +79964,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 '403': *29 '404': *6 '422': *7 @@ -79739,9 +79986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -79756,7 +80003,6 @@ paths: description: Timeline Event type: object anyOf: - - *537 - *538 - *539 - *540 @@ -79769,6 +80015,7 @@ paths: - *547 - *548 - *549 + - *550 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80077,7 +80324,7 @@ paths: type: string comments: type: array - items: &569 + items: &570 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80292,7 +80539,7 @@ paths: type: string comments: type: array - items: *455 + items: *456 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80581,7 +80828,7 @@ paths: headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80598,8 +80845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80609,7 +80856,7 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80675,8 +80922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80712,9 +80959,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: id: 1 key: ssh-rsa AAA... @@ -80748,9 +80995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *324 - *325 - - &552 + - *326 + - &553 name: key_id description: The unique identifier of the key. in: path @@ -80762,9 +81009,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -80782,9 +81029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *324 - *325 - - *552 + - *326 + - *553 responses: '204': description: Response @@ -80804,8 +81051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80817,7 +81064,7 @@ paths: type: array items: *74 examples: - default: *536 + default: *537 headers: Link: *59 '404': *6 @@ -80838,8 +81085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80877,7 +81124,7 @@ paths: application/json: schema: *74 examples: - default: &553 + default: &554 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80909,8 +81156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80923,7 +81170,7 @@ paths: application/json: schema: *74 examples: - default: *553 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -80940,8 +81187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -81006,8 +81253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -81033,8 +81280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -81073,9 +81320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *324 - *325 - - *428 + - *326 + - *429 responses: '200': description: Response @@ -81220,8 +81467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81286,8 +81533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81321,9 +81568,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *458 + schema: *459 examples: - default: *554 + default: *555 '204': description: Response when already merged '404': @@ -81348,8 +81595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *324 - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81390,7 +81637,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Milestone description: A collection of related issues and pull requests. type: object @@ -81451,8 +81698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81492,9 +81739,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: &556 + default: &557 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81553,9 +81800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *324 - *325 - - &557 + - *326 + - &558 name: milestone_number description: The number that identifies the milestone. in: path @@ -81567,9 +81814,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -81586,9 +81833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 requestBody: required: false content: @@ -81626,9 +81873,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81644,9 +81891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 responses: '204': description: Response @@ -81667,9 +81914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 - *17 - *19 responses: @@ -81681,7 +81928,7 @@ paths: type: array items: *74 examples: - default: *536 + default: *537 headers: Link: *59 x-github: @@ -81700,12 +81947,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *324 - *325 - - *558 + - *326 - *559 - - *82 - *560 + - *82 + - *561 - *17 - *19 responses: @@ -81717,7 +81964,7 @@ paths: type: array items: *102 examples: - default: *561 + default: *562 headers: Link: *59 x-github: @@ -81741,8 +81988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -81800,14 +82047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &562 + schema: &563 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81932,7 +82179,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &564 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81973,8 +82220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82028,9 +82275,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *563 + default: *564 '422': *15 '409': *52 x-github: @@ -82053,8 +82300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82153,8 +82400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -82180,8 +82427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -82191,7 +82438,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Page Build description: Page Build type: object @@ -82285,8 +82532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -82331,16 +82578,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82388,8 +82635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *324 - *325 + - *326 - name: build_id in: path required: true @@ -82400,9 +82647,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82422,8 +82669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82528,9 +82775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *324 - *325 - - &566 + - *326 + - &567 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82588,9 +82835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *324 - *325 - - *566 + - *326 + - *567 responses: '204': *182 '404': *6 @@ -82617,8 +82864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82876,8 +83123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82914,8 +83161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *182 '422': *14 @@ -82936,8 +83183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *182 '422': *14 @@ -82959,8 +83206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82968,7 +83215,7 @@ paths: application/json: schema: type: array - items: *277 + items: *278 examples: default: value: @@ -82999,8 +83246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -83012,7 +83259,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *277 + items: *278 required: - properties examples: @@ -83062,8 +83309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *324 - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83123,9 +83370,9 @@ paths: application/json: schema: type: array - items: *462 + items: *463 examples: - default: *567 + default: *568 headers: Link: *59 '304': *37 @@ -83157,8 +83404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -83223,7 +83470,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &572 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83380,7 +83627,7 @@ paths: nullable: true requested_teams: type: array - items: *314 + items: *315 nullable: true head: type: object @@ -83437,7 +83684,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: *568 + auto_merge: *569 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83529,7 +83776,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &573 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84056,8 +84303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *324 - *325 + - *326 - name: sort in: query required: false @@ -84086,9 +84333,9 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: - default: &574 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84165,17 +84412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &570 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84250,8 +84497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -84274,9 +84521,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84292,8 +84539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -84315,8 +84562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84343,9 +84590,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -84366,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -84400,16 +84647,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -84431,10 +84678,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - *528 + - *529 responses: '204': description: Response @@ -84477,9 +84724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *324 - *325 - - &573 + - *326 + - &574 name: pull_number description: The number that identifies the pull request. in: path @@ -84492,9 +84739,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '304': *37 '404': *6 '406': @@ -84529,9 +84776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -84573,9 +84820,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 '403': *29 x-github: @@ -84597,9 +84844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -84661,7 +84908,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84669,7 +84916,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -84699,9 +84946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *99 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84722,9 +84969,9 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: - default: *574 + default: *575 headers: Link: *59 x-github: @@ -84757,9 +85004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -84864,7 +85111,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: example-for-a-multi-line-comment: value: @@ -84952,9 +85199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *91 requestBody: required: true @@ -84977,7 +85224,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -85063,9 +85310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -85075,9 +85322,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *575 + default: *576 headers: Link: *59 x-github: @@ -85107,9 +85354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -85119,7 +85366,7 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: default: value: @@ -85157,9 +85404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *324 - *325 - - *573 + - *326 + - *574 responses: '204': description: Response if pull request has been merged @@ -85182,9 +85429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -85295,9 +85542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 responses: '200': description: Response @@ -85372,9 +85619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -85411,7 +85658,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -85947,9 +86194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -85983,7 +86230,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -86488,9 +86735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -86500,7 +86747,7 @@ paths: application/json: schema: type: array - items: &576 + items: &577 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86651,9 +86898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -86739,9 +86986,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &578 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86804,10 +87051,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - &577 + - *326 + - *574 + - &578 name: review_id description: The unique identifier of the review. in: path @@ -86819,9 +87066,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &579 + default: &580 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86880,10 +87127,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -86906,7 +87153,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -86968,18 +87215,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 responses: '200': description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *578 + default: *579 '422': *7 '404': *6 x-github: @@ -87006,10 +87253,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 - *17 - *19 responses: @@ -87244,10 +87491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -87275,7 +87522,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -87338,10 +87585,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -87376,9 +87623,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *579 + default: *580 '404': *6 '422': *7 '403': *29 @@ -87400,9 +87647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -87465,8 +87712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *324 - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87479,9 +87726,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &581 + default: &582 value: type: file encoding: base64 @@ -87523,8 +87770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *324 - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87544,9 +87791,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 '404': *6 '422': *15 x-github: @@ -87568,8 +87815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -87579,7 +87826,7 @@ paths: application/json: schema: type: array - items: *582 + items: *583 examples: default: value: @@ -87673,8 +87920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -87750,9 +87997,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: &586 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87857,9 +88104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *324 - *325 - - &584 + - *326 + - &585 name: asset_id description: The unique identifier of the asset. in: path @@ -87871,9 +88118,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: &585 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -87908,7 +88155,7 @@ paths: type: User site_admin: false '404': *6 - '302': *473 + '302': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87924,9 +88171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *324 - *325 - - *584 + - *326 + - *585 requestBody: required: false content: @@ -87954,9 +88201,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *585 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87972,9 +88219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *324 - *325 - - *584 + - *326 + - *585 responses: '204': description: Response @@ -87998,8 +88245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -88084,16 +88331,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88110,8 +88357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *324 - *325 + - *326 - name: tag description: tag parameter in: path @@ -88124,9 +88371,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -88148,9 +88395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *324 - *325 - - &587 + - *326 + - &588 name: release_id description: The unique identifier of the release. in: path @@ -88164,9 +88411,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '401': description: Unauthorized x-github: @@ -88184,9 +88431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 requestBody: required: false content: @@ -88250,9 +88497,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '404': description: Not Found if the discussion category name is invalid content: @@ -88273,9 +88520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 responses: '204': description: Response @@ -88295,9 +88542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *324 - *325 - - *587 + - *326 + - *588 - *17 - *19 responses: @@ -88307,7 +88554,7 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: default: value: @@ -88388,9 +88635,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *324 - *325 - - *587 + - *326 + - *588 - name: name in: query required: true @@ -88416,7 +88663,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *584 examples: response-for-successful-upload: value: @@ -88471,9 +88718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -88497,9 +88744,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -88520,9 +88767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 requestBody: required: true content: @@ -88552,16 +88799,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -88583,10 +88830,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *324 - *325 - - *587 - - *528 + - *326 + - *588 + - *529 responses: '204': description: Response @@ -88610,9 +88857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 - *17 - *19 responses: @@ -88628,8 +88875,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *286 - - &588 + - *287 + - &589 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88648,69 +88895,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *287 - - *588 - allOf: - *288 - - *588 + - *589 - allOf: - *289 - - *588 - - allOf: - *589 - - *588 - allOf: - *290 - - *588 + - *589 + - allOf: + - *590 + - *589 - allOf: - *291 - - *588 + - *589 - allOf: - *292 - - *588 + - *589 - allOf: - *293 - - *588 + - *589 - allOf: - *294 - - *588 + - *589 - allOf: - *295 - - *588 + - *589 - allOf: - *296 - - *588 + - *589 - allOf: - *297 - - *588 + - *589 - allOf: - *298 - - *588 + - *589 - allOf: - *299 - - *588 + - *589 - allOf: - *300 - - *588 + - *589 - allOf: - *301 - - *588 + - *589 - allOf: - *302 - - *588 + - *589 - allOf: - *303 - - *588 + - *589 - allOf: - *304 - - *588 + - *589 - allOf: - *305 - - *588 + - *589 - allOf: - *306 - - *588 + - *589 + - allOf: + - *307 + - *589 examples: default: value: @@ -88749,8 +88996,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88761,7 +89008,7 @@ paths: schema: type: boolean default: true - - *590 + - *591 responses: '200': description: Response @@ -88769,7 +89016,7 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: default: value: @@ -88816,8 +89063,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 requestBody: description: Request body required: true @@ -88837,16 +89084,16 @@ paths: - tag - push default: branch - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *281 + items: *285 + conditions: *282 rules: type: array description: An array of rules within the ruleset. - items: *591 + items: *592 required: - name - enforcement @@ -88877,9 +89124,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &601 + default: &602 value: id: 42 name: super cool ruleset @@ -88926,12 +89173,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *324 - *325 - - *592 + - *326 - *593 - *594 - *595 + - *596 - *17 - *19 responses: @@ -88939,9 +89186,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 '404': *6 '500': *111 x-github: @@ -88962,17 +89209,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *324 - *325 - - *598 + - *326 + - *599 responses: '200': description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *600 + default: *601 '404': *6 '500': *111 x-github: @@ -89000,8 +89247,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89021,9 +89268,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *601 + default: *602 '404': *6 '500': *111 put: @@ -89041,8 +89288,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89067,16 +89314,16 @@ paths: - branch - tag - push - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *281 + items: *285 + conditions: *282 rules: description: An array of rules within the ruleset. type: array - items: *591 + items: *592 examples: default: value: @@ -89104,9 +89351,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *601 + default: *602 '404': *6 '500': *111 delete: @@ -89124,8 +89371,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89148,8 +89395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *324 - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -89165,9 +89412,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *602 + default: *603 '404': *6 '500': *111 x-github: @@ -89186,8 +89433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89205,7 +89452,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -89260,22 +89507,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *604 + - *326 - *605 - *606 - *607 - *608 + - *609 - *53 - *19 - *17 - - *609 - *610 - *611 - *612 - *613 - *614 + - *615 responses: '200': description: Response @@ -89283,7 +89530,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 type: object properties: number: *169 @@ -89302,8 +89549,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *615 - resolution: *616 + state: *616 + resolution: *617 resolved_at: type: string format: date-time @@ -89399,7 +89646,7 @@ paths: pull request. ' - oneOf: *617 + oneOf: *618 nullable: true has_more_locations: type: boolean @@ -89548,16 +89795,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 - - *614 + - *326 + - *423 + - *615 responses: '200': description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -89611,9 +89858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: true content: @@ -89621,8 +89868,8 @@ paths: schema: type: object properties: - state: *615 - resolution: *616 + state: *616 + resolution: *617 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89656,7 +89903,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -89751,9 +89998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 - *19 - *17 responses: @@ -89764,7 +90011,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &774 + items: &777 type: object properties: type: @@ -89790,7 +90037,6 @@ paths: example: commit details: oneOf: - - *619 - *620 - *621 - *622 @@ -89803,6 +90049,7 @@ paths: - *629 - *630 - *631 + - *632 examples: default: value: @@ -89888,8 +90135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89897,14 +90144,14 @@ paths: schema: type: object properties: - reason: &633 + reason: &634 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *632 + placeholder_id: *633 required: - reason - placeholder_id @@ -89921,7 +90168,7 @@ paths: schema: type: object properties: - reason: *633 + reason: *634 expire_at: type: string format: date-time @@ -89967,8 +90214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *324 - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89983,7 +90230,7 @@ paths: properties: incremental_scans: type: array - items: &634 + items: &635 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90009,15 +90256,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *634 + items: *635 backfill_scans: type: array - items: *634 + items: *635 custom_pattern_backfill_scans: type: array items: allOf: - - *634 + - *635 - type: object properties: pattern_name: @@ -90087,8 +90334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *324 - *325 + - *326 - *53 - name: sort description: The property to sort the results by. @@ -90132,9 +90379,9 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 + default: *637 '400': *14 '404': *6 x-github: @@ -90157,8 +90404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90231,7 +90478,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 required: - login - type @@ -90318,9 +90565,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: &638 + default: &639 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90553,8 +90800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90658,7 +90905,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -90805,17 +91052,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '200': description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 + default: *639 '403': *29 '404': *6 x-github: @@ -90839,9 +91086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 requestBody: required: true content: @@ -90914,7 +91161,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 required: - login - type @@ -91000,10 +91247,10 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 - add_credit: *638 + default: *639 + add_credit: *639 '403': *29 '404': *6 '422': @@ -91041,9 +91288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '202': *39 '400': *14 @@ -91070,17 +91317,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '202': description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 '400': *14 '422': *15 '403': *29 @@ -91106,8 +91353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91206,8 +91453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91216,7 +91463,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91249,8 +91496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91326,8 +91573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91423,8 +91670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *324 - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91578,8 +91825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *324 - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91589,7 +91836,7 @@ paths: application/json: schema: type: array - items: *639 + items: *640 examples: default: value: @@ -91622,8 +91869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *324 - *325 + - *326 - name: sha in: path required: true @@ -91677,7 +91924,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: default: value: @@ -91731,8 +91978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91764,14 +92011,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &641 + schema: &642 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91839,8 +92086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -91866,7 +92113,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -91893,8 +92140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -91914,8 +92161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91994,8 +92241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92003,7 +92250,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Tag protection description: Tag protection type: object @@ -92055,8 +92302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92079,7 +92326,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: default: value: @@ -92110,8 +92357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *324 - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92148,8 +92395,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -92185,8 +92432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -92218,8 +92465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *324 - *325 + - *326 - *19 - *17 responses: @@ -92227,7 +92474,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &644 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92239,7 +92486,7 @@ paths: required: - names examples: - default: &644 + default: &645 value: names: - octocat @@ -92262,8 +92509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92294,9 +92541,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '422': *7 x-github: @@ -92317,9 +92564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *324 - *325 - - &645 + - *326 + - &646 name: per description: The time frame to display results for. in: query @@ -92348,7 +92595,7 @@ paths: example: 128 clones: type: array - items: &646 + items: &647 title: Traffic type: object properties: @@ -92435,8 +92682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92526,8 +92773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92587,9 +92834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *324 - *325 - - *645 + - *326 + - *646 responses: '200': description: Response @@ -92608,7 +92855,7 @@ paths: example: 3782 views: type: array - items: *646 + items: *647 required: - uniques - count @@ -92685,8 +92932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92960,8 +93207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92984,8 +93231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -93007,8 +93254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -93034,8 +93281,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -93127,9 +93374,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93377,7 +93624,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &647 + text_matches: &648 title: Search Result Text Matches type: array items: @@ -93539,7 +93786,7 @@ paths: enum: - author-date - committer-date - - &648 + - &649 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -93610,7 +93857,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true comment_count: type: integer @@ -93630,7 +93877,7 @@ paths: url: type: string format: uri - verification: *510 + verification: *511 required: - author - committer @@ -93649,7 +93896,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true parents: type: array @@ -93667,7 +93914,7 @@ paths: type: number node_id: type: string - text_matches: *647 + text_matches: *648 required: - sha - node_id @@ -93859,7 +94106,7 @@ paths: - interactions - created - updated - - *648 + - *649 - *17 - *19 - name: advanced_search @@ -93956,11 +94203,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: type: string state_reason: @@ -93992,7 +94239,7 @@ paths: type: string format: date-time nullable: true - text_matches: *647 + text_matches: *648 pull_request: type: object properties: @@ -94217,7 +94464,7 @@ paths: enum: - created - updated - - *648 + - *649 - *17 - *19 responses: @@ -94261,7 +94508,7 @@ paths: nullable: true score: type: number - text_matches: *647 + text_matches: *648 required: - id - node_id @@ -94346,7 +94593,7 @@ paths: - forks - help-wanted-issues - updated - - *648 + - *649 - *17 - *19 responses: @@ -94585,7 +94832,7 @@ paths: - admin - pull - push - text_matches: *647 + text_matches: *648 temp_clone_token: type: string allow_merge_commit: @@ -94885,7 +95132,7 @@ paths: type: string format: uri nullable: true - text_matches: *647 + text_matches: *648 related: type: array nullable: true @@ -95076,7 +95323,7 @@ paths: - followers - repositories - joined - - *648 + - *649 - *17 - *19 responses: @@ -95180,7 +95427,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *647 + text_matches: *648 blog: type: string nullable: true @@ -95259,7 +95506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &652 + - &653 name: team_id description: The unique identifier of the team. in: path @@ -95271,9 +95518,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -95300,7 +95547,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *652 + - *653 requestBody: required: true content: @@ -95363,16 +95610,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '201': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 '422': *15 '403': *29 @@ -95400,7 +95647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *652 + - *653 responses: '204': description: Response @@ -95429,7 +95676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -95467,7 +95714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *652 + - *653 - name: role description: Filters members returned by their role in the team. in: query @@ -95518,7 +95765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95555,7 +95802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95595,7 +95842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95632,16 +95879,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-user-is-a-team-maintainer: *653 + response-if-user-is-a-team-maintainer: *654 '404': *6 x-github: githubCloudOnly: false @@ -95674,7 +95921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 requestBody: required: false @@ -95700,9 +95947,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-users-membership-with-team-is-now-pending: *654 + response-if-users-membership-with-team-is-now-pending: *655 '403': description: Forbidden if team synchronization is set up '422': @@ -95736,7 +95983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95764,7 +96011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -95806,15 +96053,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *655 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -95965,9 +96212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 requestBody: required: false content: @@ -96017,9 +96264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 responses: '204': description: Response @@ -96044,7 +96291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -96056,7 +96303,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: *656 + response-if-child-teams-exist: *657 headers: Link: *59 '404': *6 @@ -96089,7 +96336,7 @@ paths: application/json: schema: oneOf: - - &658 + - &659 title: Private User description: Private User type: object @@ -96292,7 +96539,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *657 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96445,7 +96692,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -96791,7 +97038,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96799,7 +97046,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -96843,7 +97090,7 @@ paths: type: integer secrets: type: array - items: &659 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96883,7 +97130,7 @@ paths: - visibility - selected_repositories_url examples: - default: *448 + default: *449 headers: Link: *59 x-github: @@ -96959,7 +97206,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: default: value: @@ -97105,7 +97352,7 @@ paths: type: array items: *151 examples: - default: *660 + default: *661 '401': *25 '403': *29 '404': *6 @@ -97257,7 +97504,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '304': *37 '500': *111 '401': *25 @@ -97315,7 +97562,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -97372,7 +97619,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97413,7 +97660,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &662 + default: &663 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97458,9 +97705,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *6 x-github: githubCloudOnly: false @@ -97497,9 +97744,9 @@ paths: type: integer machines: type: array - items: *663 + items: *664 examples: - default: *664 + default: *665 '304': *37 '500': *111 '401': *25 @@ -97578,13 +97825,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *327 + repository: *328 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98366,7 +98613,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '304': *37 '500': *111 '400': *14 @@ -98406,7 +98653,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '500': *111 '401': *25 '403': *29 @@ -98438,7 +98685,7 @@ paths: type: array items: *244 examples: - default: &675 + default: &676 value: - id: 197 name: hello_docker @@ -98539,7 +98786,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: Email description: Email type: object @@ -98604,9 +98851,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: &677 + default: &678 value: - email: octocat@github.com verified: true @@ -98681,7 +98928,7 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: default: value: @@ -98937,7 +99184,7 @@ paths: application/json: schema: type: array - items: &666 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -99068,7 +99315,7 @@ paths: - subkeys - revoked examples: - default: &691 + default: &694 value: - id: 3 name: Octocat's GPG Key @@ -99153,9 +99400,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: &667 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -99212,7 +99459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &668 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99224,9 +99471,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *6 '304': *37 '403': *29 @@ -99249,7 +99496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *668 + - *669 responses: '204': description: Response @@ -99554,7 +99801,7 @@ paths: required: true content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -99704,7 +99951,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: Key description: Key type: object @@ -99805,9 +100052,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99840,15 +100087,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *553 responses: '200': description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *6 '304': *37 '403': *29 @@ -99871,7 +100118,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *553 responses: '204': description: Response @@ -99904,7 +100151,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99972,7 +100219,7 @@ paths: - account - plan examples: - default: &672 + default: &673 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100034,9 +100281,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *672 + default: *673 headers: Link: *59 '304': *37 @@ -101045,7 +101292,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *238 - - *673 + - *674 responses: '204': description: Response @@ -101160,7 +101407,7 @@ paths: - docker - nuget - container - - *674 + - *675 - *19 - *17 responses: @@ -101172,8 +101419,8 @@ paths: type: array items: *244 examples: - default: *675 - '400': *676 + default: *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101202,7 +101449,7 @@ paths: application/json: schema: *244 examples: - default: &692 + default: &695 value: id: 40201 name: octo-name @@ -101564,9 +101811,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *677 + default: *678 headers: Link: *59 '304': *37 @@ -101679,7 +101926,7 @@ paths: type: array items: *71 examples: - default: &684 + default: &685 summary: Default response value: - id: 1296269 @@ -101983,9 +102230,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102023,9 +102270,9 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: *678 + default: *679 headers: Link: *59 '304': *37 @@ -102104,7 +102351,7 @@ paths: application/json: schema: type: array - items: &679 + items: &680 title: Social account description: Social media account type: object @@ -102119,7 +102366,7 @@ paths: - provider - url examples: - default: &680 + default: &681 value: - provider: twitter url: https://twitter.com/github @@ -102181,9 +102428,9 @@ paths: application/json: schema: type: array - items: *679 + items: *680 examples: - default: *680 + default: *681 '422': *15 '304': *37 '404': *6 @@ -102270,7 +102517,7 @@ paths: application/json: schema: type: array - items: &681 + items: &682 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102290,7 +102537,7 @@ paths: - title - created_at examples: - default: &710 + default: &713 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -102354,9 +102601,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: &682 + default: &683 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -102386,7 +102633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &683 + - &684 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102398,9 +102645,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 '404': *6 '304': *37 '403': *29 @@ -102423,7 +102670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *683 + - *684 responses: '204': description: Response @@ -102452,7 +102699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &711 + - &714 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -102477,11 +102724,11 @@ paths: type: array items: *71 examples: - default-response: *684 + default-response: *685 application/vnd.github.v3.star+json: schema: type: array - items: &712 + items: &715 title: Starred Repository description: Starred Repository type: object @@ -102637,8 +102884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -102666,8 +102913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102691,8 +102938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102764,7 +103011,7 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: default: value: @@ -102850,10 +103097,10 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: &686 + default-response: &689 summary: Default response value: login: octocat @@ -102888,7 +103135,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &687 + response-with-git-hub-plan-information: &690 summary: Response with GitHub plan information value: login: octocat @@ -102945,7 +103192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - name: user_id + - &687 + name: user_id description: The unique identifier of the user. in: path required: true @@ -103010,7 +103258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *685 + - *686 - *17 responses: '200': @@ -103033,6 +103281,116 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - *687 + - *262 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: *688 + examples: + table_view: + summary: Response for creating a table view + value: *273 + board_view: + summary: Response for creating a board view with filter + value: *273 + roadmap_view: + summary: Response for creating a roadmap view + value: *273 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -103059,11 +103417,11 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: *686 - response-with-git-hub-plan-information: *687 + default-response: *689 + response-with-git-hub-plan-information: *690 '404': *6 x-github: githubCloudOnly: false @@ -103113,8 +103471,8 @@ paths: required: - subject_digests examples: - default: *688 - withPredicateType: *689 + default: *691 + withPredicateType: *692 responses: '200': description: Response @@ -103167,7 +103525,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *690 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103372,7 +103730,7 @@ paths: initiator: type: string examples: - default: *385 + default: *386 '201': description: Response content: @@ -103413,7 +103771,7 @@ paths: type: array items: *244 examples: - default: *675 + default: *676 '403': *29 '401': *25 x-github: @@ -103797,9 +104155,9 @@ paths: application/json: schema: type: array - items: *666 + items: *667 examples: - default: *691 + default: *694 headers: Link: *59 x-github: @@ -103903,7 +104261,7 @@ paths: application/json: schema: *22 examples: - default: *520 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104027,7 +104385,7 @@ paths: - docker - nuget - container - - *674 + - *675 - *64 - *19 - *17 @@ -104040,10 +104398,10 @@ paths: type: array items: *244 examples: - default: *675 + default: *676 '403': *29 '401': *25 - '400': *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104073,7 +104431,7 @@ paths: application/json: schema: *244 examples: - default: *692 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104422,7 +104780,7 @@ paths: type: array items: *266 examples: - default: *693 + default: *696 headers: Link: *59 '304': *37 @@ -104482,7 +104840,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *694 + items: *697 required: - name - data_type @@ -104498,7 +104856,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *695 + iteration_configuration: *698 required: - name - data_type @@ -104520,8 +104878,8 @@ paths: value: name: Due date data_type: date - single_select_field: *696 - iteration_field: *697 + single_select_field: *699 + iteration_field: *700 responses: '201': description: Response @@ -104529,11 +104887,11 @@ paths: application/json: schema: *266 examples: - text_field: *698 - number_field: *699 - date_field: *700 - single_select_field: *701 - iteration_field: *702 + text_field: *701 + number_field: *702 + date_field: *703 + single_select_field: *704 + iteration_field: *705 '304': *37 '403': *29 '401': *25 @@ -104555,7 +104913,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *262 - - *703 + - *706 - *64 responses: '200': @@ -104564,7 +104922,7 @@ paths: application/json: schema: *266 examples: - default: *704 + default: *707 headers: Link: *59 '304': *37 @@ -104918,7 +105276,7 @@ paths: parameters: - *262 - *64 - - *705 + - *708 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -105193,7 +105551,7 @@ paths: - *114 - *116 - *115 - - *706 + - *709 - *117 responses: '200': @@ -105324,7 +105682,7 @@ paths: parameters: - *64 - *114 - - *707 + - *710 - *115 responses: '200': @@ -105423,9 +105781,9 @@ paths: - *114 - *116 - *115 - - *708 + - *711 - *117 - - *709 + - *712 responses: '200': description: Response when getting a billing usage summary @@ -105559,9 +105917,9 @@ paths: application/json: schema: type: array - items: *679 + items: *680 examples: - default: *680 + default: *681 headers: Link: *59 x-github: @@ -105591,9 +105949,9 @@ paths: application/json: schema: type: array - items: *681 + items: *682 examples: - default: *710 + default: *713 headers: Link: *59 x-github: @@ -105618,7 +105976,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *64 - - *711 + - *714 - *53 - *17 - *19 @@ -105630,11 +105988,11 @@ paths: schema: anyOf: - type: array - items: *712 + items: *715 - type: array items: *71 examples: - default-response: *684 + default-response: *685 headers: Link: *59 x-github: @@ -105793,7 +106151,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &713 + enterprise: &716 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -105851,7 +106209,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &714 + installation: &717 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -105870,7 +106228,7 @@ x-webhooks: required: - id - node_id - organization: &715 + organization: &718 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -105930,13 +106288,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &716 + repository: &719 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &746 + properties: &749 id: description: Unique identifier of the repository example: 42 @@ -106619,7 +106977,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &747 + required: &750 - archive_url - assignees_url - blobs_url @@ -106770,10 +107128,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -106849,11 +107207,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: &717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: &720 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -107076,11 +107434,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: *717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: *720 sender: *4 required: - action @@ -107263,11 +107621,11 @@ x-webhooks: - everyone required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: *717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: *720 sender: *4 required: - action @@ -107351,7 +107709,7 @@ x-webhooks: type: string enum: - completed - check_run: &719 + check_run: &722 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107442,7 +107800,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *718 + deployment: *721 details_url: example: https://example.com type: string @@ -107527,10 +107885,10 @@ x-webhooks: - output - app - pull_requests - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -107923,11 +108281,11 @@ x-webhooks: type: string enum: - created - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -108323,11 +108681,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 requested_action: description: The action requested by the user. type: object @@ -108732,11 +109090,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -109713,10 +110071,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -110410,10 +110768,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -111101,10 +111459,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -111270,7 +111628,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111415,20 +111773,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &720 + commit_oid: &723 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *713 - installation: *714 - organization: *715 - ref: &721 + enterprise: *716 + installation: *717 + organization: *718 + ref: &724 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -111593,7 +111951,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111823,12 +112181,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -111923,7 +112281,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112094,12 +112452,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -112265,7 +112623,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112431,12 +112789,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -112535,7 +112893,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112710,16 +113068,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *716 + repository: *719 sender: *4 required: - action @@ -112816,7 +113174,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112956,12 +113314,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -113127,7 +113485,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113272,10 +113630,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -113530,10 +113888,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -113613,18 +113971,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *715 - pusher_type: &722 + organization: *718 + pusher_type: &725 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &723 + ref: &726 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113634,7 +113992,7 @@ x-webhooks: enum: - tag - branch - repository: *716 + repository: *719 sender: *4 required: - ref @@ -113716,10 +114074,10 @@ x-webhooks: type: string enum: - created - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113804,9 +114162,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113883,10 +114241,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113963,10 +114321,10 @@ x-webhooks: type: string enum: - updated - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -114043,19 +114401,19 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - repository: *716 - organization: *715 + enterprise: *716 + installation: *717 + repository: *719 + organization: *718 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *277 + items: *278 old_property_values: type: array description: The old custom property values for the repository. - items: *277 + items: *278 required: - action - repository @@ -114131,18 +114489,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - pusher_type: *722 - ref: *723 + enterprise: *716 + installation: *717 + organization: *718 + pusher_type: *725 + ref: *726 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *716 + repository: *719 sender: *4 required: - ref @@ -114226,11 +114584,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114314,11 +114672,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114402,11 +114760,11 @@ x-webhooks: type: string enum: - created - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114488,11 +114846,11 @@ x-webhooks: type: string enum: - dismissed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114574,11 +114932,11 @@ x-webhooks: type: string enum: - fixed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114661,11 +115019,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114747,11 +115105,11 @@ x-webhooks: type: string enum: - reopened - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114828,9 +115186,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - key: &724 + enterprise: *716 + installation: *717 + key: &727 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114866,8 +115224,8 @@ x-webhooks: - verified - created_at - read_only - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -114944,11 +115302,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - key: *724 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + key: *727 + organization: *718 + repository: *719 sender: *4 required: - action @@ -115509,12 +115867,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: &728 + workflow: &731 title: Workflow type: object nullable: true @@ -116240,13 +116598,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *485 + deployment: *486 pull_requests: type: array - items: *571 - repository: *716 - organization: *715 - installation: *714 + items: *572 + repository: *719 + organization: *718 + installation: *717 sender: *4 responses: '200': @@ -116317,7 +116675,7 @@ x-webhooks: type: string enum: - approved - approver: &725 + approver: &728 type: object properties: avatar_url: @@ -116360,11 +116718,11 @@ x-webhooks: type: string comment: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - reviewers: &726 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + reviewers: &729 type: array items: type: object @@ -116443,7 +116801,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &727 + workflow_job_run: &730 type: object properties: conclusion: @@ -117174,18 +117532,18 @@ x-webhooks: type: string enum: - rejected - approver: *725 + approver: *728 comment: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - reviewers: *726 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + reviewers: *729 sender: *4 since: type: string - workflow_job_run: *727 + workflow_job_run: *730 workflow_job_runs: type: array items: @@ -117889,13 +118247,13 @@ x-webhooks: type: string enum: - requested - enterprise: *713 + enterprise: *716 environment: type: string - installation: *714 - organization: *715 - repository: *716 - requestor: &733 + installation: *717 + organization: *718 + repository: *719 + requestor: &736 title: User type: object nullable: true @@ -119794,12 +120152,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Deployment Workflow Run type: object @@ -120479,7 +120837,7 @@ x-webhooks: type: string enum: - answered - answer: &731 + answer: &734 type: object properties: author_association: @@ -120636,11 +120994,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120767,11 +121125,11 @@ x-webhooks: - from required: - category - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120854,11 +121212,11 @@ x-webhooks: type: string enum: - closed - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120940,7 +121298,7 @@ x-webhooks: type: string enum: - created - comment: &730 + comment: &733 type: object properties: author_association: @@ -121097,11 +121455,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121184,12 +121542,12 @@ x-webhooks: type: string enum: - deleted - comment: *730 - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + comment: *733 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121284,12 +121642,12 @@ x-webhooks: - from required: - body - comment: *730 - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + comment: *733 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121373,11 +121731,11 @@ x-webhooks: type: string enum: - created - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121459,11 +121817,11 @@ x-webhooks: type: string enum: - deleted - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121563,11 +121921,11 @@ x-webhooks: type: string required: - from - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121649,10 +122007,10 @@ x-webhooks: type: string enum: - labeled - discussion: *729 - enterprise: *713 - installation: *714 - label: &732 + discussion: *732 + enterprise: *716 + installation: *717 + label: &735 title: Label type: object properties: @@ -121684,8 +122042,8 @@ x-webhooks: - color - default - description - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121768,11 +122126,11 @@ x-webhooks: type: string enum: - locked - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121854,11 +122212,11 @@ x-webhooks: type: string enum: - pinned - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121940,11 +122298,11 @@ x-webhooks: type: string enum: - reopened - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122029,16 +122387,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *729 - new_repository: *716 + new_discussion: *732 + new_repository: *719 required: - new_discussion - new_repository - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122121,10 +122479,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *729 - old_answer: *731 - organization: *715 - repository: *716 + discussion: *732 + old_answer: *734 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122206,12 +122564,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *729 - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122294,11 +122652,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122380,11 +122738,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122457,7 +122815,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *713 + enterprise: *716 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123117,9 +123475,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - forkee @@ -123265,9 +123623,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pages: description: The pages that were updated. type: array @@ -123304,7 +123662,7 @@ x-webhooks: - action - sha - html_url - repository: *716 + repository: *719 sender: *4 required: - pages @@ -123380,10 +123738,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: &734 + organization: *718 + repositories: &737 description: An array of repository objects that the installation can access. type: array @@ -123409,8 +123767,8 @@ x-webhooks: - name - full_name - private - repository: *716 - requester: *733 + repository: *719 + requester: *736 sender: *4 required: - action @@ -123485,11 +123843,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -123565,11 +123923,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -123645,10 +124003,10 @@ x-webhooks: type: string enum: - added - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories_added: &735 + organization: *718 + repositories_added: &738 description: An array of repository objects, which were added to the installation. type: array @@ -123694,15 +124052,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *716 - repository_selection: &736 + repository: *719 + repository_selection: &739 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *733 + requester: *736 sender: *4 required: - action @@ -123781,10 +124139,10 @@ x-webhooks: type: string enum: - removed - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories_added: *735 + organization: *718 + repositories_added: *738 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123811,9 +124169,9 @@ x-webhooks: - name - full_name - private - repository: *716 - repository_selection: *736 - requester: *733 + repository: *719 + repository_selection: *739 + requester: *736 sender: *4 required: - action @@ -123892,11 +124250,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -124074,10 +124432,10 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 target_type: type: string @@ -124156,11 +124514,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -124412,8 +124770,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125207,8 +125565,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125557,8 +125915,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -125638,7 +125996,7 @@ x-webhooks: type: string enum: - deleted - comment: &737 + comment: &740 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -125803,8 +126161,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126594,8 +126952,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126946,8 +127304,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -127027,7 +127385,7 @@ x-webhooks: type: string enum: - edited - changes: &766 + changes: &769 description: The changes to the comment. type: object properties: @@ -127039,9 +127397,9 @@ x-webhooks: type: string required: - from - comment: *737 - enterprise: *713 - installation: *714 + comment: *740 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127834,8 +128192,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128184,8 +128542,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128275,9 +128633,9 @@ x-webhooks: type: number blocking_issue: *75 blocking_issue_repo: *71 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128366,9 +128724,9 @@ x-webhooks: type: number blocking_issue: *75 blocking_issue_repo: *71 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128456,9 +128814,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128547,9 +128905,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128629,10 +128987,10 @@ x-webhooks: type: string enum: - assigned - assignee: *733 - enterprise: *713 - installation: *714 - issue: &740 + assignee: *736 + enterprise: *716 + installation: *717 + issue: &743 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129421,11 +129779,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129542,8 +129900,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -129623,8 +129981,8 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130418,11 +130776,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130674,8 +131032,8 @@ x-webhooks: required: - state - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -130754,8 +131112,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131540,11 +131898,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131660,8 +132018,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -131740,8 +132098,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132548,11 +132906,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132647,7 +133005,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &738 + milestone: &741 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132785,8 +133143,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -132885,8 +133243,8 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133675,11 +134033,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133796,9 +134154,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *732 - organization: *715 - repository: *716 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -133878,8 +134236,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134667,11 +135025,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134788,9 +135146,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *732 - organization: *715 - repository: *716 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -134870,8 +135228,8 @@ x-webhooks: type: string enum: - locked - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135683,11 +136041,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135781,8 +136139,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -135861,8 +136219,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136668,11 +137026,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136766,9 +137124,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *738 - organization: *715 - repository: *716 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -137636,11 +137994,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138202,8 +138560,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138992,11 +139350,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139112,8 +139470,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -139193,9 +139551,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *713 - installation: *714 - issue: &739 + enterprise: *716 + installation: *717 + issue: &742 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -139978,11 +140336,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140098,8 +140456,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -140178,8 +140536,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140989,11 +141347,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141088,8 +141446,8 @@ x-webhooks: user_view_type: type: string type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -141955,11 +142313,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142543,11 +142901,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *713 - installation: *714 - issue: *739 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *742 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142627,12 +142985,12 @@ x-webhooks: type: string enum: - typed - enterprise: *713 - installation: *714 - issue: *740 + enterprise: *716 + installation: *717 + issue: *743 type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142713,7 +143071,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &769 + assignee: &772 title: User type: object nullable: true @@ -142783,11 +143141,11 @@ x-webhooks: required: - login - id - enterprise: *713 - installation: *714 - issue: *740 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *743 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142866,12 +143224,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *713 - installation: *714 - issue: *740 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *743 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142951,8 +143309,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143762,11 +144120,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143860,8 +144218,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -143941,11 +144299,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *713 - installation: *714 - issue: *739 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *742 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144024,12 +144382,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *713 - installation: *714 - issue: *740 + enterprise: *716 + installation: *717 + issue: *743 type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144109,11 +144467,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144191,11 +144549,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144305,11 +144663,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144391,9 +144749,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: &741 + enterprise: *716 + installation: *717 + marketplace_purchase: &744 title: Marketplace Purchase type: object required: @@ -144476,8 +144834,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *715 - previous_marketplace_purchase: &742 + organization: *718 + previous_marketplace_purchase: &745 title: Marketplace Purchase type: object properties: @@ -144557,7 +144915,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144637,10 +144995,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144723,7 +145081,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144805,10 +145163,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144890,7 +145248,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144971,8 +145329,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 marketplace_purchase: title: Marketplace Purchase type: object @@ -145054,9 +145412,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *715 - previous_marketplace_purchase: *742 - repository: *716 + organization: *718 + previous_marketplace_purchase: *745 + repository: *719 sender: *4 required: - action @@ -145136,12 +145494,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 - previous_marketplace_purchase: *742 - repository: *716 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 + previous_marketplace_purchase: *745 + repository: *719 sender: *4 required: - action @@ -145243,11 +145601,11 @@ x-webhooks: type: string required: - to - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145347,11 +145705,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145430,11 +145788,11 @@ x-webhooks: type: string enum: - removed - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145512,11 +145870,11 @@ x-webhooks: type: string enum: - added - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145592,7 +145950,7 @@ x-webhooks: required: - login - id - team: &743 + team: &746 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145815,11 +146173,11 @@ x-webhooks: type: string enum: - removed - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145896,7 +146254,7 @@ x-webhooks: required: - login - id - team: *743 + team: *746 required: - action - scope @@ -145978,8 +146336,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *714 - merge_group: &745 + installation: *717 + merge_group: &748 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145998,15 +146356,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *744 + head_commit: *747 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146092,10 +146450,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *714 - merge_group: *745 - organization: *715 - repository: *716 + installation: *717 + merge_group: *748 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146168,7 +146526,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 + enterprise: *716 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146277,16 +146635,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *714 - organization: *715 + installation: *717 + organization: *718 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -146367,11 +146725,11 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146450,9 +146808,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - milestone: &748 + enterprise: *716 + installation: *717 + milestone: &751 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146589,8 +146947,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146669,11 +147027,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146783,11 +147141,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146867,11 +147225,11 @@ x-webhooks: type: string enum: - opened - enterprise: *713 - installation: *714 - milestone: *748 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *751 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146950,11 +147308,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *733 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + blocked_user: *736 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147033,11 +147391,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *733 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + blocked_user: *736 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147116,9 +147474,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - membership: &749 + enterprise: *716 + installation: *717 + membership: &752 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147225,8 +147583,8 @@ x-webhooks: - role - organization_url - user - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147304,11 +147662,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147387,8 +147745,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147504,10 +147862,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 - user: *733 + user: *736 required: - action - invitation @@ -147585,11 +147943,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147676,11 +148034,11 @@ x-webhooks: properties: from: type: string - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147756,9 +148114,9 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 package: description: Information about the package. type: object @@ -148257,7 +148615,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &750 + items: &753 title: Ruby Gems metadata type: object properties: @@ -148352,7 +148710,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -148428,9 +148786,9 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 package: description: Information about the package. type: object @@ -148783,7 +149141,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *750 + items: *753 source_url: type: string format: uri @@ -148853,7 +149211,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -149030,12 +149388,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *713 + enterprise: *716 id: type: integer - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - id @@ -149112,7 +149470,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &751 + personal_access_token_request: &754 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149258,10 +149616,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *713 - organization: *715 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149338,11 +149696,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *751 - enterprise: *713 - organization: *715 + personal_access_token_request: *754 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149418,11 +149776,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *751 - enterprise: *713 - organization: *715 + personal_access_token_request: *754 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149497,11 +149855,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *751 - organization: *715 - enterprise: *713 + personal_access_token_request: *754 + organization: *718 + enterprise: *716 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149606,7 +149964,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *752 + last_response: *755 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149638,8 +149996,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 zen: description: Random string of GitHub zen. @@ -149884,10 +150242,10 @@ x-webhooks: - from required: - note - enterprise: *713 - installation: *714 - organization: *715 - project_card: &753 + enterprise: *716 + installation: *717 + organization: *718 + project_card: &756 title: Project Card type: object properties: @@ -150006,7 +150364,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -150087,11 +150445,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project_card: *753 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_card: *756 + repository: *719 sender: *4 required: - action @@ -150171,9 +150529,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 project_card: title: Project Card type: object @@ -150301,8 +150659,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -150396,11 +150754,11 @@ x-webhooks: - from required: - note - enterprise: *713 - installation: *714 - organization: *715 - project_card: *753 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_card: *756 + repository: *719 sender: *4 required: - action @@ -150494,9 +150852,9 @@ x-webhooks: - from required: - column_id - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 project_card: allOf: - title: Project Card @@ -150686,7 +151044,7 @@ x-webhooks: type: string required: - after_id - repository: *716 + repository: *719 sender: *4 required: - action @@ -150766,10 +151124,10 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - organization: *715 - project: &755 + enterprise: *716 + installation: *717 + organization: *718 + project: &758 title: Project type: object properties: @@ -150893,7 +151251,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -150973,10 +151331,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project_column: &754 + enterprise: *716 + installation: *717 + organization: *718 + project_column: &757 title: Project Column type: object properties: @@ -151015,7 +151373,7 @@ x-webhooks: - name - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -151094,18 +151452,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -151195,11 +151553,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 + repository: *719 sender: *4 required: - action @@ -151279,11 +151637,11 @@ x-webhooks: type: string enum: - moved - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 + repository: *719 sender: *4 required: - action @@ -151363,11 +151721,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151447,18 +151805,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - project: *755 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -151560,11 +151918,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151643,11 +152001,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151728,8 +152086,8 @@ x-webhooks: type: string enum: - closed - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -151811,8 +152169,8 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -151894,8 +152252,8 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152013,8 +152371,8 @@ x-webhooks: type: string to: type: string - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152098,7 +152456,7 @@ x-webhooks: type: string enum: - archived - changes: &759 + changes: &762 type: object properties: archived_at: @@ -152112,9 +152470,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *714 - organization: *715 - projects_v2_item: &756 + installation: *717 + organization: *718 + projects_v2_item: &759 title: Projects v2 Item description: An item belonging to a project type: object @@ -152249,9 +152607,9 @@ x-webhooks: nullable: true to: type: string - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152333,9 +152691,9 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152416,9 +152774,9 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152524,7 +152882,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &757 + - &760 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152546,7 +152904,7 @@ x-webhooks: required: - id - name - - &758 + - &761 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152580,8 +152938,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *757 - - *758 + - *760 + - *761 required: - field_value - type: object @@ -152597,9 +152955,9 @@ x-webhooks: nullable: true required: - body - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152694,9 +153052,9 @@ x-webhooks: to: type: string nullable: true - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152779,10 +153137,10 @@ x-webhooks: type: string enum: - restored - changes: *759 - installation: *714 - organization: *715 - projects_v2_item: *756 + changes: *762 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152864,8 +153222,8 @@ x-webhooks: type: string enum: - reopened - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152947,14 +153305,14 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 - projects_v2_status_update: &762 + installation: *717 + organization: *718 + projects_v2_status_update: &765 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *760 - required: *761 + properties: *763 + required: *764 sender: *4 required: - action @@ -153035,9 +153393,9 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 - projects_v2_status_update: *762 + installation: *717 + organization: *718 + projects_v2_status_update: *765 sender: *4 required: - action @@ -153173,9 +153531,9 @@ x-webhooks: type: string format: date nullable: true - installation: *714 - organization: *715 - projects_v2_status_update: *762 + installation: *717 + organization: *718 + projects_v2_status_update: *765 sender: *4 required: - action @@ -153246,10 +153604,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - repository @@ -153326,13 +153684,13 @@ x-webhooks: type: string enum: - assigned - assignee: *733 - enterprise: *713 - installation: *714 - number: &763 + assignee: *736 + enterprise: *716 + installation: *717 + number: &766 description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -155615,7 +155973,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -155697,11 +156055,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -157979,7 +158337,7 @@ x-webhooks: - draft reason: type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -158061,11 +158419,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -160343,7 +160701,7 @@ x-webhooks: - draft reason: type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -160425,13 +160783,13 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: &764 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: &767 allOf: - - *571 + - *572 - type: object properties: allow_auto_merge: @@ -160493,7 +160851,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *716 + repository: *719 sender: *4 required: - action @@ -160574,12 +160932,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -160659,11 +161017,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *713 - milestone: *555 - number: *763 - organization: *715 - pull_request: &765 + enterprise: *716 + milestone: *556 + number: *766 + organization: *718 + pull_request: &768 title: Pull Request type: object properties: @@ -162926,7 +163284,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -163005,11 +163363,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -165291,7 +165649,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *716 + repository: *719 sender: *4 required: - action @@ -165415,12 +165773,12 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -165500,11 +165858,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -167771,7 +168129,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -167851,11 +168209,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *713 - installation: *714 - label: *732 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + label: *735 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -170137,7 +170495,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -170218,10 +170576,10 @@ x-webhooks: type: string enum: - locked - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -172501,7 +172859,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -172581,12 +172939,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *713 - milestone: *555 - number: *763 - organization: *715 - pull_request: *765 - repository: *716 + enterprise: *716 + milestone: *556 + number: *766 + organization: *718 + pull_request: *768 + repository: *719 sender: *4 required: - action @@ -172665,12 +173023,12 @@ x-webhooks: type: string enum: - opened - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -172751,12 +173109,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -172836,12 +173194,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -173207,9 +173565,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -175379,7 +175737,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -175459,7 +175817,7 @@ x-webhooks: type: string enum: - deleted - comment: &767 + comment: &770 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -175744,9 +176102,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -177904,7 +178262,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -177984,11 +178342,11 @@ x-webhooks: type: string enum: - edited - changes: *766 - comment: *767 - enterprise: *713 - installation: *714 - organization: *715 + changes: *769 + comment: *770 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -180149,7 +180507,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -180230,9 +180588,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -182405,7 +182763,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 review: description: The review that was affected. type: object @@ -182652,9 +183010,9 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -184708,8 +185066,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 - review: &768 + repository: *719 + review: &771 description: The review that was affected. type: object properties: @@ -184942,12 +185300,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -187230,7 +187588,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_reviewer: title: User type: object @@ -187314,12 +187672,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -189609,7 +189967,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_team: title: Team description: Groups of organization members that gives permissions @@ -189801,12 +190159,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -192091,7 +192449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_reviewer: title: User type: object @@ -192176,12 +192534,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -194457,7 +194815,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194638,9 +194996,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -196815,8 +197173,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 - review: *768 + repository: *719 + review: *771 sender: *4 required: - action @@ -196896,9 +197254,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -198968,7 +199326,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 sender: *4 thread: type: object @@ -199355,9 +199713,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -201413,7 +201771,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 sender: *4 thread: type: object @@ -201803,10 +202161,10 @@ x-webhooks: type: string before: type: string - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -204077,7 +204435,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -204159,11 +204517,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *769 - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + assignee: *772 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -206446,7 +206804,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -206525,11 +206883,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *713 - installation: *714 - label: *732 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + label: *735 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -208802,7 +209160,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -208883,10 +209241,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -211151,7 +211509,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -211351,7 +211709,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *713 + enterprise: *716 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211443,8 +211801,8 @@ x-webhooks: - url - author - committer - installation: *714 - organization: *715 + installation: *717 + organization: *718 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212019,9 +212377,9 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 registry_package: type: object properties: @@ -212467,7 +212825,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *750 + items: *753 summary: type: string tag_name: @@ -212521,7 +212879,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -212599,9 +212957,9 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 registry_package: type: object properties: @@ -212909,7 +213267,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *750 + items: *753 summary: type: string tag_name: @@ -212958,7 +213316,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -213035,10 +213393,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - release: &770 + enterprise: *716 + installation: *717 + organization: *718 + release: &773 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213356,7 +213714,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *716 + repository: *719 sender: *4 required: - action @@ -213433,11 +213791,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -213554,11 +213912,11 @@ x-webhooks: type: boolean required: - to - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -213636,9 +213994,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -213960,7 +214318,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *716 + repository: *719 sender: *4 required: - action @@ -214036,10 +214394,10 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - release: &771 + enterprise: *716 + installation: *717 + organization: *718 + release: &774 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214358,7 +214716,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *716 + repository: *719 sender: *4 required: - action @@ -214434,11 +214792,11 @@ x-webhooks: type: string enum: - released - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -214514,11 +214872,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *713 - installation: *714 - organization: *715 - release: *771 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *774 + repository: *719 sender: *4 required: - action @@ -214594,11 +214952,11 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_advisory: *635 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_advisory: *636 sender: *4 required: - action @@ -214674,11 +215032,11 @@ x-webhooks: type: string enum: - reported - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_advisory: *635 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_advisory: *636 sender: *4 required: - action @@ -214754,10 +215112,10 @@ x-webhooks: type: string enum: - archived - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -214834,10 +215192,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -214915,10 +215273,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215002,10 +215360,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215117,10 +215475,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215192,10 +215550,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 status: type: string @@ -215276,10 +215634,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215356,10 +215714,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215453,10 +215811,10 @@ x-webhooks: - name required: - repository - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215536,11 +215894,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 sender: *4 required: - action @@ -215618,11 +215976,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 sender: *4 required: - action @@ -215700,11 +216058,11 @@ x-webhooks: type: string enum: - edited - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 changes: type: object properties: @@ -215723,16 +216081,16 @@ x-webhooks: properties: added: type: array - items: *281 + items: *282 deleted: type: array - items: *281 + items: *282 updated: type: array items: type: object properties: - condition: *281 + condition: *282 changes: type: object properties: @@ -215765,16 +216123,16 @@ x-webhooks: properties: added: type: array - items: *591 + items: *592 deleted: type: array - items: *591 + items: *592 updated: type: array items: type: object properties: - rule: *591 + rule: *592 changes: type: object properties: @@ -216008,10 +216366,10 @@ x-webhooks: - from required: - owner - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216089,10 +216447,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216170,7 +216528,7 @@ x-webhooks: type: string enum: - create - alert: &772 + alert: &775 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216291,10 +216649,10 @@ x-webhooks: type: string enum: - open - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216500,10 +216858,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216581,11 +216939,11 @@ x-webhooks: type: string enum: - reopen - alert: *772 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216784,10 +217142,10 @@ x-webhooks: enum: - fixed - open - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216865,7 +217223,7 @@ x-webhooks: type: string enum: - assigned - alert: &773 + alert: &776 type: object properties: number: *169 @@ -216984,10 +217342,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217065,11 +217423,11 @@ x-webhooks: type: string enum: - created - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217150,11 +217508,11 @@ x-webhooks: type: string enum: - created - alert: *773 - installation: *714 - location: *774 - organization: *715 - repository: *716 + alert: *776 + installation: *717 + location: *777 + organization: *718 + repository: *719 sender: *4 required: - location @@ -217392,11 +217750,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217474,11 +217832,11 @@ x-webhooks: type: string enum: - reopened - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217556,11 +217914,11 @@ x-webhooks: type: string enum: - resolved - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217638,12 +217996,12 @@ x-webhooks: type: string enum: - unassigned - alert: *773 + alert: *776 assignee: *4 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217721,11 +218079,11 @@ x-webhooks: type: string enum: - validated - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217851,10 +218209,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *716 - enterprise: *713 - installation: *714 - organization: *715 + repository: *719 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -217932,11 +218290,11 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - security_advisory: &775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + security_advisory: &778 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218119,11 +218477,11 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - security_advisory: *775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + security_advisory: *778 sender: *4 required: - action @@ -218196,10 +218554,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218383,11 +218741,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *280 - enterprise: *713 - installation: *714 - organization: *715 - repository: *327 + security_and_analysis: *281 + enterprise: *716 + installation: *717 + organization: *718 + repository: *328 sender: *4 required: - changes @@ -218465,12 +218823,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: &776 + sponsorship: &779 type: object properties: created_at: @@ -218771,12 +219129,12 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - sponsorship @@ -218864,12 +219222,12 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -218946,17 +219304,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &777 + effective_date: &780 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - sponsorship @@ -219030,7 +219388,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &778 + changes: &781 type: object properties: tier: @@ -219074,13 +219432,13 @@ x-webhooks: - from required: - tier - effective_date: *777 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + effective_date: *780 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -219157,13 +219515,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *778 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + changes: *781 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -219237,10 +219595,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219323,10 +219681,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219746,15 +220104,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *713 + enterprise: *716 id: description: The unique identifier of the status. type: integer - installation: *714 + installation: *717 name: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 sha: description: The Commit SHA. @@ -219869,9 +220227,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -219961,9 +220319,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220053,9 +220411,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220145,9 +220503,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220224,12 +220582,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - team: &779 + team: &782 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220452,9 +220810,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -220912,7 +221270,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -220988,9 +221346,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -221448,7 +221806,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -221525,9 +221883,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -221985,7 +222343,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -222129,9 +222487,9 @@ x-webhooks: - from required: - permissions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -222589,7 +222947,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - changes @@ -222667,9 +223025,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -223127,7 +223485,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -223203,10 +223561,10 @@ x-webhooks: type: string enum: - started - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -223279,16 +223637,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *713 + enterprise: *716 inputs: type: object nullable: true additionalProperties: true - installation: *714 - organization: *715 + installation: *717 + organization: *718 ref: type: string - repository: *716 + repository: *719 sender: *4 workflow: type: string @@ -223370,10 +223728,10 @@ x-webhooks: type: string enum: - completed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: allOf: @@ -223610,7 +223968,7 @@ x-webhooks: type: string required: - conclusion - deployment: *485 + deployment: *486 required: - action - repository @@ -223689,10 +224047,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: allOf: @@ -223952,7 +224310,7 @@ x-webhooks: required: - status - steps - deployment: *485 + deployment: *486 required: - action - repository @@ -224031,10 +224389,10 @@ x-webhooks: type: string enum: - queued - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: type: object @@ -224169,7 +224527,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *486 required: - action - repository @@ -224248,10 +224606,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: type: object @@ -224387,7 +224745,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *486 required: - action - repository @@ -224467,12 +224825,12 @@ x-webhooks: type: string enum: - completed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object @@ -225471,12 +225829,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object @@ -226460,12 +226818,12 @@ x-webhooks: type: string enum: - requested - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index f88151a98..e239470ed 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -171050,6 +171050,736 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -589180,6 +589910,736 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index cd5e9112e..2ccf03642 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &313 + type: &314 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &637 + - &638 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -2891,7 +2891,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &278 + properties: &279 id: description: Unique identifier of the repository example: 42 @@ -3329,7 +3329,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &279 + required: &280 - archive_url - assignees_url - blobs_url @@ -8796,7 +8796,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &475 + - &476 name: has in: query description: |- @@ -8912,7 +8912,7 @@ paths: - unknown - direct - transitive - security_advisory: &476 + security_advisory: &477 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9174,14 +9174,14 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &477 + auto_dismissed_at: &478 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &478 + dismissal_request: &479 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -10543,7 +10543,7 @@ paths: properties: action: type: string - discussion: &729 + discussion: &732 title: Discussion description: A Discussion in a repository. type: object @@ -10910,7 +10910,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &530 id: type: integer format: int64 @@ -11287,7 +11287,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &649 + sub_issues_summary: &650 title: Sub-issues Summary type: object properties: @@ -11307,7 +11307,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &650 + issue_dependencies_summary: &651 title: Issue Dependencies Summary type: object properties: @@ -11326,7 +11326,7 @@ paths: - total_blocking issue_field_values: type: array - items: &651 + items: &652 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11387,7 +11387,7 @@ paths: - node_id - data_type - value - required: &530 + required: &531 - assignee - closed_at - comments @@ -11425,7 +11425,7 @@ paths: action: type: string issue: *75 - comment: &525 + comment: &526 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12144,7 +12144,7 @@ paths: type: string release: allOf: - - &582 + - &583 title: Release description: A release. type: object @@ -12215,7 +12215,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &584 title: Release Asset description: Data related to a release. type: object @@ -12806,7 +12806,7 @@ paths: url: type: string format: uri - user: &657 + user: &658 title: Public User description: Public User type: object @@ -16111,14 +16111,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &324 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16180,7 +16180,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &328 + '301': &329 description: Moved permanently content: application/json: @@ -16202,7 +16202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &559 name: all description: If `true`, show notifications marked as read. in: query @@ -16210,7 +16210,7 @@ paths: schema: type: boolean default: false - - &559 + - &560 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16220,7 +16220,7 @@ paths: type: boolean default: false - *82 - - &560 + - &561 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16532,7 +16532,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &280 + security_and_analysis: &281 nullable: true type: object properties: @@ -16694,7 +16694,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &562 value: - id: '1' repository: @@ -18201,7 +18201,7 @@ paths: required: false schema: type: string - - &706 + - &709 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -18347,7 +18347,7 @@ paths: parameters: - *68 - *114 - - &707 + - &710 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18459,7 +18459,7 @@ paths: - *114 - *116 - *115 - - &708 + - &711 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -18467,7 +18467,7 @@ paths: schema: type: string - *117 - - &709 + - &712 name: sku description: The SKU to query for usage. in: query @@ -19369,7 +19369,7 @@ paths: type: integer repository_cache_usages: type: array - items: &335 + items: &336 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20561,7 +20561,7 @@ paths: - all - local_only - selected - selected_actions_url: &341 + selected_actions_url: &342 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -20644,7 +20644,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &346 type: object properties: days: @@ -20686,7 +20686,7 @@ paths: required: true content: application/json: - schema: &346 + schema: &347 type: object properties: days: @@ -20743,7 +20743,7 @@ paths: required: - approval_policy examples: - default: &347 + default: &348 value: approval_policy: first_time_contributors '404': *6 @@ -20802,7 +20802,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &349 type: object required: - run_workflows_from_fork_pull_requests @@ -20856,7 +20856,7 @@ paths: required: true content: application/json: - schema: &349 + schema: &350 type: object required: - run_workflows_from_fork_pull_requests @@ -21491,7 +21491,7 @@ paths: description: Response content: application/json: - schema: &350 + schema: &351 type: object properties: default_workflow_permissions: &144 @@ -21542,7 +21542,7 @@ paths: required: false content: application/json: - schema: &351 + schema: &352 type: object properties: default_workflow_permissions: *144 @@ -22031,7 +22031,7 @@ paths: type: array items: *151 examples: - default: &660 + default: &661 value: total_count: 1 repositories: @@ -22673,7 +22673,7 @@ paths: application/json: schema: type: array - items: &352 + items: &353 title: Runner Application description: Runner Application type: object @@ -22698,7 +22698,7 @@ paths: - download_url - filename examples: - default: &353 + default: &354 value: - os: osx architecture: x64 @@ -22784,7 +22784,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &354 + '201': &355 description: Response content: application/json: @@ -22895,7 +22895,7 @@ paths: - token - expires_at examples: - default: &355 + default: &356 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22934,7 +22934,7 @@ paths: application/json: schema: *155 examples: - default: &356 + default: &357 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22968,7 +22968,7 @@ paths: application/json: schema: *153 examples: - default: &357 + default: &358 value: id: 23 name: MBP @@ -23194,7 +23194,7 @@ paths: - *68 - *152 responses: - '200': &358 + '200': &359 description: Response content: application/json: @@ -23251,7 +23251,7 @@ paths: parameters: - *68 - *152 - - &359 + - &360 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23381,7 +23381,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &372 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23410,7 +23410,7 @@ paths: - key_id - key examples: - default: &372 + default: &373 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23823,7 +23823,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *68 - - &340 + - &341 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24960,12 +24960,12 @@ paths: required: - subject_digests examples: - default: &688 + default: &691 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &689 + withPredicateType: &692 value: subject_digests: - sha256:abc123 @@ -25023,7 +25023,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &690 + default: &693 value: attestations_subject_digests: - sha256:abc: @@ -25372,7 +25372,7 @@ paths: initiator: type: string examples: - default: &385 + default: &386 value: attestations: - bundle: @@ -26301,7 +26301,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *68 - - &410 + - &411 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -26311,7 +26311,7 @@ paths: schema: &176 type: string description: The name of the tool used to generate the code scanning analysis. - - &411 + - &412 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -26334,7 +26334,7 @@ paths: be returned. in: query required: false - schema: &413 + schema: &414 type: string description: State of a code scanning alert. enum: @@ -26357,7 +26357,7 @@ paths: be returned. in: query required: false - schema: &414 + schema: &415 type: string description: Severity of a code scanning alert. enum: @@ -26391,7 +26391,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: &415 + instances_url: &416 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -26414,7 +26414,7 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: &416 + dismissed_reason: &417 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -26423,13 +26423,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &417 + dismissed_comment: &418 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &418 + rule: &419 type: object properties: id: @@ -26482,7 +26482,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &419 + tool: &420 type: object properties: name: *176 @@ -26492,26 +26492,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *177 - most_recent_instance: &420 + most_recent_instance: &421 type: object properties: - ref: &412 + ref: &413 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &430 + analysis_key: &431 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &431 + environment: &432 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &432 + category: &433 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -26525,7 +26525,7 @@ paths: properties: text: type: string - location: &433 + location: &434 type: object description: Describe a region within a file for the alert. properties: @@ -26546,7 +26546,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &434 + items: &435 type: string description: A classification of the file. For example to identify it as generated. @@ -27836,7 +27836,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &446 + properties: &447 name: type: string description: The name of the machine. @@ -27878,7 +27878,7 @@ paths: - ready - in_progress nullable: true - required: &447 + required: &448 - name - display_name - operating_system @@ -28746,7 +28746,7 @@ paths: - updated_at - visibility examples: - default: &448 + default: &449 value: total_count: 2 secrets: @@ -28784,7 +28784,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28813,7 +28813,7 @@ paths: - key_id - key examples: - default: &450 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28845,7 +28845,7 @@ paths: application/json: schema: *185 examples: - default: &452 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -29843,7 +29843,7 @@ paths: application/json: schema: type: array - items: &318 + items: &319 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -30150,7 +30150,7 @@ paths: - date additionalProperties: true examples: - default: &319 + default: &320 value: - date: '2024-06-24' total_active_users: 24 @@ -30252,7 +30252,7 @@ paths: '500': *111 '403': *29 '404': *6 - '422': &320 + '422': &321 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -30458,7 +30458,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &482 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30475,7 +30475,7 @@ paths: - key_id - key examples: - default: &482 + default: &483 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32275,7 +32275,7 @@ paths: application/json: schema: *22 examples: - default: &520 + default: &521 value: id: 1 account: @@ -32500,7 +32500,7 @@ paths: required: true content: application/json: - schema: &521 + schema: &522 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -33353,7 +33353,7 @@ paths: application/json: schema: *231 examples: - default: &445 + default: &446 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -34602,7 +34602,7 @@ paths: parameters: - *68 - *238 - - &673 + - &674 name: repo_name description: repo_name parameter in: path @@ -35347,7 +35347,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &314 + items: &315 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -35641,7 +35641,7 @@ paths: - nuget - container - *68 - - &674 + - &675 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35682,7 +35682,7 @@ paths: default: *245 '403': *29 '401': *25 - '400': &676 + '400': &677 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -37474,7 +37474,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &760 + properties: &763 id: type: number description: The unique identifier of the status update. @@ -37522,7 +37522,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &761 + required: &764 - id - node_id - created_at @@ -37736,7 +37736,7 @@ paths: content: oneOf: - *75 - - &462 + - &463 title: Pull Request Simple description: Pull Request Simple type: object @@ -37965,7 +37965,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: &568 + auto_merge: &569 title: Auto merge description: The status of auto merging a pull request. type: object @@ -38340,7 +38340,7 @@ paths: - updated_at - project_url examples: - default: &693 + default: &696 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38517,7 +38517,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &694 + items: &697 type: object properties: name: @@ -38553,7 +38553,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &695 + iteration_configuration: &698 type: object description: The configuration for iteration fields. properties: @@ -38602,7 +38602,7 @@ paths: value: name: Due date data_type: date - single_select_field: &696 + single_select_field: &699 summary: Create a single select field value: name: Priority @@ -38629,7 +38629,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &697 + iteration_field: &700 summary: Create an iteration field value: name: Sprint @@ -38655,7 +38655,7 @@ paths: application/json: schema: *266 examples: - text_field: &698 + text_field: &701 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -38664,7 +38664,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &699 + number_field: &702 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -38673,7 +38673,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &700 + date_field: &703 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -38682,7 +38682,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &701 + single_select_field: &704 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -38716,7 +38716,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &702 + iteration_field: &705 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -38762,7 +38762,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *262 - - &703 + - &706 name: field_id description: The unique identifier of the field. in: path @@ -38777,7 +38777,7 @@ paths: application/json: schema: *266 examples: - default: &704 + default: &707 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -39889,6 +39889,253 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - *68 + - *262 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: &688 + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element + is a tuple of [field_id, direction] where direction is "asc" + or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping + (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by + examples: + table_view: + summary: Response for creating a table view + value: &273 + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 + board_view: + summary: Response for creating a board view with filter + value: *273 + roadmap_view: + summary: Response for creating a roadmap view + value: *273 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -39903,7 +40150,7 @@ paths: parameters: - *262 - *68 - - &705 + - &708 name: view_number description: The number that identifies the project view. in: path @@ -39970,7 +40217,7 @@ paths: application/json: schema: type: array - items: &273 + items: &274 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -40035,7 +40282,7 @@ paths: - property_name - value_type examples: - default: &274 + default: &275 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40094,7 +40341,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *273 + items: *274 minItems: 1 maxItems: 100 required: @@ -40124,9 +40371,9 @@ paths: application/json: schema: type: array - items: *273 + items: *274 examples: - default: *274 + default: *275 '403': *29 '404': *6 x-github: @@ -40148,7 +40395,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *68 - - &275 + - &276 name: custom_property_name description: The custom property name in: path @@ -40160,9 +40407,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: &276 + default: &277 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -40197,7 +40444,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *68 - - *275 + - *276 requestBody: required: true content: @@ -40265,9 +40512,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: *276 + default: *277 '403': *29 '404': *6 x-github: @@ -40291,7 +40538,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *68 - - *275 + - *276 responses: '204': *182 '403': *29 @@ -40352,7 +40599,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &277 + items: &278 title: Custom Property Value description: Custom property name and associated value type: object @@ -40439,7 +40686,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *277 + items: *278 required: - repository_names - properties @@ -40833,7 +41080,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &328 title: Full Repository description: Full Repository type: object @@ -41110,8 +41357,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *278 - required: *279 + properties: *279 + required: *280 nullable: true temp_clone_token: type: string @@ -41226,7 +41473,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &467 + properties: &468 url: type: string format: uri @@ -41242,12 +41489,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &468 + required: &469 - url - key - name - html_url - security_and_analysis: *280 + security_and_analysis: *281 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41331,7 +41578,7 @@ paths: - network_count - subscribers_count examples: - default: &329 + default: &330 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41852,7 +42099,7 @@ paths: - *68 - *17 - *19 - - &590 + - &591 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41870,7 +42117,7 @@ paths: application/json: schema: type: array - items: &307 + items: &308 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41905,7 +42152,7 @@ paths: source: type: string description: The name of the source - enforcement: &283 + enforcement: &284 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41918,7 +42165,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &284 + items: &285 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41988,7 +42235,7 @@ paths: conditions: nullable: true anyOf: - - &281 + - &282 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -42012,7 +42259,7 @@ paths: match. items: type: string - - &285 + - &286 title: Organization ruleset conditions type: object description: |- @@ -42026,7 +42273,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -42060,7 +42307,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -42082,7 +42329,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *281 + - *282 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -42095,7 +42342,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &282 + items: &283 title: Repository ruleset property targeting definition type: object @@ -42128,17 +42375,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *282 + items: *283 required: - repository_property rules: type: array - items: &591 + items: &592 title: Repository Rule type: object description: A repository rule. oneOf: - - &286 + - &287 title: creation description: Only allow users with bypass permission to create matching refs. @@ -42150,7 +42397,7 @@ paths: type: string enum: - creation - - &287 + - &288 title: update description: Only allow users with bypass permission to update matching refs. @@ -42171,7 +42418,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &288 + - &289 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -42183,7 +42430,7 @@ paths: type: string enum: - deletion - - &289 + - &290 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -42195,7 +42442,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &590 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42273,7 +42520,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &290 + - &291 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -42297,7 +42544,7 @@ paths: type: string required: - required_deployment_environments - - &291 + - &292 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -42309,7 +42556,7 @@ paths: type: string enum: - required_signatures - - &292 + - &293 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -42415,7 +42662,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &293 + - &294 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -42463,7 +42710,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &294 + - &295 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -42475,7 +42722,7 @@ paths: type: string enum: - non_fast_forward - - &295 + - &296 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -42511,7 +42758,7 @@ paths: required: - operator - pattern - - &296 + - &297 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -42547,7 +42794,7 @@ paths: required: - operator - pattern - - &297 + - &298 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -42583,7 +42830,7 @@ paths: required: - operator - pattern - - &298 + - &299 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42619,7 +42866,7 @@ paths: required: - operator - pattern - - &299 + - &300 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42655,7 +42902,7 @@ paths: required: - operator - pattern - - &300 + - &301 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42680,7 +42927,7 @@ paths: type: string required: - restricted_file_paths - - &301 + - &302 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42704,7 +42951,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &302 + - &303 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42727,7 +42974,7 @@ paths: type: string required: - restricted_file_extensions - - &303 + - &304 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42752,7 +42999,7 @@ paths: maximum: 100 required: - max_file_size - - &304 + - &305 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42802,7 +43049,7 @@ paths: - repository_id required: - workflows - - &305 + - &306 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42863,7 +43110,7 @@ paths: - tool required: - code_scanning_tools - - &306 + - &307 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42962,21 +43209,20 @@ paths: - push - repository default: branch - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *285 + items: *285 + conditions: *286 rules: type: array description: An array of rules within the ruleset. - items: &309 + items: &310 title: Repository Rule type: object description: A repository rule. oneOf: - - *286 - *287 - *288 - *289 @@ -42997,6 +43243,7 @@ paths: - *304 - *305 - *306 + - *307 required: - name - enforcement @@ -43034,9 +43281,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &308 + default: &309 value: id: 21 name: super cool ruleset @@ -43091,7 +43338,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *68 - - &592 + - &593 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -43106,7 +43353,7 @@ paths: in: query schema: type: string - - &593 + - &594 name: time_period description: |- The time period to filter by. @@ -43122,14 +43369,14 @@ paths: - week - month default: day - - &594 + - &595 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &595 + - &596 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -43149,7 +43396,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &597 title: Rule Suites description: Response type: array @@ -43204,7 +43451,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &597 + default: &598 value: - id: 21 actor_id: 12 @@ -43248,7 +43495,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *68 - - &598 + - &599 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43264,7 +43511,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &600 title: Rule Suite description: Response type: object @@ -43363,7 +43610,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &600 + default: &601 value: id: 21 actor_id: 12 @@ -43436,9 +43683,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '500': *111 put: @@ -43482,16 +43729,16 @@ paths: - tag - push - repository - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *285 + items: *285 + conditions: *286 rules: description: An array of rules within the ruleset. type: array - items: *309 + items: *310 examples: default: value: @@ -43526,9 +43773,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 '404': *6 '500': *111 delete: @@ -43585,7 +43832,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Ruleset version type: object description: The historical version of a ruleset @@ -43609,7 +43856,7 @@ paths: type: string format: date-time examples: - default: &602 + default: &603 value: - version_id: 3 actor: @@ -43662,9 +43909,9 @@ paths: description: Response content: application/json: - schema: &603 + schema: &604 allOf: - - *310 + - *311 - type: object required: - state @@ -43734,7 +43981,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *68 - - &604 + - &605 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -43745,7 +43992,7 @@ paths: enum: - open - resolved - - &605 + - &606 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -43755,7 +44002,7 @@ paths: required: false schema: type: string - - &606 + - &607 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -43764,7 +44011,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -43783,7 +44030,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &608 + - &609 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -43798,7 +44045,7 @@ paths: - *53 - *19 - *17 - - &609 + - &610 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43808,7 +44055,7 @@ paths: required: false schema: type: string - - &610 + - &611 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43818,7 +44065,7 @@ paths: required: false schema: type: string - - &611 + - &612 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -43827,7 +44074,7 @@ paths: required: false schema: type: string - - &612 + - &613 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -43836,7 +44083,7 @@ paths: schema: type: boolean default: false - - &613 + - &614 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -43845,7 +44092,7 @@ paths: schema: type: boolean default: false - - &614 + - &615 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -43880,14 +44127,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &615 + state: &616 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &616 + resolution: &617 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -43994,8 +44241,8 @@ paths: pull request. ' - oneOf: &617 - - &619 + oneOf: &618 + - &620 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -44047,7 +44294,7 @@ paths: - blob_url - commit_sha - commit_url - - &620 + - &621 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -44102,7 +44349,7 @@ paths: - page_url - commit_sha - commit_url - - &621 + - &622 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -44116,7 +44363,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &622 + - &623 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -44130,7 +44377,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &623 + - &624 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -44144,7 +44391,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &624 + - &625 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -44158,7 +44405,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &625 + - &626 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -44172,7 +44419,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &626 + - &627 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -44186,7 +44433,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &627 + - &628 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -44200,7 +44447,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &628 + - &629 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -44214,7 +44461,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &629 + - &630 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -44228,7 +44475,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &630 + - &631 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -44242,7 +44489,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &631 + - &632 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -44484,7 +44731,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &312 + pattern_config_version: &313 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -44493,7 +44740,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &311 + items: &312 type: object properties: token_type: @@ -44559,7 +44806,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *311 + items: *312 examples: default: value: @@ -44616,7 +44863,7 @@ paths: schema: type: object properties: - pattern_config_version: *312 + pattern_config_version: *313 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -44642,7 +44889,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *312 + custom_pattern_version: *313 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -44740,7 +44987,7 @@ paths: application/json: schema: type: array - items: &635 + items: &636 description: A repository security advisory. type: object properties: @@ -44960,7 +45207,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 credits_detailed: type: array nullable: true @@ -44970,7 +45217,7 @@ paths: type: object properties: user: *4 - type: *313 + type: *314 state: type: string description: The state of the user's acceptance of the @@ -45031,7 +45278,7 @@ paths: - private_fork additionalProperties: false examples: - default: &636 + default: &637 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -45418,7 +45665,7 @@ paths: application/json: schema: type: array - items: *314 + items: *315 examples: default: *243 x-github: @@ -45756,7 +46003,7 @@ paths: type: integer network_configurations: type: array - items: &315 + items: &316 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -45888,9 +46135,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: &316 + default: &317 value: id: 123456789ABCDEF name: My network configuration @@ -45919,7 +46166,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *68 - - &317 + - &318 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -45931,9 +46178,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *316 + default: *317 headers: Link: *59 x-github: @@ -45955,7 +46202,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *68 - - *317 + - *318 requestBody: required: true content: @@ -45994,9 +46241,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *316 examples: - default: *316 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46016,7 +46263,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *68 - - *317 + - *318 responses: '204': description: Response @@ -46156,13 +46403,13 @@ paths: application/json: schema: type: array - items: *318 + items: *319 examples: - default: *319 + default: *320 '500': *111 '403': *29 '404': *6 - '422': *320 + '422': *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46286,7 +46533,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46613,7 +46860,7 @@ paths: - repos_count - organization examples: - default: &322 + default: &323 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46690,9 +46937,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -46776,16 +47023,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '201': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 '422': *15 '403': *29 @@ -46932,7 +47179,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &324 title: Team Membership description: Team Membership type: object @@ -46959,7 +47206,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &653 + response-if-user-is-a-team-maintainer: &654 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47022,9 +47269,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-users-membership-with-team-is-now-pending: &654 + response-if-users-membership-with-team-is-now-pending: &655 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47131,14 +47378,14 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &655 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -47709,8 +47956,8 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 requestBody: required: false content: @@ -47757,8 +48004,8 @@ paths: parameters: - *68 - *69 - - *324 - *325 + - *326 responses: '204': description: Response @@ -47795,7 +48042,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: &656 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47949,7 +48196,7 @@ paths: resources: type: object properties: - core: &326 + core: &327 title: Rate Limit type: object properties: @@ -47966,21 +48213,21 @@ paths: - remaining - reset - used - graphql: *326 - search: *326 - code_search: *326 - source_import: *326 - integration_manifest: *326 - code_scanning_upload: *326 - actions_runner_registration: *326 - scim: *326 - dependency_snapshots: *326 - dependency_sbom: *326 - code_scanning_autofix: *326 + graphql: *327 + search: *327 + code_search: *327 + source_import: *327 + integration_manifest: *327 + code_scanning_upload: *327 + actions_runner_registration: *327 + scim: *327 + dependency_snapshots: *327 + dependency_sbom: *327 + code_scanning_autofix: *327 required: - core - search - rate: *326 + rate: *327 required: - rate - resources @@ -48085,14 +48332,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *327 + schema: *328 examples: default-response: summary: Default response @@ -48593,7 +48840,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *328 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48611,8 +48858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -48859,10 +49106,10 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 - '307': &330 + default: *330 + '307': &331 description: Temporary Redirect content: application/json: @@ -48891,8 +49138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -48914,7 +49161,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *330 + '307': *331 '404': *6 '409': *52 x-github: @@ -48938,11 +49185,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &363 + - &364 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48965,7 +49212,7 @@ paths: type: integer artifacts: type: array - items: &331 + items: &332 title: Artifact description: An artifact type: object @@ -49043,7 +49290,7 @@ paths: - expires_at - updated_at examples: - default: &364 + default: &365 value: total_count: 2 artifacts: @@ -49104,9 +49351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *324 - *325 - - &332 + - *326 + - &333 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49118,7 +49365,7 @@ paths: description: Response content: application/json: - schema: *331 + schema: *332 examples: default: value: @@ -49156,9 +49403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *324 - *325 - - *332 + - *326 + - *333 responses: '204': description: Response @@ -49182,9 +49429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *324 - *325 - - *332 + - *326 + - *333 - name: archive_format in: path required: true @@ -49198,7 +49445,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &524 + '410': &525 description: Gone content: application/json: @@ -49223,14 +49470,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &333 + schema: &334 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -49263,13 +49510,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *333 + schema: *334 examples: selected_actions: *42 responses: @@ -49298,14 +49545,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &334 + schema: &335 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -49338,13 +49585,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *334 + schema: *335 examples: selected_actions: *44 responses: @@ -49375,14 +49622,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *335 + schema: *336 examples: default: value: @@ -49408,11 +49655,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 - - &336 + - &337 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49446,7 +49693,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &338 title: Repository actions caches description: Repository actions caches type: object @@ -49488,7 +49735,7 @@ paths: - total_count - actions_caches examples: - default: &338 + default: &339 value: total_count: 1 actions_caches: @@ -49520,23 +49767,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *324 - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *336 + - *337 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49556,8 +49803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *324 - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49588,9 +49835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *324 - *325 - - &339 + - *326 + - &340 name: job_id description: The unique identifier of the job. in: path @@ -49602,7 +49849,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &368 title: Job description: Information of a job execution in a workflow run type: object @@ -49909,9 +50156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *324 - *325 - - *339 + - *326 + - *340 responses: '302': description: Response @@ -49939,9 +50186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *324 - *325 - - *339 + - *326 + - *340 requestBody: required: false content: @@ -49986,8 +50233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Status response @@ -50037,8 +50284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50101,8 +50348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50120,7 +50367,7 @@ paths: type: integer secrets: type: array - items: &369 + items: &370 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50140,7 +50387,7 @@ paths: - created_at - updated_at examples: - default: &370 + default: &371 value: total_count: 2 secrets: @@ -50173,9 +50420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *324 - *325 - - *340 + - *326 + - *341 - *19 responses: '200': @@ -50192,7 +50439,7 @@ paths: type: integer variables: type: array - items: &373 + items: &374 title: Actions Variable type: object properties: @@ -50222,7 +50469,7 @@ paths: - created_at - updated_at examples: - default: &374 + default: &375 value: total_count: 2 variables: @@ -50255,8 +50502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50265,11 +50512,11 @@ paths: schema: type: object properties: - enabled: &342 + enabled: &343 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *136 - selected_actions_url: *341 + selected_actions_url: *342 sha_pinning_required: *137 required: - enabled @@ -50298,8 +50545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50310,7 +50557,7 @@ paths: schema: type: object properties: - enabled: *342 + enabled: *343 allowed_actions: *136 sha_pinning_required: *137 required: @@ -50342,14 +50589,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &343 + schema: &344 type: object properties: access_level: @@ -50366,7 +50613,7 @@ paths: required: - access_level examples: - default: &344 + default: &345 value: access_level: organization x-github: @@ -50390,15 +50637,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *343 + schema: *344 examples: - default: *344 + default: *345 responses: '204': description: Response @@ -50422,14 +50669,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: default: value: @@ -50453,8 +50700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -50464,7 +50711,7 @@ paths: required: true content: application/json: - schema: *346 + schema: *347 examples: default: summary: Set retention days @@ -50488,8 +50735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50497,7 +50744,7 @@ paths: application/json: schema: *138 examples: - default: *347 + default: *348 '404': *6 x-github: enabledForGitHubApps: true @@ -50516,8 +50763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50551,14 +50798,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: default: *139 '403': *29 @@ -50580,13 +50827,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *349 + schema: *350 examples: default: *139 responses: @@ -50612,8 +50859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50640,8 +50887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -50673,14 +50920,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: default: *146 x-github: @@ -50703,8 +50950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Success response @@ -50715,7 +50962,7 @@ paths: required: true content: application/json: - schema: *351 + schema: *352 examples: default: *146 x-github: @@ -50744,8 +50991,8 @@ paths: in: query schema: type: string - - *324 - *325 + - *326 - *17 - *19 responses: @@ -50789,8 +51036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50798,9 +51045,9 @@ paths: application/json: schema: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50822,8 +51069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50866,7 +51113,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *354 + '201': *355 '404': *6 '422': *7 '409': *52 @@ -50897,8 +51144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50906,7 +51153,7 @@ paths: application/json: schema: *155 examples: - default: *355 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50934,8 +51181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -50943,7 +51190,7 @@ paths: application/json: schema: *155 examples: - default: *356 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50965,8 +51212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 responses: '200': @@ -50975,7 +51222,7 @@ paths: application/json: schema: *153 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50996,8 +51243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *324 - *325 + - *326 - *152 responses: '204': @@ -51024,8 +51271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 responses: '200': *157 @@ -51050,8 +51297,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 requestBody: required: true @@ -51100,8 +51347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 requestBody: required: true @@ -51151,11 +51398,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 responses: - '200': *358 + '200': *359 '404': *6 x-github: githubCloudOnly: false @@ -51182,10 +51429,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *324 - *325 + - *326 - *152 - - *359 + - *360 responses: '200': *157 '404': *6 @@ -51213,9 +51460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *324 - *325 - - &377 + - *326 + - &378 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51223,7 +51470,7 @@ paths: required: false schema: type: string - - &378 + - &379 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51231,7 +51478,7 @@ paths: required: false schema: type: string - - &379 + - &380 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51240,7 +51487,7 @@ paths: required: false schema: type: string - - &380 + - &381 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51267,7 +51514,7 @@ paths: - pending - *17 - *19 - - &381 + - &382 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51276,7 +51523,7 @@ paths: schema: type: string format: date-time - - &360 + - &361 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51285,13 +51532,13 @@ paths: schema: type: boolean default: false - - &382 + - &383 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &383 + - &384 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51314,7 +51561,7 @@ paths: type: integer workflow_runs: type: array - items: &361 + items: &362 title: Workflow Run description: An invocation of a workflow type: object @@ -51462,7 +51709,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &405 + properties: &406 id: type: string description: SHA for the commit @@ -51513,7 +51760,7 @@ paths: - name - email nullable: true - required: &406 + required: &407 - id - tree_id - message @@ -51560,7 +51807,7 @@ paths: - workflow_url - pull_requests examples: - default: &384 + default: &385 value: total_count: 1 workflow_runs: @@ -51796,24 +52043,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *324 - *325 - - &362 + - *326 + - &363 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: &365 + default: &366 value: id: 30433642 name: Build @@ -52054,9 +52301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '204': description: Response @@ -52079,9 +52326,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -52200,9 +52447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '201': description: Response @@ -52235,12 +52482,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *324 - *325 - - *362 + - *326 + - *363 - *17 - *19 - - *363 + - *364 responses: '200': description: Response @@ -52256,9 +52503,9 @@ paths: type: integer artifacts: type: array - items: *331 + items: *332 examples: - default: *364 + default: *365 headers: Link: *59 x-github: @@ -52282,25 +52529,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *324 - *325 - - *362 - - &366 + - *326 + - *363 + - &367 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *360 + - *361 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *365 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52323,10 +52570,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *324 - *325 - - *362 - - *366 + - *326 + - *363 + - *367 - *17 - *19 responses: @@ -52344,9 +52591,9 @@ paths: type: integer jobs: type: array - items: *367 + items: *368 examples: - default: &368 + default: &369 value: total_count: 1 jobs: @@ -52459,10 +52706,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *324 - *325 - - *362 - - *366 + - *326 + - *363 + - *367 responses: '302': description: Response @@ -52490,9 +52737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '202': description: Response @@ -52525,9 +52772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: true content: @@ -52594,9 +52841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '202': description: Response @@ -52629,9 +52876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -52661,9 +52908,9 @@ paths: type: integer jobs: type: array - items: *367 + items: *368 examples: - default: *368 + default: *369 headers: Link: *59 x-github: @@ -52688,9 +52935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '302': description: Response @@ -52717,9 +52964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '204': description: Response @@ -52746,9 +52993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -52808,7 +53055,7 @@ paths: items: type: object properties: - type: &490 + type: &491 type: string description: The type of reviewer. enum: @@ -52893,9 +53140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: true content: @@ -52942,7 +53189,7 @@ paths: application/json: schema: type: array - items: &485 + items: &486 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -53048,7 +53295,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &487 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53104,9 +53351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: false content: @@ -53150,9 +53397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *324 - *325 - - *362 + - *326 + - *363 requestBody: required: false content: @@ -53205,9 +53452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *324 - *325 - - *362 + - *326 + - *363 responses: '200': description: Response @@ -53344,8 +53591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53363,9 +53610,9 @@ paths: type: integer secrets: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *59 x-github: @@ -53390,16 +53637,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53421,17 +53668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: &503 + default: &504 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53457,8 +53704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -53516,8 +53763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -53543,9 +53790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *324 - *325 - - *340 + - *326 + - *341 - *19 responses: '200': @@ -53562,9 +53809,9 @@ paths: type: integer variables: type: array - items: *373 + items: *374 examples: - default: *374 + default: *375 headers: Link: *59 x-github: @@ -53587,8 +53834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -53640,17 +53887,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: &504 + default: &505 value: name: USERNAME value: octocat @@ -53676,8 +53923,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 requestBody: required: true @@ -53720,8 +53967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *324 - *325 + - *326 - *162 responses: '204': @@ -53747,8 +53994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -53766,7 +54013,7 @@ paths: type: integer workflows: type: array - items: &375 + items: &376 title: Workflow description: A GitHub Actions workflow type: object @@ -53873,9 +54120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *324 - *325 - - &376 + - *326 + - &377 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53890,7 +54137,7 @@ paths: description: Response content: application/json: - schema: *375 + schema: *376 examples: default: value: @@ -53923,9 +54170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -53950,9 +54197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -54003,9 +54250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '204': description: Response @@ -54032,19 +54279,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *324 - *325 - - *376 + - *326 - *377 - *378 - *379 - *380 + - *381 - *17 - *19 - - *381 - - *360 - *382 + - *361 - *383 + - *384 responses: '200': description: Response @@ -54060,9 +54307,9 @@ paths: type: integer workflow_runs: type: array - items: *361 + items: *362 examples: - default: *384 + default: *385 headers: Link: *59 x-github: @@ -54094,9 +54341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *324 - *325 - - *376 + - *326 + - *377 responses: '200': description: Response @@ -54157,8 +54404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *324 - *325 + - *326 - *53 - *17 - *45 @@ -54322,8 +54569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -54360,8 +54607,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *324 - *325 + - *326 - name: assignee in: path required: true @@ -54397,8 +54644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54510,8 +54757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *324 - *325 + - *326 - *17 - *45 - *46 @@ -54568,7 +54815,7 @@ paths: initiator: type: string examples: - default: *385 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54588,8 +54835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -54597,7 +54844,7 @@ paths: application/json: schema: type: array - items: &386 + items: &387 title: Autolink reference description: An autolink reference. type: object @@ -54651,8 +54898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54691,9 +54938,9 @@ paths: description: response content: application/json: - schema: *386 + schema: *387 examples: - default: &387 + default: &388 value: id: 1 key_prefix: TICKET- @@ -54724,9 +54971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *324 - *325 - - &388 + - *326 + - &389 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54738,9 +54985,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 '404': *6 x-github: githubCloudOnly: false @@ -54760,9 +55007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *324 - *325 - - *388 + - *326 + - *389 responses: '204': description: Response @@ -54786,8 +55033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54835,8 +55082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54857,8 +55104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -54878,8 +55125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *324 - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54917,7 +55164,7 @@ paths: - url protected: type: boolean - protection: &390 + protection: &391 title: Branch Protection description: Branch Protection type: object @@ -54959,7 +55206,7 @@ paths: required: - contexts - checks - enforce_admins: &393 + enforce_admins: &394 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54974,7 +55221,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &395 + required_pull_request_reviews: &396 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -55050,7 +55297,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &392 + restrictions: &393 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55327,9 +55574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *324 - *325 - - &391 + - *326 + - &392 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55343,14 +55590,14 @@ paths: description: Response content: application/json: - schema: &401 + schema: &402 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &458 + commit: &459 title: Commit description: Commit type: object @@ -55384,7 +55631,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &389 + properties: &390 name: type: string example: '"Chris Wanstrath"' @@ -55400,7 +55647,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true message: type: string @@ -55421,7 +55668,7 @@ paths: required: - sha - url - verification: &510 + verification: &511 title: Verification type: object properties: @@ -55491,7 +55738,7 @@ paths: type: integer files: type: array - items: &471 + items: &472 title: Diff Entry description: Diff Entry type: object @@ -55575,7 +55822,7 @@ paths: - self protected: type: boolean - protection: *390 + protection: *391 protection_url: type: string format: uri @@ -55682,7 +55929,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *328 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -55704,15 +55951,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: default: value: @@ -55906,9 +56153,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -56163,7 +56410,7 @@ paths: url: type: string format: uri - required_status_checks: &398 + required_status_checks: &399 title: Status Check Policy description: Status Check Policy type: object @@ -56315,7 +56562,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *392 + restrictions: *393 required_conversation_resolution: type: object properties: @@ -56427,9 +56674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56454,17 +56701,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &394 + default: &395 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56486,17 +56733,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56515,9 +56762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56542,17 +56789,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &396 + default: &397 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56648,9 +56895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -56748,9 +56995,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *396 + default: *397 '422': *15 x-github: githubCloudOnly: false @@ -56771,9 +57018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56800,17 +57047,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &397 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56833,17 +57080,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *397 + default: *398 '404': *6 x-github: githubCloudOnly: false @@ -56863,9 +57110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -56890,17 +57137,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: &399 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56926,9 +57173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -56980,9 +57227,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *399 examples: - default: *399 + default: *400 '404': *6 '422': *15 x-github: @@ -57004,9 +57251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -57030,9 +57277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57066,9 +57313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57135,9 +57382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57201,9 +57448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: content: application/json: @@ -57269,15 +57516,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response content: application/json: - schema: *392 + schema: *393 examples: default: value: @@ -57368,9 +57615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '204': description: Response @@ -57393,9 +57640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57405,7 +57652,7 @@ paths: type: array items: *5 examples: - default: &400 + default: &401 value: - id: 1 slug: octoapp @@ -57462,9 +57709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57498,7 +57745,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57519,9 +57766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57555,7 +57802,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57576,9 +57823,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57612,7 +57859,7 @@ paths: type: array items: *5 examples: - default: *400 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -57634,9 +57881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57666,9 +57913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57727,9 +57974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: false content: @@ -57788,9 +58035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: content: application/json: @@ -57849,9 +58096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 responses: '200': description: Response @@ -57885,9 +58132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -57945,9 +58192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58005,9 +58252,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58067,9 +58314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 requestBody: required: true content: @@ -58091,7 +58338,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: default: value: @@ -58207,8 +58454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58487,7 +58734,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &403 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58607,7 +58854,7 @@ paths: check. type: array items: *80 - deployment: &718 + deployment: &721 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58887,9 +59134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *324 - *325 - - &403 + - *326 + - &404 name: check_run_id description: The unique identifier of the check run. in: path @@ -58901,9 +59148,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: &404 + default: &405 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -59003,9 +59250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *324 - *325 - - *403 + - *326 + - *404 requestBody: required: true content: @@ -59245,9 +59492,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *403 examples: - default: *404 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59267,9 +59514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *324 - *325 - - *403 + - *326 + - *404 - *17 - *19 responses: @@ -59364,9 +59611,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *324 - *325 - - *403 + - *326 + - *404 responses: '201': description: Response @@ -59410,8 +59657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59433,7 +59680,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &407 + schema: &408 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59519,12 +59766,12 @@ paths: type: string format: date-time nullable: true - head_commit: &744 + head_commit: &747 title: Simple Commit description: A commit. type: object - properties: *405 - required: *406 + properties: *406 + required: *407 latest_check_runs_count: type: integer check_runs_url: @@ -59552,7 +59799,7 @@ paths: - check_runs_url - pull_requests examples: - default: &408 + default: &409 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59843,9 +60090,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59864,8 +60111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -60174,9 +60421,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *324 - *325 - - &409 + - *326 + - &410 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60188,9 +60435,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *408 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60213,17 +60460,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *324 - *325 - - *409 - - &464 + - *326 + - *410 + - &465 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &465 + - &466 name: status description: Returns check runs with the specified `status`. in: query @@ -60262,9 +60509,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *403 examples: - default: &466 + default: &467 value: total_count: 1 check_runs: @@ -60366,9 +60613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *324 - *325 - - *409 + - *326 + - *410 responses: '201': description: Response @@ -60401,21 +60648,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *410 + - *326 - *411 + - *412 - *19 - *17 - - &428 + - &429 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *412 - - &429 + schema: *413 + - &430 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60440,13 +60687,13 @@ paths: be returned. in: query required: false - schema: *413 + schema: *414 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *414 + schema: *415 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -60470,7 +60717,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: *415 + instances_url: *416 state: *178 fixed_at: *174 dismissed_by: @@ -60481,11 +60728,11 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: *416 - dismissed_comment: *417 - rule: *418 - tool: *419 - most_recent_instance: *420 + dismissed_reason: *417 + dismissed_comment: *418 + rule: *419 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60611,7 +60858,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &421 + '403': &422 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60638,9 +60885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *324 - *325 - - &422 + - *326 + - &423 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60654,7 +60901,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &424 type: object properties: number: *169 @@ -60662,7 +60909,7 @@ paths: updated_at: *171 url: *172 html_url: *173 - instances_url: *415 + instances_url: *416 state: *178 fixed_at: *174 dismissed_by: @@ -60673,8 +60920,8 @@ paths: required: *21 nullable: true dismissed_at: *175 - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *417 + dismissed_comment: *418 rule: type: object properties: @@ -60728,8 +60975,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *419 - most_recent_instance: *420 + tool: *420 + most_recent_instance: *421 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60828,7 +61075,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -60848,9 +61095,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: true content: @@ -60865,8 +61112,8 @@ paths: enum: - open - dismissed - dismissed_reason: *416 - dismissed_comment: *417 + dismissed_reason: *417 + dismissed_comment: *418 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60894,7 +61141,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -60970,7 +61217,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &427 + '403': &428 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60997,15 +61244,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 responses: '200': description: Response content: application/json: - schema: &424 + schema: &425 type: object properties: status: @@ -61031,13 +61278,13 @@ paths: - description - started_at examples: - default: &425 + default: &426 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &426 + '400': &427 description: Bad Request content: application/json: @@ -61048,7 +61295,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61073,29 +61320,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 responses: '200': description: OK content: application/json: - schema: *424 + schema: *425 examples: - default: *425 + default: *426 '202': description: Accepted content: application/json: - schema: *424 + schema: *425 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *426 + '400': *427 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61127,9 +61374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: false content: @@ -61174,8 +61421,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *426 - '403': *427 + '400': *427 + '403': *428 '404': *6 '422': description: Unprocessable Entity @@ -61199,13 +61446,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 - *19 - *17 - - *428 - *429 + - *430 responses: '200': description: Response @@ -61216,10 +61463,10 @@ paths: items: type: object properties: - ref: *412 - analysis_key: *430 - environment: *431 - category: *432 + ref: *413 + analysis_key: *431 + environment: *432 + category: *433 state: type: string description: State of a code scanning alert instance. @@ -61234,7 +61481,7 @@ paths: properties: text: type: string - location: *433 + location: *434 html_url: type: string classifications: @@ -61242,7 +61489,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *434 + items: *435 examples: default: value: @@ -61281,7 +61528,7 @@ paths: end_column: 50 classifications: - source - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61315,25 +61562,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *324 - *325 - - *410 + - *326 - *411 + - *412 - *19 - *17 - - *429 + - *430 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *412 + schema: *413 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &435 + schema: &436 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61354,23 +61601,23 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: - ref: *412 - commit_sha: &444 + ref: *413 + commit_sha: &445 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *430 + analysis_key: *431 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *432 + category: *433 error: type: string example: error reading field xyz @@ -61394,8 +61641,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *435 - tool: *419 + sarif_id: *436 + tool: *420 deletable: type: boolean warning: @@ -61456,7 +61703,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61492,8 +61739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61506,7 +61753,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *437 examples: response: summary: application/json response @@ -61560,7 +61807,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *421 + '403': *422 '404': *6 '422': description: Response if analysis could not be processed @@ -61647,8 +61894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61701,7 +61948,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *427 + '403': *428 '404': *6 '503': *112 x-github: @@ -61723,8 +61970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -61732,7 +61979,7 @@ paths: application/json: schema: type: array - items: &437 + items: &438 title: CodeQL Database description: A CodeQL database. type: object @@ -61843,7 +62090,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61872,8 +62119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61885,7 +62132,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: default: value: @@ -61917,9 +62164,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &473 + '302': &474 description: Found - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -61941,8 +62188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61952,7 +62199,7 @@ paths: responses: '204': description: Response - '403': *427 + '403': *428 '404': *6 '503': *112 x-github: @@ -61980,8 +62227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -61990,7 +62237,7 @@ paths: type: object additionalProperties: false properties: - language: &438 + language: &439 type: string description: The language targeted by the CodeQL query enum: @@ -62070,7 +62317,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &442 + schema: &443 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62080,7 +62327,7 @@ paths: description: The ID of the variant analysis. controller_repo: *58 actor: *4 - query_language: *438 + query_language: *439 query_pack_url: type: string description: The download url for the query pack. @@ -62127,7 +62374,7 @@ paths: items: type: object properties: - repository: &439 + repository: &440 title: Repository Identifier description: Repository Identifier type: object @@ -62163,7 +62410,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &443 + analysis_status: &444 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62195,7 +62442,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &440 + access_mismatch_repos: &441 type: object properties: repository_count: @@ -62209,7 +62456,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *439 + items: *440 required: - repository_count - repositories @@ -62231,8 +62478,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *440 - over_limit_repos: *440 + no_codeql_db_repos: *441 + over_limit_repos: *441 required: - access_mismatch_repos - not_found_repos @@ -62248,7 +62495,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &441 + value: &442 summary: Default response value: id: 1 @@ -62394,10 +62641,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *441 + value: *442 repository_lists: summary: Response for a successful variant analysis submission - value: *441 + value: *442 '404': *6 '422': description: Unable to process variant analysis submission @@ -62425,8 +62672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *324 - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62438,9 +62685,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: - default: *441 + default: *442 '404': *6 '503': *112 x-github: @@ -62463,7 +62710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *324 + - *325 - name: repo in: path description: The name of the controller repository. @@ -62498,7 +62745,7 @@ paths: type: object properties: repository: *58 - analysis_status: *443 + analysis_status: *444 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62623,8 +62870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -62709,7 +62956,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *421 + '403': *422 '404': *6 '503': *112 x-github: @@ -62730,8 +62977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62823,7 +63070,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *427 + '403': *428 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62894,8 +63141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -62903,7 +63150,7 @@ paths: schema: type: object properties: - commit_sha: *444 + commit_sha: *445 ref: type: string description: |- @@ -62961,7 +63208,7 @@ paths: schema: type: object properties: - id: *435 + id: *436 url: type: string description: The REST API URL for checking the status of the upload. @@ -62975,7 +63222,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *427 + '403': *428 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62998,8 +63245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *324 - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63045,7 +63292,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *421 + '403': *422 '404': description: Not Found if the sarif id does not match any upload '503': *112 @@ -63070,8 +63317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -63152,8 +63399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *324 - *325 + - *326 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63273,8 +63520,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63588,8 +63835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -63654,7 +63901,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -63662,7 +63909,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '400': *14 '401': *25 '403': *29 @@ -63691,8 +63938,8 @@ paths: parameters: - *17 - *19 - - *324 - *325 + - *326 responses: '200': description: Response @@ -63756,8 +64003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *324 - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63792,14 +64039,14 @@ paths: type: integer machines: type: array - items: &663 + items: &664 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 examples: - default: &664 + default: &665 value: total_count: 2 machines: @@ -63839,8 +64086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *324 - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63924,8 +64171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *324 - *325 + - *326 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -63991,8 +64238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64010,7 +64257,7 @@ paths: type: integer secrets: type: array - items: &451 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64030,7 +64277,7 @@ paths: - created_at - updated_at examples: - default: *448 + default: *449 headers: Link: *59 x-github: @@ -64053,16 +64300,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64082,17 +64329,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64112,8 +64359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -64166,8 +64413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -64196,8 +64443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *324 - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64239,7 +64486,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &453 + properties: &454 login: type: string example: octocat @@ -64332,7 +64579,7 @@ paths: user_view_type: type: string example: public - required: &454 + required: &455 - avatar_url - events_url - followers_url @@ -64406,8 +64653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 responses: '204': @@ -64454,8 +64701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 requestBody: required: false @@ -64482,7 +64729,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &523 + schema: &524 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64711,8 +64958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *324 - *325 + - *326 - *64 responses: '204': @@ -64744,8 +64991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *324 - *325 + - *326 - *64 responses: '200': @@ -64766,8 +65013,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true required: - permission @@ -64822,8 +65069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -64833,7 +65080,7 @@ paths: application/json: schema: type: array - items: &455 + items: &456 title: Commit Comment description: Commit Comment type: object @@ -64891,7 +65138,7 @@ paths: - created_at - updated_at examples: - default: &460 + default: &461 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64950,17 +65197,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: &461 + default: &462 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65017,8 +65264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -65041,7 +65288,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: default: value: @@ -65092,8 +65339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -65115,8 +65362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65143,7 +65390,7 @@ paths: application/json: schema: type: array - items: &456 + items: &457 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -65186,7 +65433,7 @@ paths: - content - created_at examples: - default: &527 + default: &528 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65231,8 +65478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -65265,9 +65512,9 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: &457 + default: &458 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -65296,9 +65543,9 @@ paths: description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -65320,10 +65567,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - &528 + - &529 name: reaction_id description: The unique identifier of the reaction. in: path @@ -65378,8 +65625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *324 - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65435,9 +65682,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: &575 + default: &576 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65531,9 +65778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *324 - *325 - - &459 + - *326 + - &460 name: commit_sha description: The SHA of the commit. in: path @@ -65605,9 +65852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *324 - *325 - - *459 + - *326 + - *460 - *17 - *19 responses: @@ -65617,9 +65864,9 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: - default: *460 + default: *461 headers: Link: *59 x-github: @@ -65647,9 +65894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *324 - *325 - - *459 + - *326 + - *460 requestBody: required: true content: @@ -65684,9 +65931,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - default: *461 + default: *462 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65714,9 +65961,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *324 - *325 - - *459 + - *326 + - *460 - *17 - *19 responses: @@ -65726,9 +65973,9 @@ paths: application/json: schema: type: array - items: *462 + items: *463 examples: - default: &567 + default: &568 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66265,11 +66512,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *324 - *325 + - *326 - *19 - *17 - - &463 + - &464 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -66284,9 +66531,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: &554 + default: &555 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66399,11 +66646,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *324 - *325 - - *463 + - *326 - *464 - *465 + - *466 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66437,9 +66684,9 @@ paths: type: integer check_runs: type: array - items: *402 + items: *403 examples: - default: *466 + default: *467 headers: Link: *59 x-github: @@ -66464,9 +66711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66474,7 +66721,7 @@ paths: schema: type: integer example: 1 - - *464 + - *465 - *17 - *19 responses: @@ -66492,7 +66739,7 @@ paths: type: integer check_suites: type: array - items: *407 + items: *408 examples: default: value: @@ -66692,9 +66939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - *17 - *19 responses: @@ -66892,9 +67139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *324 - *325 - - *463 + - *326 + - *464 - *17 - *19 responses: @@ -66904,7 +67151,7 @@ paths: application/json: schema: type: array - items: &640 + items: &641 title: Status description: The status of a commit. type: object @@ -66985,7 +67232,7 @@ paths: site_admin: false headers: Link: *59 - '301': *328 + '301': *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67013,8 +67260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -67043,20 +67290,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *467 - required: *468 + properties: *468 + required: *469 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &469 + properties: &470 url: type: string format: uri html_url: type: string format: uri - required: &470 + required: &471 - url - html_url nullable: true @@ -67070,26 +67317,26 @@ paths: contributing: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true readme: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true issue_template: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true pull_request_template: title: Community Health File type: object - properties: *469 - required: *470 + properties: *470 + required: *471 nullable: true required: - code_of_conduct @@ -67216,8 +67463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *324 - *325 + - *326 - *19 - *17 - name: basehead @@ -67260,8 +67507,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *458 - merge_base_commit: *458 + base_commit: *459 + merge_base_commit: *459 status: type: string enum: @@ -67281,10 +67528,10 @@ paths: example: 6 commits: type: array - items: *458 + items: *459 files: type: array - items: *471 + items: *472 required: - url - html_url @@ -67570,8 +67817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -67714,7 +67961,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &472 + response-if-content-is-a-file: &473 summary: Response if content is a file value: type: file @@ -67846,7 +68093,7 @@ paths: - size - type - url - - &580 + - &581 title: Content File description: Content File type: object @@ -68047,7 +68294,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *472 + response-if-content-is-a-file: *473 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68116,7 +68363,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *473 + '302': *474 '304': *37 x-github: githubCloudOnly: false @@ -68139,8 +68386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68233,7 +68480,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &475 title: File Commit description: File Commit type: object @@ -68385,7 +68632,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: example-for-creating-a-file: value: @@ -68439,7 +68686,7 @@ paths: schema: oneOf: - *3 - - &505 + - &506 description: Repository rule violation was detected type: object properties: @@ -68460,7 +68707,7 @@ paths: items: type: object properties: - placeholder_id: &632 + placeholder_id: &633 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68492,8 +68739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -68554,7 +68801,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: default: value: @@ -68609,8 +68856,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *324 - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68733,8 +68980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *324 - *325 + - *326 - *189 - *190 - *191 @@ -68746,7 +68993,7 @@ paths: schema: type: string - *193 - - *475 + - *476 - *194 - *195 - *53 @@ -68767,7 +69014,7 @@ paths: application/json: schema: type: array - items: &479 + items: &480 type: object description: A Dependabot alert. properties: @@ -68813,7 +69060,7 @@ paths: - unknown - direct - transitive - security_advisory: *476 + security_advisory: *477 security_vulnerability: *57 url: *172 html_url: *173 @@ -68844,8 +69091,8 @@ paths: nullable: true maxLength: 280 fixed_at: *174 - auto_dismissed_at: *477 - dismissal_request: *478 + auto_dismissed_at: *478 + dismissal_request: *479 required: - number - state @@ -69075,9 +69322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *324 - *325 - - &480 + - *326 + - &481 name: alert_number in: path description: |- @@ -69092,7 +69339,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69205,9 +69452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *324 - *325 - - *480 + - *326 + - *481 requestBody: required: true content: @@ -69252,7 +69499,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -69381,8 +69628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -69400,7 +69647,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &484 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69453,16 +69700,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: *482 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69482,15 +69729,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: default: value: @@ -69516,8 +69763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 requestBody: required: true @@ -69570,8 +69817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *324 - *325 + - *326 - *159 responses: '204': @@ -69594,8 +69841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *324 - *325 + - *326 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -69755,8 +70002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -69995,8 +70242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70071,7 +70318,7 @@ paths: - version - url additionalProperties: false - metadata: &484 + metadata: &485 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70104,7 +70351,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *484 + metadata: *485 resolved: type: object description: A collection of resolved package dependencies. @@ -70117,7 +70364,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *484 + metadata: *485 relationship: type: string description: A notation of whether a dependency is requested @@ -70246,8 +70493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *324 - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -70287,9 +70534,9 @@ paths: application/json: schema: type: array - items: *485 + items: *486 examples: - default: *486 + default: *487 headers: Link: *59 x-github: @@ -70355,8 +70602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70437,7 +70684,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: simple-example: summary: Simple example @@ -70510,9 +70757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *324 - *325 - - &487 + - *326 + - &488 name: deployment_id description: deployment_id parameter in: path @@ -70524,7 +70771,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *486 examples: default: value: @@ -70589,9 +70836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *324 - *325 - - *487 + - *326 + - *488 responses: '204': description: Response @@ -70613,9 +70860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *324 - *325 - - *487 + - *326 + - *488 - *17 - *19 responses: @@ -70625,7 +70872,7 @@ paths: application/json: schema: type: array - items: &488 + items: &489 title: Deployment Status description: The status of a deployment. type: object @@ -70786,9 +71033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *324 - *325 - - *487 + - *326 + - *488 requestBody: required: true content: @@ -70863,9 +71110,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: &489 + default: &490 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70921,9 +71168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *324 - *325 - - *487 + - *326 + - *488 - name: status_id in: path required: true @@ -70934,9 +71181,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *489 examples: - default: *489 + default: *490 '404': *6 x-github: githubCloudOnly: false @@ -70961,8 +71208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -71019,8 +71266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -71037,7 +71284,7 @@ paths: type: integer environments: type: array - items: &491 + items: &492 title: Environment description: Details of a deployment environment type: object @@ -71089,7 +71336,7 @@ paths: type: type: string example: wait_timer - wait_timer: &493 + wait_timer: &494 type: integer example: 30 description: The amount of time to delay a job after @@ -71126,7 +71373,7 @@ paths: items: type: object properties: - type: *490 + type: *491 reviewer: anyOf: - *4 @@ -71150,7 +71397,7 @@ paths: - id - node_id - type - deployment_branch_policy: &494 + deployment_branch_policy: &495 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71266,9 +71513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *324 - *325 - - &492 + - *326 + - &493 name: environment_name in: path required: true @@ -71281,9 +71528,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &495 + default: &496 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71367,9 +71614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: false content: @@ -71378,7 +71625,7 @@ paths: type: object nullable: true properties: - wait_timer: *493 + wait_timer: *494 prevent_self_review: type: boolean example: false @@ -71395,13 +71642,13 @@ paths: items: type: object properties: - type: *490 + type: *491 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *494 + deployment_branch_policy: *495 additionalProperties: false examples: default: @@ -71421,9 +71668,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *495 + default: *496 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71447,9 +71694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *324 - *325 - - *492 + - *326 + - *493 responses: '204': description: Default response @@ -71474,9 +71721,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *17 - *19 responses: @@ -71494,7 +71741,7 @@ paths: example: 2 branch_policies: type: array - items: &496 + items: &497 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71551,9 +71798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: true content: @@ -71599,9 +71846,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - example-wildcard: &497 + example-wildcard: &498 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71643,10 +71890,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - &498 + - *326 + - *493 + - &499 name: branch_policy_id in: path required: true @@ -71658,9 +71905,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71679,10 +71926,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - *498 + - *326 + - *493 + - *499 requestBody: required: true content: @@ -71710,9 +71957,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71731,10 +71978,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *324 - *325 - - *492 - - *498 + - *326 + - *493 + - *499 responses: '204': description: Response @@ -71759,9 +72006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 responses: '200': description: List of deployment protection rules @@ -71777,7 +72024,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &499 + items: &500 title: Deployment protection rule description: Deployment protection rule type: object @@ -71796,7 +72043,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &500 + app: &501 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71895,9 +72142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 requestBody: content: application/json: @@ -71918,9 +72165,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *499 + schema: *500 examples: - default: &501 + default: &502 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71955,9 +72202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 - *19 - *17 responses: @@ -71976,7 +72223,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *500 + items: *501 examples: default: value: @@ -72011,10 +72258,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *324 - *325 - - *492 - - &502 + - *326 + - *493 + - &503 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72026,9 +72273,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *501 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72049,10 +72296,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *492 + - *493 + - *326 - *325 - - *324 - - *502 + - *503 responses: '204': description: Response @@ -72078,9 +72325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *17 - *19 responses: @@ -72098,9 +72345,9 @@ paths: type: integer secrets: type: array - items: *369 + items: *370 examples: - default: *370 + default: *371 headers: Link: *59 x-github: @@ -72125,17 +72372,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *324 - *325 - - *492 + - *326 + - *493 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: - default: *372 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72157,18 +72404,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72190,9 +72437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 requestBody: required: true @@ -72250,9 +72497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *159 responses: '204': @@ -72278,10 +72525,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *324 - *325 - - *492 - - *340 + - *326 + - *493 + - *341 - *19 responses: '200': @@ -72298,9 +72545,9 @@ paths: type: integer variables: type: array - items: *373 + items: *374 examples: - default: *374 + default: *375 headers: Link: *59 x-github: @@ -72323,9 +72570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *324 - *325 - - *492 + - *326 + - *493 requestBody: required: true content: @@ -72377,18 +72624,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *324 - *325 - - *492 + - *326 + - *493 - *162 responses: '200': description: Response content: application/json: - schema: *373 + schema: *374 examples: - default: *504 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72409,10 +72656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *324 - *325 + - *326 - *162 - - *492 + - *493 requestBody: required: true content: @@ -72454,10 +72701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *324 - *325 + - *326 - *162 - - *492 + - *493 responses: '204': description: Response @@ -72479,8 +72726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -72548,8 +72795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *324 - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72708,8 +72955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -72741,9 +72988,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 '400': *14 '422': *15 '403': *29 @@ -72764,8 +73011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72825,7 +73072,7 @@ paths: schema: oneOf: - *120 - - *505 + - *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72850,8 +73097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *324 - *325 + - *326 - name: file_sha in: path required: true @@ -72950,8 +73197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73060,7 +73307,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &507 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73274,15 +73521,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *324 - *325 - - *459 + - *326 + - *460 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: default: value: @@ -73338,9 +73585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *324 - *325 - - &507 + - *326 + - &508 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -73357,7 +73604,7 @@ paths: application/json: schema: type: array - items: &508 + items: &509 title: Git Reference description: Git references within a repository type: object @@ -73432,17 +73679,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: &509 + default: &510 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73471,8 +73718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73501,9 +73748,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73529,9 +73776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 requestBody: required: true content: @@ -73560,9 +73807,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *509 examples: - default: *509 + default: *510 '422': *15 '409': *52 x-github: @@ -73580,9 +73827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *324 - *325 - - *507 + - *326 + - *508 responses: '204': description: Response @@ -73637,8 +73884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73705,7 +73952,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &512 title: Git Tag description: Metadata for a Git tag type: object @@ -73756,7 +74003,7 @@ paths: - sha - type - url - verification: *510 + verification: *511 required: - sha - url @@ -73766,7 +74013,7 @@ paths: - tag - message examples: - default: &512 + default: &513 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73839,8 +74086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *324 - *325 + - *326 - name: tag_sha in: path required: true @@ -73851,9 +74098,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 '404': *6 '409': *52 x-github: @@ -73877,8 +74124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -73951,7 +74198,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &514 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74047,8 +74294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *324 - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74071,7 +74318,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: default-response: summary: Default response @@ -74130,8 +74377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -74141,7 +74388,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 title: Webhook description: Webhooks for repositories. type: object @@ -74195,7 +74442,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &752 + last_response: &755 title: Hook Response type: object properties: @@ -74269,8 +74516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -74322,9 +74569,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: &515 + default: &516 value: type: Repository id: 12345678 @@ -74372,17 +74619,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '200': description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -74402,8 +74649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 requestBody: required: true @@ -74449,9 +74696,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *515 + default: *516 '422': *15 '404': *6 x-github: @@ -74472,8 +74719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74498,8 +74745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *203 responses: '200': @@ -74527,8 +74774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *324 - *325 + - *326 - *203 requestBody: required: false @@ -74573,8 +74820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *17 - *204 @@ -74606,8 +74853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *16 responses: @@ -74636,8 +74883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 - *16 responses: @@ -74661,8 +74908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74688,8 +74935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *324 - *325 + - *326 - *203 responses: '204': @@ -74713,8 +74960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74760,8 +75007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *182 '409': *52 @@ -74781,8 +75028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *324 - *325 + - *326 responses: '204': *182 '409': *52 @@ -74839,14 +75086,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &516 + schema: &517 title: Import description: A repository import from an external source. type: object @@ -74945,7 +75192,7 @@ paths: - html_url - authors_url examples: - default: &519 + default: &520 value: vcs: subversion use_lfs: true @@ -74961,7 +75208,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &517 + '503': &518 description: Unavailable due to service under maintenance. content: application/json: @@ -74990,8 +75237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75039,7 +75286,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: default: value: @@ -75064,7 +75311,7 @@ paths: type: string '422': *15 '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75092,8 +75339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -75142,7 +75389,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: example-1: summary: Example 1 @@ -75190,7 +75437,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75213,12 +75460,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *324 - *325 + - *326 responses: '204': description: Response - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75244,9 +75491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *324 - *325 - - &685 + - *326 + - &686 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75260,7 +75507,7 @@ paths: application/json: schema: type: array - items: &518 + items: &519 title: Porter Author description: Porter Author type: object @@ -75314,7 +75561,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75339,8 +75586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *324 - *325 + - *326 - name: author_id in: path required: true @@ -75370,7 +75617,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *519 examples: default: value: @@ -75383,7 +75630,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75407,8 +75654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75449,7 +75696,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75477,8 +75724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -75505,11 +75752,11 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *519 + default: *520 '422': *15 - '503': *517 + '503': *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75532,8 +75779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75541,8 +75788,8 @@ paths: application/json: schema: *22 examples: - default: *520 - '301': *328 + default: *521 + '301': *329 '404': *6 x-github: githubCloudOnly: false @@ -75562,8 +75809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -75576,7 +75823,7 @@ paths: properties: {} additionalProperties: false examples: - default: &522 + default: &523 value: limit: collaborators_only origin: repository @@ -75601,13 +75848,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *521 + schema: *522 examples: default: summary: Example request body @@ -75621,7 +75868,7 @@ paths: application/json: schema: *221 examples: - default: *522 + default: *523 '409': description: Response x-github: @@ -75643,8 +75890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -75667,8 +75914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -75678,9 +75925,9 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: &678 + default: &679 value: - id: 1 repository: @@ -75811,8 +76058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *324 - *325 + - *326 - *225 requestBody: required: false @@ -75842,7 +76089,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *524 examples: default: value: @@ -75973,8 +76220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *324 - *325 + - *326 - *225 responses: '204': @@ -76006,8 +76253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *324 - *325 + - *326 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -76080,7 +76327,7 @@ paths: type: array items: *75 examples: - default: &535 + default: &536 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76228,7 +76475,7 @@ paths: state_reason: completed headers: Link: *59 - '301': *328 + '301': *329 '422': *15 '404': *6 x-github: @@ -76257,8 +76504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -76342,7 +76589,7 @@ paths: application/json: schema: *75 examples: - default: &532 + default: &533 value: id: 1 node_id: MDU6SXNzdWUx @@ -76498,7 +76745,7 @@ paths: '422': *15 '503': *112 '404': *6 - '410': *524 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -76526,8 +76773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *99 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76548,9 +76795,9 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: &534 + default: &535 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76608,17 +76855,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: &526 + default: &527 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76672,8 +76919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -76696,9 +76943,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -76716,8 +76963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -76738,8 +76985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76766,9 +77013,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -76789,8 +77036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -76823,16 +77070,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -76854,10 +77101,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - *528 + - *529 responses: '204': description: Response @@ -76877,8 +77124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -76888,7 +77135,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Issue Event description: Issue Event type: object @@ -76931,8 +77178,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *530 + required: *531 nullable: true label: title: Issue Event Label @@ -77239,8 +77486,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *324 - *325 + - *326 - name: event_id in: path required: true @@ -77251,7 +77498,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -77443,7 +77690,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *524 + '410': *525 '403': *29 x-github: githubCloudOnly: false @@ -77477,9 +77724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *324 - *325 - - &533 + - *326 + - &534 name: issue_number description: The number that identifies the issue. in: path @@ -77493,10 +77740,10 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '404': *6 - '410': *524 + '410': *525 '304': *37 x-github: githubCloudOnly: false @@ -77521,9 +77768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -77629,13 +77876,13 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 '422': *15 '503': *112 '403': *29 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77653,9 +77900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -77683,7 +77930,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77699,9 +77946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: content: application/json: @@ -77728,7 +77975,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77750,9 +77997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: assignee in: path required: true @@ -77792,9 +78039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *82 - *17 - *19 @@ -77805,13 +78052,13 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: *534 + default: *535 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77840,9 +78087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -77864,16 +78111,16 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -77901,9 +78148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -77915,12 +78162,12 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77948,9 +78195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -77974,15 +78221,15 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *328 + '301': *329 '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -78013,9 +78260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78029,13 +78276,13 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *524 + '410': *525 x-github: triggersNotification: true githubCloudOnly: false @@ -78061,9 +78308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78075,12 +78322,12 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78097,9 +78344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78113,7 +78360,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &538 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78167,7 +78414,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &539 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78303,7 +78550,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &540 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78354,7 +78601,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &541 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78405,7 +78652,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &542 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78459,7 +78706,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &543 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78506,7 +78753,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &544 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78553,7 +78800,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &545 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78613,7 +78860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &546 title: Locked Issue Event description: Locked Issue Event type: object @@ -78661,7 +78908,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &547 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78727,7 +78974,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &548 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78793,7 +79040,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &549 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78859,7 +79106,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &550 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78950,7 +79197,7 @@ paths: color: red headers: Link: *59 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78967,9 +79214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -78981,7 +79228,7 @@ paths: type: array items: *74 examples: - default: &536 + default: &537 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78999,9 +79246,9 @@ paths: default: false headers: Link: *59 - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79018,9 +79265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79081,10 +79328,10 @@ paths: type: array items: *74 examples: - default: *536 - '301': *328 + default: *537 + '301': *329 '404': *6 - '410': *524 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -79101,9 +79348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79165,10 +79412,10 @@ paths: type: array items: *74 examples: - default: *536 - '301': *328 + default: *537 + '301': *329 '404': *6 - '410': *524 + '410': *525 '422': *15 x-github: githubCloudOnly: false @@ -79185,15 +79432,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '204': description: Response - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79212,9 +79459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: name in: path required: true @@ -79238,9 +79485,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *328 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79260,9 +79507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: false content: @@ -79290,7 +79537,7 @@ paths: '204': description: Response '403': *29 - '410': *524 + '410': *525 '404': *6 '422': *15 x-github: @@ -79308,9 +79555,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '204': description: Response @@ -79340,9 +79587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 responses: '200': description: Response @@ -79350,10 +79597,10 @@ paths: application/json: schema: *75 examples: - default: *532 - '301': *328 + default: *533 + '301': *329 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79370,9 +79617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -79398,13 +79645,13 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79422,9 +79669,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79456,16 +79703,16 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -79487,10 +79734,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *324 - *325 - - *533 - - *528 + - *326 + - *534 + - *529 responses: '204': description: Response @@ -79519,9 +79766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79545,7 +79792,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79578,9 +79825,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -79592,11 +79839,11 @@ paths: type: array items: *75 examples: - default: *535 + default: *536 headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79624,9 +79871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79655,14 +79902,14 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *524 + '410': *525 '422': *15 '404': *6 x-github: @@ -79682,9 +79929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 requestBody: required: true content: @@ -79717,7 +79964,7 @@ paths: application/json: schema: *75 examples: - default: *532 + default: *533 '403': *29 '404': *6 '422': *7 @@ -79739,9 +79986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *324 - *325 - - *533 + - *326 + - *534 - *17 - *19 responses: @@ -79756,7 +80003,6 @@ paths: description: Timeline Event type: object anyOf: - - *537 - *538 - *539 - *540 @@ -79769,6 +80015,7 @@ paths: - *547 - *548 - *549 + - *550 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80077,7 +80324,7 @@ paths: type: string comments: type: array - items: &569 + items: &570 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80292,7 +80539,7 @@ paths: type: string comments: type: array - items: *455 + items: *456 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80581,7 +80828,7 @@ paths: headers: Link: *59 '404': *6 - '410': *524 + '410': *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80598,8 +80845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80609,7 +80856,7 @@ paths: application/json: schema: type: array - items: &550 + items: &551 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80675,8 +80922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80712,9 +80959,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: id: 1 key: ssh-rsa AAA... @@ -80748,9 +80995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *324 - *325 - - &552 + - *326 + - &553 name: key_id description: The unique identifier of the key. in: path @@ -80762,9 +81009,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -80782,9 +81029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *324 - *325 - - *552 + - *326 + - *553 responses: '204': description: Response @@ -80804,8 +81051,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -80817,7 +81064,7 @@ paths: type: array items: *74 examples: - default: *536 + default: *537 headers: Link: *59 '404': *6 @@ -80838,8 +81085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -80877,7 +81124,7 @@ paths: application/json: schema: *74 examples: - default: &553 + default: &554 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80909,8 +81156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -80923,7 +81170,7 @@ paths: application/json: schema: *74 examples: - default: *553 + default: *554 '404': *6 x-github: githubCloudOnly: false @@ -80940,8 +81187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -81006,8 +81253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -81033,8 +81280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -81073,9 +81320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *324 - *325 - - *428 + - *326 + - *429 responses: '200': description: Response @@ -81220,8 +81467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81286,8 +81533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81321,9 +81568,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *458 + schema: *459 examples: - default: *554 + default: *555 '204': description: Response when already merged '404': @@ -81348,8 +81595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *324 - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81390,7 +81637,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Milestone description: A collection of related issues and pull requests. type: object @@ -81451,8 +81698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -81492,9 +81739,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: &556 + default: &557 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81553,9 +81800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *324 - *325 - - &557 + - *326 + - &558 name: milestone_number description: The number that identifies the milestone. in: path @@ -81567,9 +81814,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -81586,9 +81833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 requestBody: required: false content: @@ -81626,9 +81873,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81644,9 +81891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 responses: '204': description: Response @@ -81667,9 +81914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *324 - *325 - - *557 + - *326 + - *558 - *17 - *19 responses: @@ -81681,7 +81928,7 @@ paths: type: array items: *74 examples: - default: *536 + default: *537 headers: Link: *59 x-github: @@ -81700,12 +81947,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *324 - *325 - - *558 + - *326 - *559 - - *82 - *560 + - *82 + - *561 - *17 - *19 responses: @@ -81717,7 +81964,7 @@ paths: type: array items: *102 examples: - default: *561 + default: *562 headers: Link: *59 x-github: @@ -81741,8 +81988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -81800,14 +82047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &562 + schema: &563 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81932,7 +82179,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &564 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81973,8 +82220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82028,9 +82275,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *563 examples: - default: *563 + default: *564 '422': *15 '409': *52 x-github: @@ -82053,8 +82300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82153,8 +82400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -82180,8 +82427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -82191,7 +82438,7 @@ paths: application/json: schema: type: array - items: &564 + items: &565 title: Page Build description: Page Build type: object @@ -82285,8 +82532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -82331,16 +82578,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: &565 + default: &566 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82388,8 +82635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *324 - *325 + - *326 - name: build_id in: path required: true @@ -82400,9 +82647,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82422,8 +82669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -82528,9 +82775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *324 - *325 - - &566 + - *326 + - &567 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82588,9 +82835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *324 - *325 - - *566 + - *326 + - *567 responses: '204': *182 '404': *6 @@ -82617,8 +82864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82876,8 +83123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82914,8 +83161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *182 '422': *14 @@ -82936,8 +83183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': *182 '422': *14 @@ -82959,8 +83206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -82968,7 +83215,7 @@ paths: application/json: schema: type: array - items: *277 + items: *278 examples: default: value: @@ -82999,8 +83246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -83012,7 +83259,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *277 + items: *278 required: - properties examples: @@ -83062,8 +83309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *324 - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83123,9 +83370,9 @@ paths: application/json: schema: type: array - items: *462 + items: *463 examples: - default: *567 + default: *568 headers: Link: *59 '304': *37 @@ -83157,8 +83404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -83223,7 +83470,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &572 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83380,7 +83627,7 @@ paths: nullable: true requested_teams: type: array - items: *314 + items: *315 nullable: true head: type: object @@ -83437,7 +83684,7 @@ paths: - review_comment - self author_association: *76 - auto_merge: *568 + auto_merge: *569 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83529,7 +83776,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &573 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84056,8 +84303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *324 - *325 + - *326 - name: sort in: query required: false @@ -84086,9 +84333,9 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: - default: &574 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84165,17 +84412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 responses: '200': description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: &570 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84250,8 +84497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -84274,9 +84521,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: - default: *570 + default: *571 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84292,8 +84539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *324 - *325 + - *326 - *91 responses: '204': @@ -84315,8 +84562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *91 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84343,9 +84590,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -84366,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *324 - *325 + - *326 - *91 requestBody: required: true @@ -84400,16 +84647,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -84431,10 +84678,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *324 - *325 + - *326 - *91 - - *528 + - *529 responses: '204': description: Response @@ -84477,9 +84724,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *324 - *325 - - &573 + - *326 + - &574 name: pull_number description: The number that identifies the pull request. in: path @@ -84492,9 +84739,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '304': *37 '404': *6 '406': @@ -84529,9 +84776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -84573,9 +84820,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 '403': *29 x-github: @@ -84597,9 +84844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -84661,7 +84908,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -84669,7 +84916,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -84699,9 +84946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *99 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -84722,9 +84969,9 @@ paths: application/json: schema: type: array - items: *569 + items: *570 examples: - default: *574 + default: *575 headers: Link: *59 x-github: @@ -84757,9 +85004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -84864,7 +85111,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: example-for-a-multi-line-comment: value: @@ -84952,9 +85199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *91 requestBody: required: true @@ -84977,7 +85224,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *570 examples: default: value: @@ -85063,9 +85310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -85075,9 +85322,9 @@ paths: application/json: schema: type: array - items: *458 + items: *459 examples: - default: *575 + default: *576 headers: Link: *59 x-github: @@ -85107,9 +85354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -85119,7 +85366,7 @@ paths: application/json: schema: type: array - items: *471 + items: *472 examples: default: value: @@ -85157,9 +85404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *324 - *325 - - *573 + - *326 + - *574 responses: '204': description: Response if pull request has been merged @@ -85182,9 +85429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -85295,9 +85542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 responses: '200': description: Response @@ -85372,9 +85619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -85411,7 +85658,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -85947,9 +86194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: true content: @@ -85983,7 +86230,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: default: value: @@ -86488,9 +86735,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 - *17 - *19 responses: @@ -86500,7 +86747,7 @@ paths: application/json: schema: type: array - items: &576 + items: &577 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86651,9 +86898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -86739,9 +86986,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &578 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86804,10 +87051,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - &577 + - *326 + - *574 + - &578 name: review_id description: The unique identifier of the review. in: path @@ -86819,9 +87066,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &579 + default: &580 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86880,10 +87127,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -86906,7 +87153,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -86968,18 +87215,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 responses: '200': description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *578 + default: *579 '422': *7 '404': *6 x-github: @@ -87006,10 +87253,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 - *17 - *19 responses: @@ -87244,10 +87491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -87275,7 +87522,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: default: value: @@ -87338,10 +87585,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *324 - *325 - - *573 - - *577 + - *326 + - *574 + - *578 requestBody: required: true content: @@ -87376,9 +87623,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *579 + default: *580 '404': *6 '422': *7 '403': *29 @@ -87400,9 +87647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *324 - *325 - - *573 + - *326 + - *574 requestBody: required: false content: @@ -87465,8 +87712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *324 - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87479,9 +87726,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: &581 + default: &582 value: type: file encoding: base64 @@ -87523,8 +87770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *324 - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87544,9 +87791,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: - default: *581 + default: *582 '404': *6 '422': *15 x-github: @@ -87568,8 +87815,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -87579,7 +87826,7 @@ paths: application/json: schema: type: array - items: *582 + items: *583 examples: default: value: @@ -87673,8 +87920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -87750,9 +87997,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: &586 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87857,9 +88104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *324 - *325 - - &584 + - *326 + - &585 name: asset_id description: The unique identifier of the asset. in: path @@ -87871,9 +88118,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: &585 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -87908,7 +88155,7 @@ paths: type: User site_admin: false '404': *6 - '302': *473 + '302': *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87924,9 +88171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *324 - *325 - - *584 + - *326 + - *585 requestBody: required: false content: @@ -87954,9 +88201,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *584 examples: - default: *585 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87972,9 +88219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *324 - *325 - - *584 + - *326 + - *585 responses: '204': description: Response @@ -87998,8 +88245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -88084,16 +88331,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88110,8 +88357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *324 - *325 + - *326 - name: tag description: tag parameter in: path @@ -88124,9 +88371,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '404': *6 x-github: githubCloudOnly: false @@ -88148,9 +88395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *324 - *325 - - &587 + - *326 + - &588 name: release_id description: The unique identifier of the release. in: path @@ -88164,9 +88411,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '401': description: Unauthorized x-github: @@ -88184,9 +88431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 requestBody: required: false content: @@ -88250,9 +88497,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *586 + default: *587 '404': description: Not Found if the discussion category name is invalid content: @@ -88273,9 +88520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 responses: '204': description: Response @@ -88295,9 +88542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *324 - *325 - - *587 + - *326 + - *588 - *17 - *19 responses: @@ -88307,7 +88554,7 @@ paths: application/json: schema: type: array - items: *583 + items: *584 examples: default: value: @@ -88388,9 +88635,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *324 - *325 - - *587 + - *326 + - *588 - name: name in: query required: true @@ -88416,7 +88663,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *584 examples: response-for-successful-upload: value: @@ -88471,9 +88718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -88497,9 +88744,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *527 + default: *528 headers: Link: *59 '404': *6 @@ -88520,9 +88767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *324 - *325 - - *587 + - *326 + - *588 requestBody: required: true content: @@ -88552,16 +88799,16 @@ paths: description: Reaction exists content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '201': description: Reaction created content: application/json: - schema: *456 + schema: *457 examples: - default: *457 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -88583,10 +88830,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *324 - *325 - - *587 - - *528 + - *326 + - *588 + - *529 responses: '204': description: Response @@ -88610,9 +88857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *324 - *325 - - *391 + - *326 + - *392 - *17 - *19 responses: @@ -88628,8 +88875,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *286 - - &588 + - *287 + - &589 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88648,69 +88895,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *287 - - *588 - allOf: - *288 - - *588 + - *589 - allOf: - *289 - - *588 - - allOf: - *589 - - *588 - allOf: - *290 - - *588 + - *589 + - allOf: + - *590 + - *589 - allOf: - *291 - - *588 + - *589 - allOf: - *292 - - *588 + - *589 - allOf: - *293 - - *588 + - *589 - allOf: - *294 - - *588 + - *589 - allOf: - *295 - - *588 + - *589 - allOf: - *296 - - *588 + - *589 - allOf: - *297 - - *588 + - *589 - allOf: - *298 - - *588 + - *589 - allOf: - *299 - - *588 + - *589 - allOf: - *300 - - *588 + - *589 - allOf: - *301 - - *588 + - *589 - allOf: - *302 - - *588 + - *589 - allOf: - *303 - - *588 + - *589 - allOf: - *304 - - *588 + - *589 - allOf: - *305 - - *588 + - *589 - allOf: - *306 - - *588 + - *589 + - allOf: + - *307 + - *589 examples: default: value: @@ -88749,8 +88996,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88761,7 +89008,7 @@ paths: schema: type: boolean default: true - - *590 + - *591 responses: '200': description: Response @@ -88769,7 +89016,7 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: default: value: @@ -88816,8 +89063,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 requestBody: description: Request body required: true @@ -88837,16 +89084,16 @@ paths: - tag - push default: branch - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *281 + items: *285 + conditions: *282 rules: type: array description: An array of rules within the ruleset. - items: *591 + items: *592 required: - name - enforcement @@ -88877,9 +89124,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &601 + default: &602 value: id: 42 name: super cool ruleset @@ -88926,12 +89173,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *324 - *325 - - *592 + - *326 - *593 - *594 - *595 + - *596 - *17 - *19 responses: @@ -88939,9 +89186,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 '404': *6 '500': *111 x-github: @@ -88962,17 +89209,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *324 - *325 - - *598 + - *326 + - *599 responses: '200': description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *600 + default: *601 '404': *6 '500': *111 x-github: @@ -89000,8 +89247,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89021,9 +89268,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *601 + default: *602 '404': *6 '500': *111 put: @@ -89041,8 +89288,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89067,16 +89314,16 @@ paths: - branch - tag - push - enforcement: *283 + enforcement: *284 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *284 - conditions: *281 + items: *285 + conditions: *282 rules: description: An array of rules within the ruleset. type: array - items: *591 + items: *592 examples: default: value: @@ -89104,9 +89351,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *601 + default: *602 '404': *6 '500': *111 delete: @@ -89124,8 +89371,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89148,8 +89395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *324 - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -89165,9 +89412,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *602 + default: *603 '404': *6 '500': *111 x-github: @@ -89186,8 +89433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89205,7 +89452,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: default: value: @@ -89260,22 +89507,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *324 - *325 - - *604 + - *326 - *605 - *606 - *607 - *608 + - *609 - *53 - *19 - *17 - - *609 - *610 - *611 - *612 - *613 - *614 + - *615 responses: '200': description: Response @@ -89283,7 +89530,7 @@ paths: application/json: schema: type: array - items: &618 + items: &619 type: object properties: number: *169 @@ -89302,8 +89549,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *615 - resolution: *616 + state: *616 + resolution: *617 resolved_at: type: string format: date-time @@ -89399,7 +89646,7 @@ paths: pull request. ' - oneOf: *617 + oneOf: *618 nullable: true has_more_locations: type: boolean @@ -89548,16 +89795,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 - - *614 + - *326 + - *423 + - *615 responses: '200': description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -89611,9 +89858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 requestBody: required: true content: @@ -89621,8 +89868,8 @@ paths: schema: type: object properties: - state: *615 - resolution: *616 + state: *616 + resolution: *617 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89656,7 +89903,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *619 examples: default: value: @@ -89751,9 +89998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *324 - *325 - - *422 + - *326 + - *423 - *19 - *17 responses: @@ -89764,7 +90011,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &774 + items: &777 type: object properties: type: @@ -89790,7 +90037,6 @@ paths: example: commit details: oneOf: - - *619 - *620 - *621 - *622 @@ -89803,6 +90049,7 @@ paths: - *629 - *630 - *631 + - *632 examples: default: value: @@ -89888,8 +90135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89897,14 +90144,14 @@ paths: schema: type: object properties: - reason: &633 + reason: &634 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *632 + placeholder_id: *633 required: - reason - placeholder_id @@ -89921,7 +90168,7 @@ paths: schema: type: object properties: - reason: *633 + reason: *634 expire_at: type: string format: date-time @@ -89967,8 +90214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *324 - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -89983,7 +90230,7 @@ paths: properties: incremental_scans: type: array - items: &634 + items: &635 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90009,15 +90256,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *634 + items: *635 backfill_scans: type: array - items: *634 + items: *635 custom_pattern_backfill_scans: type: array items: allOf: - - *634 + - *635 - type: object properties: pattern_name: @@ -90087,8 +90334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *324 - *325 + - *326 - *53 - name: sort description: The property to sort the results by. @@ -90132,9 +90379,9 @@ paths: application/json: schema: type: array - items: *635 + items: *636 examples: - default: *636 + default: *637 '400': *14 '404': *6 x-github: @@ -90157,8 +90404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90231,7 +90478,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 required: - login - type @@ -90318,9 +90565,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: &638 + default: &639 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90553,8 +90800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -90658,7 +90905,7 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: default: value: @@ -90805,17 +91052,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '200': description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 + default: *639 '403': *29 '404': *6 x-github: @@ -90839,9 +91086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 requestBody: required: true content: @@ -90914,7 +91161,7 @@ paths: login: type: string description: The username of the user credited. - type: *313 + type: *314 required: - login - type @@ -91000,10 +91247,10 @@ paths: description: Response content: application/json: - schema: *635 + schema: *636 examples: - default: *638 - add_credit: *638 + default: *639 + add_credit: *639 '403': *29 '404': *6 '422': @@ -91041,9 +91288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '202': *39 '400': *14 @@ -91070,17 +91317,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *324 - *325 - - *637 + - *326 + - *638 responses: '202': description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 '400': *14 '422': *15 '403': *29 @@ -91106,8 +91353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91206,8 +91453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91216,7 +91463,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91249,8 +91496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91326,8 +91573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -91423,8 +91670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *324 - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91578,8 +91825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *324 - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91589,7 +91836,7 @@ paths: application/json: schema: type: array - items: *639 + items: *640 examples: default: value: @@ -91622,8 +91869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *324 - *325 + - *326 - name: sha in: path required: true @@ -91677,7 +91924,7 @@ paths: description: Response content: application/json: - schema: *640 + schema: *641 examples: default: value: @@ -91731,8 +91978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91764,14 +92011,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &641 + schema: &642 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91839,8 +92086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -91866,7 +92113,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -91893,8 +92140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -91914,8 +92161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -91994,8 +92241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92003,7 +92250,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Tag protection description: Tag protection type: object @@ -92055,8 +92302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92079,7 +92326,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *643 examples: default: value: @@ -92110,8 +92357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *324 - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92148,8 +92395,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -92185,8 +92432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *324 - *325 + - *326 - *17 - *19 responses: @@ -92218,8 +92465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *324 - *325 + - *326 - *19 - *17 responses: @@ -92227,7 +92474,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &644 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92239,7 +92486,7 @@ paths: required: - names examples: - default: &644 + default: &645 value: names: - octocat @@ -92262,8 +92509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92294,9 +92541,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '422': *7 x-github: @@ -92317,9 +92564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *324 - *325 - - &645 + - *326 + - &646 name: per description: The time frame to display results for. in: query @@ -92348,7 +92595,7 @@ paths: example: 128 clones: type: array - items: &646 + items: &647 title: Traffic type: object properties: @@ -92435,8 +92682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92526,8 +92773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -92587,9 +92834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *324 - *325 - - *645 + - *326 + - *646 responses: '200': description: Response @@ -92608,7 +92855,7 @@ paths: example: 3782 views: type: array - items: *646 + items: *647 required: - uniques - count @@ -92685,8 +92932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -92960,8 +93207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92984,8 +93231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -93007,8 +93254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -93034,8 +93281,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -93127,9 +93374,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93377,7 +93624,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &647 + text_matches: &648 title: Search Result Text Matches type: array items: @@ -93539,7 +93786,7 @@ paths: enum: - author-date - committer-date - - &648 + - &649 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -93610,7 +93857,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true comment_count: type: integer @@ -93630,7 +93877,7 @@ paths: url: type: string format: uri - verification: *510 + verification: *511 required: - author - committer @@ -93649,7 +93896,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *389 + properties: *390 nullable: true parents: type: array @@ -93667,7 +93914,7 @@ paths: type: number node_id: type: string - text_matches: *647 + text_matches: *648 required: - sha - node_id @@ -93859,7 +94106,7 @@ paths: - interactions - created - updated - - *648 + - *649 - *17 - *19 - name: advanced_search @@ -93956,11 +94203,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: type: string state_reason: @@ -93992,7 +94239,7 @@ paths: type: string format: date-time nullable: true - text_matches: *647 + text_matches: *648 pull_request: type: object properties: @@ -94217,7 +94464,7 @@ paths: enum: - created - updated - - *648 + - *649 - *17 - *19 responses: @@ -94261,7 +94508,7 @@ paths: nullable: true score: type: number - text_matches: *647 + text_matches: *648 required: - id - node_id @@ -94346,7 +94593,7 @@ paths: - forks - help-wanted-issues - updated - - *648 + - *649 - *17 - *19 responses: @@ -94585,7 +94832,7 @@ paths: - admin - pull - push - text_matches: *647 + text_matches: *648 temp_clone_token: type: string allow_merge_commit: @@ -94885,7 +95132,7 @@ paths: type: string format: uri nullable: true - text_matches: *647 + text_matches: *648 related: type: array nullable: true @@ -95076,7 +95323,7 @@ paths: - followers - repositories - joined - - *648 + - *649 - *17 - *19 responses: @@ -95180,7 +95427,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *647 + text_matches: *648 blog: type: string nullable: true @@ -95259,7 +95506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &652 + - &653 name: team_id description: The unique identifier of the team. in: path @@ -95271,9 +95518,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -95300,7 +95547,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *652 + - *653 requestBody: required: true content: @@ -95363,16 +95610,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '201': description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *322 + default: *323 '404': *6 '422': *15 '403': *29 @@ -95400,7 +95647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *652 + - *653 responses: '204': description: Response @@ -95429,7 +95676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -95467,7 +95714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *652 + - *653 - name: role description: Filters members returned by their role in the team. in: query @@ -95518,7 +95765,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95555,7 +95802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95595,7 +95842,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95632,16 +95879,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-user-is-a-team-maintainer: *653 + response-if-user-is-a-team-maintainer: *654 '404': *6 x-github: githubCloudOnly: false @@ -95674,7 +95921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 requestBody: required: false @@ -95700,9 +95947,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *324 examples: - response-if-users-membership-with-team-is-now-pending: *654 + response-if-users-membership-with-team-is-now-pending: *655 '403': description: Forbidden if team synchronization is set up '422': @@ -95736,7 +95983,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *652 + - *653 - *64 responses: '204': @@ -95764,7 +96011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -95806,15 +96053,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *655 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -95965,9 +96212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 requestBody: required: false content: @@ -96017,9 +96264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *652 - - *324 + - *653 - *325 + - *326 responses: '204': description: Response @@ -96044,7 +96291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *652 + - *653 - *17 - *19 responses: @@ -96056,7 +96303,7 @@ paths: type: array items: *188 examples: - response-if-child-teams-exist: *656 + response-if-child-teams-exist: *657 headers: Link: *59 '404': *6 @@ -96089,7 +96336,7 @@ paths: application/json: schema: oneOf: - - &658 + - &659 title: Private User description: Private User type: object @@ -96292,7 +96539,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *657 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -96445,7 +96692,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -96791,7 +97038,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -96799,7 +97046,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -96843,7 +97090,7 @@ paths: type: integer secrets: type: array - items: &659 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96883,7 +97130,7 @@ paths: - visibility - selected_repositories_url examples: - default: *448 + default: *449 headers: Link: *59 x-github: @@ -96959,7 +97206,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *660 examples: default: value: @@ -97105,7 +97352,7 @@ paths: type: array items: *151 examples: - default: *660 + default: *661 '401': *25 '403': *29 '404': *6 @@ -97257,7 +97504,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '304': *37 '500': *111 '401': *25 @@ -97315,7 +97562,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '401': *25 '403': *29 '404': *6 @@ -97372,7 +97619,7 @@ paths: description: Response content: application/json: - schema: &661 + schema: &662 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -97413,7 +97660,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &662 + default: &663 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -97458,9 +97705,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *6 x-github: githubCloudOnly: false @@ -97497,9 +97744,9 @@ paths: type: integer machines: type: array - items: *663 + items: *664 examples: - default: *664 + default: *665 '304': *37 '500': *111 '401': *25 @@ -97578,13 +97825,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *327 + repository: *328 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *446 - required: *447 + properties: *447 + required: *448 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -98366,7 +98613,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '304': *37 '500': *111 '400': *14 @@ -98406,7 +98653,7 @@ paths: application/json: schema: *231 examples: - default: *445 + default: *446 '500': *111 '401': *25 '403': *29 @@ -98438,7 +98685,7 @@ paths: type: array items: *244 examples: - default: &675 + default: &676 value: - id: 197 name: hello_docker @@ -98539,7 +98786,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: Email description: Email type: object @@ -98604,9 +98851,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: &677 + default: &678 value: - email: octocat@github.com verified: true @@ -98681,7 +98928,7 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: default: value: @@ -98937,7 +99184,7 @@ paths: application/json: schema: type: array - items: &666 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -99068,7 +99315,7 @@ paths: - subkeys - revoked examples: - default: &691 + default: &694 value: - id: 3 name: Octocat's GPG Key @@ -99153,9 +99400,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: &667 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -99212,7 +99459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &668 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99224,9 +99471,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *6 '304': *37 '403': *29 @@ -99249,7 +99496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *668 + - *669 responses: '204': description: Response @@ -99554,7 +99801,7 @@ paths: required: true content: application/json: - schema: *521 + schema: *522 examples: default: value: @@ -99704,7 +99951,7 @@ paths: application/json: schema: type: array - items: &669 + items: &670 title: Key description: Key type: object @@ -99805,9 +100052,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: &670 + default: &671 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99840,15 +100087,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *553 responses: '200': description: Response content: application/json: - schema: *669 + schema: *670 examples: - default: *670 + default: *671 '404': *6 '304': *37 '403': *29 @@ -99871,7 +100118,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *553 responses: '204': description: Response @@ -99904,7 +100151,7 @@ paths: application/json: schema: type: array - items: &671 + items: &672 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99972,7 +100219,7 @@ paths: - account - plan examples: - default: &672 + default: &673 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100034,9 +100281,9 @@ paths: application/json: schema: type: array - items: *671 + items: *672 examples: - default: *672 + default: *673 headers: Link: *59 '304': *37 @@ -101045,7 +101292,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *238 - - *673 + - *674 responses: '204': description: Response @@ -101160,7 +101407,7 @@ paths: - docker - nuget - container - - *674 + - *675 - *19 - *17 responses: @@ -101172,8 +101419,8 @@ paths: type: array items: *244 examples: - default: *675 - '400': *676 + default: *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101202,7 +101449,7 @@ paths: application/json: schema: *244 examples: - default: &692 + default: &695 value: id: 40201 name: octo-name @@ -101564,9 +101811,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *677 + default: *678 headers: Link: *59 '304': *37 @@ -101679,7 +101926,7 @@ paths: type: array items: *71 examples: - default: &684 + default: &685 summary: Default response value: - id: 1296269 @@ -101983,9 +102230,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *328 examples: - default: *329 + default: *330 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102023,9 +102270,9 @@ paths: application/json: schema: type: array - items: *523 + items: *524 examples: - default: *678 + default: *679 headers: Link: *59 '304': *37 @@ -102104,7 +102351,7 @@ paths: application/json: schema: type: array - items: &679 + items: &680 title: Social account description: Social media account type: object @@ -102119,7 +102366,7 @@ paths: - provider - url examples: - default: &680 + default: &681 value: - provider: twitter url: https://twitter.com/github @@ -102181,9 +102428,9 @@ paths: application/json: schema: type: array - items: *679 + items: *680 examples: - default: *680 + default: *681 '422': *15 '304': *37 '404': *6 @@ -102270,7 +102517,7 @@ paths: application/json: schema: type: array - items: &681 + items: &682 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -102290,7 +102537,7 @@ paths: - title - created_at examples: - default: &710 + default: &713 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -102354,9 +102601,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: &682 + default: &683 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -102386,7 +102633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &683 + - &684 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -102398,9 +102645,9 @@ paths: description: Response content: application/json: - schema: *681 + schema: *682 examples: - default: *682 + default: *683 '404': *6 '304': *37 '403': *29 @@ -102423,7 +102670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *683 + - *684 responses: '204': description: Response @@ -102452,7 +102699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &711 + - &714 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -102477,11 +102724,11 @@ paths: type: array items: *71 examples: - default-response: *684 + default-response: *685 application/vnd.github.v3.star+json: schema: type: array - items: &712 + items: &715 title: Starred Repository description: Starred Repository type: object @@ -102637,8 +102884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -102666,8 +102913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102691,8 +102938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102764,7 +103011,7 @@ paths: application/json: schema: type: array - items: *321 + items: *322 examples: default: value: @@ -102850,10 +103097,10 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: &686 + default-response: &689 summary: Default response value: login: octocat @@ -102888,7 +103135,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &687 + response-with-git-hub-plan-information: &690 summary: Response with GitHub plan information value: login: octocat @@ -102945,7 +103192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - name: user_id + - &687 + name: user_id description: The unique identifier of the user. in: path required: true @@ -103010,7 +103258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *685 + - *686 - *17 responses: '200': @@ -103033,6 +103281,116 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - *687 + - *262 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: *688 + examples: + table_view: + summary: Response for creating a table view + value: *273 + board_view: + summary: Response for creating a board view with filter + value: *273 + roadmap_view: + summary: Response for creating a roadmap view + value: *273 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -103059,11 +103417,11 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: *686 - response-with-git-hub-plan-information: *687 + default-response: *689 + response-with-git-hub-plan-information: *690 '404': *6 x-github: githubCloudOnly: false @@ -103113,8 +103471,8 @@ paths: required: - subject_digests examples: - default: *688 - withPredicateType: *689 + default: *691 + withPredicateType: *692 responses: '200': description: Response @@ -103167,7 +103525,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *690 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103372,7 +103730,7 @@ paths: initiator: type: string examples: - default: *385 + default: *386 '201': description: Response content: @@ -103413,7 +103771,7 @@ paths: type: array items: *244 examples: - default: *675 + default: *676 '403': *29 '401': *25 x-github: @@ -103797,9 +104155,9 @@ paths: application/json: schema: type: array - items: *666 + items: *667 examples: - default: *691 + default: *694 headers: Link: *59 x-github: @@ -103903,7 +104261,7 @@ paths: application/json: schema: *22 examples: - default: *520 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104027,7 +104385,7 @@ paths: - docker - nuget - container - - *674 + - *675 - *64 - *19 - *17 @@ -104040,10 +104398,10 @@ paths: type: array items: *244 examples: - default: *675 + default: *676 '403': *29 '401': *25 - '400': *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104073,7 +104431,7 @@ paths: application/json: schema: *244 examples: - default: *692 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104422,7 +104780,7 @@ paths: type: array items: *266 examples: - default: *693 + default: *696 headers: Link: *59 '304': *37 @@ -104482,7 +104840,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *694 + items: *697 required: - name - data_type @@ -104498,7 +104856,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *695 + iteration_configuration: *698 required: - name - data_type @@ -104520,8 +104878,8 @@ paths: value: name: Due date data_type: date - single_select_field: *696 - iteration_field: *697 + single_select_field: *699 + iteration_field: *700 responses: '201': description: Response @@ -104529,11 +104887,11 @@ paths: application/json: schema: *266 examples: - text_field: *698 - number_field: *699 - date_field: *700 - single_select_field: *701 - iteration_field: *702 + text_field: *701 + number_field: *702 + date_field: *703 + single_select_field: *704 + iteration_field: *705 '304': *37 '403': *29 '401': *25 @@ -104555,7 +104913,7 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *262 - - *703 + - *706 - *64 responses: '200': @@ -104564,7 +104922,7 @@ paths: application/json: schema: *266 examples: - default: *704 + default: *707 headers: Link: *59 '304': *37 @@ -104918,7 +105276,7 @@ paths: parameters: - *262 - *64 - - *705 + - *708 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -105193,7 +105551,7 @@ paths: - *114 - *116 - *115 - - *706 + - *709 - *117 responses: '200': @@ -105324,7 +105682,7 @@ paths: parameters: - *64 - *114 - - *707 + - *710 - *115 responses: '200': @@ -105423,9 +105781,9 @@ paths: - *114 - *116 - *115 - - *708 + - *711 - *117 - - *709 + - *712 responses: '200': description: Response when getting a billing usage summary @@ -105559,9 +105917,9 @@ paths: application/json: schema: type: array - items: *679 + items: *680 examples: - default: *680 + default: *681 headers: Link: *59 x-github: @@ -105591,9 +105949,9 @@ paths: application/json: schema: type: array - items: *681 + items: *682 examples: - default: *710 + default: *713 headers: Link: *59 x-github: @@ -105618,7 +105976,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *64 - - *711 + - *714 - *53 - *17 - *19 @@ -105630,11 +105988,11 @@ paths: schema: anyOf: - type: array - items: *712 + items: *715 - type: array items: *71 examples: - default-response: *684 + default-response: *685 headers: Link: *59 x-github: @@ -105793,7 +106151,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &713 + enterprise: &716 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -105851,7 +106209,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &714 + installation: &717 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -105870,7 +106228,7 @@ x-webhooks: required: - id - node_id - organization: &715 + organization: &718 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -105930,13 +106288,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &716 + repository: &719 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &746 + properties: &749 id: description: Unique identifier of the repository example: 42 @@ -106619,7 +106977,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &747 + required: &750 - archive_url - assignees_url - blobs_url @@ -106770,10 +107128,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -106849,11 +107207,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: &717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: &720 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -107076,11 +107434,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: *717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: *720 sender: *4 required: - action @@ -107263,11 +107621,11 @@ x-webhooks: - everyone required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - rule: *717 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + rule: *720 sender: *4 required: - action @@ -107351,7 +107709,7 @@ x-webhooks: type: string enum: - completed - check_run: &719 + check_run: &722 title: CheckRun description: A check performed on the code of a given code change type: object @@ -107442,7 +107800,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *718 + deployment: *721 details_url: example: https://example.com type: string @@ -107527,10 +107885,10 @@ x-webhooks: - output - app - pull_requests - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -107923,11 +108281,11 @@ x-webhooks: type: string enum: - created - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -108323,11 +108681,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 requested_action: description: The action requested by the user. type: object @@ -108732,11 +109090,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *719 - installation: *714 - enterprise: *713 - organization: *715 - repository: *716 + check_run: *722 + installation: *717 + enterprise: *716 + organization: *718 + repository: *719 sender: *4 required: - check_run @@ -109713,10 +110071,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -110410,10 +110768,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -111101,10 +111459,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -111270,7 +111628,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111415,20 +111773,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &720 + commit_oid: &723 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *713 - installation: *714 - organization: *715 - ref: &721 + enterprise: *716 + installation: *717 + organization: *718 + ref: &724 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -111593,7 +111951,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111823,12 +112181,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -111923,7 +112281,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112094,12 +112452,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -112265,7 +112623,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112431,12 +112789,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -112535,7 +112893,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112710,16 +113068,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *716 + repository: *719 sender: *4 required: - action @@ -112816,7 +113174,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112956,12 +113314,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *720 - enterprise: *713 - installation: *714 - organization: *715 - ref: *721 - repository: *716 + commit_oid: *723 + enterprise: *716 + installation: *717 + organization: *718 + ref: *724 + repository: *719 sender: *4 required: - action @@ -113127,7 +113485,7 @@ x-webhooks: required: - login - id - dismissed_comment: *417 + dismissed_comment: *418 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -113272,10 +113630,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -113530,10 +113888,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -113613,18 +113971,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *715 - pusher_type: &722 + organization: *718 + pusher_type: &725 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &723 + ref: &726 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113634,7 +113992,7 @@ x-webhooks: enum: - tag - branch - repository: *716 + repository: *719 sender: *4 required: - ref @@ -113716,10 +114074,10 @@ x-webhooks: type: string enum: - created - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113804,9 +114162,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113883,10 +114241,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -113963,10 +114321,10 @@ x-webhooks: type: string enum: - updated - definition: *273 - enterprise: *713 - installation: *714 - organization: *715 + definition: *274 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -114043,19 +114401,19 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - repository: *716 - organization: *715 + enterprise: *716 + installation: *717 + repository: *719 + organization: *718 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *277 + items: *278 old_property_values: type: array description: The old custom property values for the repository. - items: *277 + items: *278 required: - action - repository @@ -114131,18 +114489,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - pusher_type: *722 - ref: *723 + enterprise: *716 + installation: *717 + organization: *718 + pusher_type: *725 + ref: *726 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *716 + repository: *719 sender: *4 required: - ref @@ -114226,11 +114584,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114314,11 +114672,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114402,11 +114760,11 @@ x-webhooks: type: string enum: - created - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114488,11 +114846,11 @@ x-webhooks: type: string enum: - dismissed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114574,11 +114932,11 @@ x-webhooks: type: string enum: - fixed - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114661,11 +115019,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114747,11 +115105,11 @@ x-webhooks: type: string enum: - reopened - alert: *479 - installation: *714 - organization: *715 - enterprise: *713 - repository: *716 + alert: *480 + installation: *717 + organization: *718 + enterprise: *716 + repository: *719 sender: *4 required: - action @@ -114828,9 +115186,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - key: &724 + enterprise: *716 + installation: *717 + key: &727 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -114866,8 +115224,8 @@ x-webhooks: - verified - created_at - read_only - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -114944,11 +115302,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - key: *724 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + key: *727 + organization: *718 + repository: *719 sender: *4 required: - action @@ -115509,12 +115867,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: &728 + workflow: &731 title: Workflow type: object nullable: true @@ -116240,13 +116598,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *485 + deployment: *486 pull_requests: type: array - items: *571 - repository: *716 - organization: *715 - installation: *714 + items: *572 + repository: *719 + organization: *718 + installation: *717 sender: *4 responses: '200': @@ -116317,7 +116675,7 @@ x-webhooks: type: string enum: - approved - approver: &725 + approver: &728 type: object properties: avatar_url: @@ -116360,11 +116718,11 @@ x-webhooks: type: string comment: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - reviewers: &726 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + reviewers: &729 type: array items: type: object @@ -116443,7 +116801,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &727 + workflow_job_run: &730 type: object properties: conclusion: @@ -117174,18 +117532,18 @@ x-webhooks: type: string enum: - rejected - approver: *725 + approver: *728 comment: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - reviewers: *726 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + reviewers: *729 sender: *4 since: type: string - workflow_job_run: *727 + workflow_job_run: *730 workflow_job_runs: type: array items: @@ -117889,13 +118247,13 @@ x-webhooks: type: string enum: - requested - enterprise: *713 + enterprise: *716 environment: type: string - installation: *714 - organization: *715 - repository: *716 - requestor: &733 + installation: *717 + organization: *718 + repository: *719 + requestor: &736 title: User type: object nullable: true @@ -119794,12 +120152,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Deployment Workflow Run type: object @@ -120479,7 +120837,7 @@ x-webhooks: type: string enum: - answered - answer: &731 + answer: &734 type: object properties: author_association: @@ -120636,11 +120994,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120767,11 +121125,11 @@ x-webhooks: - from required: - category - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120854,11 +121212,11 @@ x-webhooks: type: string enum: - closed - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -120940,7 +121298,7 @@ x-webhooks: type: string enum: - created - comment: &730 + comment: &733 type: object properties: author_association: @@ -121097,11 +121455,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121184,12 +121542,12 @@ x-webhooks: type: string enum: - deleted - comment: *730 - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + comment: *733 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121284,12 +121642,12 @@ x-webhooks: - from required: - body - comment: *730 - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + comment: *733 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121373,11 +121731,11 @@ x-webhooks: type: string enum: - created - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121459,11 +121817,11 @@ x-webhooks: type: string enum: - deleted - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121563,11 +121921,11 @@ x-webhooks: type: string required: - from - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121649,10 +122007,10 @@ x-webhooks: type: string enum: - labeled - discussion: *729 - enterprise: *713 - installation: *714 - label: &732 + discussion: *732 + enterprise: *716 + installation: *717 + label: &735 title: Label type: object properties: @@ -121684,8 +122042,8 @@ x-webhooks: - color - default - description - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121768,11 +122126,11 @@ x-webhooks: type: string enum: - locked - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121854,11 +122212,11 @@ x-webhooks: type: string enum: - pinned - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -121940,11 +122298,11 @@ x-webhooks: type: string enum: - reopened - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122029,16 +122387,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *729 - new_repository: *716 + new_discussion: *732 + new_repository: *719 required: - new_discussion - new_repository - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122121,10 +122479,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *729 - old_answer: *731 - organization: *715 - repository: *716 + discussion: *732 + old_answer: *734 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122206,12 +122564,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *729 - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122294,11 +122652,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122380,11 +122738,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *729 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + discussion: *732 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -122457,7 +122815,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *713 + enterprise: *716 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123117,9 +123475,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - forkee @@ -123265,9 +123623,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pages: description: The pages that were updated. type: array @@ -123304,7 +123662,7 @@ x-webhooks: - action - sha - html_url - repository: *716 + repository: *719 sender: *4 required: - pages @@ -123380,10 +123738,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: &734 + organization: *718 + repositories: &737 description: An array of repository objects that the installation can access. type: array @@ -123409,8 +123767,8 @@ x-webhooks: - name - full_name - private - repository: *716 - requester: *733 + repository: *719 + requester: *736 sender: *4 required: - action @@ -123485,11 +123843,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -123565,11 +123923,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -123645,10 +124003,10 @@ x-webhooks: type: string enum: - added - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories_added: &735 + organization: *718 + repositories_added: &738 description: An array of repository objects, which were added to the installation. type: array @@ -123694,15 +124052,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *716 - repository_selection: &736 + repository: *719 + repository_selection: &739 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *733 + requester: *736 sender: *4 required: - action @@ -123781,10 +124139,10 @@ x-webhooks: type: string enum: - removed - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories_added: *735 + organization: *718 + repositories_added: *738 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -123811,9 +124169,9 @@ x-webhooks: - name - full_name - private - repository: *716 - repository_selection: *736 - requester: *733 + repository: *719 + repository_selection: *739 + requester: *736 sender: *4 required: - action @@ -123892,11 +124250,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -124074,10 +124432,10 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 target_type: type: string @@ -124156,11 +124514,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *713 + enterprise: *716 installation: *22 - organization: *715 - repositories: *734 - repository: *716 + organization: *718 + repositories: *737 + repository: *719 requester: nullable: true sender: *4 @@ -124412,8 +124770,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125207,8 +125565,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125557,8 +125915,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -125638,7 +125996,7 @@ x-webhooks: type: string enum: - deleted - comment: &737 + comment: &740 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -125803,8 +126161,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126594,8 +126952,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126946,8 +127304,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -127027,7 +127385,7 @@ x-webhooks: type: string enum: - edited - changes: &766 + changes: &769 description: The changes to the comment. type: object properties: @@ -127039,9 +127397,9 @@ x-webhooks: type: string required: - from - comment: *737 - enterprise: *713 - installation: *714 + comment: *740 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127834,8 +128192,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128184,8 +128542,8 @@ x-webhooks: - state - locked - assignee - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128275,9 +128633,9 @@ x-webhooks: type: number blocking_issue: *75 blocking_issue_repo: *71 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128366,9 +128724,9 @@ x-webhooks: type: number blocking_issue: *75 blocking_issue_repo: *71 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128456,9 +128814,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128547,9 +128905,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -128629,10 +128987,10 @@ x-webhooks: type: string enum: - assigned - assignee: *733 - enterprise: *713 - installation: *714 - issue: &740 + assignee: *736 + enterprise: *716 + installation: *717 + issue: &743 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129421,11 +129779,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129542,8 +129900,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -129623,8 +129981,8 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130418,11 +130776,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130674,8 +131032,8 @@ x-webhooks: required: - state - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -130754,8 +131112,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131540,11 +131898,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131660,8 +132018,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -131740,8 +132098,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132548,11 +132906,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132647,7 +133005,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &738 + milestone: &741 title: Milestone description: A collection of related issues and pull requests. type: object @@ -132785,8 +133143,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -132885,8 +133243,8 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133675,11 +134033,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133796,9 +134154,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *732 - organization: *715 - repository: *716 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -133878,8 +134236,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134667,11 +135025,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134788,9 +135146,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *732 - organization: *715 - repository: *716 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -134870,8 +135228,8 @@ x-webhooks: type: string enum: - locked - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135683,11 +136041,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135781,8 +136139,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -135861,8 +136219,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136668,11 +137026,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136766,9 +137124,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *738 - organization: *715 - repository: *716 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -137636,11 +137994,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138202,8 +138560,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138992,11 +139350,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139112,8 +139470,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -139193,9 +139551,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *713 - installation: *714 - issue: &739 + enterprise: *716 + installation: *717 + issue: &742 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -139978,11 +140336,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140098,8 +140456,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -140178,8 +140536,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140989,11 +141347,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141088,8 +141446,8 @@ x-webhooks: user_view_type: type: string type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -141955,11 +142313,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142543,11 +142901,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *713 - installation: *714 - issue: *739 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *742 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142627,12 +142985,12 @@ x-webhooks: type: string enum: - typed - enterprise: *713 - installation: *714 - issue: *740 + enterprise: *716 + installation: *717 + issue: *743 type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142713,7 +143071,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &769 + assignee: &772 title: User type: object nullable: true @@ -142783,11 +143141,11 @@ x-webhooks: required: - login - id - enterprise: *713 - installation: *714 - issue: *740 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *743 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142866,12 +143224,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *713 - installation: *714 - issue: *740 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *743 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -142951,8 +143309,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143762,11 +144120,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *649 - issue_dependencies_summary: *650 + sub_issues_summary: *650 + issue_dependencies_summary: *651 issue_field_values: type: array - items: *651 + items: *652 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143860,8 +144218,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -143941,11 +144299,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *713 - installation: *714 - issue: *739 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + issue: *742 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144024,12 +144382,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *713 - installation: *714 - issue: *740 + enterprise: *716 + installation: *717 + issue: *743 type: *226 - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144109,11 +144467,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144191,11 +144549,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144305,11 +144663,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - label: *732 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + label: *735 + organization: *718 + repository: *719 sender: *4 required: - action @@ -144391,9 +144749,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: &741 + enterprise: *716 + installation: *717 + marketplace_purchase: &744 title: Marketplace Purchase type: object required: @@ -144476,8 +144834,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *715 - previous_marketplace_purchase: &742 + organization: *718 + previous_marketplace_purchase: &745 title: Marketplace Purchase type: object properties: @@ -144557,7 +144915,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144637,10 +144995,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144723,7 +145081,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144805,10 +145163,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144890,7 +145248,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *716 + repository: *719 sender: *4 required: - action @@ -144971,8 +145329,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 marketplace_purchase: title: Marketplace Purchase type: object @@ -145054,9 +145412,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *715 - previous_marketplace_purchase: *742 - repository: *716 + organization: *718 + previous_marketplace_purchase: *745 + repository: *719 sender: *4 required: - action @@ -145136,12 +145494,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *713 - installation: *714 - marketplace_purchase: *741 - organization: *715 - previous_marketplace_purchase: *742 - repository: *716 + enterprise: *716 + installation: *717 + marketplace_purchase: *744 + organization: *718 + previous_marketplace_purchase: *745 + repository: *719 sender: *4 required: - action @@ -145243,11 +145601,11 @@ x-webhooks: type: string required: - to - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145347,11 +145705,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145430,11 +145788,11 @@ x-webhooks: type: string enum: - removed - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 sender: *4 required: - action @@ -145512,11 +145870,11 @@ x-webhooks: type: string enum: - added - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145592,7 +145950,7 @@ x-webhooks: required: - login - id - team: &743 + team: &746 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -145815,11 +146173,11 @@ x-webhooks: type: string enum: - removed - enterprise: *713 - installation: *714 - member: *733 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + member: *736 + organization: *718 + repository: *719 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145896,7 +146254,7 @@ x-webhooks: required: - login - id - team: *743 + team: *746 required: - action - scope @@ -145978,8 +146336,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *714 - merge_group: &745 + installation: *717 + merge_group: &748 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -145998,15 +146356,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *744 + head_commit: *747 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146092,10 +146450,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *714 - merge_group: *745 - organization: *715 - repository: *716 + installation: *717 + merge_group: *748 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146168,7 +146526,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 + enterprise: *716 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146277,16 +146635,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *714 - organization: *715 + installation: *717 + organization: *718 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -146367,11 +146725,11 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146450,9 +146808,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - milestone: &748 + enterprise: *716 + installation: *717 + milestone: &751 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146589,8 +146947,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146669,11 +147027,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146783,11 +147141,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - milestone: *738 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *741 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146867,11 +147225,11 @@ x-webhooks: type: string enum: - opened - enterprise: *713 - installation: *714 - milestone: *748 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + milestone: *751 + organization: *718 + repository: *719 sender: *4 required: - action @@ -146950,11 +147308,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *733 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + blocked_user: *736 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147033,11 +147391,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *733 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + blocked_user: *736 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147116,9 +147474,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - membership: &749 + enterprise: *716 + installation: *717 + membership: &752 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147225,8 +147583,8 @@ x-webhooks: - role - organization_url - user - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147304,11 +147662,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147387,8 +147745,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147504,10 +147862,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 - user: *733 + user: *736 required: - action - invitation @@ -147585,11 +147943,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147676,11 +148034,11 @@ x-webhooks: properties: from: type: string - enterprise: *713 - installation: *714 - membership: *749 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + membership: *752 + organization: *718 + repository: *719 sender: *4 required: - action @@ -147756,9 +148114,9 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 package: description: Information about the package. type: object @@ -148257,7 +148615,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &750 + items: &753 title: Ruby Gems metadata type: object properties: @@ -148352,7 +148710,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -148428,9 +148786,9 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 package: description: Information about the package. type: object @@ -148783,7 +149141,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *750 + items: *753 source_url: type: string format: uri @@ -148853,7 +149211,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -149030,12 +149388,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *713 + enterprise: *716 id: type: integer - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - id @@ -149112,7 +149470,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &751 + personal_access_token_request: &754 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149258,10 +149616,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *713 - organization: *715 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149338,11 +149696,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *751 - enterprise: *713 - organization: *715 + personal_access_token_request: *754 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149418,11 +149776,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *751 - enterprise: *713 - organization: *715 + personal_access_token_request: *754 + enterprise: *716 + organization: *718 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149497,11 +149855,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *751 - organization: *715 - enterprise: *713 + personal_access_token_request: *754 + organization: *718 + enterprise: *716 sender: *4 - installation: *714 + installation: *717 required: - action - personal_access_token_request @@ -149606,7 +149964,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *752 + last_response: *755 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149638,8 +149996,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 zen: description: Random string of GitHub zen. @@ -149884,10 +150242,10 @@ x-webhooks: - from required: - note - enterprise: *713 - installation: *714 - organization: *715 - project_card: &753 + enterprise: *716 + installation: *717 + organization: *718 + project_card: &756 title: Project Card type: object properties: @@ -150006,7 +150364,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -150087,11 +150445,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project_card: *753 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_card: *756 + repository: *719 sender: *4 required: - action @@ -150171,9 +150529,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 project_card: title: Project Card type: object @@ -150301,8 +150659,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -150396,11 +150754,11 @@ x-webhooks: - from required: - note - enterprise: *713 - installation: *714 - organization: *715 - project_card: *753 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_card: *756 + repository: *719 sender: *4 required: - action @@ -150494,9 +150852,9 @@ x-webhooks: - from required: - column_id - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 project_card: allOf: - title: Project Card @@ -150686,7 +151044,7 @@ x-webhooks: type: string required: - after_id - repository: *716 + repository: *719 sender: *4 required: - action @@ -150766,10 +151124,10 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - organization: *715 - project: &755 + enterprise: *716 + installation: *717 + organization: *718 + project: &758 title: Project type: object properties: @@ -150893,7 +151251,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -150973,10 +151331,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project_column: &754 + enterprise: *716 + installation: *717 + organization: *718 + project_column: &757 title: Project Column type: object properties: @@ -151015,7 +151373,7 @@ x-webhooks: - name - created_at - updated_at - repository: *716 + repository: *719 sender: *4 required: - action @@ -151094,18 +151452,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -151195,11 +151553,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 + repository: *719 sender: *4 required: - action @@ -151279,11 +151637,11 @@ x-webhooks: type: string enum: - moved - enterprise: *713 - installation: *714 - organization: *715 - project_column: *754 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project_column: *757 + repository: *719 sender: *4 required: - action @@ -151363,11 +151721,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151447,18 +151805,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - project: *755 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *746 - required: *747 + properties: *749 + required: *750 nullable: true sender: *4 required: @@ -151560,11 +151918,11 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151643,11 +152001,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 - organization: *715 - project: *755 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + project: *758 + repository: *719 sender: *4 required: - action @@ -151728,8 +152086,8 @@ x-webhooks: type: string enum: - closed - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -151811,8 +152169,8 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -151894,8 +152252,8 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152013,8 +152371,8 @@ x-webhooks: type: string to: type: string - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152098,7 +152456,7 @@ x-webhooks: type: string enum: - archived - changes: &759 + changes: &762 type: object properties: archived_at: @@ -152112,9 +152470,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *714 - organization: *715 - projects_v2_item: &756 + installation: *717 + organization: *718 + projects_v2_item: &759 title: Projects v2 Item description: An item belonging to a project type: object @@ -152249,9 +152607,9 @@ x-webhooks: nullable: true to: type: string - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152333,9 +152691,9 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152416,9 +152774,9 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152524,7 +152882,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &757 + - &760 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152546,7 +152904,7 @@ x-webhooks: required: - id - name - - &758 + - &761 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152580,8 +152938,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *757 - - *758 + - *760 + - *761 required: - field_value - type: object @@ -152597,9 +152955,9 @@ x-webhooks: nullable: true required: - body - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152694,9 +153052,9 @@ x-webhooks: to: type: string nullable: true - installation: *714 - organization: *715 - projects_v2_item: *756 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152779,10 +153137,10 @@ x-webhooks: type: string enum: - restored - changes: *759 - installation: *714 - organization: *715 - projects_v2_item: *756 + changes: *762 + installation: *717 + organization: *718 + projects_v2_item: *759 sender: *4 required: - action @@ -152864,8 +153222,8 @@ x-webhooks: type: string enum: - reopened - installation: *714 - organization: *715 + installation: *717 + organization: *718 projects_v2: *260 sender: *4 required: @@ -152947,14 +153305,14 @@ x-webhooks: type: string enum: - created - installation: *714 - organization: *715 - projects_v2_status_update: &762 + installation: *717 + organization: *718 + projects_v2_status_update: &765 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *760 - required: *761 + properties: *763 + required: *764 sender: *4 required: - action @@ -153035,9 +153393,9 @@ x-webhooks: type: string enum: - deleted - installation: *714 - organization: *715 - projects_v2_status_update: *762 + installation: *717 + organization: *718 + projects_v2_status_update: *765 sender: *4 required: - action @@ -153173,9 +153531,9 @@ x-webhooks: type: string format: date nullable: true - installation: *714 - organization: *715 - projects_v2_status_update: *762 + installation: *717 + organization: *718 + projects_v2_status_update: *765 sender: *4 required: - action @@ -153246,10 +153604,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - repository @@ -153326,13 +153684,13 @@ x-webhooks: type: string enum: - assigned - assignee: *733 - enterprise: *713 - installation: *714 - number: &763 + assignee: *736 + enterprise: *716 + installation: *717 + number: &766 description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -155615,7 +155973,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -155697,11 +156055,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -157979,7 +158337,7 @@ x-webhooks: - draft reason: type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -158061,11 +158419,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -160343,7 +160701,7 @@ x-webhooks: - draft reason: type: string - repository: *716 + repository: *719 sender: *4 required: - action @@ -160425,13 +160783,13 @@ x-webhooks: type: string enum: - closed - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: &764 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: &767 allOf: - - *571 + - *572 - type: object properties: allow_auto_merge: @@ -160493,7 +160851,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *716 + repository: *719 sender: *4 required: - action @@ -160574,12 +160932,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -160659,11 +161017,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *713 - milestone: *555 - number: *763 - organization: *715 - pull_request: &765 + enterprise: *716 + milestone: *556 + number: *766 + organization: *718 + pull_request: &768 title: Pull Request type: object properties: @@ -162926,7 +163284,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -163005,11 +163363,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -165291,7 +165649,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *716 + repository: *719 sender: *4 required: - action @@ -165415,12 +165773,12 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -165500,11 +165858,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -167771,7 +168129,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -167851,11 +168209,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *713 - installation: *714 - label: *732 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + label: *735 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -170137,7 +170495,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -170218,10 +170576,10 @@ x-webhooks: type: string enum: - locked - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -172501,7 +172859,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -172581,12 +172939,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *713 - milestone: *555 - number: *763 - organization: *715 - pull_request: *765 - repository: *716 + enterprise: *716 + milestone: *556 + number: *766 + organization: *718 + pull_request: *768 + repository: *719 sender: *4 required: - action @@ -172665,12 +173023,12 @@ x-webhooks: type: string enum: - opened - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -172751,12 +173109,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -172836,12 +173194,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *713 - installation: *714 - number: *763 - organization: *715 - pull_request: *764 - repository: *716 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 + pull_request: *767 + repository: *719 sender: *4 required: - action @@ -173207,9 +173565,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -175379,7 +175737,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -175459,7 +175817,7 @@ x-webhooks: type: string enum: - deleted - comment: &767 + comment: &770 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -175744,9 +176102,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -177904,7 +178262,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -177984,11 +178342,11 @@ x-webhooks: type: string enum: - edited - changes: *766 - comment: *767 - enterprise: *713 - installation: *714 - organization: *715 + changes: *769 + comment: *770 + enterprise: *716 + installation: *717 + organization: *718 pull_request: type: object properties: @@ -180149,7 +180507,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *716 + repository: *719 sender: *4 required: - action @@ -180230,9 +180588,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -182405,7 +182763,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 review: description: The review that was affected. type: object @@ -182652,9 +183010,9 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -184708,8 +185066,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 - review: &768 + repository: *719 + review: &771 description: The review that was affected. type: object properties: @@ -184942,12 +185300,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -187230,7 +187588,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_reviewer: title: User type: object @@ -187314,12 +187672,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -189609,7 +189967,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_team: title: Team description: Groups of organization members that gives permissions @@ -189801,12 +190159,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -192091,7 +192449,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_reviewer: title: User type: object @@ -192176,12 +192534,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *713 - installation: *714 + enterprise: *716 + installation: *717 number: description: The pull request number. type: integer - organization: *715 + organization: *718 pull_request: title: Pull Request type: object @@ -194457,7 +194815,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194638,9 +194996,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -196815,8 +197173,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 - review: *768 + repository: *719 + review: *771 sender: *4 required: - action @@ -196896,9 +197254,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -198968,7 +199326,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 sender: *4 thread: type: object @@ -199355,9 +199713,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 pull_request: title: Simple Pull Request type: object @@ -201413,7 +201771,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *716 + repository: *719 sender: *4 thread: type: object @@ -201803,10 +202161,10 @@ x-webhooks: type: string before: type: string - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -204077,7 +204435,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -204159,11 +204517,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *769 - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + assignee: *772 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -206446,7 +206804,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -206525,11 +206883,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *713 - installation: *714 - label: *732 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + label: *735 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -208802,7 +209160,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -208883,10 +209241,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *713 - installation: *714 - number: *763 - organization: *715 + enterprise: *716 + installation: *717 + number: *766 + organization: *718 pull_request: title: Pull Request type: object @@ -211151,7 +211509,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *716 + repository: *719 sender: *4 required: - action @@ -211351,7 +211709,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *713 + enterprise: *716 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211443,8 +211801,8 @@ x-webhooks: - url - author - committer - installation: *714 - organization: *715 + installation: *717 + organization: *718 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212019,9 +212377,9 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 registry_package: type: object properties: @@ -212467,7 +212825,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *750 + items: *753 summary: type: string tag_name: @@ -212521,7 +212879,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -212599,9 +212957,9 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 registry_package: type: object properties: @@ -212909,7 +213267,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *750 + items: *753 summary: type: string tag_name: @@ -212958,7 +213316,7 @@ x-webhooks: - owner - package_version - registry - repository: *716 + repository: *719 sender: *4 required: - action @@ -213035,10 +213393,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - release: &770 + enterprise: *716 + installation: *717 + organization: *718 + release: &773 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213356,7 +213714,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *716 + repository: *719 sender: *4 required: - action @@ -213433,11 +213791,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -213554,11 +213912,11 @@ x-webhooks: type: boolean required: - to - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -213636,9 +213994,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -213960,7 +214318,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *716 + repository: *719 sender: *4 required: - action @@ -214036,10 +214394,10 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - release: &771 + enterprise: *716 + installation: *717 + organization: *718 + release: &774 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214358,7 +214716,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *716 + repository: *719 sender: *4 required: - action @@ -214434,11 +214792,11 @@ x-webhooks: type: string enum: - released - enterprise: *713 - installation: *714 - organization: *715 - release: *770 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *773 + repository: *719 sender: *4 required: - action @@ -214514,11 +214872,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *713 - installation: *714 - organization: *715 - release: *771 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + release: *774 + repository: *719 sender: *4 required: - action @@ -214594,11 +214952,11 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_advisory: *635 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_advisory: *636 sender: *4 required: - action @@ -214674,11 +215032,11 @@ x-webhooks: type: string enum: - reported - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_advisory: *635 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_advisory: *636 sender: *4 required: - action @@ -214754,10 +215112,10 @@ x-webhooks: type: string enum: - archived - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -214834,10 +215192,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -214915,10 +215273,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215002,10 +215360,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215117,10 +215475,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215192,10 +215550,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 status: type: string @@ -215276,10 +215634,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215356,10 +215714,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215453,10 +215811,10 @@ x-webhooks: - name required: - repository - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -215536,11 +215894,11 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 sender: *4 required: - action @@ -215618,11 +215976,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 sender: *4 required: - action @@ -215700,11 +216058,11 @@ x-webhooks: type: string enum: - edited - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - repository_ruleset: *307 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + repository_ruleset: *308 changes: type: object properties: @@ -215723,16 +216081,16 @@ x-webhooks: properties: added: type: array - items: *281 + items: *282 deleted: type: array - items: *281 + items: *282 updated: type: array items: type: object properties: - condition: *281 + condition: *282 changes: type: object properties: @@ -215765,16 +216123,16 @@ x-webhooks: properties: added: type: array - items: *591 + items: *592 deleted: type: array - items: *591 + items: *592 updated: type: array items: type: object properties: - rule: *591 + rule: *592 changes: type: object properties: @@ -216008,10 +216366,10 @@ x-webhooks: - from required: - owner - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216089,10 +216447,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216170,7 +216528,7 @@ x-webhooks: type: string enum: - create - alert: &772 + alert: &775 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216291,10 +216649,10 @@ x-webhooks: type: string enum: - open - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216500,10 +216858,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216581,11 +216939,11 @@ x-webhooks: type: string enum: - reopen - alert: *772 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216784,10 +217142,10 @@ x-webhooks: enum: - fixed - open - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -216865,7 +217223,7 @@ x-webhooks: type: string enum: - assigned - alert: &773 + alert: &776 type: object properties: number: *169 @@ -216984,10 +217342,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217065,11 +217423,11 @@ x-webhooks: type: string enum: - created - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217150,11 +217508,11 @@ x-webhooks: type: string enum: - created - alert: *773 - installation: *714 - location: *774 - organization: *715 - repository: *716 + alert: *776 + installation: *717 + location: *777 + organization: *718 + repository: *719 sender: *4 required: - location @@ -217392,11 +217750,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217474,11 +217832,11 @@ x-webhooks: type: string enum: - reopened - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217556,11 +217914,11 @@ x-webhooks: type: string enum: - resolved - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217638,12 +217996,12 @@ x-webhooks: type: string enum: - unassigned - alert: *773 + alert: *776 assignee: *4 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217721,11 +218079,11 @@ x-webhooks: type: string enum: - validated - alert: *773 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + alert: *776 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -217851,10 +218209,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *716 - enterprise: *713 - installation: *714 - organization: *715 + repository: *719 + enterprise: *716 + installation: *717 + organization: *718 sender: *4 required: - action @@ -217932,11 +218290,11 @@ x-webhooks: type: string enum: - published - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - security_advisory: &775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + security_advisory: &778 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218119,11 +218477,11 @@ x-webhooks: type: string enum: - updated - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 - security_advisory: *775 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 + security_advisory: *778 sender: *4 required: - action @@ -218196,10 +218554,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218383,11 +218741,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *280 - enterprise: *713 - installation: *714 - organization: *715 - repository: *327 + security_and_analysis: *281 + enterprise: *716 + installation: *717 + organization: *718 + repository: *328 sender: *4 required: - changes @@ -218465,12 +218823,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: &776 + sponsorship: &779 type: object properties: created_at: @@ -218771,12 +219129,12 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - sponsorship @@ -218864,12 +219222,12 @@ x-webhooks: type: string required: - from - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -218946,17 +219304,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &777 + effective_date: &780 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - sponsorship @@ -219030,7 +219388,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &778 + changes: &781 type: object properties: tier: @@ -219074,13 +219432,13 @@ x-webhooks: - from required: - tier - effective_date: *777 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + effective_date: *780 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -219157,13 +219515,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *778 - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + changes: *781 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - sponsorship: *776 + sponsorship: *779 required: - action - changes @@ -219237,10 +219595,10 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219323,10 +219681,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219746,15 +220104,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *713 + enterprise: *716 id: description: The unique identifier of the status. type: integer - installation: *714 + installation: *717 name: type: string - organization: *715 - repository: *716 + organization: *718 + repository: *719 sender: *4 sha: description: The Commit SHA. @@ -219869,9 +220227,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -219961,9 +220319,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220053,9 +220411,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220145,9 +220503,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *714 - organization: *715 - repository: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -220224,12 +220582,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - team: &779 + team: &782 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220452,9 +220810,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -220912,7 +221270,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -220988,9 +221346,9 @@ x-webhooks: type: string enum: - created - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -221448,7 +221806,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -221525,9 +221883,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -221985,7 +222343,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -222129,9 +222487,9 @@ x-webhooks: - from required: - permissions - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -222589,7 +222947,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - changes @@ -222667,9 +223025,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *713 - installation: *714 - organization: *715 + enterprise: *716 + installation: *717 + organization: *718 repository: title: Repository description: A git repository @@ -223127,7 +223485,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *779 + team: *782 required: - action - team @@ -223203,10 +223561,10 @@ x-webhooks: type: string enum: - started - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 required: - action @@ -223279,16 +223637,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *713 + enterprise: *716 inputs: type: object nullable: true additionalProperties: true - installation: *714 - organization: *715 + installation: *717 + organization: *718 ref: type: string - repository: *716 + repository: *719 sender: *4 workflow: type: string @@ -223370,10 +223728,10 @@ x-webhooks: type: string enum: - completed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: allOf: @@ -223610,7 +223968,7 @@ x-webhooks: type: string required: - conclusion - deployment: *485 + deployment: *486 required: - action - repository @@ -223689,10 +224047,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: allOf: @@ -223952,7 +224310,7 @@ x-webhooks: required: - status - steps - deployment: *485 + deployment: *486 required: - action - repository @@ -224031,10 +224389,10 @@ x-webhooks: type: string enum: - queued - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: type: object @@ -224169,7 +224527,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *486 required: - action - repository @@ -224248,10 +224606,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 workflow_job: type: object @@ -224387,7 +224745,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *486 required: - action - repository @@ -224467,12 +224825,12 @@ x-webhooks: type: string enum: - completed - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object @@ -225471,12 +225829,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object @@ -226460,12 +226818,12 @@ x-webhooks: type: string enum: - requested - enterprise: *713 - installation: *714 - organization: *715 - repository: *716 + enterprise: *716 + installation: *717 + organization: *718 + repository: *719 sender: *4 - workflow: *728 + workflow: *731 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index d232d58c0..0e93c33f1 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -222606,6 +222606,736 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -659038,6 +659768,736 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 75d43ffe3..0582f2572 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &440 + type: &441 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &752 + - &753 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &762 + schema: &763 title: Scim Error description: Scim Error type: object @@ -2918,7 +2918,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &417 + properties: &418 id: description: Unique identifier of the repository example: 42 @@ -3356,7 +3356,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &418 + required: &419 - archive_url - assignees_url - blobs_url @@ -8897,7 +8897,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &763 + '401': &764 description: Authorization failure '404': *6 x-github: @@ -13108,7 +13108,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &530 + instances_url: &531 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13143,7 +13143,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &531 + dismissed_reason: &532 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13152,13 +13152,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &532 + dismissed_comment: &533 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &533 + rule: &534 type: object properties: id: @@ -13211,7 +13211,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &534 + tool: &535 type: object properties: name: *111 @@ -13221,26 +13221,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &535 + most_recent_instance: &536 type: object properties: - ref: &528 + ref: &529 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &545 + analysis_key: &546 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &546 + environment: &547 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &547 + category: &548 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13254,7 +13254,7 @@ paths: properties: text: type: string - location: &548 + location: &549 type: object description: Describe a region within a file for the alert. properties: @@ -13275,7 +13275,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &549 + items: &550 type: string description: A classification of the file. For example to identify it as generated. @@ -16939,7 +16939,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &590 + - &591 name: has in: query description: |- @@ -17052,7 +17052,7 @@ paths: - unknown - direct - transitive - security_advisory: &591 + security_advisory: &592 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17284,14 +17284,14 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: &592 + auto_dismissed_at: &593 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &593 + dismissal_request: &594 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18484,7 +18484,7 @@ paths: - name - created_on examples: - default: &445 + default: &446 value: total_count: 2 network_configurations: @@ -18707,7 +18707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &446 + - &447 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18719,7 +18719,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &448 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18753,7 +18753,7 @@ paths: - subnet_id - region examples: - default: &448 + default: &449 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19568,7 +19568,7 @@ paths: required: true content: application/json: - schema: &416 + schema: &417 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20752,7 +20752,7 @@ paths: nullable: true anyOf: - *162 - - &422 + - &423 title: Organization ruleset conditions type: object description: |- @@ -20799,7 +20799,7 @@ paths: - *165 rules: type: array - items: &718 + items: &719 title: Repository Rule type: object description: A repository rule. @@ -20808,7 +20808,7 @@ paths: - *171 - *172 - *173 - - &716 + - &717 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21136,7 +21136,7 @@ paths: type: string format: date-time examples: - default: &425 + default: &426 value: - version_id: 3 actor: @@ -21189,7 +21189,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &427 allOf: - *195 - type: object @@ -21244,7 +21244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &427 + - &428 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21255,7 +21255,7 @@ paths: enum: - open - resolved - - &428 + - &429 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21265,7 +21265,7 @@ paths: required: false schema: type: string - - &429 + - &430 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21274,7 +21274,7 @@ paths: required: false schema: type: string - - &430 + - &431 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21293,7 +21293,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &431 + - &432 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21309,7 +21309,7 @@ paths: - *17 - *108 - *109 - - &432 + - &433 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21318,7 +21318,7 @@ paths: required: false schema: type: string - - &433 + - &434 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21327,7 +21327,7 @@ paths: schema: type: boolean default: false - - &434 + - &435 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21336,7 +21336,7 @@ paths: schema: type: boolean default: false - - &435 + - &436 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21352,7 +21352,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: number: *128 @@ -21371,14 +21371,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &730 + state: &731 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &731 + resolution: &732 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21485,8 +21485,8 @@ paths: pull request. ' - oneOf: &732 - - &734 + oneOf: &733 + - &735 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21538,7 +21538,7 @@ paths: - blob_url - commit_sha - commit_url - - &735 + - &736 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -21593,7 +21593,7 @@ paths: - page_url - commit_sha - commit_url - - &736 + - &737 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21607,7 +21607,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &737 + - &738 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21621,7 +21621,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &738 + - &739 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21635,7 +21635,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &739 + - &740 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21649,7 +21649,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &740 + - &741 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21663,7 +21663,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &741 + - &742 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21677,7 +21677,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &742 + - &743 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -21691,7 +21691,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &743 + - &744 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -21705,7 +21705,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &744 + - &745 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -21719,7 +21719,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &745 + - &746 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -21733,7 +21733,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &746 + - &747 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21760,7 +21760,7 @@ paths: required: *21 nullable: true examples: - default: &437 + default: &438 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21969,7 +21969,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &439 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22052,7 +22052,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &439 + default: &440 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22188,7 +22188,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &442 + - &443 name: advanced_security_product in: query description: | @@ -22208,7 +22208,7 @@ paths: description: Success content: application/json: - schema: &443 + schema: &444 type: object properties: total_advanced_security_committers: @@ -22263,7 +22263,7 @@ paths: required: - repositories examples: - default: &444 + default: &445 value: total_advanced_security_committers: 2 total_count: 2 @@ -25027,7 +25027,7 @@ paths: properties: action: type: string - discussion: &868 + discussion: &871 title: Discussion description: A Discussion in a repository. type: object @@ -25394,7 +25394,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &654 + properties: &655 id: type: integer format: int64 @@ -25771,7 +25771,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &790 + sub_issues_summary: &791 title: Sub-issues Summary type: object properties: @@ -25791,7 +25791,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &791 + issue_dependencies_summary: &792 title: Issue Dependencies Summary type: object properties: @@ -25810,7 +25810,7 @@ paths: - total_blocking issue_field_values: type: array - items: &792 + items: &793 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25871,7 +25871,7 @@ paths: - node_id - data_type - value - required: &655 + required: &656 - assignee - closed_at - comments @@ -25909,7 +25909,7 @@ paths: action: type: string issue: *221 - comment: &650 + comment: &651 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -26628,7 +26628,7 @@ paths: type: string release: allOf: - - &709 + - &710 title: Release description: A release. type: object @@ -26699,7 +26699,7 @@ paths: author: *4 assets: type: array - items: &710 + items: &711 title: Release Asset description: Data related to a release. type: object @@ -27278,7 +27278,7 @@ paths: url: type: string format: uri - user: &798 + user: &799 title: Public User description: Public User type: object @@ -30583,14 +30583,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &456 + - &457 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &457 + - &458 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -30652,7 +30652,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &462 + '301': &463 description: Moved permanently content: application/json: @@ -30674,7 +30674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &683 + - &684 name: all description: If `true`, show notifications marked as read. in: query @@ -30682,7 +30682,7 @@ paths: schema: type: boolean default: false - - &684 + - &685 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -30692,7 +30692,7 @@ paths: type: boolean default: false - *228 - - &685 + - &686 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -31004,7 +31004,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &419 + security_and_analysis: &420 nullable: true type: object properties: @@ -31174,7 +31174,7 @@ paths: - url - subscription_url examples: - default: &686 + default: &687 value: - id: '1' repository: @@ -32291,7 +32291,7 @@ paths: type: array items: *156 examples: - default: &692 + default: &693 value: - property_name: environment value: production @@ -32341,7 +32341,7 @@ paths: required: - properties examples: - default: &693 + default: &694 value: properties: - property_name: environment @@ -33154,7 +33154,7 @@ paths: type: integer repository_cache_usages: type: array - items: &469 + items: &470 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -35268,7 +35268,7 @@ paths: type: array items: *284 examples: - default: &801 + default: &802 value: total_count: 1 repositories: @@ -36310,7 +36310,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &490 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36339,7 +36339,7 @@ paths: - key_id - key examples: - default: &490 + default: &491 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36752,7 +36752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &474 + - &475 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -37967,12 +37967,12 @@ paths: required: - subject_digests examples: - default: &829 + default: &832 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &830 + withPredicateType: &833 value: subject_digests: - sha256:abc123 @@ -38030,7 +38030,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &831 + default: &834 value: attestations_subject_digests: - sha256:abc: @@ -38379,7 +38379,7 @@ paths: initiator: type: string examples: - default: &503 + default: &504 value: attestations: - bundle: @@ -39296,7 +39296,7 @@ paths: be returned. in: query required: false - schema: &529 + schema: &530 type: string description: Severity of a code scanning alert. enum: @@ -40351,7 +40351,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &561 + properties: &562 name: type: string description: The name of the machine. @@ -40393,7 +40393,7 @@ paths: - ready - in_progress nullable: true - required: &562 + required: &563 - name - display_name - operating_system @@ -41261,7 +41261,7 @@ paths: - updated_at - visibility examples: - default: &563 + default: &564 value: total_count: 2 secrets: @@ -41299,7 +41299,7 @@ paths: description: Response content: application/json: - schema: &564 + schema: &565 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41328,7 +41328,7 @@ paths: - key_id - key examples: - default: &565 + default: &566 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41360,7 +41360,7 @@ paths: application/json: schema: *327 examples: - default: &567 + default: &568 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43219,7 +43219,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &597 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43236,7 +43236,7 @@ paths: - key_id - key examples: - default: &597 + default: &598 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43566,7 +43566,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &605 + - &606 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -43574,7 +43574,7 @@ paths: required: false schema: type: string - - &606 + - &607 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -43582,7 +43582,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: time_period description: |- The time period to filter by. @@ -43598,7 +43598,7 @@ paths: - week - month default: month - - &608 + - &609 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -43623,7 +43623,7 @@ paths: application/json: schema: type: array - items: &609 + items: &610 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -43779,7 +43779,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &610 + default: &611 value: - id: 21 number: 42 @@ -43897,7 +43897,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -44014,7 +44014,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &612 + default: &613 value: - id: 21 number: 42 @@ -44116,7 +44116,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -44237,7 +44237,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &614 + default: &615 value: - id: 21 number: 42 @@ -44582,7 +44582,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -44663,7 +44663,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &454 + default: &455 value: group_id: '123' group_name: Octocat admins @@ -44718,7 +44718,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -44755,7 +44755,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &452 + default: &453 value: groups: - group_id: '123' @@ -44913,7 +44913,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -44927,7 +44927,7 @@ paths: - name - description examples: - default: &421 + default: &422 value: - name: add_assignee description: Assign or remove a user @@ -46057,7 +46057,7 @@ paths: application/json: schema: *22 examples: - default: &645 + default: &646 value: id: 1 account: @@ -46282,7 +46282,7 @@ paths: required: true content: application/json: - schema: &646 + schema: &647 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -47143,7 +47143,7 @@ paths: application/json: schema: *376 examples: - default: &560 + default: &561 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -48392,7 +48392,7 @@ paths: parameters: - *87 - *382 - - &814 + - &815 name: repo_name description: repo_name parameter in: path @@ -49424,7 +49424,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &441 + items: &442 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -49718,7 +49718,7 @@ paths: - nuget - container - *87 - - &815 + - &816 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -49759,7 +49759,7 @@ paths: default: *388 '403': *29 '401': *25 - '400': &817 + '400': &818 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -51551,7 +51551,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &904 + properties: &907 id: type: number description: The unique identifier of the status update. @@ -51599,7 +51599,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &905 + required: &908 - id - node_id - created_at @@ -51813,7 +51813,7 @@ paths: content: oneOf: - *221 - - &577 + - &578 title: Pull Request Simple description: Pull Request Simple type: object @@ -52042,7 +52042,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: &695 + auto_merge: &696 title: Auto merge description: The status of auto merging a pull request. type: object @@ -52417,7 +52417,7 @@ paths: - updated_at - project_url examples: - default: &834 + default: &837 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52594,7 +52594,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &835 + items: &838 type: object properties: name: @@ -52630,7 +52630,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &836 + iteration_configuration: &839 type: object description: The configuration for iteration fields. properties: @@ -52679,7 +52679,7 @@ paths: value: name: Due date data_type: date - single_select_field: &837 + single_select_field: &840 summary: Create a single select field value: name: Priority @@ -52706,7 +52706,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &838 + iteration_field: &841 summary: Create an iteration field value: name: Sprint @@ -52732,7 +52732,7 @@ paths: application/json: schema: *409 examples: - text_field: &839 + text_field: &842 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -52741,7 +52741,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &840 + number_field: &843 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -52750,7 +52750,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &841 + date_field: &844 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -52759,7 +52759,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &842 + single_select_field: &845 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52793,7 +52793,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &843 + iteration_field: &846 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -52839,7 +52839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *405 - - &844 + - &847 name: field_id description: The unique identifier of the field. in: path @@ -52854,7 +52854,7 @@ paths: application/json: schema: *409 examples: - default: &845 + default: &848 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53966,6 +53966,253 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - *87 + - *405 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: &829 + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element + is a tuple of [field_id, direction] where direction is "asc" + or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping + (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by + examples: + table_view: + summary: Response for creating a table view + value: &416 + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 + board_view: + summary: Response for creating a board view with filter + value: *416 + roadmap_view: + summary: Response for creating a roadmap view + value: *416 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -53980,7 +54227,7 @@ paths: parameters: - *405 - *87 - - &846 + - &849 name: view_number description: The number that identifies the project view. in: path @@ -54178,7 +54425,7 @@ paths: required: true content: application/json: - schema: *416 + schema: *417 examples: default: value: @@ -54746,7 +54993,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &462 title: Full Repository description: Full Repository type: object @@ -55023,8 +55270,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true temp_clone_token: type: string @@ -55139,7 +55386,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &582 + properties: &583 url: type: string format: uri @@ -55155,12 +55402,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &583 + required: &584 - url - key - name - html_url - security_and_analysis: *419 + security_and_analysis: *420 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -55244,7 +55491,7 @@ paths: - network_count - subscribers_count examples: - default: &463 + default: &464 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55770,9 +56017,9 @@ paths: application/json: schema: type: array - items: *420 + items: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55797,7 +56044,7 @@ paths: - *87 - *17 - *19 - - &717 + - &718 name: targets description: | A comma-separated list of rule targets to filter by. @@ -55888,11 +56135,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *422 + conditions: *423 rules: type: array description: An array of rules within the ruleset. - items: &424 + items: &425 title: Repository Rule type: object description: A repository rule. @@ -55957,7 +56204,7 @@ paths: application/json: schema: *191 examples: - default: &423 + default: &424 value: id: 21 name: super cool ruleset @@ -56012,7 +56259,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &719 + - &720 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -56024,14 +56271,14 @@ paths: x-multi-segment: true - *310 - *105 - - &720 + - &721 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &721 + - &722 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -56051,7 +56298,7 @@ paths: description: Response content: application/json: - schema: &722 + schema: &723 title: Rule Suites description: Response type: array @@ -56106,7 +56353,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &723 + default: &724 value: - id: 21 actor_id: 12 @@ -56150,7 +56397,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &724 + - &725 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -56166,7 +56413,7 @@ paths: description: Response content: application/json: - schema: &725 + schema: &726 title: Rule Suite description: Response type: object @@ -56265,7 +56512,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &726 + default: &727 value: id: 21 actor_id: 12 @@ -56340,7 +56587,7 @@ paths: application/json: schema: *191 examples: - default: *423 + default: *424 '404': *6 '500': *40 put: @@ -56389,11 +56636,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *422 + conditions: *423 rules: description: An array of rules within the ruleset. type: array - items: *424 + items: *425 examples: default: value: @@ -56430,7 +56677,7 @@ paths: application/json: schema: *191 examples: - default: *423 + default: *424 '404': *6 '500': *40 delete: @@ -56489,7 +56736,7 @@ paths: type: array items: *195 examples: - default: *425 + default: *426 '404': *6 '500': *40 x-github: @@ -56526,7 +56773,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -56589,15 +56836,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *427 - *428 - *429 - *430 - *431 + - *432 - *110 - *19 - *17 - - &728 + - &729 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -56607,7 +56854,7 @@ paths: required: false schema: type: string - - &729 + - &730 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -56617,10 +56864,10 @@ paths: required: false schema: type: string - - *432 - *433 - *434 - *435 + - *436 responses: '200': description: Response @@ -56628,9 +56875,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *437 + default: *438 headers: Link: *47 '404': *6 @@ -56665,9 +56912,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '403': *29 '404': *6 patch: @@ -56820,7 +57067,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 description: A repository security advisory. type: object properties: @@ -57040,7 +57287,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 credits_detailed: type: array nullable: true @@ -57050,7 +57297,7 @@ paths: type: object properties: user: *4 - type: *440 + type: *441 state: type: string description: The state of the user's acceptance of the @@ -57111,7 +57358,7 @@ paths: - private_fork additionalProperties: false examples: - default: &751 + default: &752 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -57498,7 +57745,7 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: default: *386 x-github: @@ -57582,7 +57829,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *442 + - *443 - *17 - *19 responses: @@ -57590,9 +57837,9 @@ paths: description: Success content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57873,7 +58120,7 @@ paths: type: array items: *148 examples: - default: *445 + default: *446 headers: Link: *47 x-github: @@ -58074,15 +58321,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 headers: Link: *47 x-github: @@ -58120,7 +58367,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &459 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -58166,7 +58413,7 @@ paths: type: string nullable: true examples: - default: &459 + default: &460 value: groups: - group_id: '123' @@ -58374,7 +58621,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -58701,7 +58948,7 @@ paths: - repos_count - organization examples: - default: &450 + default: &451 value: id: 1 node_id: MDQ6VGVhbTE= @@ -58778,9 +59025,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -58864,16 +59111,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '201': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 '422': *15 '403': *29 @@ -58929,9 +59176,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58974,9 +59221,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *454 + default: *455 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59117,7 +59364,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &456 title: Team Membership description: Team Membership type: object @@ -59144,7 +59391,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &794 + response-if-user-is-a-team-maintainer: &795 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59207,9 +59454,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-users-membership-with-team-is-now-pending: &795 + response-if-users-membership-with-team-is-now-pending: &796 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -59316,14 +59563,14 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &796 + schema: &797 title: Team Repository description: A team's access to a repository. type: object @@ -59894,8 +60141,8 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 requestBody: required: false content: @@ -59942,8 +60189,8 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 responses: '204': description: Response @@ -59976,9 +60223,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60044,7 +60291,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -60089,7 +60336,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: &797 + response-if-child-teams-exist: &798 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60243,7 +60490,7 @@ paths: resources: type: object properties: - core: &460 + core: &461 title: Rate Limit type: object properties: @@ -60260,21 +60507,21 @@ paths: - remaining - reset - used - graphql: *460 - search: *460 - code_search: *460 - source_import: *460 - integration_manifest: *460 - code_scanning_upload: *460 - actions_runner_registration: *460 - scim: *460 - dependency_snapshots: *460 - dependency_sbom: *460 - code_scanning_autofix: *460 + graphql: *461 + search: *461 + code_search: *461 + source_import: *461 + integration_manifest: *461 + code_scanning_upload: *461 + actions_runner_registration: *461 + scim: *461 + dependency_snapshots: *461 + dependency_sbom: *461 + code_scanning_autofix: *461 required: - core - search - rate: *460 + rate: *461 required: - rate - resources @@ -60379,14 +60626,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: default-response: summary: Default response @@ -60891,7 +61138,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *462 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60909,8 +61156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -61167,10 +61414,10 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 - '307': &464 + default: *464 + '307': &465 description: Temporary Redirect content: application/json: @@ -61199,8 +61446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -61222,7 +61469,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *464 + '307': *465 '404': *6 '409': *119 x-github: @@ -61246,11 +61493,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 - - &481 + - &482 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61273,7 +61520,7 @@ paths: type: integer artifacts: type: array - items: &465 + items: &466 title: Artifact description: An artifact type: object @@ -61351,7 +61598,7 @@ paths: - expires_at - updated_at examples: - default: &482 + default: &483 value: total_count: 2 artifacts: @@ -61412,9 +61659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *456 - *457 - - &466 + - *458 + - &467 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61426,7 +61673,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -61464,9 +61711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *456 - *457 - - *466 + - *458 + - *467 responses: '204': description: Response @@ -61490,9 +61737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *456 - *457 - - *466 + - *458 + - *467 - name: archive_format in: path required: true @@ -61506,7 +61753,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &649 + '410': &650 description: Gone content: application/json: @@ -61531,14 +61778,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &467 + schema: &468 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -61571,13 +61818,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *467 + schema: *468 examples: selected_actions: *44 responses: @@ -61606,14 +61853,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &468 + schema: &469 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -61646,13 +61893,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *468 + schema: *469 examples: selected_actions: *46 responses: @@ -61683,14 +61930,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -61716,11 +61963,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 - - &470 + - &471 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -61754,7 +62001,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: Repository actions caches description: Repository actions caches type: object @@ -61796,7 +62043,7 @@ paths: - total_count - actions_caches examples: - default: &472 + default: &473 value: total_count: 1 actions_caches: @@ -61828,23 +62075,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *456 - *457 + - *458 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61864,8 +62111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *456 - *457 + - *458 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61896,9 +62143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *456 - *457 - - &473 + - *458 + - &474 name: job_id description: The unique identifier of the job. in: path @@ -61910,7 +62157,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: Job description: Information of a job execution in a workflow run type: object @@ -62217,9 +62464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *456 - *457 - - *473 + - *458 + - *474 responses: '302': description: Response @@ -62247,9 +62494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *456 - *457 - - *473 + - *458 + - *474 requestBody: required: false content: @@ -62294,8 +62541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Status response @@ -62345,8 +62592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -62409,8 +62656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -62428,7 +62675,7 @@ paths: type: integer secrets: type: array - items: &487 + items: &488 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62448,7 +62695,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &489 value: total_count: 2 secrets: @@ -62481,9 +62728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *456 - *457 - - *474 + - *458 + - *475 - *19 responses: '200': @@ -62500,7 +62747,7 @@ paths: type: integer variables: type: array - items: &491 + items: &492 title: Actions Variable type: object properties: @@ -62530,7 +62777,7 @@ paths: - created_at - updated_at examples: - default: &492 + default: &493 value: total_count: 2 variables: @@ -62563,8 +62810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62573,7 +62820,7 @@ paths: schema: type: object properties: - enabled: &475 + enabled: &476 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -62608,8 +62855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62620,7 +62867,7 @@ paths: schema: type: object properties: - enabled: *475 + enabled: *476 allowed_actions: *60 sha_pinning_required: *61 required: @@ -62653,14 +62900,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &476 + schema: &477 type: object properties: access_level: @@ -62678,7 +62925,7 @@ paths: required: - access_level examples: - default: &477 + default: &478 value: access_level: organization x-github: @@ -62703,15 +62950,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *476 + schema: *477 examples: - default: *477 + default: *478 responses: '204': description: Response @@ -62735,8 +62982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62766,8 +63013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Empty response for successful settings update @@ -62801,8 +63048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62829,8 +63076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62864,8 +63111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62893,8 +63140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -62925,8 +63172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62957,8 +63204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62990,8 +63237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -63020,8 +63267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Success response @@ -63061,8 +63308,8 @@ paths: in: query schema: type: string - - *456 - *457 + - *458 - *17 - *19 responses: @@ -63106,8 +63353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -63139,8 +63386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -63214,8 +63461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *456 - *457 + - *458 responses: '201': description: Response @@ -63251,8 +63498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *456 - *457 + - *458 responses: '201': description: Response @@ -63282,8 +63529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 responses: '200': @@ -63313,8 +63560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *456 - *457 + - *458 - *75 responses: '204': @@ -63341,8 +63588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 responses: '200': *81 @@ -63367,8 +63614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 requestBody: required: true @@ -63417,8 +63664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 requestBody: required: true @@ -63468,8 +63715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 responses: '200': *291 @@ -63499,8 +63746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 - *292 responses: @@ -63530,9 +63777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *456 - *457 - - &495 + - *458 + - &496 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -63540,7 +63787,7 @@ paths: required: false schema: type: string - - &496 + - &497 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63548,7 +63795,7 @@ paths: required: false schema: type: string - - &497 + - &498 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63557,7 +63804,7 @@ paths: required: false schema: type: string - - &498 + - &499 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -63584,7 +63831,7 @@ paths: - pending - *17 - *19 - - &499 + - &500 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -63593,7 +63840,7 @@ paths: schema: type: string format: date-time - - &478 + - &479 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63602,13 +63849,13 @@ paths: schema: type: boolean default: false - - &500 + - &501 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &501 + - &502 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63631,7 +63878,7 @@ paths: type: integer workflow_runs: type: array - items: &479 + items: &480 title: Workflow Run description: An invocation of a workflow type: object @@ -63779,7 +64026,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &523 + properties: &524 id: type: string description: SHA for the commit @@ -63830,7 +64077,7 @@ paths: - name - email nullable: true - required: &524 + required: &525 - id - tree_id - message @@ -63877,7 +64124,7 @@ paths: - workflow_url - pull_requests examples: - default: &502 + default: &503 value: total_count: 1 workflow_runs: @@ -64113,24 +64360,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *456 - *457 - - &480 + - *458 + - &481 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *478 + - *479 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: &483 + default: &484 value: id: 30433642 name: Build @@ -64371,9 +64618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '204': description: Response @@ -64396,9 +64643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -64517,9 +64764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '201': description: Response @@ -64552,12 +64799,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *456 - *457 - - *480 + - *458 + - *481 - *17 - *19 - - *481 + - *482 responses: '200': description: Response @@ -64573,9 +64820,9 @@ paths: type: integer artifacts: type: array - items: *465 + items: *466 examples: - default: *482 + default: *483 headers: Link: *47 x-github: @@ -64599,25 +64846,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *456 - *457 - - *480 - - &484 + - *458 + - *481 + - &485 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *478 + - *479 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64640,10 +64887,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *456 - *457 - - *480 - - *484 + - *458 + - *481 + - *485 - *17 - *19 responses: @@ -64661,9 +64908,9 @@ paths: type: integer jobs: type: array - items: *485 + items: *486 examples: - default: &486 + default: &487 value: total_count: 1 jobs: @@ -64776,10 +65023,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *456 - *457 - - *480 - - *484 + - *458 + - *481 + - *485 responses: '302': description: Response @@ -64807,9 +65054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '202': description: Response @@ -64842,9 +65089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: true content: @@ -64911,9 +65158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '202': description: Response @@ -64946,9 +65193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -64978,9 +65225,9 @@ paths: type: integer jobs: type: array - items: *485 + items: *486 examples: - default: *486 + default: *487 headers: Link: *47 x-github: @@ -65005,9 +65252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '302': description: Response @@ -65034,9 +65281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '204': description: Response @@ -65063,9 +65310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -65125,7 +65372,7 @@ paths: items: type: object properties: - type: &615 + type: &616 type: string description: The type of reviewer. enum: @@ -65210,9 +65457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: true content: @@ -65259,7 +65506,7 @@ paths: application/json: schema: type: array - items: &600 + items: &601 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65365,7 +65612,7 @@ paths: - created_at - updated_at examples: - default: &601 + default: &602 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65421,9 +65668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: false content: @@ -65467,9 +65714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: false content: @@ -65523,9 +65770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -65662,8 +65909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -65681,9 +65928,9 @@ paths: type: integer secrets: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *47 x-github: @@ -65708,16 +65955,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65739,17 +65986,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &628 + default: &629 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65775,8 +66022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -65834,8 +66081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -65861,9 +66108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *456 - *457 - - *474 + - *458 + - *475 - *19 responses: '200': @@ -65880,9 +66127,9 @@ paths: type: integer variables: type: array - items: *491 + items: *492 examples: - default: *492 + default: *493 headers: Link: *47 x-github: @@ -65905,8 +66152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -65958,17 +66205,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 responses: '200': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &629 + default: &630 value: name: USERNAME value: octocat @@ -65994,8 +66241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 requestBody: required: true @@ -66038,8 +66285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 responses: '204': @@ -66065,8 +66312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -66084,7 +66331,7 @@ paths: type: integer workflows: type: array - items: &493 + items: &494 title: Workflow description: A GitHub Actions workflow type: object @@ -66191,9 +66438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *456 - *457 - - &494 + - *458 + - &495 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66208,7 +66455,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: value: @@ -66241,9 +66488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66268,9 +66515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66321,9 +66568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66350,19 +66597,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *456 - *457 - - *494 + - *458 - *495 - *496 - *497 - *498 + - *499 - *17 - *19 - - *499 - - *478 - *500 + - *479 - *501 + - *502 responses: '200': description: Response @@ -66378,9 +66625,9 @@ paths: type: integer workflow_runs: type: array - items: *479 + items: *480 examples: - default: *502 + default: *503 headers: Link: *47 x-github: @@ -66413,9 +66660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '200': description: Response @@ -66476,8 +66723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *456 - *457 + - *458 - *110 - *17 - *108 @@ -66641,8 +66888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -66679,8 +66926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *456 - *457 + - *458 - name: assignee in: path required: true @@ -66716,8 +66963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -66829,8 +67076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *456 - *457 + - *458 - *17 - *108 - *109 @@ -66887,7 +67134,7 @@ paths: initiator: type: string examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66907,8 +67154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -66916,7 +67163,7 @@ paths: application/json: schema: type: array - items: &504 + items: &505 title: Autolink reference description: An autolink reference. type: object @@ -66970,8 +67217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -67010,9 +67257,9 @@ paths: description: response content: application/json: - schema: *504 + schema: *505 examples: - default: &505 + default: &506 value: id: 1 key_prefix: TICKET- @@ -67043,9 +67290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *456 - *457 - - &506 + - *458 + - &507 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67057,9 +67304,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -67079,9 +67326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *456 - *457 - - *506 + - *458 + - *507 responses: '204': description: Response @@ -67105,8 +67352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response if Dependabot is enabled @@ -67154,8 +67401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -67176,8 +67423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -67197,8 +67444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *456 - *457 + - *458 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67236,7 +67483,7 @@ paths: - url protected: type: boolean - protection: &508 + protection: &509 title: Branch Protection description: Branch Protection type: object @@ -67278,7 +67525,7 @@ paths: required: - contexts - checks - enforce_admins: &511 + enforce_admins: &512 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67293,7 +67540,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &513 + required_pull_request_reviews: &514 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67369,7 +67616,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &510 + restrictions: &511 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67646,9 +67893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *456 - *457 - - &509 + - *458 + - &510 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -67662,14 +67909,14 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &573 + commit: &574 title: Commit description: Commit type: object @@ -67703,7 +67950,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &507 + properties: &508 name: type: string example: '"Chris Wanstrath"' @@ -67719,7 +67966,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true message: type: string @@ -67740,7 +67987,7 @@ paths: required: - sha - url - verification: &635 + verification: &636 title: Verification type: object properties: @@ -67810,7 +68057,7 @@ paths: type: integer files: type: array - items: &586 + items: &587 title: Diff Entry description: Diff Entry type: object @@ -67894,7 +68141,7 @@ paths: - self protected: type: boolean - protection: *508 + protection: *509 protection_url: type: string format: uri @@ -68001,7 +68248,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *462 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -68023,15 +68270,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -68225,9 +68472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -68482,7 +68729,7 @@ paths: url: type: string format: uri - required_status_checks: &516 + required_status_checks: &517 title: Status Check Policy description: Status Check Policy type: object @@ -68634,7 +68881,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *510 + restrictions: *511 required_conversation_resolution: type: object properties: @@ -68746,9 +68993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -68773,17 +69020,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &512 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68805,17 +69052,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68834,9 +69081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -68861,17 +69108,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: &514 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68967,9 +69214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69067,9 +69314,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -69090,9 +69337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69119,17 +69366,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &515 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69152,17 +69399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *515 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -69182,9 +69429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69209,17 +69456,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &517 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69245,9 +69492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69299,9 +69546,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '404': *6 '422': *15 x-github: @@ -69323,9 +69570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69349,9 +69596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69385,9 +69632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69454,9 +69701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69520,9 +69767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: content: application/json: @@ -69588,15 +69835,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -69687,9 +69934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69712,9 +69959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69724,7 +69971,7 @@ paths: type: array items: *5 examples: - default: &518 + default: &519 value: - id: 1 slug: octoapp @@ -69781,9 +70028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69817,7 +70064,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69838,9 +70085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69874,7 +70121,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69895,9 +70142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69931,7 +70178,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69953,9 +70200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69985,9 +70232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -70046,9 +70293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -70107,9 +70354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: content: application/json: @@ -70168,9 +70415,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -70204,9 +70451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70264,9 +70511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70324,9 +70571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70386,9 +70633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70410,7 +70657,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -70524,8 +70771,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -70561,8 +70808,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70635,8 +70882,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -70676,8 +70923,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70747,8 +70994,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70819,8 +71066,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_response_id in: path required: true @@ -70853,8 +71100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -71133,7 +71380,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &521 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71253,7 +71500,7 @@ paths: check. type: array items: *226 - deployment: &857 + deployment: &860 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71533,9 +71780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *456 - *457 - - &521 + - *458 + - &522 name: check_run_id description: The unique identifier of the check run. in: path @@ -71547,9 +71794,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &522 + default: &523 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71649,9 +71896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *456 - *457 - - *521 + - *458 + - *522 requestBody: required: true content: @@ -71891,9 +72138,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *522 + default: *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71913,9 +72160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *456 - *457 - - *521 + - *458 + - *522 - *17 - *19 responses: @@ -72010,9 +72257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *456 - *457 - - *521 + - *458 + - *522 responses: '201': description: Response @@ -72056,8 +72303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -72079,7 +72326,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &525 + schema: &526 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72165,12 +72412,12 @@ paths: type: string format: date-time nullable: true - head_commit: &888 + head_commit: &891 title: Simple Commit description: A commit. type: object - properties: *523 - required: *524 + properties: *524 + required: *525 latest_check_runs_count: type: integer check_runs_url: @@ -72198,7 +72445,7 @@ paths: - check_runs_url - pull_requests examples: - default: &526 + default: &527 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72489,9 +72736,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72510,8 +72757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -72820,9 +73067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *456 - *457 - - &527 + - *458 + - &528 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72834,9 +73081,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72859,17 +73106,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *456 - *457 - - *527 - - &579 + - *458 + - *528 + - &580 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &580 + - &581 name: status description: Returns check runs with the specified `status`. in: query @@ -72908,9 +73155,9 @@ paths: type: integer check_runs: type: array - items: *520 + items: *521 examples: - default: &581 + default: &582 value: total_count: 1 check_runs: @@ -73012,9 +73259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *456 - *457 - - *527 + - *458 + - *528 responses: '201': description: Response @@ -73047,21 +73294,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *456 - *457 + - *458 - *317 - *318 - *19 - *17 - - &543 + - &544 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *528 - - &544 + schema: *529 + - &545 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73092,7 +73339,7 @@ paths: be returned. in: query required: false - schema: *529 + schema: *530 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73116,7 +73363,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *530 + instances_url: *531 state: *113 fixed_at: *138 dismissed_by: @@ -73127,11 +73374,11 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *531 - dismissed_comment: *532 - rule: *533 - tool: *534 - most_recent_instance: *535 + dismissed_reason: *532 + dismissed_comment: *533 + rule: *534 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73257,7 +73504,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &536 + '403': &537 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73284,9 +73531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *456 - *457 - - &537 + - *458 + - &538 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73300,7 +73547,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &539 type: object properties: number: *128 @@ -73308,7 +73555,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *530 + instances_url: *531 state: *113 fixed_at: *138 dismissed_by: @@ -73319,8 +73566,8 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *531 - dismissed_comment: *532 + dismissed_reason: *532 + dismissed_comment: *533 rule: type: object properties: @@ -73374,8 +73621,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *534 - most_recent_instance: *535 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73474,7 +73721,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73494,9 +73741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: true content: @@ -73511,8 +73758,8 @@ paths: enum: - open - dismissed - dismissed_reason: *531 - dismissed_comment: *532 + dismissed_reason: *532 + dismissed_comment: *533 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73540,7 +73787,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: default: value: @@ -73616,7 +73863,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &542 + '403': &543 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73643,15 +73890,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 responses: '200': description: Response content: application/json: - schema: &539 + schema: &540 type: object properties: status: @@ -73677,13 +73924,13 @@ paths: - description - started_at examples: - default: &540 + default: &541 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &541 + '400': &542 description: Bad Request content: application/json: @@ -73694,7 +73941,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73719,29 +73966,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 responses: '200': description: OK content: application/json: - schema: *539 + schema: *540 examples: - default: *540 + default: *541 '202': description: Accepted content: application/json: - schema: *539 + schema: *540 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *541 + '400': *542 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73773,9 +74020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: false content: @@ -73820,8 +74067,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *541 - '403': *542 + '400': *542 + '403': *543 '404': *6 '422': description: Unprocessable Entity @@ -73845,13 +74092,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 - *19 - *17 - - *543 - *544 + - *545 responses: '200': description: Response @@ -73862,10 +74109,10 @@ paths: items: type: object properties: - ref: *528 - analysis_key: *545 - environment: *546 - category: *547 + ref: *529 + analysis_key: *546 + environment: *547 + category: *548 state: type: string description: State of a code scanning alert instance. @@ -73880,7 +74127,7 @@ paths: properties: text: type: string - location: *548 + location: *549 html_url: type: string classifications: @@ -73888,7 +74135,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *549 + items: *550 examples: default: value: @@ -73927,7 +74174,7 @@ paths: end_column: 50 classifications: - source - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73961,25 +74208,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *456 - *457 + - *458 - *317 - *318 - *19 - *17 - - *544 + - *545 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *528 + schema: *529 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &550 + schema: &551 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74000,23 +74247,23 @@ paths: application/json: schema: type: array - items: &551 + items: &552 type: object properties: - ref: *528 - commit_sha: &559 + ref: *529 + commit_sha: &560 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *545 + analysis_key: *546 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *547 + category: *548 error: type: string example: error reading field xyz @@ -74040,8 +74287,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *550 - tool: *534 + sarif_id: *551 + tool: *535 deletable: type: boolean warning: @@ -74102,7 +74349,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74138,8 +74385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *456 - *457 + - *458 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74152,7 +74399,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: response: summary: application/json response @@ -74206,7 +74453,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *536 + '403': *537 '404': *6 '422': description: Response if analysis could not be processed @@ -74293,8 +74540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *456 - *457 + - *458 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74347,7 +74594,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *542 + '403': *543 '404': *6 '503': *196 x-github: @@ -74369,8 +74616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -74378,7 +74625,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: CodeQL Database description: A CodeQL database. type: object @@ -74489,7 +74736,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74518,8 +74765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *456 - *457 + - *458 - name: language in: path description: The language of the CodeQL database. @@ -74531,7 +74778,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -74563,9 +74810,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &588 + '302': &589 description: Found - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74587,8 +74834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *456 - *457 + - *458 - name: language in: path description: The language of the CodeQL database. @@ -74598,7 +74845,7 @@ paths: responses: '204': description: Response - '403': *542 + '403': *543 '404': *6 '503': *196 x-github: @@ -74626,8 +74873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -74636,7 +74883,7 @@ paths: type: object additionalProperties: false properties: - language: &553 + language: &554 type: string description: The language targeted by the CodeQL query enum: @@ -74716,7 +74963,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &557 + schema: &558 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74726,7 +74973,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *553 + query_language: *554 query_pack_url: type: string description: The download url for the query pack. @@ -74773,7 +75020,7 @@ paths: items: type: object properties: - repository: &554 + repository: &555 title: Repository Identifier description: Repository Identifier type: object @@ -74809,7 +75056,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &558 + analysis_status: &559 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74841,7 +75088,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &555 + access_mismatch_repos: &556 type: object properties: repository_count: @@ -74855,7 +75102,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *554 + items: *555 required: - repository_count - repositories @@ -74877,8 +75124,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *555 - over_limit_repos: *555 + no_codeql_db_repos: *556 + over_limit_repos: *556 required: - access_mismatch_repos - not_found_repos @@ -74894,7 +75141,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &556 + value: &557 summary: Default response value: id: 1 @@ -75040,10 +75287,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *556 + value: *557 repository_lists: summary: Response for a successful variant analysis submission - value: *556 + value: *557 '404': *6 '422': description: Unable to process variant analysis submission @@ -75071,8 +75318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *456 - *457 + - *458 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75084,9 +75331,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *556 + default: *557 '404': *6 '503': *196 x-github: @@ -75109,7 +75356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *456 + - *457 - name: repo in: path description: The name of the controller repository. @@ -75144,7 +75391,7 @@ paths: type: object properties: repository: *120 - analysis_status: *558 + analysis_status: *559 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75269,8 +75516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -75355,7 +75602,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -75376,8 +75623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -75469,7 +75716,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *542 + '403': *543 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75540,8 +75787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -75549,7 +75796,7 @@ paths: schema: type: object properties: - commit_sha: *559 + commit_sha: *560 ref: type: string description: |- @@ -75607,7 +75854,7 @@ paths: schema: type: object properties: - id: *550 + id: *551 url: type: string description: The REST API URL for checking the status of the upload. @@ -75621,7 +75868,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *542 + '403': *543 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75644,8 +75891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *456 - *457 + - *458 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75691,7 +75938,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *536 + '403': *537 '404': description: Not Found if the sarif id does not match any upload '503': *196 @@ -75716,8 +75963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -75798,8 +76045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *456 - *457 + - *458 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -75919,8 +76166,8 @@ paths: parameters: - *17 - *19 - - *456 - *457 + - *458 responses: '200': description: Response @@ -76234,8 +76481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -76300,7 +76547,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76308,7 +76555,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '400': *14 '401': *25 '403': *29 @@ -76337,8 +76584,8 @@ paths: parameters: - *17 - *19 - - *456 - *457 + - *458 responses: '200': description: Response @@ -76402,8 +76649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *456 - *457 + - *458 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76438,14 +76685,14 @@ paths: type: integer machines: type: array - items: &804 + items: &805 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *561 - required: *562 + properties: *562 + required: *563 examples: - default: &805 + default: &806 value: total_count: 2 machines: @@ -76485,8 +76732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *456 - *457 + - *458 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76570,8 +76817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *456 - *457 + - *458 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -76637,8 +76884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -76656,7 +76903,7 @@ paths: type: integer secrets: type: array - items: &566 + items: &567 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76676,7 +76923,7 @@ paths: - created_at - updated_at examples: - default: *563 + default: *564 headers: Link: *47 x-github: @@ -76699,16 +76946,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76728,17 +76975,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76758,8 +77005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -76812,8 +77059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -76842,8 +77089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *456 - *457 + - *458 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76885,7 +77132,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &568 + properties: &569 login: type: string example: octocat @@ -76978,7 +77225,7 @@ paths: user_view_type: type: string example: public - required: &569 + required: &570 - avatar_url - events_url - followers_url @@ -77052,8 +77299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 responses: '204': @@ -77100,8 +77347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 requestBody: required: false @@ -77128,7 +77375,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &648 + schema: &649 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77357,8 +77604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 responses: '204': @@ -77390,8 +77637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *456 - *457 + - *458 - *143 responses: '200': @@ -77412,8 +77659,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *568 - required: *569 + properties: *569 + required: *570 nullable: true required: - permission @@ -77468,8 +77715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -77479,7 +77726,7 @@ paths: application/json: schema: type: array - items: &570 + items: &571 title: Commit Comment description: Commit Comment type: object @@ -77537,7 +77784,7 @@ paths: - created_at - updated_at examples: - default: &575 + default: &576 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77596,17 +77843,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: &576 + default: &577 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77663,8 +77910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -77687,7 +77934,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -77738,8 +77985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -77761,8 +78008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -77789,7 +78036,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77832,7 +78079,7 @@ paths: - content - created_at examples: - default: &652 + default: &653 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77877,8 +78124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -77911,9 +78158,9 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: &572 + default: &573 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77942,9 +78189,9 @@ paths: description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -77966,10 +78213,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - &653 + - &654 name: reaction_id description: The unique identifier of the reaction. in: path @@ -78024,8 +78271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *456 - *457 + - *458 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78081,9 +78328,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: &702 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78177,9 +78424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *456 - *457 - - &574 + - *458 + - &575 name: commit_sha description: The SHA of the commit. in: path @@ -78251,9 +78498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *456 - *457 - - *574 + - *458 + - *575 - *17 - *19 responses: @@ -78263,9 +78510,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: *575 + default: *576 headers: Link: *47 x-github: @@ -78293,9 +78540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *456 - *457 - - *574 + - *458 + - *575 requestBody: required: true content: @@ -78330,9 +78577,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *576 + default: *577 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78360,9 +78607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *456 - *457 - - *574 + - *458 + - *575 - *17 - *19 responses: @@ -78372,9 +78619,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: &694 + default: &695 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78911,11 +79158,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *456 - *457 + - *458 - *19 - *17 - - &578 + - &579 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -78930,9 +79177,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &679 + default: &680 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79045,11 +79292,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *456 - *457 - - *578 + - *458 - *579 - *580 + - *581 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79083,9 +79330,9 @@ paths: type: integer check_runs: type: array - items: *520 + items: *521 examples: - default: *581 + default: *582 headers: Link: *47 x-github: @@ -79110,9 +79357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *456 - *457 - - *578 + - *458 + - *579 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79120,7 +79367,7 @@ paths: schema: type: integer example: 1 - - *579 + - *580 - *17 - *19 responses: @@ -79138,7 +79385,7 @@ paths: type: integer check_suites: type: array - items: *525 + items: *526 examples: default: value: @@ -79338,9 +79585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *456 - *457 - - *578 + - *458 + - *579 - *17 - *19 responses: @@ -79538,9 +79785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *456 - *457 - - *578 + - *458 + - *579 - *17 - *19 responses: @@ -79550,7 +79797,7 @@ paths: application/json: schema: type: array - items: &755 + items: &756 title: Status description: The status of a commit. type: object @@ -79631,7 +79878,7 @@ paths: site_admin: false headers: Link: *47 - '301': *462 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79659,8 +79906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -79689,20 +79936,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *582 - required: *583 + properties: *583 + required: *584 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &584 + properties: &585 url: type: string format: uri html_url: type: string format: uri - required: &585 + required: &586 - url - html_url nullable: true @@ -79716,26 +79963,26 @@ paths: contributing: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true readme: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true issue_template: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true pull_request_template: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - code_of_conduct @@ -79862,8 +80109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *456 - *457 + - *458 - *19 - *17 - name: basehead @@ -79906,8 +80153,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *573 - merge_base_commit: *573 + base_commit: *574 + merge_base_commit: *574 status: type: string enum: @@ -79927,10 +80174,10 @@ paths: example: 6 commits: type: array - items: *573 + items: *574 files: type: array - items: *586 + items: *587 required: - url - html_url @@ -80216,8 +80463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -80360,7 +80607,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &587 + response-if-content-is-a-file: &588 summary: Response if content is a file value: type: file @@ -80492,7 +80739,7 @@ paths: - size - type - url - - &707 + - &708 title: Content File description: Content File type: object @@ -80693,7 +80940,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *587 + response-if-content-is-a-file: *588 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80762,7 +81009,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *588 + '302': *589 '304': *37 x-github: githubCloudOnly: false @@ -80785,8 +81032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -80879,7 +81126,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &590 title: File Commit description: File Commit type: object @@ -81031,7 +81278,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: example-for-creating-a-file: value: @@ -81085,7 +81332,7 @@ paths: schema: oneOf: - *3 - - &630 + - &631 description: Repository rule violation was detected type: object properties: @@ -81106,7 +81353,7 @@ paths: items: type: object properties: - placeholder_id: &747 + placeholder_id: &748 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81138,8 +81385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -81200,7 +81447,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -81255,8 +81502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *456 - *457 + - *458 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81379,8 +81626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *456 - *457 + - *458 - *332 - *333 - *334 @@ -81392,7 +81639,7 @@ paths: schema: type: string - *336 - - *590 + - *591 - *337 - *338 - *110 @@ -81413,7 +81660,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 type: object description: A Dependabot alert. properties: @@ -81459,7 +81706,7 @@ paths: - unknown - direct - transitive - security_advisory: *591 + security_advisory: *592 security_vulnerability: *132 url: *133 html_url: *134 @@ -81490,8 +81737,8 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: *592 - dismissal_request: *593 + auto_dismissed_at: *593 + dismissal_request: *594 required: - number - state @@ -81721,9 +81968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *456 - *457 - - &595 + - *458 + - &596 name: alert_number in: path description: |- @@ -81738,7 +81985,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -81851,9 +82098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *456 - *457 - - *595 + - *458 + - *596 requestBody: required: true content: @@ -81898,7 +82145,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -82027,8 +82274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -82046,7 +82293,7 @@ paths: type: integer secrets: type: array - items: &598 + items: &599 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82099,16 +82346,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82128,15 +82375,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *598 + schema: *599 examples: default: value: @@ -82162,8 +82409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -82216,8 +82463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -82240,8 +82487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *456 - *457 + - *458 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -82401,8 +82648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -82641,8 +82888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -82717,7 +82964,7 @@ paths: - version - url additionalProperties: false - metadata: &599 + metadata: &600 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82750,7 +82997,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *599 + metadata: *600 resolved: type: object description: A collection of resolved package dependencies. @@ -82763,7 +83010,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *599 + metadata: *600 relationship: type: string description: A notation of whether a dependency is requested @@ -82892,8 +83139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *456 - *457 + - *458 - name: sha description: The SHA recorded at creation time. in: query @@ -82933,9 +83180,9 @@ paths: application/json: schema: type: array - items: *600 + items: *601 examples: - default: *601 + default: *602 headers: Link: *47 x-github: @@ -83001,8 +83248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -83083,7 +83330,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: simple-example: summary: Simple example @@ -83156,9 +83403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *456 - *457 - - &602 + - *458 + - &603 name: deployment_id description: deployment_id parameter in: path @@ -83170,7 +83417,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: default: value: @@ -83235,9 +83482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *456 - *457 - - *602 + - *458 + - *603 responses: '204': description: Response @@ -83259,9 +83506,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *456 - *457 - - *602 + - *458 + - *603 - *17 - *19 responses: @@ -83271,7 +83518,7 @@ paths: application/json: schema: type: array - items: &603 + items: &604 title: Deployment Status description: The status of a deployment. type: object @@ -83432,9 +83679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *456 - *457 - - *602 + - *458 + - *603 requestBody: required: true content: @@ -83509,9 +83756,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &604 + default: &605 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83567,9 +83814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *456 - *457 - - *602 + - *458 + - *603 - name: status_id in: path required: true @@ -83580,9 +83827,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *604 + default: *605 '404': *6 x-github: githubCloudOnly: false @@ -83609,12 +83856,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 - - *605 + - *458 - *606 - *607 - *608 + - *609 - *17 - *19 responses: @@ -83624,9 +83871,9 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: - default: *610 + default: *611 '404': *6 '403': *29 '500': *40 @@ -83650,8 +83897,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83663,7 +83910,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *609 + schema: *610 examples: default: value: @@ -83719,8 +83966,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83779,12 +84026,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 - - *605 + - *458 - *606 - *607 - *608 + - *609 - *17 - *19 responses: @@ -83794,9 +84041,9 @@ paths: application/json: schema: type: array - items: *611 + items: *612 examples: - default: *612 + default: *613 '404': *6 '403': *29 '500': *40 @@ -83820,8 +84067,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83833,7 +84080,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -83884,8 +84131,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83923,7 +84170,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -83974,8 +84221,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84046,8 +84293,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84080,8 +84327,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -84095,9 +84342,9 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: - default: *614 + default: *615 '404': *6 '403': *29 '500': *40 @@ -84122,8 +84369,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84135,7 +84382,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -84193,8 +84440,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84263,8 +84510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -84321,8 +84568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -84339,7 +84586,7 @@ paths: type: integer environments: type: array - items: &616 + items: &617 title: Environment description: Details of a deployment environment type: object @@ -84391,7 +84638,7 @@ paths: type: type: string example: wait_timer - wait_timer: &618 + wait_timer: &619 type: integer example: 30 description: The amount of time to delay a job after @@ -84428,7 +84675,7 @@ paths: items: type: object properties: - type: *615 + type: *616 reviewer: anyOf: - *4 @@ -84452,7 +84699,7 @@ paths: - id - node_id - type - deployment_branch_policy: &619 + deployment_branch_policy: &620 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -84568,9 +84815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *456 - *457 - - &617 + - *458 + - &618 name: environment_name in: path required: true @@ -84583,9 +84830,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &620 + default: &621 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84669,9 +84916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: false content: @@ -84680,7 +84927,7 @@ paths: type: object nullable: true properties: - wait_timer: *618 + wait_timer: *619 prevent_self_review: type: boolean example: false @@ -84697,13 +84944,13 @@ paths: items: type: object properties: - type: *615 + type: *616 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *619 + deployment_branch_policy: *620 additionalProperties: false examples: default: @@ -84723,9 +84970,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *620 + default: *621 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84749,9 +84996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *456 - *457 - - *617 + - *458 + - *618 responses: '204': description: Default response @@ -84776,9 +85023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *17 - *19 responses: @@ -84796,7 +85043,7 @@ paths: example: 2 branch_policies: type: array - items: &621 + items: &622 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84853,9 +85100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: true content: @@ -84901,9 +85148,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - example-wildcard: &622 + example-wildcard: &623 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84945,10 +85192,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - &623 + - *458 + - *618 + - &624 name: branch_policy_id in: path required: true @@ -84960,9 +85207,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84981,10 +85228,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - *623 + - *458 + - *618 + - *624 requestBody: required: true content: @@ -85012,9 +85259,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85033,10 +85280,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - *623 + - *458 + - *618 + - *624 responses: '204': description: Response @@ -85061,9 +85308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *617 + - *618 + - *458 - *457 - - *456 responses: '200': description: List of deployment protection rules @@ -85079,7 +85326,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &624 + items: &625 title: Deployment protection rule description: Deployment protection rule type: object @@ -85098,7 +85345,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &625 + app: &626 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85197,9 +85444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *617 + - *618 + - *458 - *457 - - *456 requestBody: content: application/json: @@ -85220,9 +85467,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *624 + schema: *625 examples: - default: &626 + default: &627 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85257,9 +85504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *617 + - *618 + - *458 - *457 - - *456 - *19 - *17 responses: @@ -85278,7 +85525,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *625 + items: *626 examples: default: value: @@ -85313,10 +85560,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *456 - *457 - - *617 - - &627 + - *458 + - *618 + - &628 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85328,9 +85575,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85351,10 +85598,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *617 + - *618 + - *458 - *457 - - *456 - - *627 + - *628 responses: '204': description: Response @@ -85380,9 +85627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *17 - *19 responses: @@ -85400,9 +85647,9 @@ paths: type: integer secrets: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *47 x-github: @@ -85427,17 +85674,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *456 - *457 - - *617 + - *458 + - *618 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85459,18 +85706,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *628 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85492,9 +85739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 requestBody: required: true @@ -85552,9 +85799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 responses: '204': @@ -85580,10 +85827,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *456 - *457 - - *617 - - *474 + - *458 + - *618 + - *475 - *19 responses: '200': @@ -85600,9 +85847,9 @@ paths: type: integer variables: type: array - items: *491 + items: *492 examples: - default: *492 + default: *493 headers: Link: *47 x-github: @@ -85625,9 +85872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: true content: @@ -85679,18 +85926,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *297 responses: '200': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85711,10 +85958,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *456 - *457 + - *458 - *297 - - *617 + - *618 requestBody: required: true content: @@ -85756,10 +86003,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *456 - *457 + - *458 - *297 - - *617 + - *618 responses: '204': description: Response @@ -85781,8 +86028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -85850,8 +86097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *456 - *457 + - *458 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86010,8 +86257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -86043,9 +86290,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 '400': *14 '422': *15 '403': *29 @@ -86066,8 +86313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86127,7 +86374,7 @@ paths: schema: oneOf: - *259 - - *630 + - *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86152,8 +86399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *456 - *457 + - *458 - name: file_sha in: path required: true @@ -86252,8 +86499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86362,7 +86609,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &632 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86576,15 +86823,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *456 - *457 - - *574 + - *458 + - *575 responses: '200': description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -86640,9 +86887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *456 - *457 - - &632 + - *458 + - &633 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -86659,7 +86906,7 @@ paths: application/json: schema: type: array - items: &633 + items: &634 title: Git Reference description: Git references within a repository type: object @@ -86734,17 +86981,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 responses: '200': description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: &634 + default: &635 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86773,8 +87020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86803,9 +87050,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *634 + default: *635 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86831,9 +87078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 requestBody: required: true content: @@ -86862,9 +87109,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *634 + default: *635 '422': *15 '409': *119 x-github: @@ -86882,9 +87129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 responses: '204': description: Response @@ -86939,8 +87186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -87007,7 +87254,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &637 title: Git Tag description: Metadata for a Git tag type: object @@ -87058,7 +87305,7 @@ paths: - sha - type - url - verification: *635 + verification: *636 required: - sha - url @@ -87068,7 +87315,7 @@ paths: - tag - message examples: - default: &637 + default: &638 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87141,8 +87388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *456 - *457 + - *458 - name: tag_sha in: path required: true @@ -87153,9 +87400,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 '404': *6 '409': *119 x-github: @@ -87179,8 +87426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -87253,7 +87500,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &639 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87349,8 +87596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *456 - *457 + - *458 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87373,7 +87620,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default-response: summary: Default response @@ -87432,8 +87679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -87443,7 +87690,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Webhook description: Webhooks for repositories. type: object @@ -87497,7 +87744,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &896 + last_response: &899 title: Hook Response type: object properties: @@ -87571,8 +87818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -87624,9 +87871,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &640 + default: &641 value: type: Repository id: 12345678 @@ -87674,17 +87921,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '200': description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -87704,8 +87951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 requestBody: required: true @@ -87751,9 +87998,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '422': *15 '404': *6 x-github: @@ -87774,8 +88021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -87800,8 +88047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *456 - *457 + - *458 - *348 responses: '200': @@ -87829,8 +88076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *456 - *457 + - *458 - *348 requestBody: required: false @@ -87875,8 +88122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 - *17 - *349 @@ -87908,8 +88155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 - *16 responses: @@ -87938,8 +88185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 - *16 responses: @@ -87963,8 +88210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -87990,8 +88237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -88015,8 +88262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response if immutable releases are enabled @@ -88062,8 +88309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *456 - *457 + - *458 responses: '204': *155 '409': *119 @@ -88083,8 +88330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *456 - *457 + - *458 responses: '204': *155 '409': *119 @@ -88141,14 +88388,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &641 + schema: &642 title: Import description: A repository import from an external source. type: object @@ -88247,7 +88494,7 @@ paths: - html_url - authors_url examples: - default: &644 + default: &645 value: vcs: subversion use_lfs: true @@ -88263,7 +88510,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &642 + '503': &643 description: Unavailable due to service under maintenance. content: application/json: @@ -88292,8 +88539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -88341,7 +88588,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -88366,7 +88613,7 @@ paths: type: string '422': *15 '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88394,8 +88641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -88444,7 +88691,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: example-1: summary: Example 1 @@ -88492,7 +88739,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88515,12 +88762,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *456 - *457 + - *458 responses: '204': description: Response - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88546,9 +88793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *456 - *457 - - &826 + - *458 + - &827 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88562,7 +88809,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Porter Author description: Porter Author type: object @@ -88616,7 +88863,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88641,8 +88888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *456 - *457 + - *458 - name: author_id in: path required: true @@ -88672,7 +88919,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: default: value: @@ -88685,7 +88932,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88709,8 +88956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88751,7 +88998,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88779,8 +89026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -88807,11 +89054,11 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *644 + default: *645 '422': *15 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88834,8 +89081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88843,8 +89090,8 @@ paths: application/json: schema: *22 examples: - default: *645 - '301': *462 + default: *646 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -88864,8 +89111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88878,7 +89125,7 @@ paths: properties: {} additionalProperties: false examples: - default: &647 + default: &648 value: limit: collaborators_only origin: repository @@ -88903,13 +89150,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *646 + schema: *647 examples: default: summary: Example request body @@ -88923,7 +89170,7 @@ paths: application/json: schema: *366 examples: - default: *647 + default: *648 '409': description: Response x-github: @@ -88945,8 +89192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -88969,8 +89216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -88980,9 +89227,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: &819 + default: &820 value: - id: 1 repository: @@ -89113,8 +89360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *456 - *457 + - *458 - *370 requestBody: required: false @@ -89144,7 +89391,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: default: value: @@ -89275,8 +89522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *456 - *457 + - *458 - *370 responses: '204': @@ -89308,8 +89555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *456 - *457 + - *458 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -89382,7 +89629,7 @@ paths: type: array items: *221 examples: - default: &660 + default: &661 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89530,7 +89777,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *462 + '301': *463 '422': *15 '404': *6 x-github: @@ -89559,8 +89806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -89644,7 +89891,7 @@ paths: application/json: schema: *221 examples: - default: &657 + default: &658 value: id: 1 node_id: MDU6SXNzdWUx @@ -89800,7 +90047,7 @@ paths: '422': *15 '503': *196 '404': *6 - '410': *649 + '410': *650 x-github: triggersNotification: true githubCloudOnly: false @@ -89828,8 +90075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *456 - *457 + - *458 - *245 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89850,9 +90097,9 @@ paths: application/json: schema: type: array - items: *650 + items: *651 examples: - default: &659 + default: &660 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89910,17 +90157,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89974,8 +90221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -89998,9 +90245,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '422': *15 x-github: githubCloudOnly: false @@ -90018,8 +90265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -90040,8 +90287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90068,9 +90315,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -90091,8 +90338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -90125,16 +90372,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -90156,10 +90403,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - *653 + - *654 responses: '204': description: Response @@ -90179,8 +90426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -90190,7 +90437,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Issue Event description: Issue Event type: object @@ -90233,8 +90480,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *654 - required: *655 + properties: *655 + required: *656 nullable: true label: title: Issue Event Label @@ -90541,8 +90788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *456 - *457 + - *458 - name: event_id in: path required: true @@ -90553,7 +90800,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: default: value: @@ -90745,7 +90992,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *649 + '410': *650 '403': *29 x-github: githubCloudOnly: false @@ -90779,9 +91026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *456 - *457 - - &658 + - *458 + - &659 name: issue_number description: The number that identifies the issue. in: path @@ -90795,10 +91042,10 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '404': *6 - '410': *649 + '410': *650 '304': *37 x-github: githubCloudOnly: false @@ -90823,9 +91070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -90931,13 +91178,13 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 '422': *15 '503': *196 '403': *29 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90955,9 +91202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -90985,7 +91232,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91001,9 +91248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: content: application/json: @@ -91030,7 +91277,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,9 +91299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: assignee in: path required: true @@ -91094,9 +91341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *228 - *17 - *19 @@ -91107,13 +91354,13 @@ paths: application/json: schema: type: array - items: *650 + items: *651 examples: - default: *659 + default: *660 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91142,9 +91389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -91166,16 +91413,16 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -91203,9 +91450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91217,12 +91464,12 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91250,9 +91497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -91276,15 +91523,15 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *462 + '301': *463 '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -91315,9 +91562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91331,13 +91578,13 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *649 + '410': *650 x-github: triggersNotification: true githubCloudOnly: false @@ -91363,9 +91610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91377,12 +91624,12 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91399,9 +91646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91415,7 +91662,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &662 + - &663 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91469,7 +91716,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &663 + - &664 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91605,7 +91852,7 @@ paths: - performed_via_github_app - assignee - assigner - - &664 + - &665 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91656,7 +91903,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &665 + - &666 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91707,7 +91954,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &666 + - &667 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91761,7 +92008,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &667 + - &668 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91808,7 +92055,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &668 + - &669 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91855,7 +92102,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &670 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91915,7 +92162,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &671 title: Locked Issue Event description: Locked Issue Event type: object @@ -91963,7 +92210,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &672 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92029,7 +92276,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &673 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92095,7 +92342,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &674 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92161,7 +92408,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &675 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92252,7 +92499,7 @@ paths: color: red headers: Link: *47 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92269,9 +92516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -92283,7 +92530,7 @@ paths: type: array items: *220 examples: - default: &661 + default: &662 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92301,9 +92548,9 @@ paths: default: false headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92320,9 +92567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92383,10 +92630,10 @@ paths: type: array items: *220 examples: - default: *661 - '301': *462 + default: *662 + '301': *463 '404': *6 - '410': *649 + '410': *650 '422': *15 x-github: githubCloudOnly: false @@ -92403,9 +92650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92467,10 +92714,10 @@ paths: type: array items: *220 examples: - default: *661 - '301': *462 + default: *662 + '301': *463 '404': *6 - '410': *649 + '410': *650 '422': *15 x-github: githubCloudOnly: false @@ -92487,15 +92734,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '204': description: Response - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92514,9 +92761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: name in: path required: true @@ -92540,9 +92787,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92562,9 +92809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92592,7 +92839,7 @@ paths: '204': description: Response '403': *29 - '410': *649 + '410': *650 '404': *6 '422': *15 x-github: @@ -92610,9 +92857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '204': description: Response @@ -92642,9 +92889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '200': description: Response @@ -92652,10 +92899,10 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92672,9 +92919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -92700,13 +92947,13 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92724,9 +92971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92758,16 +93005,16 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -92789,10 +93036,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *456 - *457 - - *658 - - *653 + - *458 + - *659 + - *654 responses: '204': description: Response @@ -92821,9 +93068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92847,7 +93094,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92880,9 +93127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -92894,11 +93141,11 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92926,9 +93173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92957,14 +93204,14 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -92984,9 +93231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -93019,7 +93266,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 '403': *29 '404': *6 '422': *7 @@ -93041,9 +93288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -93058,7 +93305,6 @@ paths: description: Timeline Event type: object anyOf: - - *662 - *663 - *664 - *665 @@ -93071,6 +93317,7 @@ paths: - *672 - *673 - *674 + - *675 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93379,7 +93626,7 @@ paths: type: string comments: type: array - items: &696 + items: &697 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93594,7 +93841,7 @@ paths: type: string comments: type: array - items: *570 + items: *571 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93883,7 +94130,7 @@ paths: headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93900,8 +94147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -93911,7 +94158,7 @@ paths: application/json: schema: type: array - items: &675 + items: &676 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93977,8 +94224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94014,9 +94261,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: &676 + default: &677 value: id: 1 key: ssh-rsa AAA... @@ -94050,9 +94297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *456 - *457 - - &677 + - *458 + - &678 name: key_id description: The unique identifier of the key. in: path @@ -94064,9 +94311,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: *676 + default: *677 '404': *6 x-github: githubCloudOnly: false @@ -94084,9 +94331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *456 - *457 - - *677 + - *458 + - *678 responses: '204': description: Response @@ -94106,8 +94353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -94119,7 +94366,7 @@ paths: type: array items: *220 examples: - default: *661 + default: *662 headers: Link: *47 '404': *6 @@ -94140,8 +94387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94179,7 +94426,7 @@ paths: application/json: schema: *220 examples: - default: &678 + default: &679 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94211,8 +94458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94225,7 +94472,7 @@ paths: application/json: schema: *220 examples: - default: *678 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -94242,8 +94489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94308,8 +94555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94335,8 +94582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -94372,8 +94619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *456 - *457 + - *458 responses: '202': *39 '403': @@ -94401,8 +94648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -94428,9 +94675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *456 - *457 - - *543 + - *458 + - *544 responses: '200': description: Response @@ -94575,8 +94822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94641,8 +94888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94676,9 +94923,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *573 + schema: *574 examples: - default: *679 + default: *680 '204': description: Response when already merged '404': @@ -94703,8 +94950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *456 - *457 + - *458 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94745,7 +94992,7 @@ paths: application/json: schema: type: array - items: &680 + items: &681 title: Milestone description: A collection of related issues and pull requests. type: object @@ -94806,8 +95053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94847,9 +95094,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: &681 + default: &682 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94908,9 +95155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *456 - *457 - - &682 + - *458 + - &683 name: milestone_number description: The number that identifies the milestone. in: path @@ -94922,9 +95169,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 '404': *6 x-github: githubCloudOnly: false @@ -94941,9 +95188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 requestBody: required: false content: @@ -94981,9 +95228,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94999,9 +95246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 responses: '204': description: Response @@ -95022,9 +95269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 - *17 - *19 responses: @@ -95036,7 +95283,7 @@ paths: type: array items: *220 examples: - default: *661 + default: *662 headers: Link: *47 x-github: @@ -95055,12 +95302,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *456 - *457 - - *683 + - *458 - *684 - - *228 - *685 + - *228 + - *686 - *17 - *19 responses: @@ -95072,7 +95319,7 @@ paths: type: array items: *248 examples: - default: *686 + default: *687 headers: Link: *47 x-github: @@ -95096,8 +95343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -95155,14 +95402,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &687 + schema: &688 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95287,7 +95534,7 @@ paths: - custom_404 - public examples: - default: &688 + default: &689 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95328,8 +95575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95383,9 +95630,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *688 + default: *689 '422': *15 '409': *119 x-github: @@ -95408,8 +95655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95516,8 +95763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -95543,8 +95790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -95554,7 +95801,7 @@ paths: application/json: schema: type: array - items: &689 + items: &690 title: Page Build description: Page Build type: object @@ -95648,8 +95895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *456 - *457 + - *458 responses: '201': description: Response @@ -95694,16 +95941,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: &690 + default: &691 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95751,8 +95998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *456 - *457 + - *458 - name: build_id in: path required: true @@ -95763,9 +96010,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: *690 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95785,8 +96032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95891,9 +96138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *456 - *457 - - &691 + - *458 + - &692 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95951,9 +96198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *456 - *457 - - *691 + - *458 + - *692 responses: '204': *155 '404': *6 @@ -95980,8 +96227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -96239,8 +96486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Private vulnerability reporting status @@ -96277,8 +96524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': *155 '422': *14 @@ -96299,8 +96546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': *155 '422': *14 @@ -96322,8 +96569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -96333,7 +96580,7 @@ paths: type: array items: *156 examples: - default: *692 + default: *693 '403': *29 '404': *6 x-github: @@ -96355,8 +96602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -96372,7 +96619,7 @@ paths: required: - properties examples: - default: *693 + default: *694 responses: '204': description: No Content when custom property values are successfully created @@ -96410,8 +96657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *456 - *457 + - *458 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96471,9 +96718,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: *694 + default: *695 headers: Link: *47 '304': *37 @@ -96505,8 +96752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -96571,7 +96818,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &699 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96728,7 +96975,7 @@ paths: nullable: true requested_teams: type: array - items: *441 + items: *442 nullable: true head: type: object @@ -96785,7 +97032,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: *695 + auto_merge: *696 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96877,7 +97124,7 @@ paths: - merged_by - review_comments examples: - default: &699 + default: &700 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97404,8 +97651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *456 - *457 + - *458 - name: sort in: query required: false @@ -97434,9 +97681,9 @@ paths: application/json: schema: type: array - items: *696 + items: *697 examples: - default: &701 + default: &702 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97513,17 +97760,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: &697 + default: &698 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97598,8 +97845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -97622,9 +97869,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: *697 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97640,8 +97887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -97663,8 +97910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -97691,9 +97938,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -97714,8 +97961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -97748,16 +97995,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -97779,10 +98026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - *653 + - *654 responses: '204': description: Response @@ -97825,9 +98072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *456 - *457 - - &700 + - *458 + - &701 name: pull_number description: The number that identifies the pull request. in: path @@ -97840,9 +98087,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '304': *37 '404': *6 '406': @@ -97877,9 +98124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -97921,9 +98168,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '422': *15 '403': *29 x-github: @@ -97945,9 +98192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -98009,7 +98256,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -98017,7 +98264,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -98047,9 +98294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *245 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98070,9 +98317,9 @@ paths: application/json: schema: type: array - items: *696 + items: *697 examples: - default: *701 + default: *702 headers: Link: *47 x-github: @@ -98105,9 +98352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -98212,7 +98459,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: example-for-a-multi-line-comment: value: @@ -98300,9 +98547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *237 requestBody: required: true @@ -98325,7 +98572,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: default: value: @@ -98411,9 +98658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -98423,9 +98670,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *702 + default: *703 headers: Link: *47 x-github: @@ -98455,9 +98702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -98467,7 +98714,7 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: default: value: @@ -98505,9 +98752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *456 - *457 - - *700 + - *458 + - *701 responses: '204': description: Response if pull request has been merged @@ -98530,9 +98777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -98643,9 +98890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 responses: '200': description: Response @@ -98720,9 +98967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -98759,7 +99006,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -99295,9 +99542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -99331,7 +99578,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -99836,9 +100083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -99848,7 +100095,7 @@ paths: application/json: schema: type: array - items: &703 + items: &704 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99999,9 +100246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -100087,9 +100334,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: &705 + default: &706 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100152,10 +100399,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - &704 + - *458 + - *701 + - &705 name: review_id description: The unique identifier of the review. in: path @@ -100167,9 +100414,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: &706 + default: &707 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100228,10 +100475,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100254,7 +100501,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: default: value: @@ -100316,18 +100563,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 responses: '200': description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: *705 + default: *706 '422': *7 '404': *6 x-github: @@ -100354,10 +100601,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 - *17 - *19 responses: @@ -100592,10 +100839,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100623,7 +100870,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: default: value: @@ -100686,10 +100933,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100724,9 +100971,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: *706 + default: *707 '404': *6 '422': *7 '403': *29 @@ -100748,9 +100995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -100813,8 +101060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *456 - *457 + - *458 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100827,9 +101074,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: &708 + default: &709 value: type: file encoding: base64 @@ -100871,8 +101118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *456 - *457 + - *458 - name: dir description: The alternate path to look for a README file in: path @@ -100892,9 +101139,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: *708 + default: *709 '404': *6 '422': *15 x-github: @@ -100916,8 +101163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -100927,7 +101174,7 @@ paths: application/json: schema: type: array - items: *709 + items: *710 examples: default: value: @@ -101021,8 +101268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -101098,9 +101345,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: &713 + default: &714 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101205,9 +101452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *456 - *457 - - &711 + - *458 + - &712 name: asset_id description: The unique identifier of the asset. in: path @@ -101219,9 +101466,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: &712 + default: &713 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -101256,7 +101503,7 @@ paths: type: User site_admin: false '404': *6 - '302': *588 + '302': *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101272,9 +101519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *456 - *457 - - *711 + - *458 + - *712 requestBody: required: false content: @@ -101302,9 +101549,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: *712 + default: *713 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101320,9 +101567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *456 - *457 - - *711 + - *458 + - *712 responses: '204': description: Response @@ -101346,8 +101593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -101432,16 +101679,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101458,8 +101705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *456 - *457 + - *458 - name: tag description: tag parameter in: path @@ -101472,9 +101719,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '404': *6 x-github: githubCloudOnly: false @@ -101496,9 +101743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *456 - *457 - - &714 + - *458 + - &715 name: release_id description: The unique identifier of the release. in: path @@ -101512,9 +101759,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '401': description: Unauthorized x-github: @@ -101532,9 +101779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 requestBody: required: false content: @@ -101598,9 +101845,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '404': description: Not Found if the discussion category name is invalid content: @@ -101621,9 +101868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 responses: '204': description: Response @@ -101643,9 +101890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *456 - *457 - - *714 + - *458 + - *715 - *17 - *19 responses: @@ -101655,7 +101902,7 @@ paths: application/json: schema: type: array - items: *710 + items: *711 examples: default: value: @@ -101737,9 +101984,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *456 - *457 - - *714 + - *458 + - *715 - name: name in: query required: true @@ -101765,7 +102012,7 @@ paths: description: Response for successful upload content: application/json: - schema: *710 + schema: *711 examples: response-for-successful-upload: value: @@ -101820,9 +102067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -101846,9 +102093,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -101869,9 +102116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 requestBody: required: true content: @@ -101901,16 +102148,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -101932,10 +102179,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *456 - *457 - - *714 - - *653 + - *458 + - *715 + - *654 responses: '204': description: Response @@ -101959,9 +102206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 - *17 - *19 responses: @@ -101978,7 +102225,7 @@ paths: oneOf: - allOf: - *170 - - &715 + - &716 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101999,67 +102246,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *171 - - *715 + - *716 - allOf: - *172 - - *715 + - *716 - allOf: - *173 - - *715 + - *716 - allOf: + - *717 - *716 - - *715 - allOf: - *174 - - *715 + - *716 - allOf: - *175 - - *715 + - *716 - allOf: - *176 - - *715 + - *716 - allOf: - *177 - - *715 + - *716 - allOf: - *178 - - *715 + - *716 - allOf: - *179 - - *715 + - *716 - allOf: - *180 - - *715 + - *716 - allOf: - *181 - - *715 + - *716 - allOf: - *182 - - *715 + - *716 - allOf: - *183 - - *715 + - *716 - allOf: - *184 - - *715 + - *716 - allOf: - *185 - - *715 + - *716 - allOf: - *186 - - *715 + - *716 - allOf: - *187 - - *715 + - *716 - allOf: - *188 - - *715 + - *716 - allOf: - *189 - - *715 + - *716 - allOf: - *190 - - *715 + - *716 examples: default: value: @@ -102098,8 +102345,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - *17 - *19 - name: includes_parents @@ -102110,7 +102357,7 @@ paths: schema: type: boolean default: true - - *717 + - *718 responses: '200': description: Response @@ -102165,8 +102412,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 requestBody: description: Request body required: true @@ -102195,7 +102442,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *718 + items: *719 required: - name - enforcement @@ -102228,7 +102475,7 @@ paths: application/json: schema: *191 examples: - default: &727 + default: &728 value: id: 42 name: super cool ruleset @@ -102275,12 +102522,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *456 - *457 - - *719 - - *105 + - *458 - *720 + - *105 - *721 + - *722 - *17 - *19 responses: @@ -102288,9 +102535,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *723 examples: - default: *723 + default: *724 '404': *6 '500': *40 x-github: @@ -102311,17 +102558,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *456 - *457 - - *724 + - *458 + - *725 responses: '200': description: Response content: application/json: - schema: *725 + schema: *726 examples: - default: *726 + default: *727 '404': *6 '500': *40 x-github: @@ -102349,8 +102596,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102372,7 +102619,7 @@ paths: application/json: schema: *191 examples: - default: *727 + default: *728 '404': *6 '500': *40 put: @@ -102390,8 +102637,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102425,7 +102672,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *718 + items: *719 examples: default: value: @@ -102455,7 +102702,7 @@ paths: application/json: schema: *191 examples: - default: *727 + default: *728 '404': *6 '500': *40 delete: @@ -102473,8 +102720,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102497,8 +102744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *456 - *457 + - *458 - *17 - *19 - name: ruleset_id @@ -102516,7 +102763,7 @@ paths: type: array items: *195 examples: - default: *425 + default: *426 '404': *6 '500': *40 x-github: @@ -102535,8 +102782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102554,7 +102801,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -102609,22 +102856,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *456 - *457 - - *427 + - *458 - *428 - *429 - *430 - *431 + - *432 - *110 - *19 - *17 - - *728 - *729 - - *432 + - *730 - *433 - *434 - *435 + - *436 responses: '200': description: Response @@ -102632,7 +102879,7 @@ paths: application/json: schema: type: array - items: &733 + items: &734 type: object properties: number: *128 @@ -102651,8 +102898,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *730 - resolution: *731 + state: *731 + resolution: *732 resolved_at: type: string format: date-time @@ -102748,7 +102995,7 @@ paths: pull request. ' - oneOf: *732 + oneOf: *733 nullable: true has_more_locations: type: boolean @@ -102897,16 +103144,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *456 - *457 - - *537 - - *435 + - *458 + - *538 + - *436 responses: '200': description: Response content: application/json: - schema: *733 + schema: *734 examples: default: value: @@ -102960,9 +103207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: true content: @@ -102970,8 +103217,8 @@ paths: schema: type: object properties: - state: *730 - resolution: *731 + state: *731 + resolution: *732 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103005,7 +103252,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: default: value: @@ -103100,9 +103347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 - *19 - *17 responses: @@ -103113,7 +103360,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &918 + items: &921 type: object properties: type: @@ -103139,7 +103386,6 @@ paths: example: commit details: oneOf: - - *734 - *735 - *736 - *737 @@ -103152,6 +103398,7 @@ paths: - *744 - *745 - *746 + - *747 examples: default: value: @@ -103237,8 +103484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -103246,14 +103493,14 @@ paths: schema: type: object properties: - reason: &748 + reason: &749 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *747 + placeholder_id: *748 required: - reason - placeholder_id @@ -103270,7 +103517,7 @@ paths: schema: type: object properties: - reason: *748 + reason: *749 expire_at: type: string format: date-time @@ -103316,8 +103563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *456 - *457 + - *458 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103332,7 +103579,7 @@ paths: properties: incremental_scans: type: array - items: &749 + items: &750 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103358,15 +103605,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *749 + items: *750 backfill_scans: type: array - items: *749 + items: *750 custom_pattern_backfill_scans: type: array items: allOf: - - *749 + - *750 - type: object properties: pattern_name: @@ -103436,8 +103683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *456 - *457 + - *458 - *110 - name: sort description: The property to sort the results by. @@ -103481,9 +103728,9 @@ paths: application/json: schema: type: array - items: *750 + items: *751 examples: - default: *751 + default: *752 '400': *14 '404': *6 x-github: @@ -103506,8 +103753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -103580,7 +103827,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 required: - login - type @@ -103667,9 +103914,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &753 + default: &754 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103902,8 +104149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -104007,7 +104254,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -104154,17 +104401,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '200': description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 + default: *754 '403': *29 '404': *6 x-github: @@ -104188,9 +104435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 requestBody: required: true content: @@ -104263,7 +104510,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 required: - login - type @@ -104349,10 +104596,10 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 - add_credit: *753 + default: *754 + add_credit: *754 '403': *29 '404': *6 '422': @@ -104390,9 +104637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '202': *39 '400': *14 @@ -104419,17 +104666,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '202': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 '400': *14 '422': *15 '403': *29 @@ -104455,8 +104702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -104555,8 +104802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104565,7 +104812,7 @@ paths: application/json: schema: type: array - items: &754 + items: &755 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104598,8 +104845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -104675,8 +104922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -104772,8 +105019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *456 - *457 + - *458 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104927,8 +105174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *456 - *457 + - *458 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104938,7 +105185,7 @@ paths: application/json: schema: type: array - items: *754 + items: *755 examples: default: value: @@ -104971,8 +105218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *456 - *457 + - *458 - name: sha in: path required: true @@ -105026,7 +105273,7 @@ paths: description: Response content: application/json: - schema: *755 + schema: *756 examples: default: value: @@ -105080,8 +105327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105113,14 +105360,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *456 - *457 + - *458 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &756 + schema: &757 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105188,8 +105435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -105215,7 +105462,7 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: default: value: @@ -105242,8 +105489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -105263,8 +105510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105343,8 +105590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105352,7 +105599,7 @@ paths: application/json: schema: type: array - items: &757 + items: &758 title: Tag protection description: Tag protection type: object @@ -105404,8 +105651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -105428,7 +105675,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: default: value: @@ -105459,8 +105706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *456 - *457 + - *458 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105497,8 +105744,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *456 - *457 + - *458 - name: ref in: path required: true @@ -105534,8 +105781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105567,8 +105814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *456 - *457 + - *458 - *19 - *17 responses: @@ -105576,7 +105823,7 @@ paths: description: Response content: application/json: - schema: &758 + schema: &759 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105588,7 +105835,7 @@ paths: required: - names examples: - default: &759 + default: &760 value: names: - octocat @@ -105611,8 +105858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -105643,9 +105890,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *759 examples: - default: *759 + default: *760 '404': *6 '422': *7 x-github: @@ -105666,9 +105913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *456 - *457 - - &760 + - *458 + - &761 name: per description: The time frame to display results for. in: query @@ -105697,7 +105944,7 @@ paths: example: 128 clones: type: array - items: &761 + items: &762 title: Traffic type: object properties: @@ -105784,8 +106031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105875,8 +106122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105936,9 +106183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *456 - *457 - - *760 + - *458 + - *761 responses: '200': description: Response @@ -105957,7 +106204,7 @@ paths: example: 3782 views: type: array - items: *761 + items: *762 required: - uniques - count @@ -106034,8 +106281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -106309,8 +106556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106333,8 +106580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -106356,8 +106603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -106383,8 +106630,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *456 - *457 + - *458 - name: ref in: path required: true @@ -106476,9 +106723,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106629,7 +106876,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &769 + - &770 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106638,7 +106885,7 @@ paths: schema: type: string example: members - - &774 + - &775 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106649,7 +106896,7 @@ paths: default: 1 format: int32 example: 1 - - &775 + - &776 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106691,7 +106938,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &764 + items: &765 allOf: - type: object required: @@ -106766,7 +107013,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &776 + meta: &777 type: object description: The metadata associated with the creation/updates to the user. @@ -106826,30 +107073,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &765 + '400': &766 description: Bad request content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '401': *763 - '403': &766 + schema: *763 + '401': *764 + '403': &767 description: Permission denied - '429': &767 + '429': &768 description: Too many requests content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '500': &768 + schema: *763 + '500': &769 description: Internal server error content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 + schema: *763 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106873,7 +107120,7 @@ paths: required: true content: application/json: - schema: &772 + schema: &773 type: object required: - schemas @@ -106933,9 +107180,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *764 + schema: *765 examples: - group: &770 + group: &771 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106954,13 +107201,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *765 - '401': *763 - '403': *766 - '409': &773 + '400': *766 + '401': *764 + '403': *767 + '409': &774 description: Duplicate record detected - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106977,7 +107224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &771 + - &772 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106985,22 +107232,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *769 + - *770 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *764 + schema: *765 examples: - default: *770 - '400': *765 - '401': *763 - '403': *766 + default: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107019,13 +107266,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *771 + - *772 - *41 requestBody: required: true content: application/json: - schema: *772 + schema: *773 examples: group: summary: Group @@ -107051,17 +107298,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *764 + schema: *765 examples: - group: *770 - groupWithMembers: *770 - '400': *765 - '401': *763 - '403': *766 + group: *771 + groupWithMembers: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107085,13 +107332,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *771 + - *772 - *41 requestBody: required: true content: application/json: - schema: &783 + schema: &784 type: object required: - Operations @@ -107151,17 +107398,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *764 + schema: *765 examples: - updateGroup: *770 - addMembers: *770 - '400': *765 - '401': *763 - '403': *766 + updateGroup: *771 + addMembers: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107177,17 +107424,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *771 + - *772 - *41 responses: '204': description: Group was deleted, no content - '400': *765 - '401': *763 - '403': *766 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107221,8 +107468,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *774 - *775 + - *776 - *41 responses: '200': @@ -107255,7 +107502,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &778 + items: &779 allOf: - type: object required: @@ -107334,7 +107581,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &777 + roles: &778 type: array description: The roles assigned to the user. items: @@ -107390,7 +107637,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *776 + meta: *777 startIndex: type: integer description: A starting index for the returned page @@ -107427,11 +107674,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *765 - '401': *763 - '403': *766 - '429': *767 - '500': *768 + '400': *766 + '401': *764 + '403': *767 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107455,7 +107702,7 @@ paths: required: true content: application/json: - schema: &781 + schema: &782 type: object required: - schemas @@ -107537,9 +107784,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *777 + roles: *778 examples: - user: &782 + user: &783 summary: User value: schemas: @@ -107586,9 +107833,9 @@ paths: description: User has been created content: application/scim+json: - schema: *778 + schema: *779 examples: - user: &779 + user: &780 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107614,13 +107861,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *779 - '400': *765 - '401': *763 - '403': *766 - '409': *773 - '429': *767 - '500': *768 + enterpriseOwner: *780 + '400': *766 + '401': *764 + '403': *767 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,7 +107884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &780 + - &781 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107650,15 +107897,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *778 + schema: *779 examples: - default: *779 - '400': *765 - '401': *763 - '403': *766 + default: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107680,30 +107927,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *780 + - *781 - *41 requestBody: required: true content: application/json: - schema: *781 + schema: *782 examples: - user: *782 + user: *783 responses: '200': description: User was updated content: application/scim+json: - schema: *778 + schema: *779 examples: - user: *779 - '400': *765 - '401': *763 - '403': *766 + user: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107738,13 +107985,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *780 + - *781 - *41 requestBody: required: true content: application/json: - schema: *783 + schema: *784 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107784,18 +108031,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *778 + schema: *779 examples: - userMultiValuedProperties: *779 - userSingleValuedProperties: *779 - disableUser: *779 - '400': *765 - '401': *763 - '403': *766 + userMultiValuedProperties: *780 + userSingleValuedProperties: *780 + disableUser: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107815,17 +108062,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *780 + - *781 - *41 responses: '204': description: User was deleted, no content - '400': *765 - '401': *763 - '403': *766 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107912,7 +108159,7 @@ paths: example: 1 Resources: type: array - items: &784 + items: &785 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108143,22 +108390,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &785 + '404': &786 description: Resource not found content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '403': &786 + schema: *763 + '403': &787 description: Forbidden content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '400': *765 - '429': *767 + schema: *763 + '400': *766 + '429': *768 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108184,9 +108431,9 @@ paths: description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: &787 + default: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108209,17 +108456,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *785 - '403': *786 - '500': *768 + '404': *786 + '403': *787 + '500': *769 '409': description: Conflict content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '400': *765 + schema: *763 + '400': *766 requestBody: required: true content: @@ -108317,17 +108564,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 - '404': *785 - '403': *786 + default: *788 + '404': *786 + '403': *787 '304': *37 x-github: githubCloudOnly: true @@ -108351,18 +108598,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 + default: *788 '304': *37 - '404': *785 - '403': *786 + '404': *786 + '403': *787 requestBody: required: true content: @@ -108475,19 +108722,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 + default: *788 '304': *37 - '404': *785 - '403': *786 - '400': *765 + '404': *786 + '403': *787 + '400': *766 '429': description: Response content: @@ -108578,12 +108825,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *780 + - *781 responses: '204': description: Response - '404': *785 - '403': *786 + '404': *786 + '403': *787 '304': *37 x-github: githubCloudOnly: true @@ -108716,7 +108963,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &788 + text_matches: &789 title: Search Result Text Matches type: array items: @@ -108879,7 +109126,7 @@ paths: enum: - author-date - committer-date - - &789 + - &790 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -108950,7 +109197,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true comment_count: type: integer @@ -108970,7 +109217,7 @@ paths: url: type: string format: uri - verification: *635 + verification: *636 required: - author - committer @@ -108989,7 +109236,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true parents: type: array @@ -109007,7 +109254,7 @@ paths: type: number node_id: type: string - text_matches: *788 + text_matches: *789 required: - sha - node_id @@ -109200,7 +109447,7 @@ paths: - interactions - created - updated - - *789 + - *790 - *17 - *19 - name: advanced_search @@ -109297,11 +109544,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: type: string state_reason: @@ -109333,7 +109580,7 @@ paths: type: string format: date-time nullable: true - text_matches: *788 + text_matches: *789 pull_request: type: object properties: @@ -109558,7 +109805,7 @@ paths: enum: - created - updated - - *789 + - *790 - *17 - *19 responses: @@ -109602,7 +109849,7 @@ paths: nullable: true score: type: number - text_matches: *788 + text_matches: *789 required: - id - node_id @@ -109688,7 +109935,7 @@ paths: - forks - help-wanted-issues - updated - - *789 + - *790 - *17 - *19 responses: @@ -109927,7 +110174,7 @@ paths: - admin - pull - push - text_matches: *788 + text_matches: *789 temp_clone_token: type: string allow_merge_commit: @@ -110228,7 +110475,7 @@ paths: type: string format: uri nullable: true - text_matches: *788 + text_matches: *789 related: type: array nullable: true @@ -110421,7 +110668,7 @@ paths: - followers - repositories - joined - - *789 + - *790 - *17 - *19 responses: @@ -110525,7 +110772,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *788 + text_matches: *789 blog: type: string nullable: true @@ -110604,7 +110851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &793 + - &794 name: team_id description: The unique identifier of the team. in: path @@ -110616,9 +110863,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -110645,7 +110892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *793 + - *794 requestBody: required: true content: @@ -110708,16 +110955,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '201': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 '422': *15 '403': *29 @@ -110745,7 +110992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *793 + - *794 responses: '204': description: Response @@ -110774,7 +111021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -110812,7 +111059,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *793 + - *794 - name: role description: Filters members returned by their role in the team. in: query @@ -110863,7 +111110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110900,7 +111147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110940,7 +111187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110977,16 +111224,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-user-is-a-team-maintainer: *794 + response-if-user-is-a-team-maintainer: *795 '404': *6 x-github: githubCloudOnly: false @@ -111019,7 +111266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 requestBody: required: false @@ -111045,9 +111292,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-users-membership-with-team-is-now-pending: *795 + response-if-users-membership-with-team-is-now-pending: *796 '403': description: Forbidden if team synchronization is set up '422': @@ -111081,7 +111328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -111109,7 +111356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -111151,15 +111398,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *796 + schema: *797 examples: alternative-response-with-extra-repository-information: value: @@ -111310,9 +111557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 requestBody: required: false content: @@ -111362,9 +111609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 responses: '204': description: Response @@ -111393,15 +111640,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *793 + - *794 responses: '200': description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '403': *29 '404': *6 x-github: @@ -111428,7 +111675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *793 + - *794 requestBody: required: true content: @@ -111485,7 +111732,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -111516,7 +111763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -111528,7 +111775,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: *797 + response-if-child-teams-exist: *798 headers: Link: *47 '404': *6 @@ -111561,7 +111808,7 @@ paths: application/json: schema: oneOf: - - &799 + - &800 title: Private User description: Private User type: object @@ -111764,7 +112011,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *798 + - *799 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -111917,7 +112164,7 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: default: value: @@ -112263,7 +112510,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -112271,7 +112518,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -112315,7 +112562,7 @@ paths: type: integer secrets: type: array - items: &800 + items: &801 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112355,7 +112602,7 @@ paths: - visibility - selected_repositories_url examples: - default: *563 + default: *564 headers: Link: *47 x-github: @@ -112431,7 +112678,7 @@ paths: description: Response content: application/json: - schema: *800 + schema: *801 examples: default: value: @@ -112577,7 +112824,7 @@ paths: type: array items: *284 examples: - default: *801 + default: *802 '401': *25 '403': *29 '404': *6 @@ -112729,7 +112976,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '304': *37 '500': *40 '401': *25 @@ -112787,7 +113034,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -112844,7 +113091,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &803 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112885,7 +113132,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &803 + default: &804 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112930,9 +113177,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *803 examples: - default: *803 + default: *804 '404': *6 x-github: githubCloudOnly: false @@ -112969,9 +113216,9 @@ paths: type: integer machines: type: array - items: *804 + items: *805 examples: - default: *805 + default: *806 '304': *37 '500': *40 '401': *25 @@ -113050,13 +113297,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *461 + repository: *462 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *561 - required: *562 + properties: *562 + required: *563 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -113838,7 +114085,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '304': *37 '500': *40 '400': *14 @@ -113878,7 +114125,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '500': *40 '401': *25 '403': *29 @@ -113910,7 +114157,7 @@ paths: type: array items: *387 examples: - default: &816 + default: &817 value: - id: 197 name: hello_docker @@ -114011,7 +114258,7 @@ paths: application/json: schema: type: array - items: &806 + items: &807 title: Email description: Email type: object @@ -114076,9 +114323,9 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: - default: &818 + default: &819 value: - email: octocat@github.com verified: true @@ -114153,7 +114400,7 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: default: value: @@ -114409,7 +114656,7 @@ paths: application/json: schema: type: array - items: &807 + items: &808 title: GPG Key description: A unique encryption key type: object @@ -114540,7 +114787,7 @@ paths: - subkeys - revoked examples: - default: &832 + default: &835 value: - id: 3 name: Octocat's GPG Key @@ -114625,9 +114872,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: &808 + default: &809 value: id: 3 name: Octocat's GPG Key @@ -114684,7 +114931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &809 + - &810 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114696,9 +114943,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: *808 + default: *809 '404': *6 '304': *37 '403': *29 @@ -114721,7 +114968,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *809 + - *810 responses: '204': description: Response @@ -115026,7 +115273,7 @@ paths: required: true content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -115176,7 +115423,7 @@ paths: application/json: schema: type: array - items: &810 + items: &811 title: Key description: Key type: object @@ -115277,9 +115524,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *811 examples: - default: &811 + default: &812 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115312,15 +115559,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *677 + - *678 responses: '200': description: Response content: application/json: - schema: *810 + schema: *811 examples: - default: *811 + default: *812 '404': *6 '304': *37 '403': *29 @@ -115343,7 +115590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *677 + - *678 responses: '204': description: Response @@ -115376,7 +115623,7 @@ paths: application/json: schema: type: array - items: &812 + items: &813 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115444,7 +115691,7 @@ paths: - account - plan examples: - default: &813 + default: &814 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115506,9 +115753,9 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: - default: *813 + default: *814 headers: Link: *47 '304': *37 @@ -116517,7 +116764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *382 - - *814 + - *815 responses: '204': description: Response @@ -116632,7 +116879,7 @@ paths: - docker - nuget - container - - *815 + - *816 - *19 - *17 responses: @@ -116644,8 +116891,8 @@ paths: type: array items: *387 examples: - default: *816 - '400': *817 + default: *817 + '400': *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116674,7 +116921,7 @@ paths: application/json: schema: *387 examples: - default: &833 + default: &836 value: id: 40201 name: octo-name @@ -117036,9 +117283,9 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: - default: *818 + default: *819 headers: Link: *47 '304': *37 @@ -117151,7 +117398,7 @@ paths: type: array items: *78 examples: - default: &825 + default: &826 summary: Default response value: - id: 1296269 @@ -117455,9 +117702,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117495,9 +117742,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *819 + default: *820 headers: Link: *47 '304': *37 @@ -117576,7 +117823,7 @@ paths: application/json: schema: type: array - items: &820 + items: &821 title: Social account description: Social media account type: object @@ -117591,7 +117838,7 @@ paths: - provider - url examples: - default: &821 + default: &822 value: - provider: twitter url: https://twitter.com/github @@ -117653,9 +117900,9 @@ paths: application/json: schema: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 '422': *15 '304': *37 '404': *6 @@ -117742,7 +117989,7 @@ paths: application/json: schema: type: array - items: &822 + items: &823 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117762,7 +118009,7 @@ paths: - title - created_at examples: - default: &847 + default: &850 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117826,9 +118073,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *823 examples: - default: &823 + default: &824 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117858,7 +118105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &824 + - &825 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117870,9 +118117,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *823 examples: - default: *823 + default: *824 '404': *6 '304': *37 '403': *29 @@ -117895,7 +118142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *824 + - *825 responses: '204': description: Response @@ -117924,7 +118171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &848 + - &851 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -117949,11 +118196,11 @@ paths: type: array items: *78 examples: - default-response: *825 + default-response: *826 application/vnd.github.v3.star+json: schema: type: array - items: &849 + items: &852 title: Starred Repository description: Starred Repository type: object @@ -118109,8 +118356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *456 - *457 + - *458 responses: '204': description: Response if this repository is starred by you @@ -118138,8 +118385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -118163,8 +118410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -118236,7 +118483,7 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: default: value: @@ -118322,10 +118569,10 @@ paths: application/json: schema: oneOf: + - *800 - *799 - - *798 examples: - default-response: &827 + default-response: &830 summary: Default response value: login: octocat @@ -118360,7 +118607,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &828 + response-with-git-hub-plan-information: &831 summary: Response with GitHub plan information value: login: octocat @@ -118417,7 +118664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - name: user_id + - &828 + name: user_id description: The unique identifier of the user. in: path required: true @@ -118482,7 +118730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *826 + - *827 - *17 responses: '200': @@ -118505,6 +118753,116 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - *828 + - *405 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: *829 + examples: + table_view: + summary: Response for creating a table view + value: *416 + board_view: + summary: Response for creating a board view with filter + value: *416 + roadmap_view: + summary: Response for creating a roadmap view + value: *416 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -118531,11 +118889,11 @@ paths: application/json: schema: oneOf: + - *800 - *799 - - *798 examples: - default-response: *827 - response-with-git-hub-plan-information: *828 + default-response: *830 + response-with-git-hub-plan-information: *831 '404': *6 x-github: githubCloudOnly: false @@ -118585,8 +118943,8 @@ paths: required: - subject_digests examples: - default: *829 - withPredicateType: *830 + default: *832 + withPredicateType: *833 responses: '200': description: Response @@ -118639,7 +118997,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *831 + default: *834 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118844,7 +119202,7 @@ paths: initiator: type: string examples: - default: *503 + default: *504 '201': description: Response content: @@ -118885,7 +119243,7 @@ paths: type: array items: *387 examples: - default: *816 + default: *817 '403': *29 '401': *25 x-github: @@ -119269,9 +119627,9 @@ paths: application/json: schema: type: array - items: *807 + items: *808 examples: - default: *832 + default: *835 headers: Link: *47 x-github: @@ -119375,7 +119733,7 @@ paths: application/json: schema: *22 examples: - default: *645 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119499,7 +119857,7 @@ paths: - docker - nuget - container - - *815 + - *816 - *143 - *19 - *17 @@ -119512,10 +119870,10 @@ paths: type: array items: *387 examples: - default: *816 + default: *817 '403': *29 '401': *25 - '400': *817 + '400': *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119545,7 +119903,7 @@ paths: application/json: schema: *387 examples: - default: *833 + default: *836 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119894,7 +120252,7 @@ paths: type: array items: *409 examples: - default: *834 + default: *837 headers: Link: *47 '304': *37 @@ -119954,7 +120312,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *835 + items: *838 required: - name - data_type @@ -119970,7 +120328,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *836 + iteration_configuration: *839 required: - name - data_type @@ -119992,8 +120350,8 @@ paths: value: name: Due date data_type: date - single_select_field: *837 - iteration_field: *838 + single_select_field: *840 + iteration_field: *841 responses: '201': description: Response @@ -120001,11 +120359,11 @@ paths: application/json: schema: *409 examples: - text_field: *839 - number_field: *840 - date_field: *841 - single_select_field: *842 - iteration_field: *843 + text_field: *842 + number_field: *843 + date_field: *844 + single_select_field: *845 + iteration_field: *846 '304': *37 '403': *29 '401': *25 @@ -120027,7 +120385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *405 - - *844 + - *847 - *143 responses: '200': @@ -120036,7 +120394,7 @@ paths: application/json: schema: *409 examples: - default: *845 + default: *848 headers: Link: *47 '304': *37 @@ -120390,7 +120748,7 @@ paths: parameters: - *405 - *143 - - *846 + - *849 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -120669,9 +121027,9 @@ paths: application/json: schema: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 headers: Link: *47 x-github: @@ -120701,9 +121059,9 @@ paths: application/json: schema: type: array - items: *822 + items: *823 examples: - default: *847 + default: *850 headers: Link: *47 x-github: @@ -120728,7 +121086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *143 - - *848 + - *851 - *110 - *17 - *19 @@ -120740,11 +121098,11 @@ paths: schema: anyOf: - type: array - items: *849 + items: *852 - type: array items: *78 examples: - default-response: *825 + default-response: *826 headers: Link: *47 x-github: @@ -120903,7 +121261,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &850 + enterprise: &853 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120961,7 +121319,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &851 + installation: &854 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120980,7 +121338,7 @@ x-webhooks: required: - id - node_id - organization: &852 + organization: &855 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121040,13 +121398,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &853 + repository: &856 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &890 + properties: &893 id: description: Unique identifier of the repository example: 42 @@ -121729,7 +122087,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &891 + required: &894 - archive_url - assignees_url - blobs_url @@ -121880,10 +122238,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -121959,11 +122317,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: &854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: &857 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -122186,11 +122544,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: *854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: *857 sender: *4 required: - action @@ -122373,11 +122731,11 @@ x-webhooks: - everyone required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: *854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: *857 sender: *4 required: - action @@ -122450,7 +122808,7 @@ x-webhooks: required: true content: application/json: - schema: &874 + schema: &877 title: Exemption request cancellation event type: object properties: @@ -122458,11 +122816,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: &855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: &858 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -122731,7 +123089,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &856 + items: &859 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -122841,7 +123199,7 @@ x-webhooks: required: true content: application/json: - schema: &875 + schema: &878 title: Exemption request completed event type: object properties: @@ -122849,11 +123207,11 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 sender: *4 required: - action @@ -122925,7 +123283,7 @@ x-webhooks: required: true content: application/json: - schema: &872 + schema: &875 title: Exemption request created event type: object properties: @@ -122933,11 +123291,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 sender: *4 required: - action @@ -123009,7 +123367,7 @@ x-webhooks: required: true content: application/json: - schema: &876 + schema: &879 title: Exemption response dismissed event type: object properties: @@ -123017,12 +123375,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 - exemption_response: *856 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 + exemption_response: *859 sender: *4 required: - action @@ -123096,7 +123454,7 @@ x-webhooks: required: true content: application/json: - schema: &873 + schema: &876 title: Exemption response submitted event type: object properties: @@ -123104,12 +123462,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 - exemption_response: *856 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 + exemption_response: *859 sender: *4 required: - action @@ -123193,7 +123551,7 @@ x-webhooks: type: string enum: - completed - check_run: &858 + check_run: &861 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123284,7 +123642,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *857 + deployment: *860 details_url: example: https://example.com type: string @@ -123369,10 +123727,10 @@ x-webhooks: - output - app - pull_requests - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -123765,11 +124123,11 @@ x-webhooks: type: string enum: - created - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -124165,11 +124523,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 requested_action: description: The action requested by the user. type: object @@ -124574,11 +124932,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -125555,10 +125913,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -126252,10 +126610,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -126943,10 +127301,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -127112,7 +127470,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127257,20 +127615,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &859 + commit_oid: &862 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *850 - installation: *851 - organization: *852 - ref: &860 + enterprise: *853 + installation: *854 + organization: *855 + ref: &863 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -127435,7 +127793,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127665,12 +128023,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -127765,7 +128123,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127936,12 +128294,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128107,7 +128465,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128273,12 +128631,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128377,7 +128735,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128552,16 +128910,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *853 + repository: *856 sender: *4 required: - action @@ -128658,7 +129016,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128798,12 +129156,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128969,7 +129327,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129114,10 +129472,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -129372,10 +129730,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -129455,18 +129813,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *852 - pusher_type: &861 + organization: *855 + pusher_type: &864 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &862 + ref: &865 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129476,7 +129834,7 @@ x-webhooks: enum: - tag - branch - repository: *853 + repository: *856 sender: *4 required: - ref @@ -129559,9 +129917,9 @@ x-webhooks: enum: - created definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129646,9 +130004,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129726,9 +130084,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129806,9 +130164,9 @@ x-webhooks: enum: - updated definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129885,10 +130243,10 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - repository: *853 - organization: *852 + enterprise: *853 + installation: *854 + repository: *856 + organization: *855 sender: *4 new_property_values: type: array @@ -129973,18 +130331,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - pusher_type: *861 - ref: *862 + enterprise: *853 + installation: *854 + organization: *855 + pusher_type: *864 + ref: *865 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *853 + repository: *856 sender: *4 required: - ref @@ -130068,11 +130426,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130156,11 +130514,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130244,11 +130602,11 @@ x-webhooks: type: string enum: - created - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130330,11 +130688,11 @@ x-webhooks: type: string enum: - dismissed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130416,11 +130774,11 @@ x-webhooks: type: string enum: - fixed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130503,11 +130861,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130589,11 +130947,11 @@ x-webhooks: type: string enum: - reopened - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130670,9 +131028,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - key: &863 + enterprise: *853 + installation: *854 + key: &866 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130708,8 +131066,8 @@ x-webhooks: - verified - created_at - read_only - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -130786,11 +131144,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - key: *863 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + key: *866 + organization: *855 + repository: *856 sender: *4 required: - action @@ -131351,12 +131709,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: &867 + workflow: &870 title: Workflow type: object nullable: true @@ -132082,13 +132440,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *600 + deployment: *601 pull_requests: type: array - items: *698 - repository: *853 - organization: *852 - installation: *851 + items: *699 + repository: *856 + organization: *855 + installation: *854 sender: *4 responses: '200': @@ -132159,7 +132517,7 @@ x-webhooks: type: string enum: - approved - approver: &864 + approver: &867 type: object properties: avatar_url: @@ -132202,11 +132560,11 @@ x-webhooks: type: string comment: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - reviewers: &865 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + reviewers: &868 type: array items: type: object @@ -132285,7 +132643,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &866 + workflow_job_run: &869 type: object properties: conclusion: @@ -133016,18 +133374,18 @@ x-webhooks: type: string enum: - rejected - approver: *864 + approver: *867 comment: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - reviewers: *865 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + reviewers: *868 sender: *4 since: type: string - workflow_job_run: *866 + workflow_job_run: *869 workflow_job_runs: type: array items: @@ -133731,13 +134089,13 @@ x-webhooks: type: string enum: - requested - enterprise: *850 + enterprise: *853 environment: type: string - installation: *851 - organization: *852 - repository: *853 - requestor: &877 + installation: *854 + organization: *855 + repository: *856 + requestor: &880 title: User type: object nullable: true @@ -135636,12 +135994,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Deployment Workflow Run type: object @@ -136321,7 +136679,7 @@ x-webhooks: type: string enum: - answered - answer: &870 + answer: &873 type: object properties: author_association: @@ -136478,11 +136836,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136609,11 +136967,11 @@ x-webhooks: - from required: - category - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136696,11 +137054,11 @@ x-webhooks: type: string enum: - closed - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136782,7 +137140,7 @@ x-webhooks: type: string enum: - created - comment: &869 + comment: &872 type: object properties: author_association: @@ -136939,11 +137297,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137026,12 +137384,12 @@ x-webhooks: type: string enum: - deleted - comment: *869 - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + comment: *872 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137126,12 +137484,12 @@ x-webhooks: - from required: - body - comment: *869 - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + comment: *872 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137215,11 +137573,11 @@ x-webhooks: type: string enum: - created - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137301,11 +137659,11 @@ x-webhooks: type: string enum: - deleted - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137405,11 +137763,11 @@ x-webhooks: type: string required: - from - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137491,10 +137849,10 @@ x-webhooks: type: string enum: - labeled - discussion: *868 - enterprise: *850 - installation: *851 - label: &871 + discussion: *871 + enterprise: *853 + installation: *854 + label: &874 title: Label type: object properties: @@ -137526,8 +137884,8 @@ x-webhooks: - color - default - description - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137610,11 +137968,11 @@ x-webhooks: type: string enum: - locked - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137696,11 +138054,11 @@ x-webhooks: type: string enum: - pinned - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137782,11 +138140,11 @@ x-webhooks: type: string enum: - reopened - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137871,16 +138229,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *868 - new_repository: *853 + new_discussion: *871 + new_repository: *856 required: - new_discussion - new_repository - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137963,10 +138321,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *868 - old_answer: *870 - organization: *852 - repository: *853 + discussion: *871 + old_answer: *873 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138048,12 +138406,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *868 - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138136,11 +138494,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138222,11 +138580,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138295,7 +138653,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138358,7 +138716,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138421,7 +138779,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138484,7 +138842,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138547,7 +138905,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138613,7 +138971,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138679,7 +139037,7 @@ x-webhooks: required: true content: application/json: - schema: *875 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138745,7 +139103,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138811,7 +139169,7 @@ x-webhooks: required: true content: application/json: - schema: *876 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138877,7 +139235,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138942,7 +139300,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139007,7 +139365,7 @@ x-webhooks: required: true content: application/json: - schema: *875 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139072,7 +139430,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139137,7 +139495,7 @@ x-webhooks: required: true content: application/json: - schema: *876 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139203,7 +139561,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139270,7 +139628,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *850 + enterprise: *853 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139930,9 +140288,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - forkee @@ -140078,9 +140436,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pages: description: The pages that were updated. type: array @@ -140117,7 +140475,7 @@ x-webhooks: - action - sha - html_url - repository: *853 + repository: *856 sender: *4 required: - pages @@ -140193,10 +140551,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: &878 + organization: *855 + repositories: &881 description: An array of repository objects that the installation can access. type: array @@ -140222,8 +140580,8 @@ x-webhooks: - name - full_name - private - repository: *853 - requester: *877 + repository: *856 + requester: *880 sender: *4 required: - action @@ -140298,11 +140656,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140378,11 +140736,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140458,10 +140816,10 @@ x-webhooks: type: string enum: - added - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories_added: &879 + organization: *855 + repositories_added: &882 description: An array of repository objects, which were added to the installation. type: array @@ -140507,15 +140865,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *853 - repository_selection: &880 + repository: *856 + repository_selection: &883 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *877 + requester: *880 sender: *4 required: - action @@ -140594,10 +140952,10 @@ x-webhooks: type: string enum: - removed - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories_added: *879 + organization: *855 + repositories_added: *882 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140624,9 +140982,9 @@ x-webhooks: - name - full_name - private - repository: *853 - repository_selection: *880 - requester: *877 + repository: *856 + repository_selection: *883 + requester: *880 sender: *4 required: - action @@ -140705,11 +141063,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140888,10 +141246,10 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 target_type: type: string @@ -140970,11 +141328,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -141226,8 +141584,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142021,8 +142379,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142371,8 +142729,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -142452,7 +142810,7 @@ x-webhooks: type: string enum: - deleted - comment: &881 + comment: &884 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142617,8 +142975,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143408,8 +143766,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143760,8 +144118,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -143841,7 +144199,7 @@ x-webhooks: type: string enum: - edited - changes: &910 + changes: &913 description: The changes to the comment. type: object properties: @@ -143853,9 +144211,9 @@ x-webhooks: type: string required: - from - comment: *881 - enterprise: *850 - installation: *851 + comment: *884 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144648,8 +145006,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144998,8 +145356,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145089,9 +145447,9 @@ x-webhooks: type: number blocking_issue: *221 blocking_issue_repo: *78 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145180,9 +145538,9 @@ x-webhooks: type: number blocking_issue: *221 blocking_issue_repo: *78 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145270,9 +145628,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145361,9 +145719,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145443,10 +145801,10 @@ x-webhooks: type: string enum: - assigned - assignee: *877 - enterprise: *850 - installation: *851 - issue: &884 + assignee: *880 + enterprise: *853 + installation: *854 + issue: &887 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146235,11 +146593,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146356,8 +146714,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -146437,8 +146795,8 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147232,11 +147590,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147488,8 +147846,8 @@ x-webhooks: required: - state - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -147568,8 +147926,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148354,11 +148712,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148474,8 +148832,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -148554,8 +148912,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149362,11 +149720,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149461,7 +149819,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &882 + milestone: &885 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149599,8 +149957,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -149699,8 +150057,8 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150489,11 +150847,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150610,9 +150968,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *871 - organization: *852 - repository: *853 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -150692,8 +151050,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151481,11 +151839,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151602,9 +151960,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *871 - organization: *852 - repository: *853 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -151684,8 +152042,8 @@ x-webhooks: type: string enum: - locked - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152497,11 +152855,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152595,8 +152953,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -152675,8 +153033,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153482,11 +153840,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153580,9 +153938,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *882 - organization: *852 - repository: *853 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -154450,11 +154808,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155016,8 +155374,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155806,11 +156164,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155926,8 +156284,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -156007,9 +156365,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *850 - installation: *851 - issue: &883 + enterprise: *853 + installation: *854 + issue: &886 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156792,11 +157150,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156912,8 +157270,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -156992,8 +157350,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157803,11 +158161,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157902,8 +158260,8 @@ x-webhooks: user_view_type: type: string type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -158769,11 +159127,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159357,11 +159715,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *850 - installation: *851 - issue: *883 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *886 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159441,12 +159799,12 @@ x-webhooks: type: string enum: - typed - enterprise: *850 - installation: *851 - issue: *884 + enterprise: *853 + installation: *854 + issue: *887 type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159527,7 +159885,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &913 + assignee: &916 title: User type: object nullable: true @@ -159597,11 +159955,11 @@ x-webhooks: required: - login - id - enterprise: *850 - installation: *851 - issue: *884 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *887 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159680,12 +160038,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *850 - installation: *851 - issue: *884 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *887 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159765,8 +160123,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160576,11 +160934,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160674,8 +161032,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160755,11 +161113,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *850 - installation: *851 - issue: *883 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *886 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160838,12 +161196,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *850 - installation: *851 - issue: *884 + enterprise: *853 + installation: *854 + issue: *887 type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160923,11 +161281,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161005,11 +161363,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161119,11 +161477,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161205,9 +161563,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: &885 + enterprise: *853 + installation: *854 + marketplace_purchase: &888 title: Marketplace Purchase type: object required: @@ -161290,8 +161648,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *852 - previous_marketplace_purchase: &886 + organization: *855 + previous_marketplace_purchase: &889 title: Marketplace Purchase type: object properties: @@ -161371,7 +161729,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161451,10 +161809,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161537,7 +161895,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161619,10 +161977,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161704,7 +162062,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161785,8 +162143,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 marketplace_purchase: title: Marketplace Purchase type: object @@ -161868,9 +162226,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *852 - previous_marketplace_purchase: *886 - repository: *853 + organization: *855 + previous_marketplace_purchase: *889 + repository: *856 sender: *4 required: - action @@ -161950,12 +162308,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 - previous_marketplace_purchase: *886 - repository: *853 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 + previous_marketplace_purchase: *889 + repository: *856 sender: *4 required: - action @@ -162057,11 +162415,11 @@ x-webhooks: type: string required: - to - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162161,11 +162519,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162244,11 +162602,11 @@ x-webhooks: type: string enum: - removed - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162326,11 +162684,11 @@ x-webhooks: type: string enum: - added - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162406,7 +162764,7 @@ x-webhooks: required: - login - id - team: &887 + team: &890 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162629,11 +162987,11 @@ x-webhooks: type: string enum: - removed - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162710,7 +163068,7 @@ x-webhooks: required: - login - id - team: *887 + team: *890 required: - action - scope @@ -162792,8 +163150,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *851 - merge_group: &889 + installation: *854 + merge_group: &892 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162812,15 +163170,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *888 + head_commit: *891 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162906,10 +163264,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *851 - merge_group: *889 - organization: *852 - repository: *853 + installation: *854 + merge_group: *892 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162982,7 +163340,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 + enterprise: *853 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163091,16 +163449,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *851 - organization: *852 + installation: *854 + organization: *855 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -163181,11 +163539,11 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163264,9 +163622,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - milestone: &892 + enterprise: *853 + installation: *854 + milestone: &895 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163403,8 +163761,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163483,11 +163841,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163597,11 +163955,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163681,11 +164039,11 @@ x-webhooks: type: string enum: - opened - enterprise: *850 - installation: *851 - milestone: *892 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *895 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163764,11 +164122,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *877 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + blocked_user: *880 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163847,11 +164205,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *877 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + blocked_user: *880 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163927,7 +164285,7 @@ x-webhooks: enum: - created definition: *151 - enterprise: *850 + enterprise: *853 sender: *4 required: - action @@ -164007,8 +164365,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 sender: *4 required: - action @@ -164081,8 +164439,8 @@ x-webhooks: enum: - updated definition: *151 - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 sender: *4 required: - action @@ -164154,9 +164512,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 new_property_values: type: array @@ -164244,9 +164602,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - membership: &893 + enterprise: *853 + installation: *854 + membership: &896 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164353,8 +164711,8 @@ x-webhooks: - role - organization_url - user - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164432,11 +164790,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164515,8 +164873,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164632,10 +164990,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 - user: *877 + user: *880 required: - action - invitation @@ -164713,11 +165071,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164804,11 +165162,11 @@ x-webhooks: properties: from: type: string - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164884,9 +165242,9 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 package: description: Information about the package. type: object @@ -165385,7 +165743,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &894 + items: &897 title: Ruby Gems metadata type: object properties: @@ -165480,7 +165838,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -165556,9 +165914,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 package: description: Information about the package. type: object @@ -165911,7 +166269,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *897 source_url: type: string format: uri @@ -165981,7 +166339,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -166158,12 +166516,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *850 + enterprise: *853 id: type: integer - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - id @@ -166240,7 +166598,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &895 + personal_access_token_request: &898 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166386,10 +166744,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *850 - organization: *852 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166466,11 +166824,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *895 - enterprise: *850 - organization: *852 + personal_access_token_request: *898 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166546,11 +166904,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *895 - enterprise: *850 - organization: *852 + personal_access_token_request: *898 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166625,11 +166983,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *895 - organization: *852 - enterprise: *850 + personal_access_token_request: *898 + organization: *855 + enterprise: *853 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166734,7 +167092,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *896 + last_response: *899 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166766,8 +167124,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 zen: description: Random string of GitHub zen. @@ -167012,10 +167370,10 @@ x-webhooks: - from required: - note - enterprise: *850 - installation: *851 - organization: *852 - project_card: &897 + enterprise: *853 + installation: *854 + organization: *855 + project_card: &900 title: Project Card type: object properties: @@ -167134,7 +167492,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -167215,11 +167573,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project_card: *897 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_card: *900 + repository: *856 sender: *4 required: - action @@ -167299,9 +167657,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 project_card: title: Project Card type: object @@ -167429,8 +167787,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -167524,11 +167882,11 @@ x-webhooks: - from required: - note - enterprise: *850 - installation: *851 - organization: *852 - project_card: *897 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_card: *900 + repository: *856 sender: *4 required: - action @@ -167622,9 +167980,9 @@ x-webhooks: - from required: - column_id - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 project_card: allOf: - title: Project Card @@ -167814,7 +168172,7 @@ x-webhooks: type: string required: - after_id - repository: *853 + repository: *856 sender: *4 required: - action @@ -167894,10 +168252,10 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - organization: *852 - project: &899 + enterprise: *853 + installation: *854 + organization: *855 + project: &902 title: Project type: object properties: @@ -168021,7 +168379,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -168101,10 +168459,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project_column: &898 + enterprise: *853 + installation: *854 + organization: *855 + project_column: &901 title: Project Column type: object properties: @@ -168143,7 +168501,7 @@ x-webhooks: - name - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -168222,18 +168580,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -168323,11 +168681,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 + repository: *856 sender: *4 required: - action @@ -168407,11 +168765,11 @@ x-webhooks: type: string enum: - moved - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 + repository: *856 sender: *4 required: - action @@ -168491,11 +168849,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168575,18 +168933,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - project: *899 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -168688,11 +169046,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168771,11 +169129,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168856,8 +169214,8 @@ x-webhooks: type: string enum: - closed - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -168939,8 +169297,8 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169022,8 +169380,8 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169141,8 +169499,8 @@ x-webhooks: type: string to: type: string - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169226,7 +169584,7 @@ x-webhooks: type: string enum: - archived - changes: &903 + changes: &906 type: object properties: archived_at: @@ -169240,9 +169598,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *851 - organization: *852 - projects_v2_item: &900 + installation: *854 + organization: *855 + projects_v2_item: &903 title: Projects v2 Item description: An item belonging to a project type: object @@ -169377,9 +169735,9 @@ x-webhooks: nullable: true to: type: string - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169461,9 +169819,9 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169544,9 +169902,9 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169652,7 +170010,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &901 + - &904 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169674,7 +170032,7 @@ x-webhooks: required: - id - name - - &902 + - &905 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169708,8 +170066,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *901 - - *902 + - *904 + - *905 required: - field_value - type: object @@ -169725,9 +170083,9 @@ x-webhooks: nullable: true required: - body - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169822,9 +170180,9 @@ x-webhooks: to: type: string nullable: true - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169907,10 +170265,10 @@ x-webhooks: type: string enum: - restored - changes: *903 - installation: *851 - organization: *852 - projects_v2_item: *900 + changes: *906 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169992,8 +170350,8 @@ x-webhooks: type: string enum: - reopened - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -170075,14 +170433,14 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 - projects_v2_status_update: &906 + installation: *854 + organization: *855 + projects_v2_status_update: &909 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *904 - required: *905 + properties: *907 + required: *908 sender: *4 required: - action @@ -170163,9 +170521,9 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 - projects_v2_status_update: *906 + installation: *854 + organization: *855 + projects_v2_status_update: *909 sender: *4 required: - action @@ -170301,9 +170659,9 @@ x-webhooks: type: string format: date nullable: true - installation: *851 - organization: *852 - projects_v2_status_update: *906 + installation: *854 + organization: *855 + projects_v2_status_update: *909 sender: *4 required: - action @@ -170374,10 +170732,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - repository @@ -170454,13 +170812,13 @@ x-webhooks: type: string enum: - assigned - assignee: *877 - enterprise: *850 - installation: *851 - number: &907 + assignee: *880 + enterprise: *853 + installation: *854 + number: &910 description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -172743,7 +173101,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -172825,11 +173183,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -175107,7 +175465,7 @@ x-webhooks: - draft reason: type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -175189,11 +175547,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -177471,7 +177829,7 @@ x-webhooks: - draft reason: type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -177553,13 +177911,13 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: &908 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: &911 allOf: - - *698 + - *699 - type: object properties: allow_auto_merge: @@ -177621,7 +177979,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *853 + repository: *856 sender: *4 required: - action @@ -177702,12 +178060,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -177787,11 +178145,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *850 - milestone: *680 - number: *907 - organization: *852 - pull_request: &909 + enterprise: *853 + milestone: *681 + number: *910 + organization: *855 + pull_request: &912 title: Pull Request type: object properties: @@ -180054,7 +180412,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -180133,11 +180491,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -182419,7 +182777,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *853 + repository: *856 sender: *4 required: - action @@ -182543,12 +182901,12 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -182628,11 +182986,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -184899,7 +185257,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -184979,11 +185337,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *850 - installation: *851 - label: *871 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + label: *874 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -187265,7 +187623,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -187346,10 +187704,10 @@ x-webhooks: type: string enum: - locked - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -189629,7 +189987,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -189709,12 +190067,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *850 - milestone: *680 - number: *907 - organization: *852 - pull_request: *909 - repository: *853 + enterprise: *853 + milestone: *681 + number: *910 + organization: *855 + pull_request: *912 + repository: *856 sender: *4 required: - action @@ -189793,12 +190151,12 @@ x-webhooks: type: string enum: - opened - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -189879,12 +190237,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -189964,12 +190322,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -190335,9 +190693,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -192507,7 +192865,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -192587,7 +192945,7 @@ x-webhooks: type: string enum: - deleted - comment: &911 + comment: &914 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -192872,9 +193230,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -195032,7 +195390,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -195112,11 +195470,11 @@ x-webhooks: type: string enum: - edited - changes: *910 - comment: *911 - enterprise: *850 - installation: *851 - organization: *852 + changes: *913 + comment: *914 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -197277,7 +197635,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -197358,9 +197716,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -199533,7 +199891,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 review: description: The review that was affected. type: object @@ -199780,9 +200138,9 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -201836,8 +202194,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 - review: &912 + repository: *856 + review: &915 description: The review that was affected. type: object properties: @@ -202070,12 +202428,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -204358,7 +204716,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_reviewer: title: User type: object @@ -204442,12 +204800,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -206737,7 +207095,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206929,12 +207287,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -209219,7 +209577,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_reviewer: title: User type: object @@ -209304,12 +209662,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -211585,7 +211943,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211766,9 +212124,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -213943,8 +214301,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 - review: *912 + repository: *856 + review: *915 sender: *4 required: - action @@ -214024,9 +214382,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -216096,7 +216454,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 sender: *4 thread: type: object @@ -216483,9 +216841,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -218541,7 +218899,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 sender: *4 thread: type: object @@ -218931,10 +219289,10 @@ x-webhooks: type: string before: type: string - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -221205,7 +221563,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -221287,11 +221645,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *913 - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + assignee: *916 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -223574,7 +223932,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -223653,11 +224011,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *850 - installation: *851 - label: *871 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + label: *874 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -225930,7 +226288,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -226011,10 +226369,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -228279,7 +228637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -228479,7 +228837,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *850 + enterprise: *853 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228571,8 +228929,8 @@ x-webhooks: - url - author - committer - installation: *851 - organization: *852 + installation: *854 + organization: *855 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229147,9 +229505,9 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 registry_package: type: object properties: @@ -229595,7 +229953,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *894 + items: *897 summary: type: string tag_name: @@ -229649,7 +230007,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -229727,9 +230085,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 registry_package: type: object properties: @@ -230037,7 +230395,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *897 summary: type: string tag_name: @@ -230086,7 +230444,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -230163,10 +230521,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - release: &914 + enterprise: *853 + installation: *854 + organization: *855 + release: &917 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -230484,7 +230842,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *853 + repository: *856 sender: *4 required: - action @@ -230561,11 +230919,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -230682,11 +231040,11 @@ x-webhooks: type: boolean required: - to - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -230764,9 +231122,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231088,7 +231446,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *853 + repository: *856 sender: *4 required: - action @@ -231164,10 +231522,10 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - release: &915 + enterprise: *853 + installation: *854 + organization: *855 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231486,7 +231844,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *853 + repository: *856 sender: *4 required: - action @@ -231562,11 +231920,11 @@ x-webhooks: type: string enum: - released - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -231642,11 +232000,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *850 - installation: *851 - organization: *852 - release: *915 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *918 + repository: *856 sender: *4 required: - action @@ -231722,11 +232080,11 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - repository_advisory: *750 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + repository_advisory: *751 sender: *4 required: - action @@ -231802,11 +232160,11 @@ x-webhooks: type: string enum: - reported - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - repository_advisory: *750 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + repository_advisory: *751 sender: *4 required: - action @@ -231882,10 +232240,10 @@ x-webhooks: type: string enum: - archived - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -231962,10 +232320,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232043,10 +232401,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232130,10 +232488,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232245,10 +232603,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232320,10 +232678,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 status: type: string @@ -232404,10 +232762,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232484,10 +232842,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232581,10 +232939,10 @@ x-webhooks: - name required: - repository - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232664,10 +233022,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 sender: *4 required: @@ -232746,10 +233104,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 sender: *4 required: @@ -232828,10 +233186,10 @@ x-webhooks: type: string enum: - edited - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 changes: type: object @@ -232893,16 +233251,16 @@ x-webhooks: properties: added: type: array - items: *718 + items: *719 deleted: type: array - items: *718 + items: *719 updated: type: array items: type: object properties: - rule: *718 + rule: *719 changes: type: object properties: @@ -233136,10 +233494,10 @@ x-webhooks: - from required: - owner - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233217,10 +233575,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233298,7 +233656,7 @@ x-webhooks: type: string enum: - create - alert: &916 + alert: &919 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233419,10 +233777,10 @@ x-webhooks: type: string enum: - open - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233628,10 +233986,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233709,11 +234067,11 @@ x-webhooks: type: string enum: - reopen - alert: *916 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233912,10 +234270,10 @@ x-webhooks: enum: - fixed - open - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233993,7 +234351,7 @@ x-webhooks: type: string enum: - assigned - alert: &917 + alert: &920 type: object properties: number: *128 @@ -234112,10 +234470,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234193,11 +234551,11 @@ x-webhooks: type: string enum: - created - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234278,11 +234636,11 @@ x-webhooks: type: string enum: - created - alert: *917 - installation: *851 - location: *918 - organization: *852 - repository: *853 + alert: *920 + installation: *854 + location: *921 + organization: *855 + repository: *856 sender: *4 required: - location @@ -234520,11 +234878,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234602,11 +234960,11 @@ x-webhooks: type: string enum: - reopened - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234684,11 +235042,11 @@ x-webhooks: type: string enum: - resolved - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234766,12 +235124,12 @@ x-webhooks: type: string enum: - unassigned - alert: *917 + alert: *920 assignee: *4 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234849,11 +235207,11 @@ x-webhooks: type: string enum: - validated - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234979,10 +235337,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *853 - enterprise: *850 - installation: *851 - organization: *852 + repository: *856 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -235060,11 +235418,11 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - security_advisory: &919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + security_advisory: &922 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235247,11 +235605,11 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - security_advisory: *919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + security_advisory: *922 sender: *4 required: - action @@ -235324,10 +235682,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235511,11 +235869,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *419 - enterprise: *850 - installation: *851 - organization: *852 - repository: *461 + security_and_analysis: *420 + enterprise: *853 + installation: *854 + organization: *855 + repository: *462 sender: *4 required: - changes @@ -235593,12 +235951,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: &920 + sponsorship: &923 type: object properties: created_at: @@ -235899,12 +236257,12 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - sponsorship @@ -235992,12 +236350,12 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236074,17 +236432,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &921 + effective_date: &924 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - sponsorship @@ -236158,7 +236516,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &922 + changes: &925 type: object properties: tier: @@ -236202,13 +236560,13 @@ x-webhooks: - from required: - tier - effective_date: *921 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + effective_date: *924 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236285,13 +236643,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *922 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + changes: *925 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236365,10 +236723,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236451,10 +236809,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236874,15 +237232,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *850 + enterprise: *853 id: description: The unique identifier of the status. type: integer - installation: *851 + installation: *854 name: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 sha: description: The Commit SHA. @@ -236997,9 +237355,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237089,9 +237447,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237181,9 +237539,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237273,9 +237631,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237352,12 +237710,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - team: &923 + team: &926 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237580,9 +237938,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -238040,7 +238398,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -238116,9 +238474,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -238576,7 +238934,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -238653,9 +239011,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -239113,7 +239471,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -239257,9 +239615,9 @@ x-webhooks: - from required: - permissions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -239717,7 +240075,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - changes @@ -239795,9 +240153,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -240255,7 +240613,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -240331,10 +240689,10 @@ x-webhooks: type: string enum: - started - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -240407,16 +240765,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *850 + enterprise: *853 inputs: type: object nullable: true additionalProperties: true - installation: *851 - organization: *852 + installation: *854 + organization: *855 ref: type: string - repository: *853 + repository: *856 sender: *4 workflow: type: string @@ -240498,10 +240856,10 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: allOf: @@ -240738,7 +241096,7 @@ x-webhooks: type: string required: - conclusion - deployment: *600 + deployment: *601 required: - action - repository @@ -240817,10 +241175,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: allOf: @@ -241080,7 +241438,7 @@ x-webhooks: required: - status - steps - deployment: *600 + deployment: *601 required: - action - repository @@ -241159,10 +241517,10 @@ x-webhooks: type: string enum: - queued - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: type: object @@ -241297,7 +241655,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *600 + deployment: *601 required: - action - repository @@ -241376,10 +241734,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: type: object @@ -241515,7 +241873,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *600 + deployment: *601 required: - action - repository @@ -241595,12 +241953,12 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object @@ -242599,12 +242957,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object @@ -243588,12 +243946,12 @@ x-webhooks: type: string enum: - requested - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index d232d58c0..0e93c33f1 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -222606,6 +222606,736 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -659038,6 +659768,736 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "project_number", + "description": "The project's number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "value": { + "id": 1, + "number": 1, + "name": "Sprint Board", + "layout": "board", + "node_id": "PVTV_lADOANN5s84ACbL0zgBueEI", + "project_url": "https://api.github.com/orgs/octocat/projectsV2/1", + "html_url": "https://github.com/orgs/octocat/projects/1/views/1", + "creator": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "filter": "is:issue is:open", + "visible_fields": [ + 123, + 456, + 789 + ], + "sort_by": [ + [ + 123, + "asc" + ], + [ + 456, + "desc" + ] + ], + "group_by": [ + 123 + ], + "vertical_group_by": [ + 456 + ] + } + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 75d43ffe3..0582f2572 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &440 + type: &441 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &752 + - &753 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &762 + schema: &763 title: Scim Error description: Scim Error type: object @@ -2918,7 +2918,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &417 + properties: &418 id: description: Unique identifier of the repository example: 42 @@ -3356,7 +3356,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &418 + required: &419 - archive_url - assignees_url - blobs_url @@ -8897,7 +8897,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &763 + '401': &764 description: Authorization failure '404': *6 x-github: @@ -13108,7 +13108,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &530 + instances_url: &531 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13143,7 +13143,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &531 + dismissed_reason: &532 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -13152,13 +13152,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &532 + dismissed_comment: &533 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &533 + rule: &534 type: object properties: id: @@ -13211,7 +13211,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &534 + tool: &535 type: object properties: name: *111 @@ -13221,26 +13221,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &535 + most_recent_instance: &536 type: object properties: - ref: &528 + ref: &529 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &545 + analysis_key: &546 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &546 + environment: &547 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &547 + category: &548 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13254,7 +13254,7 @@ paths: properties: text: type: string - location: &548 + location: &549 type: object description: Describe a region within a file for the alert. properties: @@ -13275,7 +13275,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &549 + items: &550 type: string description: A classification of the file. For example to identify it as generated. @@ -16939,7 +16939,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &590 + - &591 name: has in: query description: |- @@ -17052,7 +17052,7 @@ paths: - unknown - direct - transitive - security_advisory: &591 + security_advisory: &592 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17284,14 +17284,14 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: &592 + auto_dismissed_at: &593 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissal_request: &593 + dismissal_request: &594 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -18484,7 +18484,7 @@ paths: - name - created_on examples: - default: &445 + default: &446 value: total_count: 2 network_configurations: @@ -18707,7 +18707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &446 + - &447 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18719,7 +18719,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &448 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18753,7 +18753,7 @@ paths: - subnet_id - region examples: - default: &448 + default: &449 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19568,7 +19568,7 @@ paths: required: true content: application/json: - schema: &416 + schema: &417 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20752,7 +20752,7 @@ paths: nullable: true anyOf: - *162 - - &422 + - &423 title: Organization ruleset conditions type: object description: |- @@ -20799,7 +20799,7 @@ paths: - *165 rules: type: array - items: &718 + items: &719 title: Repository Rule type: object description: A repository rule. @@ -20808,7 +20808,7 @@ paths: - *171 - *172 - *173 - - &716 + - &717 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21136,7 +21136,7 @@ paths: type: string format: date-time examples: - default: &425 + default: &426 value: - version_id: 3 actor: @@ -21189,7 +21189,7 @@ paths: description: Response content: application/json: - schema: &426 + schema: &427 allOf: - *195 - type: object @@ -21244,7 +21244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &427 + - &428 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21255,7 +21255,7 @@ paths: enum: - open - resolved - - &428 + - &429 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21265,7 +21265,7 @@ paths: required: false schema: type: string - - &429 + - &430 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21274,7 +21274,7 @@ paths: required: false schema: type: string - - &430 + - &431 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -21293,7 +21293,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &431 + - &432 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21309,7 +21309,7 @@ paths: - *17 - *108 - *109 - - &432 + - &433 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21318,7 +21318,7 @@ paths: required: false schema: type: string - - &433 + - &434 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21327,7 +21327,7 @@ paths: schema: type: boolean default: false - - &434 + - &435 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21336,7 +21336,7 @@ paths: schema: type: boolean default: false - - &435 + - &436 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21352,7 +21352,7 @@ paths: application/json: schema: type: array - items: &436 + items: &437 type: object properties: number: *128 @@ -21371,14 +21371,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &730 + state: &731 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &731 + resolution: &732 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21485,8 +21485,8 @@ paths: pull request. ' - oneOf: &732 - - &734 + oneOf: &733 + - &735 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21538,7 +21538,7 @@ paths: - blob_url - commit_sha - commit_url - - &735 + - &736 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -21593,7 +21593,7 @@ paths: - page_url - commit_sha - commit_url - - &736 + - &737 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21607,7 +21607,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &737 + - &738 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21621,7 +21621,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &738 + - &739 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21635,7 +21635,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &739 + - &740 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21649,7 +21649,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &740 + - &741 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21663,7 +21663,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &741 + - &742 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21677,7 +21677,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &742 + - &743 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -21691,7 +21691,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &743 + - &744 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -21705,7 +21705,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &744 + - &745 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -21719,7 +21719,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &745 + - &746 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -21733,7 +21733,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &746 + - &747 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -21760,7 +21760,7 @@ paths: required: *21 nullable: true examples: - default: &437 + default: &438 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21969,7 +21969,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &439 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22052,7 +22052,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *197 examples: - default: &439 + default: &440 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22188,7 +22188,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &442 + - &443 name: advanced_security_product in: query description: | @@ -22208,7 +22208,7 @@ paths: description: Success content: application/json: - schema: &443 + schema: &444 type: object properties: total_advanced_security_committers: @@ -22263,7 +22263,7 @@ paths: required: - repositories examples: - default: &444 + default: &445 value: total_advanced_security_committers: 2 total_count: 2 @@ -25027,7 +25027,7 @@ paths: properties: action: type: string - discussion: &868 + discussion: &871 title: Discussion description: A Discussion in a repository. type: object @@ -25394,7 +25394,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &654 + properties: &655 id: type: integer format: int64 @@ -25771,7 +25771,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &790 + sub_issues_summary: &791 title: Sub-issues Summary type: object properties: @@ -25791,7 +25791,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &791 + issue_dependencies_summary: &792 title: Issue Dependencies Summary type: object properties: @@ -25810,7 +25810,7 @@ paths: - total_blocking issue_field_values: type: array - items: &792 + items: &793 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25871,7 +25871,7 @@ paths: - node_id - data_type - value - required: &655 + required: &656 - assignee - closed_at - comments @@ -25909,7 +25909,7 @@ paths: action: type: string issue: *221 - comment: &650 + comment: &651 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -26628,7 +26628,7 @@ paths: type: string release: allOf: - - &709 + - &710 title: Release description: A release. type: object @@ -26699,7 +26699,7 @@ paths: author: *4 assets: type: array - items: &710 + items: &711 title: Release Asset description: Data related to a release. type: object @@ -27278,7 +27278,7 @@ paths: url: type: string format: uri - user: &798 + user: &799 title: Public User description: Public User type: object @@ -30583,14 +30583,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &456 + - &457 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &457 + - &458 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -30652,7 +30652,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &462 + '301': &463 description: Moved permanently content: application/json: @@ -30674,7 +30674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &683 + - &684 name: all description: If `true`, show notifications marked as read. in: query @@ -30682,7 +30682,7 @@ paths: schema: type: boolean default: false - - &684 + - &685 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -30692,7 +30692,7 @@ paths: type: boolean default: false - *228 - - &685 + - &686 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -31004,7 +31004,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &419 + security_and_analysis: &420 nullable: true type: object properties: @@ -31174,7 +31174,7 @@ paths: - url - subscription_url examples: - default: &686 + default: &687 value: - id: '1' repository: @@ -32291,7 +32291,7 @@ paths: type: array items: *156 examples: - default: &692 + default: &693 value: - property_name: environment value: production @@ -32341,7 +32341,7 @@ paths: required: - properties examples: - default: &693 + default: &694 value: properties: - property_name: environment @@ -33154,7 +33154,7 @@ paths: type: integer repository_cache_usages: type: array - items: &469 + items: &470 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -35268,7 +35268,7 @@ paths: type: array items: *284 examples: - default: &801 + default: &802 value: total_count: 1 repositories: @@ -36310,7 +36310,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &490 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36339,7 +36339,7 @@ paths: - key_id - key examples: - default: &490 + default: &491 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36752,7 +36752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *87 - - &474 + - &475 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -37967,12 +37967,12 @@ paths: required: - subject_digests examples: - default: &829 + default: &832 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &830 + withPredicateType: &833 value: subject_digests: - sha256:abc123 @@ -38030,7 +38030,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &831 + default: &834 value: attestations_subject_digests: - sha256:abc: @@ -38379,7 +38379,7 @@ paths: initiator: type: string examples: - default: &503 + default: &504 value: attestations: - bundle: @@ -39296,7 +39296,7 @@ paths: be returned. in: query required: false - schema: &529 + schema: &530 type: string description: Severity of a code scanning alert. enum: @@ -40351,7 +40351,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &561 + properties: &562 name: type: string description: The name of the machine. @@ -40393,7 +40393,7 @@ paths: - ready - in_progress nullable: true - required: &562 + required: &563 - name - display_name - operating_system @@ -41261,7 +41261,7 @@ paths: - updated_at - visibility examples: - default: &563 + default: &564 value: total_count: 2 secrets: @@ -41299,7 +41299,7 @@ paths: description: Response content: application/json: - schema: &564 + schema: &565 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41328,7 +41328,7 @@ paths: - key_id - key examples: - default: &565 + default: &566 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41360,7 +41360,7 @@ paths: application/json: schema: *327 examples: - default: &567 + default: &568 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -43219,7 +43219,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &597 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43236,7 +43236,7 @@ paths: - key_id - key examples: - default: &597 + default: &598 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43566,7 +43566,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &605 + - &606 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -43574,7 +43574,7 @@ paths: required: false schema: type: string - - &606 + - &607 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -43582,7 +43582,7 @@ paths: required: false schema: type: string - - &607 + - &608 name: time_period description: |- The time period to filter by. @@ -43598,7 +43598,7 @@ paths: - week - month default: month - - &608 + - &609 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -43623,7 +43623,7 @@ paths: application/json: schema: type: array - items: &609 + items: &610 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -43779,7 +43779,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &610 + default: &611 value: - id: 21 number: 42 @@ -43897,7 +43897,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -44014,7 +44014,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &612 + default: &613 value: - id: 21 number: 42 @@ -44116,7 +44116,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -44237,7 +44237,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &614 + default: &615 value: - id: 21 number: 42 @@ -44582,7 +44582,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &454 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -44663,7 +44663,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &454 + default: &455 value: group_id: '123' group_name: Octocat admins @@ -44718,7 +44718,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &452 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -44755,7 +44755,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &452 + default: &453 value: groups: - group_id: '123' @@ -44913,7 +44913,7 @@ paths: application/json: schema: type: array - items: &420 + items: &421 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -44927,7 +44927,7 @@ paths: - name - description examples: - default: &421 + default: &422 value: - name: add_assignee description: Assign or remove a user @@ -46057,7 +46057,7 @@ paths: application/json: schema: *22 examples: - default: &645 + default: &646 value: id: 1 account: @@ -46282,7 +46282,7 @@ paths: required: true content: application/json: - schema: &646 + schema: &647 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -47143,7 +47143,7 @@ paths: application/json: schema: *376 examples: - default: &560 + default: &561 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -48392,7 +48392,7 @@ paths: parameters: - *87 - *382 - - &814 + - &815 name: repo_name description: repo_name parameter in: path @@ -49424,7 +49424,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &441 + items: &442 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -49718,7 +49718,7 @@ paths: - nuget - container - *87 - - &815 + - &816 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -49759,7 +49759,7 @@ paths: default: *388 '403': *29 '401': *25 - '400': &817 + '400': &818 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -51551,7 +51551,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &904 + properties: &907 id: type: number description: The unique identifier of the status update. @@ -51599,7 +51599,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &905 + required: &908 - id - node_id - created_at @@ -51813,7 +51813,7 @@ paths: content: oneOf: - *221 - - &577 + - &578 title: Pull Request Simple description: Pull Request Simple type: object @@ -52042,7 +52042,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: &695 + auto_merge: &696 title: Auto merge description: The status of auto merging a pull request. type: object @@ -52417,7 +52417,7 @@ paths: - updated_at - project_url examples: - default: &834 + default: &837 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52594,7 +52594,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &835 + items: &838 type: object properties: name: @@ -52630,7 +52630,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &836 + iteration_configuration: &839 type: object description: The configuration for iteration fields. properties: @@ -52679,7 +52679,7 @@ paths: value: name: Due date data_type: date - single_select_field: &837 + single_select_field: &840 summary: Create a single select field value: name: Priority @@ -52706,7 +52706,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &838 + iteration_field: &841 summary: Create an iteration field value: name: Sprint @@ -52732,7 +52732,7 @@ paths: application/json: schema: *409 examples: - text_field: &839 + text_field: &842 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -52741,7 +52741,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &840 + number_field: &843 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -52750,7 +52750,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &841 + date_field: &844 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -52759,7 +52759,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &842 + single_select_field: &845 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52793,7 +52793,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &843 + iteration_field: &846 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -52839,7 +52839,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *405 - - &844 + - &847 name: field_id description: The unique identifier of the field. in: path @@ -52854,7 +52854,7 @@ paths: application/json: schema: *409 examples: - default: &845 + default: &848 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -53966,6 +53966,253 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - *87 + - *405 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: &829 + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - *4 + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element + is a tuple of [field_id, direction] where direction is "asc" + or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping + (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by + examples: + table_view: + summary: Response for creating a table view + value: &416 + value: + id: 1 + number: 1 + name: Sprint Board + layout: board + node_id: PVTV_lADOANN5s84ACbL0zgBueEI + project_url: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: https://github.com/orgs/octocat/projects/1/views/1 + creator: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + created_at: '2022-04-28T12:00:00Z' + updated_at: '2022-04-28T12:00:00Z' + filter: is:issue is:open + visible_fields: + - 123 + - 456 + - 789 + sort_by: + - - 123 + - asc + - - 456 + - desc + group_by: + - 123 + vertical_group_by: + - 456 + board_view: + summary: Response for creating a board view with filter + value: *416 + roadmap_view: + summary: Response for creating a roadmap view + value: *416 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -53980,7 +54227,7 @@ paths: parameters: - *405 - *87 - - &846 + - &849 name: view_number description: The number that identifies the project view. in: path @@ -54178,7 +54425,7 @@ paths: required: true content: application/json: - schema: *416 + schema: *417 examples: default: value: @@ -54746,7 +54993,7 @@ paths: description: Response content: application/json: - schema: &461 + schema: &462 title: Full Repository description: Full Repository type: object @@ -55023,8 +55270,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *417 - required: *418 + properties: *418 + required: *419 nullable: true temp_clone_token: type: string @@ -55139,7 +55386,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &582 + properties: &583 url: type: string format: uri @@ -55155,12 +55402,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &583 + required: &584 - url - key - name - html_url - security_and_analysis: *419 + security_and_analysis: *420 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -55244,7 +55491,7 @@ paths: - network_count - subscribers_count examples: - default: &463 + default: &464 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55770,9 +56017,9 @@ paths: application/json: schema: type: array - items: *420 + items: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55797,7 +56044,7 @@ paths: - *87 - *17 - *19 - - &717 + - &718 name: targets description: | A comma-separated list of rule targets to filter by. @@ -55888,11 +56135,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *422 + conditions: *423 rules: type: array description: An array of rules within the ruleset. - items: &424 + items: &425 title: Repository Rule type: object description: A repository rule. @@ -55957,7 +56204,7 @@ paths: application/json: schema: *191 examples: - default: &423 + default: &424 value: id: 21 name: super cool ruleset @@ -56012,7 +56259,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &719 + - &720 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -56024,14 +56271,14 @@ paths: x-multi-segment: true - *310 - *105 - - &720 + - &721 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &721 + - &722 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -56051,7 +56298,7 @@ paths: description: Response content: application/json: - schema: &722 + schema: &723 title: Rule Suites description: Response type: array @@ -56106,7 +56353,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &723 + default: &724 value: - id: 21 actor_id: 12 @@ -56150,7 +56397,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &724 + - &725 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -56166,7 +56413,7 @@ paths: description: Response content: application/json: - schema: &725 + schema: &726 title: Rule Suite description: Response type: object @@ -56265,7 +56512,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &726 + default: &727 value: id: 21 actor_id: 12 @@ -56340,7 +56587,7 @@ paths: application/json: schema: *191 examples: - default: *423 + default: *424 '404': *6 '500': *40 put: @@ -56389,11 +56636,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *169 - conditions: *422 + conditions: *423 rules: description: An array of rules within the ruleset. type: array - items: *424 + items: *425 examples: default: value: @@ -56430,7 +56677,7 @@ paths: application/json: schema: *191 examples: - default: *423 + default: *424 '404': *6 '500': *40 delete: @@ -56489,7 +56736,7 @@ paths: type: array items: *195 examples: - default: *425 + default: *426 '404': *6 '500': *40 x-github: @@ -56526,7 +56773,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -56589,15 +56836,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *427 - *428 - *429 - *430 - *431 + - *432 - *110 - *19 - *17 - - &728 + - &729 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -56607,7 +56854,7 @@ paths: required: false schema: type: string - - &729 + - &730 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -56617,10 +56864,10 @@ paths: required: false schema: type: string - - *432 - *433 - *434 - *435 + - *436 responses: '200': description: Response @@ -56628,9 +56875,9 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: - default: *437 + default: *438 headers: Link: *47 '404': *6 @@ -56665,9 +56912,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '403': *29 '404': *6 patch: @@ -56820,7 +57067,7 @@ paths: application/json: schema: type: array - items: &750 + items: &751 description: A repository security advisory. type: object properties: @@ -57040,7 +57287,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 credits_detailed: type: array nullable: true @@ -57050,7 +57297,7 @@ paths: type: object properties: user: *4 - type: *440 + type: *441 state: type: string description: The state of the user's acceptance of the @@ -57111,7 +57358,7 @@ paths: - private_fork additionalProperties: false examples: - default: &751 + default: &752 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -57498,7 +57745,7 @@ paths: application/json: schema: type: array - items: *441 + items: *442 examples: default: *386 x-github: @@ -57582,7 +57829,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *442 + - *443 - *17 - *19 responses: @@ -57590,9 +57837,9 @@ paths: description: Success content: application/json: - schema: *443 + schema: *444 examples: - default: *444 + default: *445 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57873,7 +58120,7 @@ paths: type: array items: *148 examples: - default: *445 + default: *446 headers: Link: *47 x-github: @@ -58074,15 +58321,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *446 + - *447 responses: '200': description: Response content: application/json: - schema: *447 + schema: *448 examples: - default: *448 + default: *449 headers: Link: *47 x-github: @@ -58120,7 +58367,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &459 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -58166,7 +58413,7 @@ paths: type: string nullable: true examples: - default: &459 + default: &460 value: groups: - group_id: '123' @@ -58374,7 +58621,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &450 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -58701,7 +58948,7 @@ paths: - repos_count - organization examples: - default: &450 + default: &451 value: id: 1 node_id: MDQ6VGVhbTE= @@ -58778,9 +59025,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -58864,16 +59111,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '201': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 '422': *15 '403': *29 @@ -58929,9 +59176,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58974,9 +59221,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *454 examples: - default: *454 + default: *455 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -59117,7 +59364,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &456 title: Team Membership description: Team Membership type: object @@ -59144,7 +59391,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &794 + response-if-user-is-a-team-maintainer: &795 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -59207,9 +59454,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-users-membership-with-team-is-now-pending: &795 + response-if-users-membership-with-team-is-now-pending: &796 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -59316,14 +59563,14 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &796 + schema: &797 title: Team Repository description: A team's access to a repository. type: object @@ -59894,8 +60141,8 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 requestBody: required: false content: @@ -59942,8 +60189,8 @@ paths: parameters: - *87 - *216 - - *456 - *457 + - *458 responses: '204': description: Response @@ -59976,9 +60223,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60044,7 +60291,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -60089,7 +60336,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: &797 + response-if-child-teams-exist: &798 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60243,7 +60490,7 @@ paths: resources: type: object properties: - core: &460 + core: &461 title: Rate Limit type: object properties: @@ -60260,21 +60507,21 @@ paths: - remaining - reset - used - graphql: *460 - search: *460 - code_search: *460 - source_import: *460 - integration_manifest: *460 - code_scanning_upload: *460 - actions_runner_registration: *460 - scim: *460 - dependency_snapshots: *460 - dependency_sbom: *460 - code_scanning_autofix: *460 + graphql: *461 + search: *461 + code_search: *461 + source_import: *461 + integration_manifest: *461 + code_scanning_upload: *461 + actions_runner_registration: *461 + scim: *461 + dependency_snapshots: *461 + dependency_sbom: *461 + code_scanning_autofix: *461 required: - core - search - rate: *460 + rate: *461 required: - rate - resources @@ -60379,14 +60626,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *461 + schema: *462 examples: default-response: summary: Default response @@ -60891,7 +61138,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *462 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60909,8 +61156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -61167,10 +61414,10 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 - '307': &464 + default: *464 + '307': &465 description: Temporary Redirect content: application/json: @@ -61199,8 +61446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -61222,7 +61469,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *464 + '307': *465 '404': *6 '409': *119 x-github: @@ -61246,11 +61493,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 - - &481 + - &482 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61273,7 +61520,7 @@ paths: type: integer artifacts: type: array - items: &465 + items: &466 title: Artifact description: An artifact type: object @@ -61351,7 +61598,7 @@ paths: - expires_at - updated_at examples: - default: &482 + default: &483 value: total_count: 2 artifacts: @@ -61412,9 +61659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *456 - *457 - - &466 + - *458 + - &467 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61426,7 +61673,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -61464,9 +61711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *456 - *457 - - *466 + - *458 + - *467 responses: '204': description: Response @@ -61490,9 +61737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *456 - *457 - - *466 + - *458 + - *467 - name: archive_format in: path required: true @@ -61506,7 +61753,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &649 + '410': &650 description: Gone content: application/json: @@ -61531,14 +61778,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &467 + schema: &468 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -61571,13 +61818,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *467 + schema: *468 examples: selected_actions: *44 responses: @@ -61606,14 +61853,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &468 + schema: &469 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -61646,13 +61893,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *468 + schema: *469 examples: selected_actions: *46 responses: @@ -61683,14 +61930,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -61716,11 +61963,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 - - &470 + - &471 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -61754,7 +62001,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &472 title: Repository actions caches description: Repository actions caches type: object @@ -61796,7 +62043,7 @@ paths: - total_count - actions_caches examples: - default: &472 + default: &473 value: total_count: 1 actions_caches: @@ -61828,23 +62075,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *456 - *457 + - *458 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *470 + - *471 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61864,8 +62111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *456 - *457 + - *458 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61896,9 +62143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *456 - *457 - - &473 + - *458 + - &474 name: job_id description: The unique identifier of the job. in: path @@ -61910,7 +62157,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &486 title: Job description: Information of a job execution in a workflow run type: object @@ -62217,9 +62464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *456 - *457 - - *473 + - *458 + - *474 responses: '302': description: Response @@ -62247,9 +62494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *456 - *457 - - *473 + - *458 + - *474 requestBody: required: false content: @@ -62294,8 +62541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Status response @@ -62345,8 +62592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -62409,8 +62656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -62428,7 +62675,7 @@ paths: type: integer secrets: type: array - items: &487 + items: &488 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62448,7 +62695,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &489 value: total_count: 2 secrets: @@ -62481,9 +62728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *456 - *457 - - *474 + - *458 + - *475 - *19 responses: '200': @@ -62500,7 +62747,7 @@ paths: type: integer variables: type: array - items: &491 + items: &492 title: Actions Variable type: object properties: @@ -62530,7 +62777,7 @@ paths: - created_at - updated_at examples: - default: &492 + default: &493 value: total_count: 2 variables: @@ -62563,8 +62810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62573,7 +62820,7 @@ paths: schema: type: object properties: - enabled: &475 + enabled: &476 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -62608,8 +62855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62620,7 +62867,7 @@ paths: schema: type: object properties: - enabled: *475 + enabled: *476 allowed_actions: *60 sha_pinning_required: *61 required: @@ -62653,14 +62900,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &476 + schema: &477 type: object properties: access_level: @@ -62678,7 +62925,7 @@ paths: required: - access_level examples: - default: &477 + default: &478 value: access_level: organization x-github: @@ -62703,15 +62950,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *476 + schema: *477 examples: - default: *477 + default: *478 responses: '204': description: Response @@ -62735,8 +62982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62766,8 +63013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Empty response for successful settings update @@ -62801,8 +63048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62829,8 +63076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62864,8 +63111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62893,8 +63140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -62925,8 +63172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -62957,8 +63204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -62990,8 +63237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -63020,8 +63267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Success response @@ -63061,8 +63308,8 @@ paths: in: query schema: type: string - - *456 - *457 + - *458 - *17 - *19 responses: @@ -63106,8 +63353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -63139,8 +63386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -63214,8 +63461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *456 - *457 + - *458 responses: '201': description: Response @@ -63251,8 +63498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *456 - *457 + - *458 responses: '201': description: Response @@ -63282,8 +63529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 responses: '200': @@ -63313,8 +63560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *456 - *457 + - *458 - *75 responses: '204': @@ -63341,8 +63588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 responses: '200': *81 @@ -63367,8 +63614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 requestBody: required: true @@ -63417,8 +63664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 requestBody: required: true @@ -63468,8 +63715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 responses: '200': *291 @@ -63499,8 +63746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *456 - *457 + - *458 - *75 - *292 responses: @@ -63530,9 +63777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *456 - *457 - - &495 + - *458 + - &496 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -63540,7 +63787,7 @@ paths: required: false schema: type: string - - &496 + - &497 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63548,7 +63795,7 @@ paths: required: false schema: type: string - - &497 + - &498 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63557,7 +63804,7 @@ paths: required: false schema: type: string - - &498 + - &499 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -63584,7 +63831,7 @@ paths: - pending - *17 - *19 - - &499 + - &500 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -63593,7 +63840,7 @@ paths: schema: type: string format: date-time - - &478 + - &479 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63602,13 +63849,13 @@ paths: schema: type: boolean default: false - - &500 + - &501 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &501 + - &502 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63631,7 +63878,7 @@ paths: type: integer workflow_runs: type: array - items: &479 + items: &480 title: Workflow Run description: An invocation of a workflow type: object @@ -63779,7 +64026,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &523 + properties: &524 id: type: string description: SHA for the commit @@ -63830,7 +64077,7 @@ paths: - name - email nullable: true - required: &524 + required: &525 - id - tree_id - message @@ -63877,7 +64124,7 @@ paths: - workflow_url - pull_requests examples: - default: &502 + default: &503 value: total_count: 1 workflow_runs: @@ -64113,24 +64360,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *456 - *457 - - &480 + - *458 + - &481 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *478 + - *479 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: &483 + default: &484 value: id: 30433642 name: Build @@ -64371,9 +64618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '204': description: Response @@ -64396,9 +64643,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -64517,9 +64764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '201': description: Response @@ -64552,12 +64799,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *456 - *457 - - *480 + - *458 + - *481 - *17 - *19 - - *481 + - *482 responses: '200': description: Response @@ -64573,9 +64820,9 @@ paths: type: integer artifacts: type: array - items: *465 + items: *466 examples: - default: *482 + default: *483 headers: Link: *47 x-github: @@ -64599,25 +64846,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *456 - *457 - - *480 - - &484 + - *458 + - *481 + - &485 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *478 + - *479 responses: '200': description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64640,10 +64887,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *456 - *457 - - *480 - - *484 + - *458 + - *481 + - *485 - *17 - *19 responses: @@ -64661,9 +64908,9 @@ paths: type: integer jobs: type: array - items: *485 + items: *486 examples: - default: &486 + default: &487 value: total_count: 1 jobs: @@ -64776,10 +65023,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *456 - *457 - - *480 - - *484 + - *458 + - *481 + - *485 responses: '302': description: Response @@ -64807,9 +65054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '202': description: Response @@ -64842,9 +65089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: true content: @@ -64911,9 +65158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '202': description: Response @@ -64946,9 +65193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -64978,9 +65225,9 @@ paths: type: integer jobs: type: array - items: *485 + items: *486 examples: - default: *486 + default: *487 headers: Link: *47 x-github: @@ -65005,9 +65252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '302': description: Response @@ -65034,9 +65281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '204': description: Response @@ -65063,9 +65310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -65125,7 +65372,7 @@ paths: items: type: object properties: - type: &615 + type: &616 type: string description: The type of reviewer. enum: @@ -65210,9 +65457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: true content: @@ -65259,7 +65506,7 @@ paths: application/json: schema: type: array - items: &600 + items: &601 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65365,7 +65612,7 @@ paths: - created_at - updated_at examples: - default: &601 + default: &602 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65421,9 +65668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: false content: @@ -65467,9 +65714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *456 - *457 - - *480 + - *458 + - *481 requestBody: required: false content: @@ -65523,9 +65770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *456 - *457 - - *480 + - *458 + - *481 responses: '200': description: Response @@ -65662,8 +65909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -65681,9 +65928,9 @@ paths: type: integer secrets: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *47 x-github: @@ -65708,16 +65955,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65739,17 +65986,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &628 + default: &629 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65775,8 +66022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -65834,8 +66081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -65861,9 +66108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *456 - *457 - - *474 + - *458 + - *475 - *19 responses: '200': @@ -65880,9 +66127,9 @@ paths: type: integer variables: type: array - items: *491 + items: *492 examples: - default: *492 + default: *493 headers: Link: *47 x-github: @@ -65905,8 +66152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -65958,17 +66205,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 responses: '200': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: &629 + default: &630 value: name: USERNAME value: octocat @@ -65994,8 +66241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 requestBody: required: true @@ -66038,8 +66285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *456 - *457 + - *458 - *297 responses: '204': @@ -66065,8 +66312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -66084,7 +66331,7 @@ paths: type: integer workflows: type: array - items: &493 + items: &494 title: Workflow description: A GitHub Actions workflow type: object @@ -66191,9 +66438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *456 - *457 - - &494 + - *458 + - &495 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66208,7 +66455,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: value: @@ -66241,9 +66488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66268,9 +66515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66321,9 +66568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '204': description: Response @@ -66350,19 +66597,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *456 - *457 - - *494 + - *458 - *495 - *496 - *497 - *498 + - *499 - *17 - *19 - - *499 - - *478 - *500 + - *479 - *501 + - *502 responses: '200': description: Response @@ -66378,9 +66625,9 @@ paths: type: integer workflow_runs: type: array - items: *479 + items: *480 examples: - default: *502 + default: *503 headers: Link: *47 x-github: @@ -66413,9 +66660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *456 - *457 - - *494 + - *458 + - *495 responses: '200': description: Response @@ -66476,8 +66723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *456 - *457 + - *458 - *110 - *17 - *108 @@ -66641,8 +66888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -66679,8 +66926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *456 - *457 + - *458 - name: assignee in: path required: true @@ -66716,8 +66963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#create-an-attestation parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -66829,8 +67076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/attestations#list-attestations parameters: - - *456 - *457 + - *458 - *17 - *108 - *109 @@ -66887,7 +67134,7 @@ paths: initiator: type: string examples: - default: *503 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66907,8 +67154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -66916,7 +67163,7 @@ paths: application/json: schema: type: array - items: &504 + items: &505 title: Autolink reference description: An autolink reference. type: object @@ -66970,8 +67217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -67010,9 +67257,9 @@ paths: description: response content: application/json: - schema: *504 + schema: *505 examples: - default: &505 + default: &506 value: id: 1 key_prefix: TICKET- @@ -67043,9 +67290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *456 - *457 - - &506 + - *458 + - &507 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67057,9 +67304,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *505 examples: - default: *505 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -67079,9 +67326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *456 - *457 - - *506 + - *458 + - *507 responses: '204': description: Response @@ -67105,8 +67352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response if Dependabot is enabled @@ -67154,8 +67401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -67176,8 +67423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -67197,8 +67444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *456 - *457 + - *458 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67236,7 +67483,7 @@ paths: - url protected: type: boolean - protection: &508 + protection: &509 title: Branch Protection description: Branch Protection type: object @@ -67278,7 +67525,7 @@ paths: required: - contexts - checks - enforce_admins: &511 + enforce_admins: &512 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67293,7 +67540,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &513 + required_pull_request_reviews: &514 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67369,7 +67616,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &510 + restrictions: &511 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67646,9 +67893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *456 - *457 - - &509 + - *458 + - &510 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -67662,14 +67909,14 @@ paths: description: Response content: application/json: - schema: &519 + schema: &520 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &573 + commit: &574 title: Commit description: Commit type: object @@ -67703,7 +67950,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &507 + properties: &508 name: type: string example: '"Chris Wanstrath"' @@ -67719,7 +67966,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true message: type: string @@ -67740,7 +67987,7 @@ paths: required: - sha - url - verification: &635 + verification: &636 title: Verification type: object properties: @@ -67810,7 +68057,7 @@ paths: type: integer files: type: array - items: &586 + items: &587 title: Diff Entry description: Diff Entry type: object @@ -67894,7 +68141,7 @@ paths: - self protected: type: boolean - protection: *508 + protection: *509 protection_url: type: string format: uri @@ -68001,7 +68248,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *462 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -68023,15 +68270,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *508 + schema: *509 examples: default: value: @@ -68225,9 +68472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -68482,7 +68729,7 @@ paths: url: type: string format: uri - required_status_checks: &516 + required_status_checks: &517 title: Status Check Policy description: Status Check Policy type: object @@ -68634,7 +68881,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *510 + restrictions: *511 required_conversation_resolution: type: object properties: @@ -68746,9 +68993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -68773,17 +69020,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &512 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -68805,17 +69052,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *512 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68834,9 +69081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -68861,17 +69108,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: &514 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -68967,9 +69214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69067,9 +69314,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *514 examples: - default: *514 + default: *515 '422': *15 x-github: githubCloudOnly: false @@ -69090,9 +69337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69119,17 +69366,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: &515 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69152,17 +69399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *511 + schema: *512 examples: - default: *515 + default: *516 '404': *6 x-github: githubCloudOnly: false @@ -69182,9 +69429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69209,17 +69456,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: &517 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69245,9 +69492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69299,9 +69546,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *517 examples: - default: *517 + default: *518 '404': *6 '422': *15 x-github: @@ -69323,9 +69570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69349,9 +69596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69385,9 +69632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69454,9 +69701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -69520,9 +69767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: content: application/json: @@ -69588,15 +69835,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -69687,9 +69934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '204': description: Response @@ -69712,9 +69959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69724,7 +69971,7 @@ paths: type: array items: *5 examples: - default: &518 + default: &519 value: - id: 1 slug: octoapp @@ -69781,9 +70028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69817,7 +70064,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69838,9 +70085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69874,7 +70121,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69895,9 +70142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -69931,7 +70178,7 @@ paths: type: array items: *5 examples: - default: *518 + default: *519 '422': *15 x-github: githubCloudOnly: false @@ -69953,9 +70200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -69985,9 +70232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -70046,9 +70293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: false content: @@ -70107,9 +70354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: content: application/json: @@ -70168,9 +70415,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 responses: '200': description: Response @@ -70204,9 +70451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70264,9 +70511,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70324,9 +70571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70386,9 +70633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 requestBody: required: true content: @@ -70410,7 +70657,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *520 examples: default: value: @@ -70524,8 +70771,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -70561,8 +70808,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70635,8 +70882,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -70676,8 +70923,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70747,8 +70994,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_request_number in: path required: true @@ -70819,8 +71066,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *456 - *457 + - *458 - name: bypass_response_id in: path required: true @@ -70853,8 +71100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -71133,7 +71380,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &521 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71253,7 +71500,7 @@ paths: check. type: array items: *226 - deployment: &857 + deployment: &860 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71533,9 +71780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *456 - *457 - - &521 + - *458 + - &522 name: check_run_id description: The unique identifier of the check run. in: path @@ -71547,9 +71794,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: &522 + default: &523 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71649,9 +71896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *456 - *457 - - *521 + - *458 + - *522 requestBody: required: true content: @@ -71891,9 +72138,9 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *522 + default: *523 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71913,9 +72160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *456 - *457 - - *521 + - *458 + - *522 - *17 - *19 responses: @@ -72010,9 +72257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *456 - *457 - - *521 + - *458 + - *522 responses: '201': description: Response @@ -72056,8 +72303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -72079,7 +72326,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &525 + schema: &526 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72165,12 +72412,12 @@ paths: type: string format: date-time nullable: true - head_commit: &888 + head_commit: &891 title: Simple Commit description: A commit. type: object - properties: *523 - required: *524 + properties: *524 + required: *525 latest_check_runs_count: type: integer check_runs_url: @@ -72198,7 +72445,7 @@ paths: - check_runs_url - pull_requests examples: - default: &526 + default: &527 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72489,9 +72736,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72510,8 +72757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -72820,9 +73067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *456 - *457 - - &527 + - *458 + - &528 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -72834,9 +73081,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: - default: *526 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72859,17 +73106,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *456 - *457 - - *527 - - &579 + - *458 + - *528 + - &580 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &580 + - &581 name: status description: Returns check runs with the specified `status`. in: query @@ -72908,9 +73155,9 @@ paths: type: integer check_runs: type: array - items: *520 + items: *521 examples: - default: &581 + default: &582 value: total_count: 1 check_runs: @@ -73012,9 +73259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *456 - *457 - - *527 + - *458 + - *528 responses: '201': description: Response @@ -73047,21 +73294,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *456 - *457 + - *458 - *317 - *318 - *19 - *17 - - &543 + - &544 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *528 - - &544 + schema: *529 + - &545 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73092,7 +73339,7 @@ paths: be returned. in: query required: false - schema: *529 + schema: *530 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -73116,7 +73363,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *530 + instances_url: *531 state: *113 fixed_at: *138 dismissed_by: @@ -73127,11 +73374,11 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *531 - dismissed_comment: *532 - rule: *533 - tool: *534 - most_recent_instance: *535 + dismissed_reason: *532 + dismissed_comment: *533 + rule: *534 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73257,7 +73504,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &536 + '403': &537 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -73284,9 +73531,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *456 - *457 - - &537 + - *458 + - &538 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73300,7 +73547,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &539 type: object properties: number: *128 @@ -73308,7 +73555,7 @@ paths: updated_at: *136 url: *133 html_url: *134 - instances_url: *530 + instances_url: *531 state: *113 fixed_at: *138 dismissed_by: @@ -73319,8 +73566,8 @@ paths: required: *21 nullable: true dismissed_at: *137 - dismissed_reason: *531 - dismissed_comment: *532 + dismissed_reason: *532 + dismissed_comment: *533 rule: type: object properties: @@ -73374,8 +73621,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *534 - most_recent_instance: *535 + tool: *535 + most_recent_instance: *536 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -73474,7 +73721,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73494,9 +73741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: true content: @@ -73511,8 +73758,8 @@ paths: enum: - open - dismissed - dismissed_reason: *531 - dismissed_comment: *532 + dismissed_reason: *532 + dismissed_comment: *533 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73540,7 +73787,7 @@ paths: description: Response content: application/json: - schema: *538 + schema: *539 examples: default: value: @@ -73616,7 +73863,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &542 + '403': &543 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -73643,15 +73890,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 responses: '200': description: Response content: application/json: - schema: &539 + schema: &540 type: object properties: status: @@ -73677,13 +73924,13 @@ paths: - description - started_at examples: - default: &540 + default: &541 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &541 + '400': &542 description: Bad Request content: application/json: @@ -73694,7 +73941,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73719,29 +73966,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 responses: '200': description: OK content: application/json: - schema: *539 + schema: *540 examples: - default: *540 + default: *541 '202': description: Accepted content: application/json: - schema: *539 + schema: *540 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *541 + '400': *542 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -73773,9 +74020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: false content: @@ -73820,8 +74067,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *541 - '403': *542 + '400': *542 + '403': *543 '404': *6 '422': description: Unprocessable Entity @@ -73845,13 +74092,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 - *19 - *17 - - *543 - *544 + - *545 responses: '200': description: Response @@ -73862,10 +74109,10 @@ paths: items: type: object properties: - ref: *528 - analysis_key: *545 - environment: *546 - category: *547 + ref: *529 + analysis_key: *546 + environment: *547 + category: *548 state: type: string description: State of a code scanning alert instance. @@ -73880,7 +74127,7 @@ paths: properties: text: type: string - location: *548 + location: *549 html_url: type: string classifications: @@ -73888,7 +74135,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *549 + items: *550 examples: default: value: @@ -73927,7 +74174,7 @@ paths: end_column: 50 classifications: - source - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -73961,25 +74208,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *456 - *457 + - *458 - *317 - *318 - *19 - *17 - - *544 + - *545 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *528 + schema: *529 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &550 + schema: &551 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74000,23 +74247,23 @@ paths: application/json: schema: type: array - items: &551 + items: &552 type: object properties: - ref: *528 - commit_sha: &559 + ref: *529 + commit_sha: &560 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *545 + analysis_key: *546 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *547 + category: *548 error: type: string example: error reading field xyz @@ -74040,8 +74287,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *550 - tool: *534 + sarif_id: *551 + tool: *535 deletable: type: boolean warning: @@ -74102,7 +74349,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74138,8 +74385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *456 - *457 + - *458 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74152,7 +74399,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *552 examples: response: summary: application/json response @@ -74206,7 +74453,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *536 + '403': *537 '404': *6 '422': description: Response if analysis could not be processed @@ -74293,8 +74540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *456 - *457 + - *458 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74347,7 +74594,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *542 + '403': *543 '404': *6 '503': *196 x-github: @@ -74369,8 +74616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -74378,7 +74625,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: CodeQL Database description: A CodeQL database. type: object @@ -74489,7 +74736,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74518,8 +74765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *456 - *457 + - *458 - name: language in: path description: The language of the CodeQL database. @@ -74531,7 +74778,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -74563,9 +74810,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &588 + '302': &589 description: Found - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -74587,8 +74834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *456 - *457 + - *458 - name: language in: path description: The language of the CodeQL database. @@ -74598,7 +74845,7 @@ paths: responses: '204': description: Response - '403': *542 + '403': *543 '404': *6 '503': *196 x-github: @@ -74626,8 +74873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -74636,7 +74883,7 @@ paths: type: object additionalProperties: false properties: - language: &553 + language: &554 type: string description: The language targeted by the CodeQL query enum: @@ -74716,7 +74963,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &557 + schema: &558 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74726,7 +74973,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *553 + query_language: *554 query_pack_url: type: string description: The download url for the query pack. @@ -74773,7 +75020,7 @@ paths: items: type: object properties: - repository: &554 + repository: &555 title: Repository Identifier description: Repository Identifier type: object @@ -74809,7 +75056,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &558 + analysis_status: &559 type: string description: The new status of the CodeQL variant analysis repository task. @@ -74841,7 +75088,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &555 + access_mismatch_repos: &556 type: object properties: repository_count: @@ -74855,7 +75102,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *554 + items: *555 required: - repository_count - repositories @@ -74877,8 +75124,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *555 - over_limit_repos: *555 + no_codeql_db_repos: *556 + over_limit_repos: *556 required: - access_mismatch_repos - not_found_repos @@ -74894,7 +75141,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &556 + value: &557 summary: Default response value: id: 1 @@ -75040,10 +75287,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *556 + value: *557 repository_lists: summary: Response for a successful variant analysis submission - value: *556 + value: *557 '404': *6 '422': description: Unable to process variant analysis submission @@ -75071,8 +75318,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *456 - *457 + - *458 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75084,9 +75331,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *556 + default: *557 '404': *6 '503': *196 x-github: @@ -75109,7 +75356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *456 + - *457 - name: repo in: path description: The name of the controller repository. @@ -75144,7 +75391,7 @@ paths: type: object properties: repository: *120 - analysis_status: *558 + analysis_status: *559 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75269,8 +75516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -75355,7 +75602,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *536 + '403': *537 '404': *6 '503': *196 x-github: @@ -75376,8 +75623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -75469,7 +75716,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *542 + '403': *543 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75540,8 +75787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -75549,7 +75796,7 @@ paths: schema: type: object properties: - commit_sha: *559 + commit_sha: *560 ref: type: string description: |- @@ -75607,7 +75854,7 @@ paths: schema: type: object properties: - id: *550 + id: *551 url: type: string description: The REST API URL for checking the status of the upload. @@ -75621,7 +75868,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *542 + '403': *543 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -75644,8 +75891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *456 - *457 + - *458 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75691,7 +75938,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *536 + '403': *537 '404': description: Not Found if the sarif id does not match any upload '503': *196 @@ -75716,8 +75963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -75798,8 +76045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *456 - *457 + - *458 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -75919,8 +76166,8 @@ paths: parameters: - *17 - *19 - - *456 - *457 + - *458 responses: '200': description: Response @@ -76234,8 +76481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -76300,7 +76547,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -76308,7 +76555,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '400': *14 '401': *25 '403': *29 @@ -76337,8 +76584,8 @@ paths: parameters: - *17 - *19 - - *456 - *457 + - *458 responses: '200': description: Response @@ -76402,8 +76649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *456 - *457 + - *458 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76438,14 +76685,14 @@ paths: type: integer machines: type: array - items: &804 + items: &805 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *561 - required: *562 + properties: *562 + required: *563 examples: - default: &805 + default: &806 value: total_count: 2 machines: @@ -76485,8 +76732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *456 - *457 + - *458 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76570,8 +76817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *456 - *457 + - *458 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -76637,8 +76884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -76656,7 +76903,7 @@ paths: type: integer secrets: type: array - items: &566 + items: &567 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76676,7 +76923,7 @@ paths: - created_at - updated_at examples: - default: *563 + default: *564 headers: Link: *47 x-github: @@ -76699,16 +76946,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *565 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76728,17 +76975,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *566 + schema: *567 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76758,8 +77005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -76812,8 +77059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -76842,8 +77089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *456 - *457 + - *458 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -76885,7 +77132,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &568 + properties: &569 login: type: string example: octocat @@ -76978,7 +77225,7 @@ paths: user_view_type: type: string example: public - required: &569 + required: &570 - avatar_url - events_url - followers_url @@ -77052,8 +77299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 responses: '204': @@ -77100,8 +77347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 requestBody: required: false @@ -77128,7 +77375,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &648 + schema: &649 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77357,8 +77604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *456 - *457 + - *458 - *143 responses: '204': @@ -77390,8 +77637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *456 - *457 + - *458 - *143 responses: '200': @@ -77412,8 +77659,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *568 - required: *569 + properties: *569 + required: *570 nullable: true required: - permission @@ -77468,8 +77715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -77479,7 +77726,7 @@ paths: application/json: schema: type: array - items: &570 + items: &571 title: Commit Comment description: Commit Comment type: object @@ -77537,7 +77784,7 @@ paths: - created_at - updated_at examples: - default: &575 + default: &576 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77596,17 +77843,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: &576 + default: &577 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77663,8 +77910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -77687,7 +77934,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: default: value: @@ -77738,8 +77985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -77761,8 +78008,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -77789,7 +78036,7 @@ paths: application/json: schema: type: array - items: &571 + items: &572 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -77832,7 +78079,7 @@ paths: - content - created_at examples: - default: &652 + default: &653 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77877,8 +78124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -77911,9 +78158,9 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: &572 + default: &573 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -77942,9 +78189,9 @@ paths: description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -77966,10 +78213,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - &653 + - &654 name: reaction_id description: The unique identifier of the reaction. in: path @@ -78024,8 +78271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *456 - *457 + - *458 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78081,9 +78328,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: &702 + default: &703 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78177,9 +78424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *456 - *457 - - &574 + - *458 + - &575 name: commit_sha description: The SHA of the commit. in: path @@ -78251,9 +78498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *456 - *457 - - *574 + - *458 + - *575 - *17 - *19 responses: @@ -78263,9 +78510,9 @@ paths: application/json: schema: type: array - items: *570 + items: *571 examples: - default: *575 + default: *576 headers: Link: *47 x-github: @@ -78293,9 +78540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *456 - *457 - - *574 + - *458 + - *575 requestBody: required: true content: @@ -78330,9 +78577,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *576 + default: *577 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78360,9 +78607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *456 - *457 - - *574 + - *458 + - *575 - *17 - *19 responses: @@ -78372,9 +78619,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: &694 + default: &695 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -78911,11 +79158,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *456 - *457 + - *458 - *19 - *17 - - &578 + - &579 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -78930,9 +79177,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: &679 + default: &680 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79045,11 +79292,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *456 - *457 - - *578 + - *458 - *579 - *580 + - *581 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79083,9 +79330,9 @@ paths: type: integer check_runs: type: array - items: *520 + items: *521 examples: - default: *581 + default: *582 headers: Link: *47 x-github: @@ -79110,9 +79357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *456 - *457 - - *578 + - *458 + - *579 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79120,7 +79367,7 @@ paths: schema: type: integer example: 1 - - *579 + - *580 - *17 - *19 responses: @@ -79138,7 +79385,7 @@ paths: type: integer check_suites: type: array - items: *525 + items: *526 examples: default: value: @@ -79338,9 +79585,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *456 - *457 - - *578 + - *458 + - *579 - *17 - *19 responses: @@ -79538,9 +79785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *456 - *457 - - *578 + - *458 + - *579 - *17 - *19 responses: @@ -79550,7 +79797,7 @@ paths: application/json: schema: type: array - items: &755 + items: &756 title: Status description: The status of a commit. type: object @@ -79631,7 +79878,7 @@ paths: site_admin: false headers: Link: *47 - '301': *462 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79659,8 +79906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -79689,20 +79936,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *582 - required: *583 + properties: *583 + required: *584 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &584 + properties: &585 url: type: string format: uri html_url: type: string format: uri - required: &585 + required: &586 - url - html_url nullable: true @@ -79716,26 +79963,26 @@ paths: contributing: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true readme: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true issue_template: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true pull_request_template: title: Community Health File type: object - properties: *584 - required: *585 + properties: *585 + required: *586 nullable: true required: - code_of_conduct @@ -79862,8 +80109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *456 - *457 + - *458 - *19 - *17 - name: basehead @@ -79906,8 +80153,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *573 - merge_base_commit: *573 + base_commit: *574 + merge_base_commit: *574 status: type: string enum: @@ -79927,10 +80174,10 @@ paths: example: 6 commits: type: array - items: *573 + items: *574 files: type: array - items: *586 + items: *587 required: - url - html_url @@ -80216,8 +80463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -80360,7 +80607,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &587 + response-if-content-is-a-file: &588 summary: Response if content is a file value: type: file @@ -80492,7 +80739,7 @@ paths: - size - type - url - - &707 + - &708 title: Content File description: Content File type: object @@ -80693,7 +80940,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *587 + response-if-content-is-a-file: *588 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80762,7 +81009,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *588 + '302': *589 '304': *37 x-github: githubCloudOnly: false @@ -80785,8 +81032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -80879,7 +81126,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &590 title: File Commit description: File Commit type: object @@ -81031,7 +81278,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: example-for-creating-a-file: value: @@ -81085,7 +81332,7 @@ paths: schema: oneOf: - *3 - - &630 + - &631 description: Repository rule violation was detected type: object properties: @@ -81106,7 +81353,7 @@ paths: items: type: object properties: - placeholder_id: &747 + placeholder_id: &748 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81138,8 +81385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *456 - *457 + - *458 - name: path description: path parameter in: path @@ -81200,7 +81447,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -81255,8 +81502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *456 - *457 + - *458 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81379,8 +81626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *456 - *457 + - *458 - *332 - *333 - *334 @@ -81392,7 +81639,7 @@ paths: schema: type: string - *336 - - *590 + - *591 - *337 - *338 - *110 @@ -81413,7 +81660,7 @@ paths: application/json: schema: type: array - items: &594 + items: &595 type: object description: A Dependabot alert. properties: @@ -81459,7 +81706,7 @@ paths: - unknown - direct - transitive - security_advisory: *591 + security_advisory: *592 security_vulnerability: *132 url: *133 html_url: *134 @@ -81490,8 +81737,8 @@ paths: nullable: true maxLength: 280 fixed_at: *138 - auto_dismissed_at: *592 - dismissal_request: *593 + auto_dismissed_at: *593 + dismissal_request: *594 required: - number - state @@ -81721,9 +81968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *456 - *457 - - &595 + - *458 + - &596 name: alert_number in: path description: |- @@ -81738,7 +81985,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -81851,9 +82098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *456 - *457 - - *595 + - *458 + - *596 requestBody: required: true content: @@ -81898,7 +82145,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *595 examples: default: value: @@ -82027,8 +82274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -82046,7 +82293,7 @@ paths: type: integer secrets: type: array - items: &598 + items: &599 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82099,16 +82346,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *596 + schema: *597 examples: - default: *597 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82128,15 +82375,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '200': description: Response content: application/json: - schema: *598 + schema: *599 examples: default: value: @@ -82162,8 +82409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 requestBody: required: true @@ -82216,8 +82463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *456 - *457 + - *458 - *294 responses: '204': @@ -82240,8 +82487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *456 - *457 + - *458 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -82401,8 +82648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -82641,8 +82888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -82717,7 +82964,7 @@ paths: - version - url additionalProperties: false - metadata: &599 + metadata: &600 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82750,7 +82997,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *599 + metadata: *600 resolved: type: object description: A collection of resolved package dependencies. @@ -82763,7 +83010,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *599 + metadata: *600 relationship: type: string description: A notation of whether a dependency is requested @@ -82892,8 +83139,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *456 - *457 + - *458 - name: sha description: The SHA recorded at creation time. in: query @@ -82933,9 +83180,9 @@ paths: application/json: schema: type: array - items: *600 + items: *601 examples: - default: *601 + default: *602 headers: Link: *47 x-github: @@ -83001,8 +83248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -83083,7 +83330,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: simple-example: summary: Simple example @@ -83156,9 +83403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *456 - *457 - - &602 + - *458 + - &603 name: deployment_id description: deployment_id parameter in: path @@ -83170,7 +83417,7 @@ paths: description: Response content: application/json: - schema: *600 + schema: *601 examples: default: value: @@ -83235,9 +83482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *456 - *457 - - *602 + - *458 + - *603 responses: '204': description: Response @@ -83259,9 +83506,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *456 - *457 - - *602 + - *458 + - *603 - *17 - *19 responses: @@ -83271,7 +83518,7 @@ paths: application/json: schema: type: array - items: &603 + items: &604 title: Deployment Status description: The status of a deployment. type: object @@ -83432,9 +83679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *456 - *457 - - *602 + - *458 + - *603 requestBody: required: true content: @@ -83509,9 +83756,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: &604 + default: &605 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83567,9 +83814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *456 - *457 - - *602 + - *458 + - *603 - name: status_id in: path required: true @@ -83580,9 +83827,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *604 examples: - default: *604 + default: *605 '404': *6 x-github: githubCloudOnly: false @@ -83609,12 +83856,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 - - *605 + - *458 - *606 - *607 - *608 + - *609 - *17 - *19 responses: @@ -83624,9 +83871,9 @@ paths: application/json: schema: type: array - items: *609 + items: *610 examples: - default: *610 + default: *611 '404': *6 '403': *29 '500': *40 @@ -83650,8 +83897,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83663,7 +83910,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *609 + schema: *610 examples: default: value: @@ -83719,8 +83966,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83779,12 +84026,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 - - *605 + - *458 - *606 - *607 - *608 + - *609 - *17 - *19 responses: @@ -83794,9 +84041,9 @@ paths: application/json: schema: type: array - items: *611 + items: *612 examples: - default: *612 + default: *613 '404': *6 '403': *29 '500': *40 @@ -83820,8 +84067,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83833,7 +84080,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -83884,8 +84131,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -83923,7 +84170,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -83974,8 +84221,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84046,8 +84293,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84080,8 +84327,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - *103 - *104 - *105 @@ -84095,9 +84342,9 @@ paths: application/json: schema: type: array - items: *613 + items: *614 examples: - default: *614 + default: *615 '404': *6 '403': *29 '500': *40 @@ -84122,8 +84369,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84135,7 +84382,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -84193,8 +84440,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *456 - *457 + - *458 - name: alert_number in: path required: true @@ -84263,8 +84510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -84321,8 +84568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -84339,7 +84586,7 @@ paths: type: integer environments: type: array - items: &616 + items: &617 title: Environment description: Details of a deployment environment type: object @@ -84391,7 +84638,7 @@ paths: type: type: string example: wait_timer - wait_timer: &618 + wait_timer: &619 type: integer example: 30 description: The amount of time to delay a job after @@ -84428,7 +84675,7 @@ paths: items: type: object properties: - type: *615 + type: *616 reviewer: anyOf: - *4 @@ -84452,7 +84699,7 @@ paths: - id - node_id - type - deployment_branch_policy: &619 + deployment_branch_policy: &620 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -84568,9 +84815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *456 - *457 - - &617 + - *458 + - &618 name: environment_name in: path required: true @@ -84583,9 +84830,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: &620 + default: &621 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84669,9 +84916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: false content: @@ -84680,7 +84927,7 @@ paths: type: object nullable: true properties: - wait_timer: *618 + wait_timer: *619 prevent_self_review: type: boolean example: false @@ -84697,13 +84944,13 @@ paths: items: type: object properties: - type: *615 + type: *616 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *619 + deployment_branch_policy: *620 additionalProperties: false examples: default: @@ -84723,9 +84970,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *617 examples: - default: *620 + default: *621 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84749,9 +84996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *456 - *457 - - *617 + - *458 + - *618 responses: '204': description: Default response @@ -84776,9 +85023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *17 - *19 responses: @@ -84796,7 +85043,7 @@ paths: example: 2 branch_policies: type: array - items: &621 + items: &622 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84853,9 +85100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: true content: @@ -84901,9 +85148,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - example-wildcard: &622 + example-wildcard: &623 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84945,10 +85192,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - &623 + - *458 + - *618 + - &624 name: branch_policy_id in: path required: true @@ -84960,9 +85207,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84981,10 +85228,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - *623 + - *458 + - *618 + - *624 requestBody: required: true content: @@ -85012,9 +85259,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *622 examples: - default: *622 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85033,10 +85280,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *456 - *457 - - *617 - - *623 + - *458 + - *618 + - *624 responses: '204': description: Response @@ -85061,9 +85308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *617 + - *618 + - *458 - *457 - - *456 responses: '200': description: List of deployment protection rules @@ -85079,7 +85326,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &624 + items: &625 title: Deployment protection rule description: Deployment protection rule type: object @@ -85098,7 +85345,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &625 + app: &626 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85197,9 +85444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *617 + - *618 + - *458 - *457 - - *456 requestBody: content: application/json: @@ -85220,9 +85467,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *624 + schema: *625 examples: - default: &626 + default: &627 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85257,9 +85504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *617 + - *618 + - *458 - *457 - - *456 - *19 - *17 responses: @@ -85278,7 +85525,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *625 + items: *626 examples: default: value: @@ -85313,10 +85560,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *456 - *457 - - *617 - - &627 + - *458 + - *618 + - &628 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85328,9 +85575,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *625 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85351,10 +85598,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *617 + - *618 + - *458 - *457 - - *456 - - *627 + - *628 responses: '204': description: Response @@ -85380,9 +85627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *17 - *19 responses: @@ -85400,9 +85647,9 @@ paths: type: integer secrets: type: array - items: *487 + items: *488 examples: - default: *488 + default: *489 headers: Link: *47 x-github: @@ -85427,17 +85674,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *456 - *457 - - *617 + - *458 + - *618 responses: '200': description: Response content: application/json: - schema: *489 + schema: *490 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85459,18 +85706,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *628 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85492,9 +85739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 requestBody: required: true @@ -85552,9 +85799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *294 responses: '204': @@ -85580,10 +85827,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *456 - *457 - - *617 - - *474 + - *458 + - *618 + - *475 - *19 responses: '200': @@ -85600,9 +85847,9 @@ paths: type: integer variables: type: array - items: *491 + items: *492 examples: - default: *492 + default: *493 headers: Link: *47 x-github: @@ -85625,9 +85872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *456 - *457 - - *617 + - *458 + - *618 requestBody: required: true content: @@ -85679,18 +85926,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *456 - *457 - - *617 + - *458 + - *618 - *297 responses: '200': description: Response content: application/json: - schema: *491 + schema: *492 examples: - default: *629 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85711,10 +85958,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *456 - *457 + - *458 - *297 - - *617 + - *618 requestBody: required: true content: @@ -85756,10 +86003,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *456 - *457 + - *458 - *297 - - *617 + - *618 responses: '204': description: Response @@ -85781,8 +86028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -85850,8 +86097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *456 - *457 + - *458 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86010,8 +86257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -86043,9 +86290,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 '400': *14 '422': *15 '403': *29 @@ -86066,8 +86313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86127,7 +86374,7 @@ paths: schema: oneOf: - *259 - - *630 + - *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86152,8 +86399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *456 - *457 + - *458 - name: file_sha in: path required: true @@ -86252,8 +86499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86362,7 +86609,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &632 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86576,15 +86823,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *456 - *457 - - *574 + - *458 + - *575 responses: '200': description: Response content: application/json: - schema: *631 + schema: *632 examples: default: value: @@ -86640,9 +86887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *456 - *457 - - &632 + - *458 + - &633 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -86659,7 +86906,7 @@ paths: application/json: schema: type: array - items: &633 + items: &634 title: Git Reference description: Git references within a repository type: object @@ -86734,17 +86981,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 responses: '200': description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: &634 + default: &635 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86773,8 +87020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -86803,9 +87050,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *634 + default: *635 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -86831,9 +87078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 requestBody: required: true content: @@ -86862,9 +87109,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *634 examples: - default: *634 + default: *635 '422': *15 '409': *119 x-github: @@ -86882,9 +87129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *456 - *457 - - *632 + - *458 + - *633 responses: '204': description: Response @@ -86939,8 +87186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -87007,7 +87254,7 @@ paths: description: Response content: application/json: - schema: &636 + schema: &637 title: Git Tag description: Metadata for a Git tag type: object @@ -87058,7 +87305,7 @@ paths: - sha - type - url - verification: *635 + verification: *636 required: - sha - url @@ -87068,7 +87315,7 @@ paths: - tag - message examples: - default: &637 + default: &638 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87141,8 +87388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *456 - *457 + - *458 - name: tag_sha in: path required: true @@ -87153,9 +87400,9 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: - default: *637 + default: *638 '404': *6 '409': *119 x-github: @@ -87179,8 +87426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -87253,7 +87500,7 @@ paths: description: Response content: application/json: - schema: &638 + schema: &639 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87349,8 +87596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *456 - *457 + - *458 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87373,7 +87620,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *639 examples: default-response: summary: Default response @@ -87432,8 +87679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -87443,7 +87690,7 @@ paths: application/json: schema: type: array - items: &639 + items: &640 title: Webhook description: Webhooks for repositories. type: object @@ -87497,7 +87744,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &896 + last_response: &899 title: Hook Response type: object properties: @@ -87571,8 +87818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -87624,9 +87871,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: &640 + default: &641 value: type: Repository id: 12345678 @@ -87674,17 +87921,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '200': description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -87704,8 +87951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 requestBody: required: true @@ -87751,9 +87998,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '422': *15 '404': *6 x-github: @@ -87774,8 +88021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -87800,8 +88047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *456 - *457 + - *458 - *348 responses: '200': @@ -87829,8 +88076,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *456 - *457 + - *458 - *348 requestBody: required: false @@ -87875,8 +88122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 - *17 - *349 @@ -87908,8 +88155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 - *16 responses: @@ -87938,8 +88185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 - *16 responses: @@ -87963,8 +88210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -87990,8 +88237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *456 - *457 + - *458 - *348 responses: '204': @@ -88015,8 +88262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response if immutable releases are enabled @@ -88062,8 +88309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *456 - *457 + - *458 responses: '204': *155 '409': *119 @@ -88083,8 +88330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *456 - *457 + - *458 responses: '204': *155 '409': *119 @@ -88141,14 +88388,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &641 + schema: &642 title: Import description: A repository import from an external source. type: object @@ -88247,7 +88494,7 @@ paths: - html_url - authors_url examples: - default: &644 + default: &645 value: vcs: subversion use_lfs: true @@ -88263,7 +88510,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &642 + '503': &643 description: Unavailable due to service under maintenance. content: application/json: @@ -88292,8 +88539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -88341,7 +88588,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: default: value: @@ -88366,7 +88613,7 @@ paths: type: string '422': *15 '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88394,8 +88641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -88444,7 +88691,7 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: example-1: summary: Example 1 @@ -88492,7 +88739,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88515,12 +88762,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *456 - *457 + - *458 responses: '204': description: Response - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88546,9 +88793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *456 - *457 - - &826 + - *458 + - &827 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88562,7 +88809,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: Porter Author description: Porter Author type: object @@ -88616,7 +88863,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88641,8 +88888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *456 - *457 + - *458 - name: author_id in: path required: true @@ -88672,7 +88919,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: default: value: @@ -88685,7 +88932,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88709,8 +88956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88751,7 +88998,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88779,8 +89026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -88807,11 +89054,11 @@ paths: description: Response content: application/json: - schema: *641 + schema: *642 examples: - default: *644 + default: *645 '422': *15 - '503': *642 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88834,8 +89081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88843,8 +89090,8 @@ paths: application/json: schema: *22 examples: - default: *645 - '301': *462 + default: *646 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -88864,8 +89111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -88878,7 +89125,7 @@ paths: properties: {} additionalProperties: false examples: - default: &647 + default: &648 value: limit: collaborators_only origin: repository @@ -88903,13 +89150,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: application/json: - schema: *646 + schema: *647 examples: default: summary: Example request body @@ -88923,7 +89170,7 @@ paths: application/json: schema: *366 examples: - default: *647 + default: *648 '409': description: Response x-github: @@ -88945,8 +89192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -88969,8 +89216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -88980,9 +89227,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: &819 + default: &820 value: - id: 1 repository: @@ -89113,8 +89360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *456 - *457 + - *458 - *370 requestBody: required: false @@ -89144,7 +89391,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *649 examples: default: value: @@ -89275,8 +89522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *456 - *457 + - *458 - *370 responses: '204': @@ -89308,8 +89555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *456 - *457 + - *458 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -89382,7 +89629,7 @@ paths: type: array items: *221 examples: - default: &660 + default: &661 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89530,7 +89777,7 @@ paths: state_reason: completed headers: Link: *47 - '301': *462 + '301': *463 '422': *15 '404': *6 x-github: @@ -89559,8 +89806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -89644,7 +89891,7 @@ paths: application/json: schema: *221 examples: - default: &657 + default: &658 value: id: 1 node_id: MDU6SXNzdWUx @@ -89800,7 +90047,7 @@ paths: '422': *15 '503': *196 '404': *6 - '410': *649 + '410': *650 x-github: triggersNotification: true githubCloudOnly: false @@ -89828,8 +90075,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *456 - *457 + - *458 - *245 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -89850,9 +90097,9 @@ paths: application/json: schema: type: array - items: *650 + items: *651 examples: - default: &659 + default: &660 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89910,17 +90157,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: &651 + default: &652 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -89974,8 +90221,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -89998,9 +90245,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 '422': *15 x-github: githubCloudOnly: false @@ -90018,8 +90265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -90040,8 +90287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90068,9 +90315,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -90091,8 +90338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -90125,16 +90372,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -90156,10 +90403,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - *653 + - *654 responses: '204': description: Response @@ -90179,8 +90426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -90190,7 +90437,7 @@ paths: application/json: schema: type: array - items: &656 + items: &657 title: Issue Event description: Issue Event type: object @@ -90233,8 +90480,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *654 - required: *655 + properties: *655 + required: *656 nullable: true label: title: Issue Event Label @@ -90541,8 +90788,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *456 - *457 + - *458 - name: event_id in: path required: true @@ -90553,7 +90800,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *657 examples: default: value: @@ -90745,7 +90992,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *649 + '410': *650 '403': *29 x-github: githubCloudOnly: false @@ -90779,9 +91026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *456 - *457 - - &658 + - *458 + - &659 name: issue_number description: The number that identifies the issue. in: path @@ -90795,10 +91042,10 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '404': *6 - '410': *649 + '410': *650 '304': *37 x-github: githubCloudOnly: false @@ -90823,9 +91070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -90931,13 +91178,13 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 '422': *15 '503': *196 '403': *29 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90955,9 +91202,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -90985,7 +91232,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91001,9 +91248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: content: application/json: @@ -91030,7 +91277,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,9 +91299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: assignee in: path required: true @@ -91094,9 +91341,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *228 - *17 - *19 @@ -91107,13 +91354,13 @@ paths: application/json: schema: type: array - items: *650 + items: *651 examples: - default: *659 + default: *660 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91142,9 +91389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -91166,16 +91413,16 @@ paths: description: Response content: application/json: - schema: *650 + schema: *651 examples: - default: *651 + default: *652 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -91203,9 +91450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91217,12 +91464,12 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91250,9 +91497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -91276,15 +91523,15 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *462 + '301': *463 '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -91315,9 +91562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91331,13 +91578,13 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *649 + '410': *650 x-github: triggersNotification: true githubCloudOnly: false @@ -91363,9 +91610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91377,12 +91624,12 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91399,9 +91646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -91415,7 +91662,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &662 + - &663 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91469,7 +91716,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &663 + - &664 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91605,7 +91852,7 @@ paths: - performed_via_github_app - assignee - assigner - - &664 + - &665 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91656,7 +91903,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &665 + - &666 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91707,7 +91954,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &666 + - &667 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91761,7 +92008,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &667 + - &668 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91808,7 +92055,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &668 + - &669 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91855,7 +92102,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &670 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91915,7 +92162,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &671 title: Locked Issue Event description: Locked Issue Event type: object @@ -91963,7 +92210,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &672 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92029,7 +92276,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &673 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92095,7 +92342,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &674 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92161,7 +92408,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &675 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92252,7 +92499,7 @@ paths: color: red headers: Link: *47 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92269,9 +92516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -92283,7 +92530,7 @@ paths: type: array items: *220 examples: - default: &661 + default: &662 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92301,9 +92548,9 @@ paths: default: false headers: Link: *47 - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92320,9 +92567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92383,10 +92630,10 @@ paths: type: array items: *220 examples: - default: *661 - '301': *462 + default: *662 + '301': *463 '404': *6 - '410': *649 + '410': *650 '422': *15 x-github: githubCloudOnly: false @@ -92403,9 +92650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92467,10 +92714,10 @@ paths: type: array items: *220 examples: - default: *661 - '301': *462 + default: *662 + '301': *463 '404': *6 - '410': *649 + '410': *650 '422': *15 x-github: githubCloudOnly: false @@ -92487,15 +92734,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '204': description: Response - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92514,9 +92761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: name in: path required: true @@ -92540,9 +92787,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *462 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92562,9 +92809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: false content: @@ -92592,7 +92839,7 @@ paths: '204': description: Response '403': *29 - '410': *649 + '410': *650 '404': *6 '422': *15 x-github: @@ -92610,9 +92857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '204': description: Response @@ -92642,9 +92889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 responses: '200': description: Response @@ -92652,10 +92899,10 @@ paths: application/json: schema: *221 examples: - default: *657 - '301': *462 + default: *658 + '301': *463 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92672,9 +92919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -92700,13 +92947,13 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92724,9 +92971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92758,16 +93005,16 @@ paths: description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Response content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -92789,10 +93036,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *456 - *457 - - *658 - - *653 + - *458 + - *659 + - *654 responses: '204': description: Response @@ -92821,9 +93068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92847,7 +93094,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92880,9 +93127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -92894,11 +93141,11 @@ paths: type: array items: *221 examples: - default: *660 + default: *661 headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92926,9 +93173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -92957,14 +93204,14 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *649 + '410': *650 '422': *15 '404': *6 x-github: @@ -92984,9 +93231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 requestBody: required: true content: @@ -93019,7 +93266,7 @@ paths: application/json: schema: *221 examples: - default: *657 + default: *658 '403': *29 '404': *6 '422': *7 @@ -93041,9 +93288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *456 - *457 - - *658 + - *458 + - *659 - *17 - *19 responses: @@ -93058,7 +93305,6 @@ paths: description: Timeline Event type: object anyOf: - - *662 - *663 - *664 - *665 @@ -93071,6 +93317,7 @@ paths: - *672 - *673 - *674 + - *675 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93379,7 +93626,7 @@ paths: type: string comments: type: array - items: &696 + items: &697 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93594,7 +93841,7 @@ paths: type: string comments: type: array - items: *570 + items: *571 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93883,7 +94130,7 @@ paths: headers: Link: *47 '404': *6 - '410': *649 + '410': *650 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93900,8 +94147,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -93911,7 +94158,7 @@ paths: application/json: schema: type: array - items: &675 + items: &676 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -93977,8 +94224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94014,9 +94261,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: &676 + default: &677 value: id: 1 key: ssh-rsa AAA... @@ -94050,9 +94297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *456 - *457 - - &677 + - *458 + - &678 name: key_id description: The unique identifier of the key. in: path @@ -94064,9 +94311,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *676 examples: - default: *676 + default: *677 '404': *6 x-github: githubCloudOnly: false @@ -94084,9 +94331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *456 - *457 - - *677 + - *458 + - *678 responses: '204': description: Response @@ -94106,8 +94353,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -94119,7 +94366,7 @@ paths: type: array items: *220 examples: - default: *661 + default: *662 headers: Link: *47 '404': *6 @@ -94140,8 +94387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94179,7 +94426,7 @@ paths: application/json: schema: *220 examples: - default: &678 + default: &679 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94211,8 +94458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94225,7 +94472,7 @@ paths: application/json: schema: *220 examples: - default: *678 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -94242,8 +94489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94308,8 +94555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *456 - *457 + - *458 - name: name in: path required: true @@ -94335,8 +94582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -94372,8 +94619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *456 - *457 + - *458 responses: '202': *39 '403': @@ -94401,8 +94648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -94428,9 +94675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *456 - *457 - - *543 + - *458 + - *544 responses: '200': description: Response @@ -94575,8 +94822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94641,8 +94888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94676,9 +94923,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *573 + schema: *574 examples: - default: *679 + default: *680 '204': description: Response when already merged '404': @@ -94703,8 +94950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *456 - *457 + - *458 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94745,7 +94992,7 @@ paths: application/json: schema: type: array - items: &680 + items: &681 title: Milestone description: A collection of related issues and pull requests. type: object @@ -94806,8 +95053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -94847,9 +95094,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: &681 + default: &682 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -94908,9 +95155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *456 - *457 - - &682 + - *458 + - &683 name: milestone_number description: The number that identifies the milestone. in: path @@ -94922,9 +95169,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 '404': *6 x-github: githubCloudOnly: false @@ -94941,9 +95188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 requestBody: required: false content: @@ -94981,9 +95228,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *681 examples: - default: *681 + default: *682 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94999,9 +95246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 responses: '204': description: Response @@ -95022,9 +95269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *456 - *457 - - *682 + - *458 + - *683 - *17 - *19 responses: @@ -95036,7 +95283,7 @@ paths: type: array items: *220 examples: - default: *661 + default: *662 headers: Link: *47 x-github: @@ -95055,12 +95302,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *456 - *457 - - *683 + - *458 - *684 - - *228 - *685 + - *228 + - *686 - *17 - *19 responses: @@ -95072,7 +95319,7 @@ paths: type: array items: *248 examples: - default: *686 + default: *687 headers: Link: *47 x-github: @@ -95096,8 +95343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -95155,14 +95402,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: &687 + schema: &688 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95287,7 +95534,7 @@ paths: - custom_404 - public examples: - default: &688 + default: &689 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95328,8 +95575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95383,9 +95630,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *688 examples: - default: *688 + default: *689 '422': *15 '409': *119 x-github: @@ -95408,8 +95655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95516,8 +95763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -95543,8 +95790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -95554,7 +95801,7 @@ paths: application/json: schema: type: array - items: &689 + items: &690 title: Page Build description: Page Build type: object @@ -95648,8 +95895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *456 - *457 + - *458 responses: '201': description: Response @@ -95694,16 +95941,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: &690 + default: &691 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95751,8 +95998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *456 - *457 + - *458 - name: build_id in: path required: true @@ -95763,9 +96010,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *690 examples: - default: *690 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95785,8 +96032,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -95891,9 +96138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *456 - *457 - - &691 + - *458 + - &692 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -95951,9 +96198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *456 - *457 - - *691 + - *458 + - *692 responses: '204': *155 '404': *6 @@ -95980,8 +96227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -96239,8 +96486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Private vulnerability reporting status @@ -96277,8 +96524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': *155 '422': *14 @@ -96299,8 +96546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': *155 '422': *14 @@ -96322,8 +96569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -96333,7 +96580,7 @@ paths: type: array items: *156 examples: - default: *692 + default: *693 '403': *29 '404': *6 x-github: @@ -96355,8 +96602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -96372,7 +96619,7 @@ paths: required: - properties examples: - default: *693 + default: *694 responses: '204': description: No Content when custom property values are successfully created @@ -96410,8 +96657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *456 - *457 + - *458 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96471,9 +96718,9 @@ paths: application/json: schema: type: array - items: *577 + items: *578 examples: - default: *694 + default: *695 headers: Link: *47 '304': *37 @@ -96505,8 +96752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -96571,7 +96818,7 @@ paths: description: Response content: application/json: - schema: &698 + schema: &699 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -96728,7 +96975,7 @@ paths: nullable: true requested_teams: type: array - items: *441 + items: *442 nullable: true head: type: object @@ -96785,7 +97032,7 @@ paths: - review_comment - self author_association: *222 - auto_merge: *695 + auto_merge: *696 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -96877,7 +97124,7 @@ paths: - merged_by - review_comments examples: - default: &699 + default: &700 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97404,8 +97651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *456 - *457 + - *458 - name: sort in: query required: false @@ -97434,9 +97681,9 @@ paths: application/json: schema: type: array - items: *696 + items: *697 examples: - default: &701 + default: &702 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97513,17 +97760,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *456 - *457 + - *458 - *237 responses: '200': description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: &697 + default: &698 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97598,8 +97845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -97622,9 +97869,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: - default: *697 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97640,8 +97887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *456 - *457 + - *458 - *237 responses: '204': @@ -97663,8 +97910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *456 - *457 + - *458 - *237 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -97691,9 +97938,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -97714,8 +97961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *456 - *457 + - *458 - *237 requestBody: required: true @@ -97748,16 +97995,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -97779,10 +98026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *456 - *457 + - *458 - *237 - - *653 + - *654 responses: '204': description: Response @@ -97825,9 +98072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *456 - *457 - - &700 + - *458 + - &701 name: pull_number description: The number that identifies the pull request. in: path @@ -97840,9 +98087,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '304': *37 '404': *6 '406': @@ -97877,9 +98124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -97921,9 +98168,9 @@ paths: description: Response content: application/json: - schema: *698 + schema: *699 examples: - default: *699 + default: *700 '422': *15 '403': *29 x-github: @@ -97945,9 +98192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -98009,7 +98256,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -98017,7 +98264,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -98047,9 +98294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *245 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98070,9 +98317,9 @@ paths: application/json: schema: type: array - items: *696 + items: *697 examples: - default: *701 + default: *702 headers: Link: *47 x-github: @@ -98105,9 +98352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -98212,7 +98459,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: example-for-a-multi-line-comment: value: @@ -98300,9 +98547,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *237 requestBody: required: true @@ -98325,7 +98572,7 @@ paths: description: Response content: application/json: - schema: *696 + schema: *697 examples: default: value: @@ -98411,9 +98658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -98423,9 +98670,9 @@ paths: application/json: schema: type: array - items: *573 + items: *574 examples: - default: *702 + default: *703 headers: Link: *47 x-github: @@ -98455,9 +98702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -98467,7 +98714,7 @@ paths: application/json: schema: type: array - items: *586 + items: *587 examples: default: value: @@ -98505,9 +98752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *456 - *457 - - *700 + - *458 + - *701 responses: '204': description: Response if pull request has been merged @@ -98530,9 +98777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -98643,9 +98890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 responses: '200': description: Response @@ -98720,9 +98967,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -98759,7 +99006,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -99295,9 +99542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: true content: @@ -99331,7 +99578,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: default: value: @@ -99836,9 +100083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 - *17 - *19 responses: @@ -99848,7 +100095,7 @@ paths: application/json: schema: type: array - items: &703 + items: &704 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -99999,9 +100246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -100087,9 +100334,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: &705 + default: &706 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100152,10 +100399,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - &704 + - *458 + - *701 + - &705 name: review_id description: The unique identifier of the review. in: path @@ -100167,9 +100414,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: &706 + default: &707 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100228,10 +100475,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100254,7 +100501,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: default: value: @@ -100316,18 +100563,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 responses: '200': description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: *705 + default: *706 '422': *7 '404': *6 x-github: @@ -100354,10 +100601,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 - *17 - *19 responses: @@ -100592,10 +100839,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100623,7 +100870,7 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: default: value: @@ -100686,10 +100933,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *456 - *457 - - *700 - - *704 + - *458 + - *701 + - *705 requestBody: required: true content: @@ -100724,9 +100971,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *704 examples: - default: *706 + default: *707 '404': *6 '422': *7 '403': *29 @@ -100748,9 +100995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *456 - *457 - - *700 + - *458 + - *701 requestBody: required: false content: @@ -100813,8 +101060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *456 - *457 + - *458 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -100827,9 +101074,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: &708 + default: &709 value: type: file encoding: base64 @@ -100871,8 +101118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *456 - *457 + - *458 - name: dir description: The alternate path to look for a README file in: path @@ -100892,9 +101139,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *708 examples: - default: *708 + default: *709 '404': *6 '422': *15 x-github: @@ -100916,8 +101163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -100927,7 +101174,7 @@ paths: application/json: schema: type: array - items: *709 + items: *710 examples: default: value: @@ -101021,8 +101268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -101098,9 +101345,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: &713 + default: &714 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101205,9 +101452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *456 - *457 - - &711 + - *458 + - &712 name: asset_id description: The unique identifier of the asset. in: path @@ -101219,9 +101466,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: &712 + default: &713 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -101256,7 +101503,7 @@ paths: type: User site_admin: false '404': *6 - '302': *588 + '302': *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101272,9 +101519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *456 - *457 - - *711 + - *458 + - *712 requestBody: required: false content: @@ -101302,9 +101549,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *711 examples: - default: *712 + default: *713 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101320,9 +101567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *456 - *457 - - *711 + - *458 + - *712 responses: '204': description: Response @@ -101346,8 +101593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -101432,16 +101679,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *456 - *457 + - *458 responses: '200': description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101458,8 +101705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *456 - *457 + - *458 - name: tag description: tag parameter in: path @@ -101472,9 +101719,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '404': *6 x-github: githubCloudOnly: false @@ -101496,9 +101743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *456 - *457 - - &714 + - *458 + - &715 name: release_id description: The unique identifier of the release. in: path @@ -101512,9 +101759,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '401': description: Unauthorized x-github: @@ -101532,9 +101779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 requestBody: required: false content: @@ -101598,9 +101845,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *710 examples: - default: *713 + default: *714 '404': description: Not Found if the discussion category name is invalid content: @@ -101621,9 +101868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 responses: '204': description: Response @@ -101643,9 +101890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *456 - *457 - - *714 + - *458 + - *715 - *17 - *19 responses: @@ -101655,7 +101902,7 @@ paths: application/json: schema: type: array - items: *710 + items: *711 examples: default: value: @@ -101737,9 +101984,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *456 - *457 - - *714 + - *458 + - *715 - name: name in: query required: true @@ -101765,7 +102012,7 @@ paths: description: Response for successful upload content: application/json: - schema: *710 + schema: *711 examples: response-for-successful-upload: value: @@ -101820,9 +102067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -101846,9 +102093,9 @@ paths: application/json: schema: type: array - items: *571 + items: *572 examples: - default: *652 + default: *653 headers: Link: *47 '404': *6 @@ -101869,9 +102116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *456 - *457 - - *714 + - *458 + - *715 requestBody: required: true content: @@ -101901,16 +102148,16 @@ paths: description: Reaction exists content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '201': description: Reaction created content: application/json: - schema: *571 + schema: *572 examples: - default: *572 + default: *573 '422': *15 x-github: githubCloudOnly: false @@ -101932,10 +102179,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *456 - *457 - - *714 - - *653 + - *458 + - *715 + - *654 responses: '204': description: Response @@ -101959,9 +102206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *456 - *457 - - *509 + - *458 + - *510 - *17 - *19 responses: @@ -101978,7 +102225,7 @@ paths: oneOf: - allOf: - *170 - - &715 + - &716 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -101999,67 +102246,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *171 - - *715 + - *716 - allOf: - *172 - - *715 + - *716 - allOf: - *173 - - *715 + - *716 - allOf: + - *717 - *716 - - *715 - allOf: - *174 - - *715 + - *716 - allOf: - *175 - - *715 + - *716 - allOf: - *176 - - *715 + - *716 - allOf: - *177 - - *715 + - *716 - allOf: - *178 - - *715 + - *716 - allOf: - *179 - - *715 + - *716 - allOf: - *180 - - *715 + - *716 - allOf: - *181 - - *715 + - *716 - allOf: - *182 - - *715 + - *716 - allOf: - *183 - - *715 + - *716 - allOf: - *184 - - *715 + - *716 - allOf: - *185 - - *715 + - *716 - allOf: - *186 - - *715 + - *716 - allOf: - *187 - - *715 + - *716 - allOf: - *188 - - *715 + - *716 - allOf: - *189 - - *715 + - *716 - allOf: - *190 - - *715 + - *716 examples: default: value: @@ -102098,8 +102345,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - *17 - *19 - name: includes_parents @@ -102110,7 +102357,7 @@ paths: schema: type: boolean default: true - - *717 + - *718 responses: '200': description: Response @@ -102165,8 +102412,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 requestBody: description: Request body required: true @@ -102195,7 +102442,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *718 + items: *719 required: - name - enforcement @@ -102228,7 +102475,7 @@ paths: application/json: schema: *191 examples: - default: &727 + default: &728 value: id: 42 name: super cool ruleset @@ -102275,12 +102522,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *456 - *457 - - *719 - - *105 + - *458 - *720 + - *105 - *721 + - *722 - *17 - *19 responses: @@ -102288,9 +102535,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *723 examples: - default: *723 + default: *724 '404': *6 '500': *40 x-github: @@ -102311,17 +102558,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *456 - *457 - - *724 + - *458 + - *725 responses: '200': description: Response content: application/json: - schema: *725 + schema: *726 examples: - default: *726 + default: *727 '404': *6 '500': *40 x-github: @@ -102349,8 +102596,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102372,7 +102619,7 @@ paths: application/json: schema: *191 examples: - default: *727 + default: *728 '404': *6 '500': *40 put: @@ -102390,8 +102637,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102425,7 +102672,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *718 + items: *719 examples: default: value: @@ -102455,7 +102702,7 @@ paths: application/json: schema: *191 examples: - default: *727 + default: *728 '404': *6 '500': *40 delete: @@ -102473,8 +102720,8 @@ paths: category: repos subcategory: rules parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102497,8 +102744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *456 - *457 + - *458 - *17 - *19 - name: ruleset_id @@ -102516,7 +102763,7 @@ paths: type: array items: *195 examples: - default: *425 + default: *426 '404': *6 '500': *40 x-github: @@ -102535,8 +102782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *456 - *457 + - *458 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102554,7 +102801,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -102609,22 +102856,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *456 - *457 - - *427 + - *458 - *428 - *429 - *430 - *431 + - *432 - *110 - *19 - *17 - - *728 - *729 - - *432 + - *730 - *433 - *434 - *435 + - *436 responses: '200': description: Response @@ -102632,7 +102879,7 @@ paths: application/json: schema: type: array - items: &733 + items: &734 type: object properties: number: *128 @@ -102651,8 +102898,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *730 - resolution: *731 + state: *731 + resolution: *732 resolved_at: type: string format: date-time @@ -102748,7 +102995,7 @@ paths: pull request. ' - oneOf: *732 + oneOf: *733 nullable: true has_more_locations: type: boolean @@ -102897,16 +103144,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *456 - *457 - - *537 - - *435 + - *458 + - *538 + - *436 responses: '200': description: Response content: application/json: - schema: *733 + schema: *734 examples: default: value: @@ -102960,9 +103207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 requestBody: required: true content: @@ -102970,8 +103217,8 @@ paths: schema: type: object properties: - state: *730 - resolution: *731 + state: *731 + resolution: *732 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103005,7 +103252,7 @@ paths: description: Response content: application/json: - schema: *733 + schema: *734 examples: default: value: @@ -103100,9 +103347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *456 - *457 - - *537 + - *458 + - *538 - *19 - *17 responses: @@ -103113,7 +103360,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &918 + items: &921 type: object properties: type: @@ -103139,7 +103386,6 @@ paths: example: commit details: oneOf: - - *734 - *735 - *736 - *737 @@ -103152,6 +103398,7 @@ paths: - *744 - *745 - *746 + - *747 examples: default: value: @@ -103237,8 +103484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -103246,14 +103493,14 @@ paths: schema: type: object properties: - reason: &748 + reason: &749 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *747 + placeholder_id: *748 required: - reason - placeholder_id @@ -103270,7 +103517,7 @@ paths: schema: type: object properties: - reason: *748 + reason: *749 expire_at: type: string format: date-time @@ -103316,8 +103563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *456 - *457 + - *458 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103332,7 +103579,7 @@ paths: properties: incremental_scans: type: array - items: &749 + items: &750 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103358,15 +103605,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *749 + items: *750 backfill_scans: type: array - items: *749 + items: *750 custom_pattern_backfill_scans: type: array items: allOf: - - *749 + - *750 - type: object properties: pattern_name: @@ -103436,8 +103683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *456 - *457 + - *458 - *110 - name: sort description: The property to sort the results by. @@ -103481,9 +103728,9 @@ paths: application/json: schema: type: array - items: *750 + items: *751 examples: - default: *751 + default: *752 '400': *14 '404': *6 x-github: @@ -103506,8 +103753,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -103580,7 +103827,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 required: - login - type @@ -103667,9 +103914,9 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: &753 + default: &754 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -103902,8 +104149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -104007,7 +104254,7 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: default: value: @@ -104154,17 +104401,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '200': description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 + default: *754 '403': *29 '404': *6 x-github: @@ -104188,9 +104435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 requestBody: required: true content: @@ -104263,7 +104510,7 @@ paths: login: type: string description: The username of the user credited. - type: *440 + type: *441 required: - login - type @@ -104349,10 +104596,10 @@ paths: description: Response content: application/json: - schema: *750 + schema: *751 examples: - default: *753 - add_credit: *753 + default: *754 + add_credit: *754 '403': *29 '404': *6 '422': @@ -104390,9 +104637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '202': *39 '400': *14 @@ -104419,17 +104666,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *456 - *457 - - *752 + - *458 + - *753 responses: '202': description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 '400': *14 '422': *15 '403': *29 @@ -104455,8 +104702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -104555,8 +104802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104565,7 +104812,7 @@ paths: application/json: schema: type: array - items: &754 + items: &755 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104598,8 +104845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -104675,8 +104922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -104772,8 +105019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *456 - *457 + - *458 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -104927,8 +105174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *456 - *457 + - *458 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -104938,7 +105185,7 @@ paths: application/json: schema: type: array - items: *754 + items: *755 examples: default: value: @@ -104971,8 +105218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *456 - *457 + - *458 - name: sha in: path required: true @@ -105026,7 +105273,7 @@ paths: description: Response content: application/json: - schema: *755 + schema: *756 examples: default: value: @@ -105080,8 +105327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105113,14 +105360,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *456 - *457 + - *458 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &756 + schema: &757 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105188,8 +105435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *456 - *457 + - *458 requestBody: required: false content: @@ -105215,7 +105462,7 @@ paths: description: Response content: application/json: - schema: *756 + schema: *757 examples: default: value: @@ -105242,8 +105489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -105263,8 +105510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105343,8 +105590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105352,7 +105599,7 @@ paths: application/json: schema: type: array - items: &757 + items: &758 title: Tag protection description: Tag protection type: object @@ -105404,8 +105651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -105428,7 +105675,7 @@ paths: description: Response content: application/json: - schema: *757 + schema: *758 examples: default: value: @@ -105459,8 +105706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *456 - *457 + - *458 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105497,8 +105744,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *456 - *457 + - *458 - name: ref in: path required: true @@ -105534,8 +105781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *456 - *457 + - *458 - *17 - *19 responses: @@ -105567,8 +105814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *456 - *457 + - *458 - *19 - *17 responses: @@ -105576,7 +105823,7 @@ paths: description: Response content: application/json: - schema: &758 + schema: &759 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105588,7 +105835,7 @@ paths: required: - names examples: - default: &759 + default: &760 value: names: - octocat @@ -105611,8 +105858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -105643,9 +105890,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *759 examples: - default: *759 + default: *760 '404': *6 '422': *7 x-github: @@ -105666,9 +105913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *456 - *457 - - &760 + - *458 + - &761 name: per description: The time frame to display results for. in: query @@ -105697,7 +105944,7 @@ paths: example: 128 clones: type: array - items: &761 + items: &762 title: Traffic type: object properties: @@ -105784,8 +106031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105875,8 +106122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *456 - *457 + - *458 responses: '200': description: Response @@ -105936,9 +106183,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *456 - *457 - - *760 + - *458 + - *761 responses: '200': description: Response @@ -105957,7 +106204,7 @@ paths: example: 3782 views: type: array - items: *761 + items: *762 required: - uniques - count @@ -106034,8 +106281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *456 - *457 + - *458 requestBody: required: true content: @@ -106309,8 +106556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *456 - *457 + - *458 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106333,8 +106580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -106356,8 +106603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -106383,8 +106630,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *456 - *457 + - *458 - name: ref in: path required: true @@ -106476,9 +106723,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106629,7 +106876,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &769 + - &770 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -106638,7 +106885,7 @@ paths: schema: type: string example: members - - &774 + - &775 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -106649,7 +106896,7 @@ paths: default: 1 format: int32 example: 1 - - &775 + - &776 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -106691,7 +106938,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &764 + items: &765 allOf: - type: object required: @@ -106766,7 +107013,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &776 + meta: &777 type: object description: The metadata associated with the creation/updates to the user. @@ -106826,30 +107073,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &765 + '400': &766 description: Bad request content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '401': *763 - '403': &766 + schema: *763 + '401': *764 + '403': &767 description: Permission denied - '429': &767 + '429': &768 description: Too many requests content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '500': &768 + schema: *763 + '500': &769 description: Internal server error content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 + schema: *763 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106873,7 +107120,7 @@ paths: required: true content: application/json: - schema: &772 + schema: &773 type: object required: - schemas @@ -106933,9 +107180,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *764 + schema: *765 examples: - group: &770 + group: &771 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -106954,13 +107201,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *765 - '401': *763 - '403': *766 - '409': &773 + '400': *766 + '401': *764 + '403': *767 + '409': &774 description: Duplicate record detected - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106977,7 +107224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &771 + - &772 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -106985,22 +107232,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *769 + - *770 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *764 + schema: *765 examples: - default: *770 - '400': *765 - '401': *763 - '403': *766 + default: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107019,13 +107266,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *771 + - *772 - *41 requestBody: required: true content: application/json: - schema: *772 + schema: *773 examples: group: summary: Group @@ -107051,17 +107298,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *764 + schema: *765 examples: - group: *770 - groupWithMembers: *770 - '400': *765 - '401': *763 - '403': *766 + group: *771 + groupWithMembers: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107085,13 +107332,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *771 + - *772 - *41 requestBody: required: true content: application/json: - schema: &783 + schema: &784 type: object required: - Operations @@ -107151,17 +107398,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *764 + schema: *765 examples: - updateGroup: *770 - addMembers: *770 - '400': *765 - '401': *763 - '403': *766 + updateGroup: *771 + addMembers: *771 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107177,17 +107424,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *771 + - *772 - *41 responses: '204': description: Group was deleted, no content - '400': *765 - '401': *763 - '403': *766 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107221,8 +107468,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *774 - *775 + - *776 - *41 responses: '200': @@ -107255,7 +107502,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &778 + items: &779 allOf: - type: object required: @@ -107334,7 +107581,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &777 + roles: &778 type: array description: The roles assigned to the user. items: @@ -107390,7 +107637,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *776 + meta: *777 startIndex: type: integer description: A starting index for the returned page @@ -107427,11 +107674,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *765 - '401': *763 - '403': *766 - '429': *767 - '500': *768 + '400': *766 + '401': *764 + '403': *767 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107455,7 +107702,7 @@ paths: required: true content: application/json: - schema: &781 + schema: &782 type: object required: - schemas @@ -107537,9 +107784,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *777 + roles: *778 examples: - user: &782 + user: &783 summary: User value: schemas: @@ -107586,9 +107833,9 @@ paths: description: User has been created content: application/scim+json: - schema: *778 + schema: *779 examples: - user: &779 + user: &780 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -107614,13 +107861,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *779 - '400': *765 - '401': *763 - '403': *766 - '409': *773 - '429': *767 - '500': *768 + enterpriseOwner: *780 + '400': *766 + '401': *764 + '403': *767 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,7 +107884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &780 + - &781 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -107650,15 +107897,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *778 + schema: *779 examples: - default: *779 - '400': *765 - '401': *763 - '403': *766 + default: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107680,30 +107927,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *780 + - *781 - *41 requestBody: required: true content: application/json: - schema: *781 + schema: *782 examples: - user: *782 + user: *783 responses: '200': description: User was updated content: application/scim+json: - schema: *778 + schema: *779 examples: - user: *779 - '400': *765 - '401': *763 - '403': *766 + user: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107738,13 +107985,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *780 + - *781 - *41 requestBody: required: true content: application/json: - schema: *783 + schema: *784 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -107784,18 +108031,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *778 + schema: *779 examples: - userMultiValuedProperties: *779 - userSingleValuedProperties: *779 - disableUser: *779 - '400': *765 - '401': *763 - '403': *766 + userMultiValuedProperties: *780 + userSingleValuedProperties: *780 + disableUser: *780 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '409': *773 - '429': *767 - '500': *768 + '409': *774 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107815,17 +108062,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *780 + - *781 - *41 responses: '204': description: User was deleted, no content - '400': *765 - '401': *763 - '403': *766 + '400': *766 + '401': *764 + '403': *767 '404': *6 - '429': *767 - '500': *768 + '429': *768 + '500': *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107912,7 +108159,7 @@ paths: example: 1 Resources: type: array - items: &784 + items: &785 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108143,22 +108390,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &785 + '404': &786 description: Resource not found content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '403': &786 + schema: *763 + '403': &787 description: Forbidden content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '400': *765 - '429': *767 + schema: *763 + '400': *766 + '429': *768 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108184,9 +108431,9 @@ paths: description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: &787 + default: &788 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108209,17 +108456,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *785 - '403': *786 - '500': *768 + '404': *786 + '403': *787 + '500': *769 '409': description: Conflict content: application/json: - schema: *762 + schema: *763 application/scim+json: - schema: *762 - '400': *765 + schema: *763 + '400': *766 requestBody: required: true content: @@ -108317,17 +108564,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 - '404': *785 - '403': *786 + default: *788 + '404': *786 + '403': *787 '304': *37 x-github: githubCloudOnly: true @@ -108351,18 +108598,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 + default: *788 '304': *37 - '404': *785 - '403': *786 + '404': *786 + '403': *787 requestBody: required: true content: @@ -108475,19 +108722,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *780 + - *781 responses: '200': description: Response content: application/scim+json: - schema: *784 + schema: *785 examples: - default: *787 + default: *788 '304': *37 - '404': *785 - '403': *786 - '400': *765 + '404': *786 + '403': *787 + '400': *766 '429': description: Response content: @@ -108578,12 +108825,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *780 + - *781 responses: '204': description: Response - '404': *785 - '403': *786 + '404': *786 + '403': *787 '304': *37 x-github: githubCloudOnly: true @@ -108716,7 +108963,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &788 + text_matches: &789 title: Search Result Text Matches type: array items: @@ -108879,7 +109126,7 @@ paths: enum: - author-date - committer-date - - &789 + - &790 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -108950,7 +109197,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true comment_count: type: integer @@ -108970,7 +109217,7 @@ paths: url: type: string format: uri - verification: *635 + verification: *636 required: - author - committer @@ -108989,7 +109236,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *507 + properties: *508 nullable: true parents: type: array @@ -109007,7 +109254,7 @@ paths: type: number node_id: type: string - text_matches: *788 + text_matches: *789 required: - sha - node_id @@ -109200,7 +109447,7 @@ paths: - interactions - created - updated - - *789 + - *790 - *17 - *19 - name: advanced_search @@ -109297,11 +109544,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: type: string state_reason: @@ -109333,7 +109580,7 @@ paths: type: string format: date-time nullable: true - text_matches: *788 + text_matches: *789 pull_request: type: object properties: @@ -109558,7 +109805,7 @@ paths: enum: - created - updated - - *789 + - *790 - *17 - *19 responses: @@ -109602,7 +109849,7 @@ paths: nullable: true score: type: number - text_matches: *788 + text_matches: *789 required: - id - node_id @@ -109688,7 +109935,7 @@ paths: - forks - help-wanted-issues - updated - - *789 + - *790 - *17 - *19 responses: @@ -109927,7 +110174,7 @@ paths: - admin - pull - push - text_matches: *788 + text_matches: *789 temp_clone_token: type: string allow_merge_commit: @@ -110228,7 +110475,7 @@ paths: type: string format: uri nullable: true - text_matches: *788 + text_matches: *789 related: type: array nullable: true @@ -110421,7 +110668,7 @@ paths: - followers - repositories - joined - - *789 + - *790 - *17 - *19 responses: @@ -110525,7 +110772,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *788 + text_matches: *789 blog: type: string nullable: true @@ -110604,7 +110851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &793 + - &794 name: team_id description: The unique identifier of the team. in: path @@ -110616,9 +110863,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 x-github: githubCloudOnly: false @@ -110645,7 +110892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *793 + - *794 requestBody: required: true content: @@ -110708,16 +110955,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '201': description: Response content: application/json: - schema: *449 + schema: *450 examples: - default: *450 + default: *451 '404': *6 '422': *15 '403': *29 @@ -110745,7 +110992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *793 + - *794 responses: '204': description: Response @@ -110774,7 +111021,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -110812,7 +111059,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *793 + - *794 - name: role description: Filters members returned by their role in the team. in: query @@ -110863,7 +111110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110900,7 +111147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110940,7 +111187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -110977,16 +111224,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 responses: '200': description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-user-is-a-team-maintainer: *794 + response-if-user-is-a-team-maintainer: *795 '404': *6 x-github: githubCloudOnly: false @@ -111019,7 +111266,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 requestBody: required: false @@ -111045,9 +111292,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *456 examples: - response-if-users-membership-with-team-is-now-pending: *795 + response-if-users-membership-with-team-is-now-pending: *796 '403': description: Forbidden if team synchronization is set up '422': @@ -111081,7 +111328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *793 + - *794 - *143 responses: '204': @@ -111109,7 +111356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -111151,15 +111398,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *796 + schema: *797 examples: alternative-response-with-extra-repository-information: value: @@ -111310,9 +111557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 requestBody: required: false content: @@ -111362,9 +111609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *793 - - *456 + - *794 - *457 + - *458 responses: '204': description: Response @@ -111393,15 +111640,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *793 + - *794 responses: '200': description: Response content: application/json: - schema: *458 + schema: *459 examples: - default: *459 + default: *460 '403': *29 '404': *6 x-github: @@ -111428,7 +111675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *793 + - *794 requestBody: required: true content: @@ -111485,7 +111732,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -111516,7 +111763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *793 + - *794 - *17 - *19 responses: @@ -111528,7 +111775,7 @@ paths: type: array items: *313 examples: - response-if-child-teams-exist: *797 + response-if-child-teams-exist: *798 headers: Link: *47 '404': *6 @@ -111561,7 +111808,7 @@ paths: application/json: schema: oneOf: - - &799 + - &800 title: Private User description: Private User type: object @@ -111764,7 +112011,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *798 + - *799 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -111917,7 +112164,7 @@ paths: description: Response content: application/json: - schema: *799 + schema: *800 examples: default: value: @@ -112263,7 +112510,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -112271,7 +112518,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -112315,7 +112562,7 @@ paths: type: integer secrets: type: array - items: &800 + items: &801 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112355,7 +112602,7 @@ paths: - visibility - selected_repositories_url examples: - default: *563 + default: *564 headers: Link: *47 x-github: @@ -112431,7 +112678,7 @@ paths: description: Response content: application/json: - schema: *800 + schema: *801 examples: default: value: @@ -112577,7 +112824,7 @@ paths: type: array items: *284 examples: - default: *801 + default: *802 '401': *25 '403': *29 '404': *6 @@ -112729,7 +112976,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '304': *37 '500': *40 '401': *25 @@ -112787,7 +113034,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '401': *25 '403': *29 '404': *6 @@ -112844,7 +113091,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &803 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112885,7 +113132,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &803 + default: &804 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112930,9 +113177,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *803 examples: - default: *803 + default: *804 '404': *6 x-github: githubCloudOnly: false @@ -112969,9 +113216,9 @@ paths: type: integer machines: type: array - items: *804 + items: *805 examples: - default: *805 + default: *806 '304': *37 '500': *40 '401': *25 @@ -113050,13 +113297,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *461 + repository: *462 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *561 - required: *562 + properties: *562 + required: *563 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -113838,7 +114085,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '304': *37 '500': *40 '400': *14 @@ -113878,7 +114125,7 @@ paths: application/json: schema: *376 examples: - default: *560 + default: *561 '500': *40 '401': *25 '403': *29 @@ -113910,7 +114157,7 @@ paths: type: array items: *387 examples: - default: &816 + default: &817 value: - id: 197 name: hello_docker @@ -114011,7 +114258,7 @@ paths: application/json: schema: type: array - items: &806 + items: &807 title: Email description: Email type: object @@ -114076,9 +114323,9 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: - default: &818 + default: &819 value: - email: octocat@github.com verified: true @@ -114153,7 +114400,7 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: default: value: @@ -114409,7 +114656,7 @@ paths: application/json: schema: type: array - items: &807 + items: &808 title: GPG Key description: A unique encryption key type: object @@ -114540,7 +114787,7 @@ paths: - subkeys - revoked examples: - default: &832 + default: &835 value: - id: 3 name: Octocat's GPG Key @@ -114625,9 +114872,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: &808 + default: &809 value: id: 3 name: Octocat's GPG Key @@ -114684,7 +114931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &809 + - &810 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114696,9 +114943,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *808 examples: - default: *808 + default: *809 '404': *6 '304': *37 '403': *29 @@ -114721,7 +114968,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *809 + - *810 responses: '204': description: Response @@ -115026,7 +115273,7 @@ paths: required: true content: application/json: - schema: *646 + schema: *647 examples: default: value: @@ -115176,7 +115423,7 @@ paths: application/json: schema: type: array - items: &810 + items: &811 title: Key description: Key type: object @@ -115277,9 +115524,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *811 examples: - default: &811 + default: &812 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115312,15 +115559,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *677 + - *678 responses: '200': description: Response content: application/json: - schema: *810 + schema: *811 examples: - default: *811 + default: *812 '404': *6 '304': *37 '403': *29 @@ -115343,7 +115590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *677 + - *678 responses: '204': description: Response @@ -115376,7 +115623,7 @@ paths: application/json: schema: type: array - items: &812 + items: &813 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115444,7 +115691,7 @@ paths: - account - plan examples: - default: &813 + default: &814 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115506,9 +115753,9 @@ paths: application/json: schema: type: array - items: *812 + items: *813 examples: - default: *813 + default: *814 headers: Link: *47 '304': *37 @@ -116517,7 +116764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - *382 - - *814 + - *815 responses: '204': description: Response @@ -116632,7 +116879,7 @@ paths: - docker - nuget - container - - *815 + - *816 - *19 - *17 responses: @@ -116644,8 +116891,8 @@ paths: type: array items: *387 examples: - default: *816 - '400': *817 + default: *817 + '400': *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116674,7 +116921,7 @@ paths: application/json: schema: *387 examples: - default: &833 + default: &836 value: id: 40201 name: octo-name @@ -117036,9 +117283,9 @@ paths: application/json: schema: type: array - items: *806 + items: *807 examples: - default: *818 + default: *819 headers: Link: *47 '304': *37 @@ -117151,7 +117398,7 @@ paths: type: array items: *78 examples: - default: &825 + default: &826 summary: Default response value: - id: 1296269 @@ -117455,9 +117702,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: - default: *463 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117495,9 +117742,9 @@ paths: application/json: schema: type: array - items: *648 + items: *649 examples: - default: *819 + default: *820 headers: Link: *47 '304': *37 @@ -117576,7 +117823,7 @@ paths: application/json: schema: type: array - items: &820 + items: &821 title: Social account description: Social media account type: object @@ -117591,7 +117838,7 @@ paths: - provider - url examples: - default: &821 + default: &822 value: - provider: twitter url: https://twitter.com/github @@ -117653,9 +117900,9 @@ paths: application/json: schema: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 '422': *15 '304': *37 '404': *6 @@ -117742,7 +117989,7 @@ paths: application/json: schema: type: array - items: &822 + items: &823 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117762,7 +118009,7 @@ paths: - title - created_at examples: - default: &847 + default: &850 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117826,9 +118073,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *823 examples: - default: &823 + default: &824 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -117858,7 +118105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &824 + - &825 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117870,9 +118117,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *823 examples: - default: *823 + default: *824 '404': *6 '304': *37 '403': *29 @@ -117895,7 +118142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *824 + - *825 responses: '204': description: Response @@ -117924,7 +118171,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &848 + - &851 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -117949,11 +118196,11 @@ paths: type: array items: *78 examples: - default-response: *825 + default-response: *826 application/vnd.github.v3.star+json: schema: type: array - items: &849 + items: &852 title: Starred Repository description: Starred Repository type: object @@ -118109,8 +118356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *456 - *457 + - *458 responses: '204': description: Response if this repository is starred by you @@ -118138,8 +118385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -118163,8 +118410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *456 - *457 + - *458 responses: '204': description: Response @@ -118236,7 +118483,7 @@ paths: application/json: schema: type: array - items: *449 + items: *450 examples: default: value: @@ -118322,10 +118569,10 @@ paths: application/json: schema: oneOf: + - *800 - *799 - - *798 examples: - default-response: &827 + default-response: &830 summary: Default response value: login: octocat @@ -118360,7 +118607,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &828 + response-with-git-hub-plan-information: &831 summary: Response with GitHub plan information value: login: octocat @@ -118417,7 +118664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - name: user_id + - &828 + name: user_id description: The unique identifier of the user. in: path required: true @@ -118482,7 +118730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *826 + - *827 - *17 responses: '200': @@ -118505,6 +118753,116 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - *828 + - *405 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: *829 + examples: + table_view: + summary: Response for creating a table view + value: *416 + board_view: + summary: Response for creating a board view with filter + value: *416 + roadmap_view: + summary: Response for creating a roadmap view + value: *416 + '304': *37 + '403': *29 + '401': *25 + '404': *6 + '422': *15 + '503': + description: Service unavailable + content: + application/json: + schema: *3 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -118531,11 +118889,11 @@ paths: application/json: schema: oneOf: + - *800 - *799 - - *798 examples: - default-response: *827 - response-with-git-hub-plan-information: *828 + default-response: *830 + response-with-git-hub-plan-information: *831 '404': *6 x-github: githubCloudOnly: false @@ -118585,8 +118943,8 @@ paths: required: - subject_digests examples: - default: *829 - withPredicateType: *830 + default: *832 + withPredicateType: *833 responses: '200': description: Response @@ -118639,7 +118997,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *831 + default: *834 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118844,7 +119202,7 @@ paths: initiator: type: string examples: - default: *503 + default: *504 '201': description: Response content: @@ -118885,7 +119243,7 @@ paths: type: array items: *387 examples: - default: *816 + default: *817 '403': *29 '401': *25 x-github: @@ -119269,9 +119627,9 @@ paths: application/json: schema: type: array - items: *807 + items: *808 examples: - default: *832 + default: *835 headers: Link: *47 x-github: @@ -119375,7 +119733,7 @@ paths: application/json: schema: *22 examples: - default: *645 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119499,7 +119857,7 @@ paths: - docker - nuget - container - - *815 + - *816 - *143 - *19 - *17 @@ -119512,10 +119870,10 @@ paths: type: array items: *387 examples: - default: *816 + default: *817 '403': *29 '401': *25 - '400': *817 + '400': *818 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119545,7 +119903,7 @@ paths: application/json: schema: *387 examples: - default: *833 + default: *836 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119894,7 +120252,7 @@ paths: type: array items: *409 examples: - default: *834 + default: *837 headers: Link: *47 '304': *37 @@ -119954,7 +120312,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *835 + items: *838 required: - name - data_type @@ -119970,7 +120328,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *836 + iteration_configuration: *839 required: - name - data_type @@ -119992,8 +120350,8 @@ paths: value: name: Due date data_type: date - single_select_field: *837 - iteration_field: *838 + single_select_field: *840 + iteration_field: *841 responses: '201': description: Response @@ -120001,11 +120359,11 @@ paths: application/json: schema: *409 examples: - text_field: *839 - number_field: *840 - date_field: *841 - single_select_field: *842 - iteration_field: *843 + text_field: *842 + number_field: *843 + date_field: *844 + single_select_field: *845 + iteration_field: *846 '304': *37 '403': *29 '401': *25 @@ -120027,7 +120385,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *405 - - *844 + - *847 - *143 responses: '200': @@ -120036,7 +120394,7 @@ paths: application/json: schema: *409 examples: - default: *845 + default: *848 headers: Link: *47 '304': *37 @@ -120390,7 +120748,7 @@ paths: parameters: - *405 - *143 - - *846 + - *849 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -120669,9 +121027,9 @@ paths: application/json: schema: type: array - items: *820 + items: *821 examples: - default: *821 + default: *822 headers: Link: *47 x-github: @@ -120701,9 +121059,9 @@ paths: application/json: schema: type: array - items: *822 + items: *823 examples: - default: *847 + default: *850 headers: Link: *47 x-github: @@ -120728,7 +121086,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *143 - - *848 + - *851 - *110 - *17 - *19 @@ -120740,11 +121098,11 @@ paths: schema: anyOf: - type: array - items: *849 + items: *852 - type: array items: *78 examples: - default-response: *825 + default-response: *826 headers: Link: *47 x-github: @@ -120903,7 +121261,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &850 + enterprise: &853 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120961,7 +121319,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &851 + installation: &854 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120980,7 +121338,7 @@ x-webhooks: required: - id - node_id - organization: &852 + organization: &855 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -121040,13 +121398,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &853 + repository: &856 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &890 + properties: &893 id: description: Unique identifier of the repository example: 42 @@ -121729,7 +122087,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &891 + required: &894 - archive_url - assignees_url - blobs_url @@ -121880,10 +122238,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -121959,11 +122317,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: &854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: &857 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -122186,11 +122544,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: *854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: *857 sender: *4 required: - action @@ -122373,11 +122731,11 @@ x-webhooks: - everyone required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - rule: *854 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + rule: *857 sender: *4 required: - action @@ -122450,7 +122808,7 @@ x-webhooks: required: true content: application/json: - schema: &874 + schema: &877 title: Exemption request cancellation event type: object properties: @@ -122458,11 +122816,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: &855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: &858 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -122731,7 +123089,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &856 + items: &859 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -122841,7 +123199,7 @@ x-webhooks: required: true content: application/json: - schema: &875 + schema: &878 title: Exemption request completed event type: object properties: @@ -122849,11 +123207,11 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 sender: *4 required: - action @@ -122925,7 +123283,7 @@ x-webhooks: required: true content: application/json: - schema: &872 + schema: &875 title: Exemption request created event type: object properties: @@ -122933,11 +123291,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 sender: *4 required: - action @@ -123009,7 +123367,7 @@ x-webhooks: required: true content: application/json: - schema: &876 + schema: &879 title: Exemption response dismissed event type: object properties: @@ -123017,12 +123375,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 - exemption_response: *856 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 + exemption_response: *859 sender: *4 required: - action @@ -123096,7 +123454,7 @@ x-webhooks: required: true content: application/json: - schema: &873 + schema: &876 title: Exemption response submitted event type: object properties: @@ -123104,12 +123462,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - exemption_request: *855 - exemption_response: *856 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + exemption_request: *858 + exemption_response: *859 sender: *4 required: - action @@ -123193,7 +123551,7 @@ x-webhooks: type: string enum: - completed - check_run: &858 + check_run: &861 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123284,7 +123642,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *857 + deployment: *860 details_url: example: https://example.com type: string @@ -123369,10 +123727,10 @@ x-webhooks: - output - app - pull_requests - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -123765,11 +124123,11 @@ x-webhooks: type: string enum: - created - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -124165,11 +124523,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 requested_action: description: The action requested by the user. type: object @@ -124574,11 +124932,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *858 - installation: *851 - enterprise: *850 - organization: *852 - repository: *853 + check_run: *861 + installation: *854 + enterprise: *853 + organization: *855 + repository: *856 sender: *4 required: - check_run @@ -125555,10 +125913,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -126252,10 +126610,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -126943,10 +127301,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -127112,7 +127470,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127257,20 +127615,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &859 + commit_oid: &862 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *850 - installation: *851 - organization: *852 - ref: &860 + enterprise: *853 + installation: *854 + organization: *855 + ref: &863 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -127435,7 +127793,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127665,12 +128023,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -127765,7 +128123,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127936,12 +128294,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128107,7 +128465,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128273,12 +128631,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128377,7 +128735,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128552,16 +128910,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *853 + repository: *856 sender: *4 required: - action @@ -128658,7 +129016,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128798,12 +129156,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *859 - enterprise: *850 - installation: *851 - organization: *852 - ref: *860 - repository: *853 + commit_oid: *862 + enterprise: *853 + installation: *854 + organization: *855 + ref: *863 + repository: *856 sender: *4 required: - action @@ -128969,7 +129327,7 @@ x-webhooks: required: - login - id - dismissed_comment: *532 + dismissed_comment: *533 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129114,10 +129472,10 @@ x-webhooks: - dismissed_reason - rule - tool - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -129372,10 +129730,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -129455,18 +129813,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *852 - pusher_type: &861 + organization: *855 + pusher_type: &864 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &862 + ref: &865 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129476,7 +129834,7 @@ x-webhooks: enum: - tag - branch - repository: *853 + repository: *856 sender: *4 required: - ref @@ -129559,9 +129917,9 @@ x-webhooks: enum: - created definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129646,9 +130004,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129726,9 +130084,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129806,9 +130164,9 @@ x-webhooks: enum: - updated definition: *157 - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -129885,10 +130243,10 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - repository: *853 - organization: *852 + enterprise: *853 + installation: *854 + repository: *856 + organization: *855 sender: *4 new_property_values: type: array @@ -129973,18 +130331,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - pusher_type: *861 - ref: *862 + enterprise: *853 + installation: *854 + organization: *855 + pusher_type: *864 + ref: *865 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *853 + repository: *856 sender: *4 required: - ref @@ -130068,11 +130426,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130156,11 +130514,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130244,11 +130602,11 @@ x-webhooks: type: string enum: - created - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130330,11 +130688,11 @@ x-webhooks: type: string enum: - dismissed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130416,11 +130774,11 @@ x-webhooks: type: string enum: - fixed - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130503,11 +130861,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130589,11 +130947,11 @@ x-webhooks: type: string enum: - reopened - alert: *594 - installation: *851 - organization: *852 - enterprise: *850 - repository: *853 + alert: *595 + installation: *854 + organization: *855 + enterprise: *853 + repository: *856 sender: *4 required: - action @@ -130670,9 +131028,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - key: &863 + enterprise: *853 + installation: *854 + key: &866 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130708,8 +131066,8 @@ x-webhooks: - verified - created_at - read_only - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -130786,11 +131144,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - key: *863 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + key: *866 + organization: *855 + repository: *856 sender: *4 required: - action @@ -131351,12 +131709,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: &867 + workflow: &870 title: Workflow type: object nullable: true @@ -132082,13 +132440,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *600 + deployment: *601 pull_requests: type: array - items: *698 - repository: *853 - organization: *852 - installation: *851 + items: *699 + repository: *856 + organization: *855 + installation: *854 sender: *4 responses: '200': @@ -132159,7 +132517,7 @@ x-webhooks: type: string enum: - approved - approver: &864 + approver: &867 type: object properties: avatar_url: @@ -132202,11 +132560,11 @@ x-webhooks: type: string comment: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - reviewers: &865 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + reviewers: &868 type: array items: type: object @@ -132285,7 +132643,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &866 + workflow_job_run: &869 type: object properties: conclusion: @@ -133016,18 +133374,18 @@ x-webhooks: type: string enum: - rejected - approver: *864 + approver: *867 comment: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - reviewers: *865 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + reviewers: *868 sender: *4 since: type: string - workflow_job_run: *866 + workflow_job_run: *869 workflow_job_runs: type: array items: @@ -133731,13 +134089,13 @@ x-webhooks: type: string enum: - requested - enterprise: *850 + enterprise: *853 environment: type: string - installation: *851 - organization: *852 - repository: *853 - requestor: &877 + installation: *854 + organization: *855 + repository: *856 + requestor: &880 title: User type: object nullable: true @@ -135636,12 +135994,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Deployment Workflow Run type: object @@ -136321,7 +136679,7 @@ x-webhooks: type: string enum: - answered - answer: &870 + answer: &873 type: object properties: author_association: @@ -136478,11 +136836,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136609,11 +136967,11 @@ x-webhooks: - from required: - category - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136696,11 +137054,11 @@ x-webhooks: type: string enum: - closed - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -136782,7 +137140,7 @@ x-webhooks: type: string enum: - created - comment: &869 + comment: &872 type: object properties: author_association: @@ -136939,11 +137297,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137026,12 +137384,12 @@ x-webhooks: type: string enum: - deleted - comment: *869 - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + comment: *872 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137126,12 +137484,12 @@ x-webhooks: - from required: - body - comment: *869 - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + comment: *872 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137215,11 +137573,11 @@ x-webhooks: type: string enum: - created - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137301,11 +137659,11 @@ x-webhooks: type: string enum: - deleted - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137405,11 +137763,11 @@ x-webhooks: type: string required: - from - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137491,10 +137849,10 @@ x-webhooks: type: string enum: - labeled - discussion: *868 - enterprise: *850 - installation: *851 - label: &871 + discussion: *871 + enterprise: *853 + installation: *854 + label: &874 title: Label type: object properties: @@ -137526,8 +137884,8 @@ x-webhooks: - color - default - description - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137610,11 +137968,11 @@ x-webhooks: type: string enum: - locked - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137696,11 +138054,11 @@ x-webhooks: type: string enum: - pinned - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137782,11 +138140,11 @@ x-webhooks: type: string enum: - reopened - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137871,16 +138229,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *868 - new_repository: *853 + new_discussion: *871 + new_repository: *856 required: - new_discussion - new_repository - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -137963,10 +138321,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *868 - old_answer: *870 - organization: *852 - repository: *853 + discussion: *871 + old_answer: *873 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138048,12 +138406,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *868 - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138136,11 +138494,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138222,11 +138580,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *868 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + discussion: *871 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -138295,7 +138653,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138358,7 +138716,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138421,7 +138779,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138484,7 +138842,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138547,7 +138905,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138613,7 +138971,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138679,7 +139037,7 @@ x-webhooks: required: true content: application/json: - schema: *875 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138745,7 +139103,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138811,7 +139169,7 @@ x-webhooks: required: true content: application/json: - schema: *876 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138877,7 +139235,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138942,7 +139300,7 @@ x-webhooks: required: true content: application/json: - schema: *874 + schema: *877 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139007,7 +139365,7 @@ x-webhooks: required: true content: application/json: - schema: *875 + schema: *878 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139072,7 +139430,7 @@ x-webhooks: required: true content: application/json: - schema: *872 + schema: *875 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139137,7 +139495,7 @@ x-webhooks: required: true content: application/json: - schema: *876 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139203,7 +139561,7 @@ x-webhooks: required: true content: application/json: - schema: *873 + schema: *876 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139270,7 +139628,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *850 + enterprise: *853 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139930,9 +140288,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - forkee @@ -140078,9 +140436,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pages: description: The pages that were updated. type: array @@ -140117,7 +140475,7 @@ x-webhooks: - action - sha - html_url - repository: *853 + repository: *856 sender: *4 required: - pages @@ -140193,10 +140551,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: &878 + organization: *855 + repositories: &881 description: An array of repository objects that the installation can access. type: array @@ -140222,8 +140580,8 @@ x-webhooks: - name - full_name - private - repository: *853 - requester: *877 + repository: *856 + requester: *880 sender: *4 required: - action @@ -140298,11 +140656,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140378,11 +140736,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140458,10 +140816,10 @@ x-webhooks: type: string enum: - added - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories_added: &879 + organization: *855 + repositories_added: &882 description: An array of repository objects, which were added to the installation. type: array @@ -140507,15 +140865,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *853 - repository_selection: &880 + repository: *856 + repository_selection: &883 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *877 + requester: *880 sender: *4 required: - action @@ -140594,10 +140952,10 @@ x-webhooks: type: string enum: - removed - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories_added: *879 + organization: *855 + repositories_added: *882 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140624,9 +140982,9 @@ x-webhooks: - name - full_name - private - repository: *853 - repository_selection: *880 - requester: *877 + repository: *856 + repository_selection: *883 + requester: *880 sender: *4 required: - action @@ -140705,11 +141063,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -140888,10 +141246,10 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 target_type: type: string @@ -140970,11 +141328,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *850 + enterprise: *853 installation: *22 - organization: *852 - repositories: *878 - repository: *853 + organization: *855 + repositories: *881 + repository: *856 requester: nullable: true sender: *4 @@ -141226,8 +141584,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142021,8 +142379,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142371,8 +142729,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -142452,7 +142810,7 @@ x-webhooks: type: string enum: - deleted - comment: &881 + comment: &884 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142617,8 +142975,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143408,8 +143766,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143760,8 +144118,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -143841,7 +144199,7 @@ x-webhooks: type: string enum: - edited - changes: &910 + changes: &913 description: The changes to the comment. type: object properties: @@ -143853,9 +144211,9 @@ x-webhooks: type: string required: - from - comment: *881 - enterprise: *850 - installation: *851 + comment: *884 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144648,8 +145006,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144998,8 +145356,8 @@ x-webhooks: - state - locked - assignee - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145089,9 +145447,9 @@ x-webhooks: type: number blocking_issue: *221 blocking_issue_repo: *78 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145180,9 +145538,9 @@ x-webhooks: type: number blocking_issue: *221 blocking_issue_repo: *78 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145270,9 +145628,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145361,9 +145719,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -145443,10 +145801,10 @@ x-webhooks: type: string enum: - assigned - assignee: *877 - enterprise: *850 - installation: *851 - issue: &884 + assignee: *880 + enterprise: *853 + installation: *854 + issue: &887 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146235,11 +146593,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146356,8 +146714,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -146437,8 +146795,8 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147232,11 +147590,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147488,8 +147846,8 @@ x-webhooks: required: - state - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -147568,8 +147926,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148354,11 +148712,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148474,8 +148832,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -148554,8 +148912,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149362,11 +149720,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149461,7 +149819,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &882 + milestone: &885 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149599,8 +149957,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -149699,8 +150057,8 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150489,11 +150847,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150610,9 +150968,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *871 - organization: *852 - repository: *853 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -150692,8 +151050,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151481,11 +151839,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151602,9 +151960,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *871 - organization: *852 - repository: *853 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -151684,8 +152042,8 @@ x-webhooks: type: string enum: - locked - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152497,11 +152855,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152595,8 +152953,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -152675,8 +153033,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153482,11 +153840,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153580,9 +153938,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *882 - organization: *852 - repository: *853 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -154450,11 +154808,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155016,8 +155374,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155806,11 +156164,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155926,8 +156284,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -156007,9 +156365,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *850 - installation: *851 - issue: &883 + enterprise: *853 + installation: *854 + issue: &886 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -156792,11 +157150,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156912,8 +157270,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -156992,8 +157350,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157803,11 +158161,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157902,8 +158260,8 @@ x-webhooks: user_view_type: type: string type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -158769,11 +159127,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159357,11 +159715,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *850 - installation: *851 - issue: *883 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *886 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159441,12 +159799,12 @@ x-webhooks: type: string enum: - typed - enterprise: *850 - installation: *851 - issue: *884 + enterprise: *853 + installation: *854 + issue: *887 type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159527,7 +159885,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &913 + assignee: &916 title: User type: object nullable: true @@ -159597,11 +159955,11 @@ x-webhooks: required: - login - id - enterprise: *850 - installation: *851 - issue: *884 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *887 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159680,12 +160038,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *850 - installation: *851 - issue: *884 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *887 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -159765,8 +160123,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160576,11 +160934,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *790 - issue_dependencies_summary: *791 + sub_issues_summary: *791 + issue_dependencies_summary: *792 issue_field_values: type: array - items: *792 + items: *793 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160674,8 +161032,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160755,11 +161113,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *850 - installation: *851 - issue: *883 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + issue: *886 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160838,12 +161196,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *850 - installation: *851 - issue: *884 + enterprise: *853 + installation: *854 + issue: *887 type: *371 - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -160923,11 +161281,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161005,11 +161363,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161119,11 +161477,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - label: *871 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + label: *874 + organization: *855 + repository: *856 sender: *4 required: - action @@ -161205,9 +161563,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: &885 + enterprise: *853 + installation: *854 + marketplace_purchase: &888 title: Marketplace Purchase type: object required: @@ -161290,8 +161648,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *852 - previous_marketplace_purchase: &886 + organization: *855 + previous_marketplace_purchase: &889 title: Marketplace Purchase type: object properties: @@ -161371,7 +161729,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161451,10 +161809,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161537,7 +161895,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161619,10 +161977,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161704,7 +162062,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *853 + repository: *856 sender: *4 required: - action @@ -161785,8 +162143,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 marketplace_purchase: title: Marketplace Purchase type: object @@ -161868,9 +162226,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *852 - previous_marketplace_purchase: *886 - repository: *853 + organization: *855 + previous_marketplace_purchase: *889 + repository: *856 sender: *4 required: - action @@ -161950,12 +162308,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *850 - installation: *851 - marketplace_purchase: *885 - organization: *852 - previous_marketplace_purchase: *886 - repository: *853 + enterprise: *853 + installation: *854 + marketplace_purchase: *888 + organization: *855 + previous_marketplace_purchase: *889 + repository: *856 sender: *4 required: - action @@ -162057,11 +162415,11 @@ x-webhooks: type: string required: - to - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162161,11 +162519,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162244,11 +162602,11 @@ x-webhooks: type: string enum: - removed - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162326,11 +162684,11 @@ x-webhooks: type: string enum: - added - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162406,7 +162764,7 @@ x-webhooks: required: - login - id - team: &887 + team: &890 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162629,11 +162987,11 @@ x-webhooks: type: string enum: - removed - enterprise: *850 - installation: *851 - member: *877 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + member: *880 + organization: *855 + repository: *856 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162710,7 +163068,7 @@ x-webhooks: required: - login - id - team: *887 + team: *890 required: - action - scope @@ -162792,8 +163150,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *851 - merge_group: &889 + installation: *854 + merge_group: &892 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162812,15 +163170,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *888 + head_commit: *891 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162906,10 +163264,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *851 - merge_group: *889 - organization: *852 - repository: *853 + installation: *854 + merge_group: *892 + organization: *855 + repository: *856 sender: *4 required: - action @@ -162982,7 +163340,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 + enterprise: *853 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163091,16 +163449,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *851 - organization: *852 + installation: *854 + organization: *855 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -163181,11 +163539,11 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163264,9 +163622,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - milestone: &892 + enterprise: *853 + installation: *854 + milestone: &895 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163403,8 +163761,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163483,11 +163841,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163597,11 +163955,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - milestone: *882 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *885 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163681,11 +164039,11 @@ x-webhooks: type: string enum: - opened - enterprise: *850 - installation: *851 - milestone: *892 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + milestone: *895 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163764,11 +164122,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *877 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + blocked_user: *880 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163847,11 +164205,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *877 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + blocked_user: *880 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -163927,7 +164285,7 @@ x-webhooks: enum: - created definition: *151 - enterprise: *850 + enterprise: *853 sender: *4 required: - action @@ -164007,8 +164365,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 sender: *4 required: - action @@ -164081,8 +164439,8 @@ x-webhooks: enum: - updated definition: *151 - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 sender: *4 required: - action @@ -164154,9 +164512,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 new_property_values: type: array @@ -164244,9 +164602,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - membership: &893 + enterprise: *853 + installation: *854 + membership: &896 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164353,8 +164711,8 @@ x-webhooks: - role - organization_url - user - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164432,11 +164790,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164515,8 +164873,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164632,10 +164990,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 - user: *877 + user: *880 required: - action - invitation @@ -164713,11 +165071,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164804,11 +165162,11 @@ x-webhooks: properties: from: type: string - enterprise: *850 - installation: *851 - membership: *893 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + membership: *896 + organization: *855 + repository: *856 sender: *4 required: - action @@ -164884,9 +165242,9 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 package: description: Information about the package. type: object @@ -165385,7 +165743,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &894 + items: &897 title: Ruby Gems metadata type: object properties: @@ -165480,7 +165838,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -165556,9 +165914,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 package: description: Information about the package. type: object @@ -165911,7 +166269,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *897 source_url: type: string format: uri @@ -165981,7 +166339,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -166158,12 +166516,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *850 + enterprise: *853 id: type: integer - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - id @@ -166240,7 +166598,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &895 + personal_access_token_request: &898 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166386,10 +166744,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *850 - organization: *852 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166466,11 +166824,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *895 - enterprise: *850 - organization: *852 + personal_access_token_request: *898 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166546,11 +166904,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *895 - enterprise: *850 - organization: *852 + personal_access_token_request: *898 + enterprise: *853 + organization: *855 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166625,11 +166983,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *895 - organization: *852 - enterprise: *850 + personal_access_token_request: *898 + organization: *855 + enterprise: *853 sender: *4 - installation: *851 + installation: *854 required: - action - personal_access_token_request @@ -166734,7 +167092,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *896 + last_response: *899 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166766,8 +167124,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 zen: description: Random string of GitHub zen. @@ -167012,10 +167370,10 @@ x-webhooks: - from required: - note - enterprise: *850 - installation: *851 - organization: *852 - project_card: &897 + enterprise: *853 + installation: *854 + organization: *855 + project_card: &900 title: Project Card type: object properties: @@ -167134,7 +167492,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -167215,11 +167573,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project_card: *897 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_card: *900 + repository: *856 sender: *4 required: - action @@ -167299,9 +167657,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 project_card: title: Project Card type: object @@ -167429,8 +167787,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -167524,11 +167882,11 @@ x-webhooks: - from required: - note - enterprise: *850 - installation: *851 - organization: *852 - project_card: *897 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_card: *900 + repository: *856 sender: *4 required: - action @@ -167622,9 +167980,9 @@ x-webhooks: - from required: - column_id - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 project_card: allOf: - title: Project Card @@ -167814,7 +168172,7 @@ x-webhooks: type: string required: - after_id - repository: *853 + repository: *856 sender: *4 required: - action @@ -167894,10 +168252,10 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - organization: *852 - project: &899 + enterprise: *853 + installation: *854 + organization: *855 + project: &902 title: Project type: object properties: @@ -168021,7 +168379,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -168101,10 +168459,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project_column: &898 + enterprise: *853 + installation: *854 + organization: *855 + project_column: &901 title: Project Column type: object properties: @@ -168143,7 +168501,7 @@ x-webhooks: - name - created_at - updated_at - repository: *853 + repository: *856 sender: *4 required: - action @@ -168222,18 +168580,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -168323,11 +168681,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 + repository: *856 sender: *4 required: - action @@ -168407,11 +168765,11 @@ x-webhooks: type: string enum: - moved - enterprise: *850 - installation: *851 - organization: *852 - project_column: *898 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project_column: *901 + repository: *856 sender: *4 required: - action @@ -168491,11 +168849,11 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168575,18 +168933,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - project: *899 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *890 - required: *891 + properties: *893 + required: *894 nullable: true sender: *4 required: @@ -168688,11 +169046,11 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168771,11 +169129,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 - organization: *852 - project: *899 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + project: *902 + repository: *856 sender: *4 required: - action @@ -168856,8 +169214,8 @@ x-webhooks: type: string enum: - closed - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -168939,8 +169297,8 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169022,8 +169380,8 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169141,8 +169499,8 @@ x-webhooks: type: string to: type: string - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -169226,7 +169584,7 @@ x-webhooks: type: string enum: - archived - changes: &903 + changes: &906 type: object properties: archived_at: @@ -169240,9 +169598,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *851 - organization: *852 - projects_v2_item: &900 + installation: *854 + organization: *855 + projects_v2_item: &903 title: Projects v2 Item description: An item belonging to a project type: object @@ -169377,9 +169735,9 @@ x-webhooks: nullable: true to: type: string - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169461,9 +169819,9 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169544,9 +169902,9 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169652,7 +170010,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &901 + - &904 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169674,7 +170032,7 @@ x-webhooks: required: - id - name - - &902 + - &905 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169708,8 +170066,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *901 - - *902 + - *904 + - *905 required: - field_value - type: object @@ -169725,9 +170083,9 @@ x-webhooks: nullable: true required: - body - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169822,9 +170180,9 @@ x-webhooks: to: type: string nullable: true - installation: *851 - organization: *852 - projects_v2_item: *900 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169907,10 +170265,10 @@ x-webhooks: type: string enum: - restored - changes: *903 - installation: *851 - organization: *852 - projects_v2_item: *900 + changes: *906 + installation: *854 + organization: *855 + projects_v2_item: *903 sender: *4 required: - action @@ -169992,8 +170350,8 @@ x-webhooks: type: string enum: - reopened - installation: *851 - organization: *852 + installation: *854 + organization: *855 projects_v2: *403 sender: *4 required: @@ -170075,14 +170433,14 @@ x-webhooks: type: string enum: - created - installation: *851 - organization: *852 - projects_v2_status_update: &906 + installation: *854 + organization: *855 + projects_v2_status_update: &909 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *904 - required: *905 + properties: *907 + required: *908 sender: *4 required: - action @@ -170163,9 +170521,9 @@ x-webhooks: type: string enum: - deleted - installation: *851 - organization: *852 - projects_v2_status_update: *906 + installation: *854 + organization: *855 + projects_v2_status_update: *909 sender: *4 required: - action @@ -170301,9 +170659,9 @@ x-webhooks: type: string format: date nullable: true - installation: *851 - organization: *852 - projects_v2_status_update: *906 + installation: *854 + organization: *855 + projects_v2_status_update: *909 sender: *4 required: - action @@ -170374,10 +170732,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - repository @@ -170454,13 +170812,13 @@ x-webhooks: type: string enum: - assigned - assignee: *877 - enterprise: *850 - installation: *851 - number: &907 + assignee: *880 + enterprise: *853 + installation: *854 + number: &910 description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -172743,7 +173101,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -172825,11 +173183,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -175107,7 +175465,7 @@ x-webhooks: - draft reason: type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -175189,11 +175547,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -177471,7 +177829,7 @@ x-webhooks: - draft reason: type: string - repository: *853 + repository: *856 sender: *4 required: - action @@ -177553,13 +177911,13 @@ x-webhooks: type: string enum: - closed - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: &908 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: &911 allOf: - - *698 + - *699 - type: object properties: allow_auto_merge: @@ -177621,7 +177979,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *853 + repository: *856 sender: *4 required: - action @@ -177702,12 +178060,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -177787,11 +178145,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *850 - milestone: *680 - number: *907 - organization: *852 - pull_request: &909 + enterprise: *853 + milestone: *681 + number: *910 + organization: *855 + pull_request: &912 title: Pull Request type: object properties: @@ -180054,7 +180412,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -180133,11 +180491,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -182419,7 +182777,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *853 + repository: *856 sender: *4 required: - action @@ -182543,12 +182901,12 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -182628,11 +182986,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -184899,7 +185257,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -184979,11 +185337,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *850 - installation: *851 - label: *871 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + label: *874 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -187265,7 +187623,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -187346,10 +187704,10 @@ x-webhooks: type: string enum: - locked - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -189629,7 +189987,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -189709,12 +190067,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *850 - milestone: *680 - number: *907 - organization: *852 - pull_request: *909 - repository: *853 + enterprise: *853 + milestone: *681 + number: *910 + organization: *855 + pull_request: *912 + repository: *856 sender: *4 required: - action @@ -189793,12 +190151,12 @@ x-webhooks: type: string enum: - opened - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -189879,12 +190237,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -189964,12 +190322,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *850 - installation: *851 - number: *907 - organization: *852 - pull_request: *908 - repository: *853 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 + pull_request: *911 + repository: *856 sender: *4 required: - action @@ -190335,9 +190693,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -192507,7 +192865,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -192587,7 +192945,7 @@ x-webhooks: type: string enum: - deleted - comment: &911 + comment: &914 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -192872,9 +193230,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -195032,7 +195390,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -195112,11 +195470,11 @@ x-webhooks: type: string enum: - edited - changes: *910 - comment: *911 - enterprise: *850 - installation: *851 - organization: *852 + changes: *913 + comment: *914 + enterprise: *853 + installation: *854 + organization: *855 pull_request: type: object properties: @@ -197277,7 +197635,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *853 + repository: *856 sender: *4 required: - action @@ -197358,9 +197716,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -199533,7 +199891,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 review: description: The review that was affected. type: object @@ -199780,9 +200138,9 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -201836,8 +202194,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 - review: &912 + repository: *856 + review: &915 description: The review that was affected. type: object properties: @@ -202070,12 +202428,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -204358,7 +204716,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_reviewer: title: User type: object @@ -204442,12 +204800,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -206737,7 +207095,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206929,12 +207287,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -209219,7 +209577,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_reviewer: title: User type: object @@ -209304,12 +209662,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *850 - installation: *851 + enterprise: *853 + installation: *854 number: description: The pull request number. type: integer - organization: *852 + organization: *855 pull_request: title: Pull Request type: object @@ -211585,7 +211943,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211766,9 +212124,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -213943,8 +214301,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 - review: *912 + repository: *856 + review: *915 sender: *4 required: - action @@ -214024,9 +214382,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -216096,7 +216454,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 sender: *4 thread: type: object @@ -216483,9 +216841,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 pull_request: title: Simple Pull Request type: object @@ -218541,7 +218899,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *853 + repository: *856 sender: *4 thread: type: object @@ -218931,10 +219289,10 @@ x-webhooks: type: string before: type: string - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -221205,7 +221563,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -221287,11 +221645,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *913 - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + assignee: *916 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -223574,7 +223932,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -223653,11 +224011,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *850 - installation: *851 - label: *871 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + label: *874 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -225930,7 +226288,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -226011,10 +226369,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *850 - installation: *851 - number: *907 - organization: *852 + enterprise: *853 + installation: *854 + number: *910 + organization: *855 pull_request: title: Pull Request type: object @@ -228279,7 +228637,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *853 + repository: *856 sender: *4 required: - action @@ -228479,7 +228837,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *850 + enterprise: *853 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228571,8 +228929,8 @@ x-webhooks: - url - author - committer - installation: *851 - organization: *852 + installation: *854 + organization: *855 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229147,9 +229505,9 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 registry_package: type: object properties: @@ -229595,7 +229953,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *894 + items: *897 summary: type: string tag_name: @@ -229649,7 +230007,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -229727,9 +230085,9 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 registry_package: type: object properties: @@ -230037,7 +230395,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *897 summary: type: string tag_name: @@ -230086,7 +230444,7 @@ x-webhooks: - owner - package_version - registry - repository: *853 + repository: *856 sender: *4 required: - action @@ -230163,10 +230521,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - release: &914 + enterprise: *853 + installation: *854 + organization: *855 + release: &917 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -230484,7 +230842,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *853 + repository: *856 sender: *4 required: - action @@ -230561,11 +230919,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -230682,11 +231040,11 @@ x-webhooks: type: boolean required: - to - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -230764,9 +231122,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -231088,7 +231446,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *853 + repository: *856 sender: *4 required: - action @@ -231164,10 +231522,10 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - release: &915 + enterprise: *853 + installation: *854 + organization: *855 + release: &918 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231486,7 +231844,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *853 + repository: *856 sender: *4 required: - action @@ -231562,11 +231920,11 @@ x-webhooks: type: string enum: - released - enterprise: *850 - installation: *851 - organization: *852 - release: *914 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *917 + repository: *856 sender: *4 required: - action @@ -231642,11 +232000,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *850 - installation: *851 - organization: *852 - release: *915 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + release: *918 + repository: *856 sender: *4 required: - action @@ -231722,11 +232080,11 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - repository_advisory: *750 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + repository_advisory: *751 sender: *4 required: - action @@ -231802,11 +232160,11 @@ x-webhooks: type: string enum: - reported - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - repository_advisory: *750 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + repository_advisory: *751 sender: *4 required: - action @@ -231882,10 +232240,10 @@ x-webhooks: type: string enum: - archived - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -231962,10 +232320,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232043,10 +232401,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232130,10 +232488,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232245,10 +232603,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232320,10 +232678,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 status: type: string @@ -232404,10 +232762,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232484,10 +232842,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232581,10 +232939,10 @@ x-webhooks: - name required: - repository - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -232664,10 +233022,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 sender: *4 required: @@ -232746,10 +233104,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 sender: *4 required: @@ -232828,10 +233186,10 @@ x-webhooks: type: string enum: - edited - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 repository_ruleset: *191 changes: type: object @@ -232893,16 +233251,16 @@ x-webhooks: properties: added: type: array - items: *718 + items: *719 deleted: type: array - items: *718 + items: *719 updated: type: array items: type: object properties: - rule: *718 + rule: *719 changes: type: object properties: @@ -233136,10 +233494,10 @@ x-webhooks: - from required: - owner - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233217,10 +233575,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233298,7 +233656,7 @@ x-webhooks: type: string enum: - create - alert: &916 + alert: &919 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233419,10 +233777,10 @@ x-webhooks: type: string enum: - open - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233628,10 +233986,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233709,11 +234067,11 @@ x-webhooks: type: string enum: - reopen - alert: *916 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233912,10 +234270,10 @@ x-webhooks: enum: - fixed - open - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -233993,7 +234351,7 @@ x-webhooks: type: string enum: - assigned - alert: &917 + alert: &920 type: object properties: number: *128 @@ -234112,10 +234470,10 @@ x-webhooks: required: *21 nullable: true assignee: *4 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234193,11 +234551,11 @@ x-webhooks: type: string enum: - created - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234278,11 +234636,11 @@ x-webhooks: type: string enum: - created - alert: *917 - installation: *851 - location: *918 - organization: *852 - repository: *853 + alert: *920 + installation: *854 + location: *921 + organization: *855 + repository: *856 sender: *4 required: - location @@ -234520,11 +234878,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234602,11 +234960,11 @@ x-webhooks: type: string enum: - reopened - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234684,11 +235042,11 @@ x-webhooks: type: string enum: - resolved - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234766,12 +235124,12 @@ x-webhooks: type: string enum: - unassigned - alert: *917 + alert: *920 assignee: *4 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234849,11 +235207,11 @@ x-webhooks: type: string enum: - validated - alert: *917 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + alert: *920 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -234979,10 +235337,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *853 - enterprise: *850 - installation: *851 - organization: *852 + repository: *856 + enterprise: *853 + installation: *854 + organization: *855 sender: *4 required: - action @@ -235060,11 +235418,11 @@ x-webhooks: type: string enum: - published - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - security_advisory: &919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + security_advisory: &922 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235247,11 +235605,11 @@ x-webhooks: type: string enum: - updated - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 - security_advisory: *919 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 + security_advisory: *922 sender: *4 required: - action @@ -235324,10 +235682,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -235511,11 +235869,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *419 - enterprise: *850 - installation: *851 - organization: *852 - repository: *461 + security_and_analysis: *420 + enterprise: *853 + installation: *854 + organization: *855 + repository: *462 sender: *4 required: - changes @@ -235593,12 +235951,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: &920 + sponsorship: &923 type: object properties: created_at: @@ -235899,12 +236257,12 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - sponsorship @@ -235992,12 +236350,12 @@ x-webhooks: type: string required: - from - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236074,17 +236432,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &921 + effective_date: &924 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - sponsorship @@ -236158,7 +236516,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &922 + changes: &925 type: object properties: tier: @@ -236202,13 +236560,13 @@ x-webhooks: - from required: - tier - effective_date: *921 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + effective_date: *924 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236285,13 +236643,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *922 - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + changes: *925 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - sponsorship: *920 + sponsorship: *923 required: - action - changes @@ -236365,10 +236723,10 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236451,10 +236809,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236874,15 +237232,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *850 + enterprise: *853 id: description: The unique identifier of the status. type: integer - installation: *851 + installation: *854 name: type: string - organization: *852 - repository: *853 + organization: *855 + repository: *856 sender: *4 sha: description: The Commit SHA. @@ -236997,9 +237355,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237089,9 +237447,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237181,9 +237539,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237273,9 +237631,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *221 - installation: *851 - organization: *852 - repository: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -237352,12 +237710,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - team: &923 + team: &926 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -237580,9 +237938,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -238040,7 +238398,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -238116,9 +238474,9 @@ x-webhooks: type: string enum: - created - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -238576,7 +238934,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -238653,9 +239011,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -239113,7 +239471,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -239257,9 +239615,9 @@ x-webhooks: - from required: - permissions - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -239717,7 +240075,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - changes @@ -239795,9 +240153,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *850 - installation: *851 - organization: *852 + enterprise: *853 + installation: *854 + organization: *855 repository: title: Repository description: A git repository @@ -240255,7 +240613,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *923 + team: *926 required: - action - team @@ -240331,10 +240689,10 @@ x-webhooks: type: string enum: - started - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 required: - action @@ -240407,16 +240765,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *850 + enterprise: *853 inputs: type: object nullable: true additionalProperties: true - installation: *851 - organization: *852 + installation: *854 + organization: *855 ref: type: string - repository: *853 + repository: *856 sender: *4 workflow: type: string @@ -240498,10 +240856,10 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: allOf: @@ -240738,7 +241096,7 @@ x-webhooks: type: string required: - conclusion - deployment: *600 + deployment: *601 required: - action - repository @@ -240817,10 +241175,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: allOf: @@ -241080,7 +241438,7 @@ x-webhooks: required: - status - steps - deployment: *600 + deployment: *601 required: - action - repository @@ -241159,10 +241517,10 @@ x-webhooks: type: string enum: - queued - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: type: object @@ -241297,7 +241655,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *600 + deployment: *601 required: - action - repository @@ -241376,10 +241734,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 workflow_job: type: object @@ -241515,7 +241873,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *600 + deployment: *601 required: - action - repository @@ -241595,12 +241953,12 @@ x-webhooks: type: string enum: - completed - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object @@ -242599,12 +242957,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object @@ -243588,12 +243946,12 @@ x-webhooks: type: string enum: - requested - enterprise: *850 - installation: *851 - organization: *852 - repository: *853 + enterprise: *853 + installation: *854 + organization: *855 + repository: *856 sender: *4 - workflow: *867 + workflow: *870 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 8addcd15c..7a8bbd03b 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -37115,6 +37115,175 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -86866,6 +87035,175 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", @@ -138214,6 +138552,130 @@ "archived_at" ] }, + "projects-v2-view": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, "org-repo-custom-property-values": { "title": "Organization Repository Custom Property Values", "description": "List of custom property values for a repository", @@ -311835,6 +312297,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 0a24b15cb..34099cdcf 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -26791,6 +26791,126 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -62896,6 +63016,126 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -101044,6 +101284,99 @@ components: - created_at - updated_at - archived_at + projects-v2-view: + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element is a tuple + of [field_id, direction] where direction is "asc" or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by org-repo-custom-property-values: title: Organization Repository Custom Property Values description: List of custom property values for a repository @@ -233417,6 +233750,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/ghec/ghec.json b/descriptions/ghec/ghec.json index 8addcd15c..7a8bbd03b 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -37115,6 +37115,175 @@ } } }, + "/orgs/{org}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for an organization-owned project", + "description": "Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in an organization-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "views" + } + } + }, "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": { "get": { "summary": "List items for an organization project view", @@ -86866,6 +87035,175 @@ } } }, + "/users/{user_id}/projectsV2/{project_number}/views": { + "post": { + "summary": "Create a view for a user-owned project", + "description": "Create a new view in a user-owned project. Views allow you to customize how items in a project are displayed and filtered.", + "tags": [ + "projects" + ], + "operationId": "projects/create-view-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the view.", + "example": "Sprint Board" + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ], + "example": "board" + }, + "filter": { + "type": "string", + "description": "The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "`visible_fields` is not applicable to `roadmap` layout views.\nFor `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used.", + "items": { + "type": "integer" + }, + "example": [ + 123, + 456, + 789 + ] + } + }, + "required": [ + "name", + "layout" + ], + "additionalProperties": false + }, + "examples": { + "table_view": { + "summary": "Create a table view", + "value": { + "name": "All Issues", + "layout": "table", + "filter": "is:issue", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "board_view": { + "summary": "Create a board view with filter", + "value": { + "name": "Sprint Board", + "layout": "board", + "filter": "is:issue is:open label:sprint", + "visible_fields": [ + 123, + 456, + 789 + ] + } + }, + "roadmap_view": { + "summary": "Create a roadmap view", + "value": { + "name": "Product Roadmap", + "layout": "roadmap" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response for creating a view in a user-owned project.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-view" + }, + "examples": { + "table_view": { + "summary": "Response for creating a table view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "board_view": { + "summary": "Response for creating a board view with filter", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + }, + "roadmap_view": { + "summary": "Response for creating a roadmap view", + "value": { + "$ref": "#/components/examples/projects-v2-view" + } + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "projects", + "subcategory": "views" + } + } + }, "/users/{username}": { "get": { "summary": "Get a user", @@ -138214,6 +138552,130 @@ "archived_at" ] }, + "projects-v2-view": { + "title": "Projects v2 View", + "description": "A view inside a projects v2 project", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the view." + }, + "number": { + "type": "integer", + "description": "The number of the view within the project." + }, + "name": { + "type": "string", + "description": "The name of the view." + }, + "layout": { + "type": "string", + "description": "The layout of the view.", + "enum": [ + "table", + "board", + "roadmap" + ] + }, + "node_id": { + "type": "string", + "description": "The node ID of the view." + }, + "project_url": { + "type": "string", + "description": "The API URL of the project that contains the view.", + "example": "https://api.github.com/orgs/octocat/projectsV2/1" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The web URL of the view.", + "example": "https://github.com/orgs/octocat/projects/1/views/1" + }, + "creator": { + "allOf": [ + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was created." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2022-04-28T12:00:00Z", + "description": "The time when the view was last updated." + }, + "filter": { + "type": "string", + "nullable": true, + "description": "The filter query for the view.", + "example": "is:issue is:open" + }, + "visible_fields": { + "type": "array", + "description": "The list of field IDs that are visible in the view.", + "items": { + "type": "integer" + } + }, + "sort_by": { + "type": "array", + "description": "The sorting configuration for the view. Each element is a tuple of [field_id, direction] where direction is \"asc\" or \"desc\".", + "items": { + "type": "array", + "minItems": 2, + "maxItems": 2, + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + }, + "group_by": { + "type": "array", + "description": "The list of field IDs used for horizontal grouping.", + "items": { + "type": "integer" + } + }, + "vertical_group_by": { + "type": "array", + "description": "The list of field IDs used for vertical grouping (board layout).", + "items": { + "type": "integer" + } + } + }, + "required": [ + "id", + "number", + "name", + "layout", + "node_id", + "project_url", + "html_url", + "creator", + "created_at", + "updated_at", + "visible_fields", + "sort_by", + "group_by", + "vertical_group_by" + ] + }, "org-repo-custom-property-values": { "title": "Organization Repository Custom Property Values", "description": "List of custom property values for a repository", @@ -311835,6 +312297,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 0a24b15cb..34099cdcf 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -26791,6 +26791,126 @@ paths: enabledForGitHubApps: true category: projects subcategory: items + "/orgs/{org}/projectsV2/{project_number}/views": + post: + summary: Create a view for an organization-owned project + description: Create a new view in an organization-owned project. Views allow + you to customize how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-an-organization-owned-project + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in an organization-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: views "/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": get: summary: List items for an organization project view @@ -62896,6 +63016,126 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/users/{user_id}/projectsV2/{project_number}/views": + post: + summary: Create a view for a user-owned project + description: Create a new view in a user-owned project. Views allow you to customize + how items in a project are displayed and filtered. + tags: + - projects + operationId: projects/create-view-for-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/projects/views#create-a-view-for-a-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the view. + example: Sprint Board + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + example: board + filter: + type: string + description: The filter query for the view. See [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) + for more information. + example: is:issue is:open + visible_fields: + type: array + description: |- + `visible_fields` is not applicable to `roadmap` layout views. + For `table` and `board` layouts, this represents the field IDs that should be visible in the view. If not provided, the default visible fields will be used. + items: + type: integer + example: + - 123 + - 456 + - 789 + required: + - name + - layout + additionalProperties: false + examples: + table_view: + summary: Create a table view + value: + name: All Issues + layout: table + filter: is:issue + visible_fields: + - 123 + - 456 + - 789 + board_view: + summary: Create a board view with filter + value: + name: Sprint Board + layout: board + filter: is:issue is:open label:sprint + visible_fields: + - 123 + - 456 + - 789 + roadmap_view: + summary: Create a roadmap view + value: + name: Product Roadmap + layout: roadmap + responses: + '201': + description: Response for creating a view in a user-owned project. + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-view" + examples: + table_view: + summary: Response for creating a table view + value: + "$ref": "#/components/examples/projects-v2-view" + board_view: + summary: Response for creating a board view with filter + value: + "$ref": "#/components/examples/projects-v2-view" + roadmap_view: + summary: Response for creating a roadmap view + value: + "$ref": "#/components/examples/projects-v2-view" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + '503': + description: Service unavailable + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: projects + subcategory: views "/users/{username}": get: summary: Get a user @@ -101044,6 +101284,99 @@ components: - created_at - updated_at - archived_at + projects-v2-view: + title: Projects v2 View + description: A view inside a projects v2 project + type: object + properties: + id: + type: integer + description: The unique identifier of the view. + number: + type: integer + description: The number of the view within the project. + name: + type: string + description: The name of the view. + layout: + type: string + description: The layout of the view. + enum: + - table + - board + - roadmap + node_id: + type: string + description: The node ID of the view. + project_url: + type: string + description: The API URL of the project that contains the view. + example: https://api.github.com/orgs/octocat/projectsV2/1 + html_url: + type: string + format: uri + description: The web URL of the view. + example: https://github.com/orgs/octocat/projects/1/views/1 + creator: + allOf: + - "$ref": "#/components/schemas/simple-user" + created_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was created. + updated_at: + type: string + format: date-time + example: '2022-04-28T12:00:00Z' + description: The time when the view was last updated. + filter: + type: string + nullable: true + description: The filter query for the view. + example: is:issue is:open + visible_fields: + type: array + description: The list of field IDs that are visible in the view. + items: + type: integer + sort_by: + type: array + description: The sorting configuration for the view. Each element is a tuple + of [field_id, direction] where direction is "asc" or "desc". + items: + type: array + minItems: 2 + maxItems: 2 + items: + oneOf: + - type: integer + - type: string + group_by: + type: array + description: The list of field IDs used for horizontal grouping. + items: + type: integer + vertical_group_by: + type: array + description: The list of field IDs used for vertical grouping (board layout). + items: + type: integer + required: + - id + - number + - name + - layout + - node_id + - project_url + - html_url + - creator + - created_at + - updated_at + - visible_fields + - sort_by + - group_by + - vertical_group_by org-repo-custom-property-values: title: Organization Repository Custom Property Values description: List of custom property values for a repository @@ -233417,6 +233750,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