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: *{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}