diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 4181a05b6e..2c7d8d6f2f 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -78,7 +78,7 @@ }, { "name": "markdown", - "description": "Render GitHub flavored markdown" + "description": "Render GitHub flavored Markdown" }, { "name": "merge-queue", @@ -98,7 +98,7 @@ }, { "name": "orgs", - "description": "Interact with GitHub Orgs." + "description": "Interact with organizations." }, { "name": "packages", @@ -114,7 +114,7 @@ }, { "name": "rate-limit", - "description": "Check your current rate limit status" + "description": "Check your current rate limit status." }, { "name": "reactions", @@ -126,7 +126,7 @@ }, { "name": "search", - "description": "Look for stuff on GitHub." + "description": "Search for specific items on GitHub." }, { "name": "secret-scanning", @@ -13312,6 +13312,359 @@ } } }, + "/orgs/{org}/artifacts/metadata/deployment-record": { + "post": { + "summary": "Create an artifact deployment record", + "description": "Create or update deployment records for an artifact associated with an organization.\nThis endpoint allows you to record information about a specific artifact, such as its name, digest, environments, cluster, and deployment.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-deployment-record", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "minLength": 1, + "examples": [ + "libfoo" + ] + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact.", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact. Can be either deployed or decommissioned.", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "logical_environment": { + "type": "string", + "description": "The stage of the deployment." + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment." + }, + "cluster": { + "type": "string", + "description": "The deployment cluster." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment." + }, + "tags": { + "type": "object", + "description": "The tags associated with the deployment.", + "additionalProperties": { + "type": "string" + }, + "maxProperties": 5 + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "examples": [ + "my-github-repo" + ] + } + }, + "required": [ + "name", + "digest", + "status", + "logical_environment", + "deployment_name" + ] + }, + "examples": { + "default": { + "value": { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "status": "deployed", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "deployment-pod", + "tags": { + "data-access": "sensitive" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact deployment record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/artifact-deployment-record-list" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { + "post": { + "summary": "Set cluster deployment records", + "description": "Set deployment records for a given cluster.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-cluster-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "cluster", + "in": "path", + "description": "The cluster name.", + "required": true, + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9._-]+$" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "logical_environment": { + "type": "string", + "description": "The stage of the deployment." + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment." + }, + "deployments": { + "type": "array", + "description": "The list of deployments to record.", + "items": { + "type": "object", + "maxLength": 100, + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "minLength": 1, + "maxLength": 255 + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact.", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, + "status": { + "type": "string", + "description": "The deployment status of the artifact.", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment.", + "minLength": 1, + "maxLength": 128 + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "examples": [ + "my-github-repo" + ] + }, + "tags": { + "type": "object", + "description": "Key-value pairs to tag the deployment record.", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "version": "2.1.0", + "status": "deployed", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "deployment-pod", + "tags": { + "runtime-risk": "sensitive-data" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact deployment record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/artifact-deployment-record-list" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/artifacts/metadata/storage-record": { "post": { "summary": "Create artifact metadata storage record", @@ -13532,6 +13885,66 @@ } } }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": { + "get": { + "summary": "List artifact deployment records", + "description": "List deployment records for an artifact metadata associated with an organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/subject-digest" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records for this digest and organization", + "type": "integer", + "examples": [ + 3 + ] + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/artifact-deployment-record-list" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", @@ -73607,6 +74020,99 @@ } } }, + "/user/{user_id}/projectsV2/{project_number}/drafts": { + "post": { + "summary": "Create draft item for user owned project", + "description": "Create draft issue item for the specified user owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/create-draft-item-for-authenticated-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "description": "Details of the draft item to create in the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the draft issue item to create in the project." + }, + "body": { + "type": "string", + "description": "The body content of the draft issue item to create in the project." + } + }, + "required": [ + "title" + ] + }, + "examples": { + "title": { + "summary": "Example with Sample Draft Issue Title", + "value": { + "title": "Sample Draft Issue Title" + } + }, + "body": { + "summary": "Example with Sample Draft Issue Title and Body", + "value": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-simple" + }, + "examples": { + "draft_issue": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "drafts" + } + } + }, "/users": { "get": { "summary": "List users", @@ -102651,6 +103157,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -102691,6 +103205,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -102707,6 +103229,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -111952,6 +112482,65 @@ "visibility" ] }, + "artifact-deployment-record": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + }, "campaign-state": { "title": "Campaign state", "description": "Indicates whether a campaign is open or closed", @@ -118167,6 +118756,13 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "$ref": "#/components/schemas/repository-rule-params-required-reviewer-configuration" + } } }, "required": [ @@ -127002,6 +127598,7 @@ "type": "string", "description": "The language targeted by the CodeQL query", "enum": [ + "actions", "cpp", "csharp", "go", @@ -155715,6 +156312,13 @@ "write" ] }, + "attestations": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "enum": [ @@ -155785,6 +156389,13 @@ "write" ] }, + "merge_queues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "enum": [ @@ -155792,6 +156403,13 @@ "write" ] }, + "models": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "organization_administration": { "type": "string", "enum": [ @@ -156527,6 +157145,13 @@ "write" ] }, + "attestations": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "enum": [ @@ -156597,6 +157222,13 @@ "write" ] }, + "merge_queues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "enum": [ @@ -156604,6 +157236,13 @@ "write" ] }, + "models": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "organization_administration": { "type": "string", "enum": [ @@ -291660,6 +292299,27 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" } }, + "artifact-deployment-record-list": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + }, "bulk-subject-digest-body": { "value": { "subject_digests": [ @@ -295002,21 +295662,39 @@ "options": [ { "id": "option_1", - "name": "Low", + "name": { + "html": "Low", + "raw": "Low" + }, "color": "GREEN", - "description": "Low priority items" + "description": { + "html": "Low priority items", + "raw": "Low priority items" + } }, { "id": "option_2", - "name": "Medium", + "name": { + "html": "Medium", + "raw": "Medium" + }, "color": "YELLOW", - "description": "Medium priority items" + "description": { + "html": "Medium priority items", + "raw": "Medium priority items" + } }, { "id": "option_3", - "name": "High", + "name": { + "html": "High", + "raw": "High" + }, "color": "RED", - "description": "High priority items" + "description": { + "html": "High priority items", + "raw": "High priority items" + } } ], "created_at": "2022-04-28T12:00:00Z", @@ -295031,21 +295709,39 @@ "options": [ { "id": "option_4", - "name": "Todo", + "name": { + "html": "Todo", + "raw": "Todo" + }, "color": "GRAY", - "description": "Items to be worked on" + "description": { + "html": "Items to be worked on", + "raw": "Items to be worked on" + } }, { "id": "option_5", - "name": "In Progress", + "name": { + "html": "In Progress", + "raw": "In Progress" + }, "color": "BLUE", - "description": "Items currently being worked on" + "description": { + "html": "Items currently being worked on", + "raw": "Items currently being worked on" + } }, { "id": "option_6", - "name": "Done", + "name": { + "html": "Done", + "raw": "Done" + }, "color": "GREEN", - "description": "Completed items" + "description": { + "html": "Completed items", + "raw": "Completed items" + } } ], "created_at": "2022-04-29T10:30:00Z", @@ -295090,13 +295786,19 @@ "iterations": [ { "id": "iter_1", - "title": "Sprint 1", + "title": { + "html": "Sprint 1", + "raw": "Sprint 1" + }, "start_date": "2022-07-01", "duration": 14 }, { "id": "iter_2", - "title": "Sprint 2", + "title": { + "html": "Sprint 2", + "raw": "Sprint 2" + }, "start_date": "2022-07-15", "duration": 14 } @@ -295639,8 +296341,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -295683,11 +296385,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -318282,6 +318988,18 @@ "type": "string" } }, + "subject-digest": { + "name": "subject_digest", + "description": "The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + } + }, "tool-name": { "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`, but not both.", @@ -319595,6 +320313,15 @@ ], "default": "created" } + }, + "user-id": { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } }, "responses": { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index d71fbc211e..896a8475fc 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -44,7 +44,7 @@ tags: - name: licenses description: View various OSS licenses. - name: markdown - description: Render GitHub flavored markdown + description: Render GitHub flavored Markdown - name: merge-queue description: Interact with GitHub Merge Queues. - name: meta @@ -54,7 +54,7 @@ tags: - name: oidc description: Endpoints to manage GitHub OIDC configuration using the REST API. - name: orgs - description: Interact with GitHub Orgs. + description: Interact with organizations. - name: packages description: Manage packages for authenticated users and organizations. - name: projects-classic @@ -62,13 +62,13 @@ tags: - name: pulls description: Interact with GitHub Pull Requests. - name: rate-limit - description: Check your current rate limit status + description: Check your current rate limit status. - name: reactions description: Interact with reactions to various GitHub entities. - name: repos description: Interact with GitHub Repos. - name: search - description: Look for stuff on GitHub. + description: Search for specific items on GitHub. - name: secret-scanning description: Retrieve secret scanning alerts from a repository. - name: teams @@ -9588,6 +9588,277 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/artifacts/metadata/deployment-record": + post: + summary: Create an artifact deployment record + description: |- + Create or update deployment records for an artifact associated with an organization. + This endpoint allows you to record information about a specific artifact, such as its name, digest, environments, cluster, and deployment. + tags: + - orgs + operationId: orgs/create-artifact-deployment-record + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + examples: + - libfoo + digest: + type: string + description: The hex encoded digest of the artifact. + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 + status: + type: string + description: The status of the artifact. Can be either deployed + or decommissioned. + enum: + - deployed + - decommissioned + logical_environment: + type: string + description: The stage of the deployment. + physical_environment: + type: string + description: The physical region of the deployment. + cluster: + type: string + description: The deployment cluster. + deployment_name: + type: string + description: The name of the deployment. + tags: + type: object + description: The tags associated with the deployment. + additionalProperties: + type: string + maxProperties: 5 + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + examples: + - my-github-repo + required: + - name + - digest + - status + - logical_environment + - deployment_name + examples: + default: + value: + name: awesome-image + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + status: deployed + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: deployment-pod + tags: + data-access: sensitive + responses: + '200': + description: Artifact deployment record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created + type: integer + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + examples: + default: + "$ref": "#/components/examples/artifact-deployment-record-list" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": + post: + summary: Set cluster deployment records + description: Set deployment records for a given cluster. + tags: + - orgs + operationId: orgs/set-cluster-deployment-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records + parameters: + - "$ref": "#/components/parameters/org" + - name: cluster + in: path + description: The cluster name. + required: true + schema: + type: string + minLength: 1 + maxLength: 64 + pattern: "^[a-zA-Z0-9._-]+$" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + logical_environment: + type: string + description: The stage of the deployment. + physical_environment: + type: string + description: The physical region of the deployment. + deployments: + type: array + description: The list of deployments to record. + items: + type: object + maxLength: 100 + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + maxLength: 255 + digest: + type: string + description: The hex encoded digest of the artifact. + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 + status: + type: string + description: The deployment status of the artifact. + enum: + - deployed + - decommissioned + deployment_name: + type: string + description: The name of the deployment. + minLength: 1 + maxLength: 128 + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + examples: + - my-github-repo + tags: + type: object + description: Key-value pairs to tag the deployment record. + additionalProperties: + type: string + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + examples: + default: + value: + name: awesome-image + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + version: 2.1.0 + status: deployed + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: deployment-pod + tags: + runtime-risk: sensitive-data + responses: + '200': + description: Artifact deployment record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created + type: integer + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + examples: + default: + "$ref": "#/components/examples/artifact-deployment-record-list" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/artifacts/metadata/storage-record": post: summary: Create artifact metadata storage record @@ -9753,6 +10024,46 @@ paths: enabledForGitHubApps: true category: orgs subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": + get: + summary: List artifact deployment records + description: List deployment records for an artifact metadata associated with + an organization. + tags: + - orgs + operationId: orgs/list-artifact-deployment-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/subject-digest" + responses: + '200': + description: Successful response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records for this digest + and organization + type: integer + examples: + - 3 + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + examples: + default: + "$ref": "#/components/examples/artifact-deployment-record-list" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": get: summary: List artifact storage records @@ -53372,6 +53683,68 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/user/{user_id}/projectsV2/{project_number}/drafts": + post: + summary: Create draft item for user owned project + description: Create draft issue item for the specified user owned project. + tags: + - projects + operationId: projects/create-draft-item-for-authenticated-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + description: Details of the draft item to create in the project. + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The title of the draft issue item to create in the + project. + body: + type: string + description: The body content of the draft issue item to create + in the project. + required: + - title + examples: + title: + summary: Example with Sample Draft Issue Title + value: + title: Sample Draft Issue Title + body: + summary: Example with Sample Draft Issue Title and Body + value: + title: Sample Draft Issue Title + body: This is the body content of the draft issue. + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-item-simple" + examples: + draft_issue: + "$ref": "#/components/examples/projects-v2-item-simple" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/users": get: summary: List users @@ -74026,6 +74399,13 @@ components: enum: - read - write + attestations: + type: string + description: The level of permission to create and retrieve the access token + for repository attestations. + enum: + - read + - write checks: type: string description: The level of permission to grant the access token for checks @@ -74061,6 +74441,13 @@ components: enum: - read - write + discussions: + type: string + description: The level of permission to grant the access token for discussions + and related comments and labels. + enum: + - read + - write environments: type: string description: The level of permission to grant the access token for managing @@ -74075,6 +74462,13 @@ components: enum: - read - write + merge_queues: + type: string + description: The level of permission to grant the access token to manage + the merge queues for a repository. + enum: + - read + - write metadata: type: string description: The level of permission to grant the access token to search @@ -81039,6 +81433,49 @@ components: - created_at - updated_at - visibility + artifact-deployment-record: + title: Artifact Deployment Record + description: Artifact Metadata Deployment Record + type: object + properties: + id: + type: integer + digest: + type: string + logical_environment: + type: string + physical_environment: + type: string + cluster: + type: string + deployment_name: + type: string + tags: + type: object + additionalProperties: + type: string + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + created_at: + type: string + updated_at: + type: string + attestation_id: + type: + - integer + - 'null' + description: The ID of the provenance attestation associated with the deployment + record. campaign-state: title: Campaign state description: Indicates whether a campaign is open or closed @@ -85755,6 +86192,15 @@ components: type: boolean description: All conversations on code must be resolved before a pull request can be merged. + required_reviewers: + type: array + description: |- + > [!NOTE] + > `required_reviewers` is in beta and subject to change. + + A collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review. + items: + "$ref": "#/components/schemas/repository-rule-params-required-reviewer-configuration" required: - dismiss_stale_reviews_on_push - require_code_owner_review @@ -92123,6 +92569,7 @@ components: type: string description: The language targeted by the CodeQL query enum: + - actions - cpp - csharp - go @@ -113040,6 +113487,11 @@ components: enum: - read - write + attestations: + type: string + enum: + - read + - write checks: type: string enum: @@ -113090,11 +113542,21 @@ components: enum: - read - write + merge_queues: + type: string + enum: + - read + - write metadata: type: string enum: - read - write + models: + type: string + enum: + - read + - write organization_administration: type: string enum: @@ -113653,6 +114115,11 @@ components: enum: - read - write + attestations: + type: string + enum: + - read + - write checks: type: string enum: @@ -113703,11 +114170,21 @@ components: enum: - read - write + merge_queues: + type: string + enum: + - read + - write metadata: type: string enum: - read - write + models: + type: string + enum: + - read + - write organization_administration: type: string enum: @@ -215149,6 +215626,21 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + artifact-deployment-record-list: + value: + total_count: 1 + deployment_records: + - id: 123 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: prod-deployment + tags: + data: sensitive + created: '2011-01-26T19:14:43Z' + updated_at: '2011-01-26T19:14:43Z' + attestation_id: 456 bulk-subject-digest-body: value: subject_digests: @@ -218000,17 +218492,29 @@ components: project_url: https://api.github.com/projects/67890 options: - id: option_1 - name: Low + name: + html: Low + raw: Low color: GREEN - description: Low priority items + description: + html: Low priority items + raw: Low priority items - id: option_2 - name: Medium + name: + html: Medium + raw: Medium color: YELLOW - description: Medium priority items + description: + html: Medium priority items + raw: Medium priority items - id: option_3 - name: High + name: + html: High + raw: High color: RED - description: High priority items + description: + html: High priority items + raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - id: 67891 @@ -218020,17 +218524,29 @@ components: project_url: https://api.github.com/projects/67890 options: - id: option_4 - name: Todo + name: + html: Todo + raw: Todo color: GRAY - description: Items to be worked on + description: + html: Items to be worked on + raw: Items to be worked on - id: option_5 - name: In Progress + name: + html: In Progress + raw: In Progress color: BLUE - description: Items currently being worked on + description: + html: Items currently being worked on + raw: Items currently being worked on - id: option_6 - name: Done + name: + html: Done + raw: Done color: GREEN - description: Completed items + description: + html: Completed items + raw: Completed items created_at: '2022-04-29T10:30:00Z' updated_at: '2022-04-29T10:30:00Z' - id: 24680 @@ -218064,11 +218580,15 @@ components: start_day: 1 iterations: - id: iter_1 - title: Sprint 1 + title: + html: Sprint 1 + raw: Sprint 1 start_date: '2022-07-01' duration: 14 - id: iter_2 - title: Sprint 2 + title: + html: Sprint 2 + raw: Sprint 2 start_date: '2022-07-15' duration: 14 created_at: '2022-06-20T16:45:00Z' @@ -218559,14 +219079,14 @@ components: name: Title type: title value: - raw_title: It seemed to me that any civilization that had so far lost - its head as to need to include a set of detailed instructions for use - in a packet of toothpicks, was no longer a civilization in which I could - live and stay sane. - html_title: It seemed to me that any civilization that had so far lost - its head as to need to include a set of detailed instructions for use - in a packet of toothpicks, was no longer a civilization in which I could - live and stay sane. + raw: It seemed to me that any civilization that had so far lost its head + as to need to include a set of detailed instructions for use in a packet + of toothpicks, was no longer a civilization in which I could live and + stay sane. + html: It seemed to me that any civilization that had so far lost its head + as to need to include a set of detailed instructions for use in a packet + of toothpicks, was no longer a civilization in which I could live and + stay sane. number: 6 url: https://github.com/5/1/pull/6 issue_id: 12 @@ -218601,11 +219121,13 @@ components: type: single_select value: id: '98236657' - name: Done - name_html: Done + name: + raw: Done + html: Done color: PURPLE - description: This has been completed - description_html: This has been completed + description: + raw: This has been completed + html: This has been completed - id: 4 name: Labels type: labels @@ -238106,6 +238628,16 @@ components: required: true schema: type: string + subject-digest: + name: subject_digest + description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. + in: path + required: true + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" tool-name: name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -239236,6 +239768,13 @@ components: - created - updated default: created + user-id: + name: user_id + description: The unique identifier of the user. + in: path + required: true + schema: + type: string responses: validation_failed_simple: description: Validation failed, or the endpoint has been spammed. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 4181a05b6e..2c7d8d6f2f 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -78,7 +78,7 @@ }, { "name": "markdown", - "description": "Render GitHub flavored markdown" + "description": "Render GitHub flavored Markdown" }, { "name": "merge-queue", @@ -98,7 +98,7 @@ }, { "name": "orgs", - "description": "Interact with GitHub Orgs." + "description": "Interact with organizations." }, { "name": "packages", @@ -114,7 +114,7 @@ }, { "name": "rate-limit", - "description": "Check your current rate limit status" + "description": "Check your current rate limit status." }, { "name": "reactions", @@ -126,7 +126,7 @@ }, { "name": "search", - "description": "Look for stuff on GitHub." + "description": "Search for specific items on GitHub." }, { "name": "secret-scanning", @@ -13312,6 +13312,359 @@ } } }, + "/orgs/{org}/artifacts/metadata/deployment-record": { + "post": { + "summary": "Create an artifact deployment record", + "description": "Create or update deployment records for an artifact associated with an organization.\nThis endpoint allows you to record information about a specific artifact, such as its name, digest, environments, cluster, and deployment.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-deployment-record", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "minLength": 1, + "examples": [ + "libfoo" + ] + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact.", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact. Can be either deployed or decommissioned.", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "logical_environment": { + "type": "string", + "description": "The stage of the deployment." + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment." + }, + "cluster": { + "type": "string", + "description": "The deployment cluster." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment." + }, + "tags": { + "type": "object", + "description": "The tags associated with the deployment.", + "additionalProperties": { + "type": "string" + }, + "maxProperties": 5 + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "examples": [ + "my-github-repo" + ] + } + }, + "required": [ + "name", + "digest", + "status", + "logical_environment", + "deployment_name" + ] + }, + "examples": { + "default": { + "value": { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "status": "deployed", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "deployment-pod", + "tags": { + "data-access": "sensitive" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact deployment record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/artifact-deployment-record-list" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { + "post": { + "summary": "Set cluster deployment records", + "description": "Set deployment records for a given cluster.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-cluster-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "cluster", + "in": "path", + "description": "The cluster name.", + "required": true, + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9._-]+$" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "logical_environment": { + "type": "string", + "description": "The stage of the deployment." + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment." + }, + "deployments": { + "type": "array", + "description": "The list of deployments to record.", + "items": { + "type": "object", + "maxLength": 100, + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "minLength": 1, + "maxLength": 255 + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact.", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, + "status": { + "type": "string", + "description": "The deployment status of the artifact.", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment.", + "minLength": 1, + "maxLength": 128 + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "examples": [ + "my-github-repo" + ] + }, + "tags": { + "type": "object", + "description": "Key-value pairs to tag the deployment record.", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "version": "2.1.0", + "status": "deployed", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "deployment-pod", + "tags": { + "runtime-risk": "sensitive-data" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact deployment record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/artifact-deployment-record-list" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/artifacts/metadata/storage-record": { "post": { "summary": "Create artifact metadata storage record", @@ -13532,6 +13885,66 @@ } } }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": { + "get": { + "summary": "List artifact deployment records", + "description": "List deployment records for an artifact metadata associated with an organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/subject-digest" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records for this digest and organization", + "type": "integer", + "examples": [ + 3 + ] + }, + "deployment_records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/artifact-deployment-record" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/artifact-deployment-record-list" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", @@ -73607,6 +74020,99 @@ } } }, + "/user/{user_id}/projectsV2/{project_number}/drafts": { + "post": { + "summary": "Create draft item for user owned project", + "description": "Create draft issue item for the specified user owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/create-draft-item-for-authenticated-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/user-id" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "description": "Details of the draft item to create in the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the draft issue item to create in the project." + }, + "body": { + "type": "string", + "description": "The body content of the draft issue item to create in the project." + } + }, + "required": [ + "title" + ] + }, + "examples": { + "title": { + "summary": "Example with Sample Draft Issue Title", + "value": { + "title": "Sample Draft Issue Title" + } + }, + "body": { + "summary": "Example with Sample Draft Issue Title and Body", + "value": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-simple" + }, + "examples": { + "draft_issue": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "drafts" + } + } + }, "/users": { "get": { "summary": "List users", @@ -102651,6 +103157,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -102691,6 +103205,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -102707,6 +103229,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -111952,6 +112482,65 @@ "visibility" ] }, + "artifact-deployment-record": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + }, "campaign-state": { "title": "Campaign state", "description": "Indicates whether a campaign is open or closed", @@ -118167,6 +118756,13 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "$ref": "#/components/schemas/repository-rule-params-required-reviewer-configuration" + } } }, "required": [ @@ -127002,6 +127598,7 @@ "type": "string", "description": "The language targeted by the CodeQL query", "enum": [ + "actions", "cpp", "csharp", "go", @@ -155715,6 +156312,13 @@ "write" ] }, + "attestations": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "enum": [ @@ -155785,6 +156389,13 @@ "write" ] }, + "merge_queues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "enum": [ @@ -155792,6 +156403,13 @@ "write" ] }, + "models": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "organization_administration": { "type": "string", "enum": [ @@ -156527,6 +157145,13 @@ "write" ] }, + "attestations": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "enum": [ @@ -156597,6 +157222,13 @@ "write" ] }, + "merge_queues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "enum": [ @@ -156604,6 +157236,13 @@ "write" ] }, + "models": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "organization_administration": { "type": "string", "enum": [ @@ -291660,6 +292299,27 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" } }, + "artifact-deployment-record-list": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + }, "bulk-subject-digest-body": { "value": { "subject_digests": [ @@ -295002,21 +295662,39 @@ "options": [ { "id": "option_1", - "name": "Low", + "name": { + "html": "Low", + "raw": "Low" + }, "color": "GREEN", - "description": "Low priority items" + "description": { + "html": "Low priority items", + "raw": "Low priority items" + } }, { "id": "option_2", - "name": "Medium", + "name": { + "html": "Medium", + "raw": "Medium" + }, "color": "YELLOW", - "description": "Medium priority items" + "description": { + "html": "Medium priority items", + "raw": "Medium priority items" + } }, { "id": "option_3", - "name": "High", + "name": { + "html": "High", + "raw": "High" + }, "color": "RED", - "description": "High priority items" + "description": { + "html": "High priority items", + "raw": "High priority items" + } } ], "created_at": "2022-04-28T12:00:00Z", @@ -295031,21 +295709,39 @@ "options": [ { "id": "option_4", - "name": "Todo", + "name": { + "html": "Todo", + "raw": "Todo" + }, "color": "GRAY", - "description": "Items to be worked on" + "description": { + "html": "Items to be worked on", + "raw": "Items to be worked on" + } }, { "id": "option_5", - "name": "In Progress", + "name": { + "html": "In Progress", + "raw": "In Progress" + }, "color": "BLUE", - "description": "Items currently being worked on" + "description": { + "html": "Items currently being worked on", + "raw": "Items currently being worked on" + } }, { "id": "option_6", - "name": "Done", + "name": { + "html": "Done", + "raw": "Done" + }, "color": "GREEN", - "description": "Completed items" + "description": { + "html": "Completed items", + "raw": "Completed items" + } } ], "created_at": "2022-04-29T10:30:00Z", @@ -295090,13 +295786,19 @@ "iterations": [ { "id": "iter_1", - "title": "Sprint 1", + "title": { + "html": "Sprint 1", + "raw": "Sprint 1" + }, "start_date": "2022-07-01", "duration": 14 }, { "id": "iter_2", - "title": "Sprint 2", + "title": { + "html": "Sprint 2", + "raw": "Sprint 2" + }, "start_date": "2022-07-15", "duration": 14 } @@ -295639,8 +296341,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -295683,11 +296385,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -318282,6 +318988,18 @@ "type": "string" } }, + "subject-digest": { + "name": "subject_digest", + "description": "The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + } + }, "tool-name": { "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`, but not both.", @@ -319595,6 +320313,15 @@ ], "default": "created" } + }, + "user-id": { + "name": "user_id", + "description": "The unique identifier of the user.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } } }, "responses": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index d71fbc211e..896a8475fc 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -44,7 +44,7 @@ tags: - name: licenses description: View various OSS licenses. - name: markdown - description: Render GitHub flavored markdown + description: Render GitHub flavored Markdown - name: merge-queue description: Interact with GitHub Merge Queues. - name: meta @@ -54,7 +54,7 @@ tags: - name: oidc description: Endpoints to manage GitHub OIDC configuration using the REST API. - name: orgs - description: Interact with GitHub Orgs. + description: Interact with organizations. - name: packages description: Manage packages for authenticated users and organizations. - name: projects-classic @@ -62,13 +62,13 @@ tags: - name: pulls description: Interact with GitHub Pull Requests. - name: rate-limit - description: Check your current rate limit status + description: Check your current rate limit status. - name: reactions description: Interact with reactions to various GitHub entities. - name: repos description: Interact with GitHub Repos. - name: search - description: Look for stuff on GitHub. + description: Search for specific items on GitHub. - name: secret-scanning description: Retrieve secret scanning alerts from a repository. - name: teams @@ -9588,6 +9588,277 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/artifacts/metadata/deployment-record": + post: + summary: Create an artifact deployment record + description: |- + Create or update deployment records for an artifact associated with an organization. + This endpoint allows you to record information about a specific artifact, such as its name, digest, environments, cluster, and deployment. + tags: + - orgs + operationId: orgs/create-artifact-deployment-record + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + examples: + - libfoo + digest: + type: string + description: The hex encoded digest of the artifact. + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 + status: + type: string + description: The status of the artifact. Can be either deployed + or decommissioned. + enum: + - deployed + - decommissioned + logical_environment: + type: string + description: The stage of the deployment. + physical_environment: + type: string + description: The physical region of the deployment. + cluster: + type: string + description: The deployment cluster. + deployment_name: + type: string + description: The name of the deployment. + tags: + type: object + description: The tags associated with the deployment. + additionalProperties: + type: string + maxProperties: 5 + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + examples: + - my-github-repo + required: + - name + - digest + - status + - logical_environment + - deployment_name + examples: + default: + value: + name: awesome-image + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + status: deployed + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: deployment-pod + tags: + data-access: sensitive + responses: + '200': + description: Artifact deployment record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created + type: integer + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + examples: + default: + "$ref": "#/components/examples/artifact-deployment-record-list" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": + post: + summary: Set cluster deployment records + description: Set deployment records for a given cluster. + tags: + - orgs + operationId: orgs/set-cluster-deployment-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records + parameters: + - "$ref": "#/components/parameters/org" + - name: cluster + in: path + description: The cluster name. + required: true + schema: + type: string + minLength: 1 + maxLength: 64 + pattern: "^[a-zA-Z0-9._-]+$" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + logical_environment: + type: string + description: The stage of the deployment. + physical_environment: + type: string + description: The physical region of the deployment. + deployments: + type: array + description: The list of deployments to record. + items: + type: object + maxLength: 100 + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + maxLength: 255 + digest: + type: string + description: The hex encoded digest of the artifact. + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 + status: + type: string + description: The deployment status of the artifact. + enum: + - deployed + - decommissioned + deployment_name: + type: string + description: The name of the deployment. + minLength: 1 + maxLength: 128 + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + examples: + - my-github-repo + tags: + type: object + description: Key-value pairs to tag the deployment record. + additionalProperties: + type: string + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + examples: + default: + value: + name: awesome-image + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + version: 2.1.0 + status: deployed + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: deployment-pod + tags: + runtime-risk: sensitive-data + responses: + '200': + description: Artifact deployment record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created + type: integer + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + examples: + default: + "$ref": "#/components/examples/artifact-deployment-record-list" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/artifacts/metadata/storage-record": post: summary: Create artifact metadata storage record @@ -9753,6 +10024,46 @@ paths: enabledForGitHubApps: true category: orgs subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": + get: + summary: List artifact deployment records + description: List deployment records for an artifact metadata associated with + an organization. + tags: + - orgs + operationId: orgs/list-artifact-deployment-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/subject-digest" + responses: + '200': + description: Successful response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records for this digest + and organization + type: integer + examples: + - 3 + deployment_records: + type: array + items: + "$ref": "#/components/schemas/artifact-deployment-record" + examples: + default: + "$ref": "#/components/examples/artifact-deployment-record-list" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": get: summary: List artifact storage records @@ -53372,6 +53683,68 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/user/{user_id}/projectsV2/{project_number}/drafts": + post: + summary: Create draft item for user owned project + description: Create draft issue item for the specified user owned project. + tags: + - projects + operationId: projects/create-draft-item-for-authenticated-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project + parameters: + - "$ref": "#/components/parameters/user-id" + - "$ref": "#/components/parameters/project-number" + requestBody: + required: true + description: Details of the draft item to create in the project. + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The title of the draft issue item to create in the + project. + body: + type: string + description: The body content of the draft issue item to create + in the project. + required: + - title + examples: + title: + summary: Example with Sample Draft Issue Title + value: + title: Sample Draft Issue Title + body: + summary: Example with Sample Draft Issue Title and Body + value: + title: Sample Draft Issue Title + body: This is the body content of the draft issue. + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/projects-v2-item-simple" + examples: + draft_issue: + "$ref": "#/components/examples/projects-v2-item-simple" + '304': + "$ref": "#/components/responses/not_modified" + '403': + "$ref": "#/components/responses/forbidden" + '401': + "$ref": "#/components/responses/requires_authentication" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/users": get: summary: List users @@ -74026,6 +74399,13 @@ components: enum: - read - write + attestations: + type: string + description: The level of permission to create and retrieve the access token + for repository attestations. + enum: + - read + - write checks: type: string description: The level of permission to grant the access token for checks @@ -74061,6 +74441,13 @@ components: enum: - read - write + discussions: + type: string + description: The level of permission to grant the access token for discussions + and related comments and labels. + enum: + - read + - write environments: type: string description: The level of permission to grant the access token for managing @@ -74075,6 +74462,13 @@ components: enum: - read - write + merge_queues: + type: string + description: The level of permission to grant the access token to manage + the merge queues for a repository. + enum: + - read + - write metadata: type: string description: The level of permission to grant the access token to search @@ -81039,6 +81433,49 @@ components: - created_at - updated_at - visibility + artifact-deployment-record: + title: Artifact Deployment Record + description: Artifact Metadata Deployment Record + type: object + properties: + id: + type: integer + digest: + type: string + logical_environment: + type: string + physical_environment: + type: string + cluster: + type: string + deployment_name: + type: string + tags: + type: object + additionalProperties: + type: string + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + created_at: + type: string + updated_at: + type: string + attestation_id: + type: + - integer + - 'null' + description: The ID of the provenance attestation associated with the deployment + record. campaign-state: title: Campaign state description: Indicates whether a campaign is open or closed @@ -85755,6 +86192,15 @@ components: type: boolean description: All conversations on code must be resolved before a pull request can be merged. + required_reviewers: + type: array + description: |- + > [!NOTE] + > `required_reviewers` is in beta and subject to change. + + A collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review. + items: + "$ref": "#/components/schemas/repository-rule-params-required-reviewer-configuration" required: - dismiss_stale_reviews_on_push - require_code_owner_review @@ -92123,6 +92569,7 @@ components: type: string description: The language targeted by the CodeQL query enum: + - actions - cpp - csharp - go @@ -113040,6 +113487,11 @@ components: enum: - read - write + attestations: + type: string + enum: + - read + - write checks: type: string enum: @@ -113090,11 +113542,21 @@ components: enum: - read - write + merge_queues: + type: string + enum: + - read + - write metadata: type: string enum: - read - write + models: + type: string + enum: + - read + - write organization_administration: type: string enum: @@ -113653,6 +114115,11 @@ components: enum: - read - write + attestations: + type: string + enum: + - read + - write checks: type: string enum: @@ -113703,11 +114170,21 @@ components: enum: - read - write + merge_queues: + type: string + enum: + - read + - write metadata: type: string enum: - read - write + models: + type: string + enum: + - read + - write organization_administration: type: string enum: @@ -215149,6 +215626,21 @@ components: updated_at: '2020-01-10T14:59:22Z' visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + artifact-deployment-record-list: + value: + total_count: 1 + deployment_records: + - id: 123 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: prod-deployment + tags: + data: sensitive + created: '2011-01-26T19:14:43Z' + updated_at: '2011-01-26T19:14:43Z' + attestation_id: 456 bulk-subject-digest-body: value: subject_digests: @@ -218000,17 +218492,29 @@ components: project_url: https://api.github.com/projects/67890 options: - id: option_1 - name: Low + name: + html: Low + raw: Low color: GREEN - description: Low priority items + description: + html: Low priority items + raw: Low priority items - id: option_2 - name: Medium + name: + html: Medium + raw: Medium color: YELLOW - description: Medium priority items + description: + html: Medium priority items + raw: Medium priority items - id: option_3 - name: High + name: + html: High + raw: High color: RED - description: High priority items + description: + html: High priority items + raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - id: 67891 @@ -218020,17 +218524,29 @@ components: project_url: https://api.github.com/projects/67890 options: - id: option_4 - name: Todo + name: + html: Todo + raw: Todo color: GRAY - description: Items to be worked on + description: + html: Items to be worked on + raw: Items to be worked on - id: option_5 - name: In Progress + name: + html: In Progress + raw: In Progress color: BLUE - description: Items currently being worked on + description: + html: Items currently being worked on + raw: Items currently being worked on - id: option_6 - name: Done + name: + html: Done + raw: Done color: GREEN - description: Completed items + description: + html: Completed items + raw: Completed items created_at: '2022-04-29T10:30:00Z' updated_at: '2022-04-29T10:30:00Z' - id: 24680 @@ -218064,11 +218580,15 @@ components: start_day: 1 iterations: - id: iter_1 - title: Sprint 1 + title: + html: Sprint 1 + raw: Sprint 1 start_date: '2022-07-01' duration: 14 - id: iter_2 - title: Sprint 2 + title: + html: Sprint 2 + raw: Sprint 2 start_date: '2022-07-15' duration: 14 created_at: '2022-06-20T16:45:00Z' @@ -218559,14 +219079,14 @@ components: name: Title type: title value: - raw_title: It seemed to me that any civilization that had so far lost - its head as to need to include a set of detailed instructions for use - in a packet of toothpicks, was no longer a civilization in which I could - live and stay sane. - html_title: It seemed to me that any civilization that had so far lost - its head as to need to include a set of detailed instructions for use - in a packet of toothpicks, was no longer a civilization in which I could - live and stay sane. + raw: It seemed to me that any civilization that had so far lost its head + as to need to include a set of detailed instructions for use in a packet + of toothpicks, was no longer a civilization in which I could live and + stay sane. + html: It seemed to me that any civilization that had so far lost its head + as to need to include a set of detailed instructions for use in a packet + of toothpicks, was no longer a civilization in which I could live and + stay sane. number: 6 url: https://github.com/5/1/pull/6 issue_id: 12 @@ -218601,11 +219121,13 @@ components: type: single_select value: id: '98236657' - name: Done - name_html: Done + name: + raw: Done + html: Done color: PURPLE - description: This has been completed - description_html: This has been completed + description: + raw: This has been completed + html: This has been completed - id: 4 name: Labels type: labels @@ -238106,6 +238628,16 @@ components: required: true schema: type: string + subject-digest: + name: subject_digest + description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. + in: path + required: true + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" tool-name: name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -239236,6 +239768,13 @@ components: - created - updated default: created + user-id: + name: user_id + description: The unique identifier of the user. + in: path + required: true + schema: + type: string responses: validation_failed_simple: description: Validation failed, or the endpoint has been spammed. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 223ce92b23..3ba0b0f2e4 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -78,7 +78,7 @@ }, { "name": "markdown", - "description": "Render GitHub flavored markdown" + "description": "Render GitHub flavored Markdown" }, { "name": "merge-queue", @@ -98,7 +98,7 @@ }, { "name": "orgs", - "description": "Interact with GitHub Orgs." + "description": "Interact with organizations." }, { "name": "packages", @@ -114,7 +114,7 @@ }, { "name": "rate-limit", - "description": "Check your current rate limit status" + "description": "Check your current rate limit status." }, { "name": "reactions", @@ -126,7 +126,7 @@ }, { "name": "search", - "description": "Look for stuff on GitHub." + "description": "Search for specific items on GitHub." }, { "name": "secret-scanning", @@ -5443,6 +5443,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -5483,6 +5491,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -5499,6 +5515,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -6551,6 +6575,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -6591,6 +6623,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -6607,6 +6647,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -7432,6 +7480,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -7472,6 +7528,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -7488,6 +7552,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -7878,6 +7950,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -7918,6 +7998,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -7934,6 +8022,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -10182,6 +10278,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -10222,6 +10326,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -10238,6 +10350,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -11322,6 +11442,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -11362,6 +11490,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -11378,6 +11514,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -12326,6 +12470,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -12366,6 +12518,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -12382,6 +12542,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -13033,6 +13201,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -13073,6 +13249,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -13089,6 +13273,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -83955,6 +84147,519 @@ } } }, + "/orgs/{org}/artifacts/metadata/deployment-record": { + "post": { + "summary": "Create an artifact deployment record", + "description": "Create or update deployment records for an artifact associated with an organization.\nThis endpoint allows you to record information about a specific artifact, such as its name, digest, environments, cluster, and deployment.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-deployment-record", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "minLength": 1, + "examples": [ + "libfoo" + ] + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact.", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact. Can be either deployed or decommissioned.", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "logical_environment": { + "type": "string", + "description": "The stage of the deployment." + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment." + }, + "cluster": { + "type": "string", + "description": "The deployment cluster." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment." + }, + "tags": { + "type": "object", + "description": "The tags associated with the deployment.", + "additionalProperties": { + "type": "string" + }, + "maxProperties": 5 + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "examples": [ + "my-github-repo" + ] + } + }, + "required": [ + "name", + "digest", + "status", + "logical_environment", + "deployment_name" + ] + }, + "examples": { + "default": { + "value": { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "status": "deployed", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "deployment-pod", + "tags": { + "data-access": "sensitive" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact deployment record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { + "post": { + "summary": "Set cluster deployment records", + "description": "Set deployment records for a given cluster.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-cluster-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cluster", + "in": "path", + "description": "The cluster name.", + "required": true, + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9._-]+$" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "logical_environment": { + "type": "string", + "description": "The stage of the deployment." + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment." + }, + "deployments": { + "type": "array", + "description": "The list of deployments to record.", + "items": { + "type": "object", + "maxLength": 100, + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "minLength": 1, + "maxLength": 255 + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact.", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, + "status": { + "type": "string", + "description": "The deployment status of the artifact.", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment.", + "minLength": 1, + "maxLength": 128 + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "examples": [ + "my-github-repo" + ] + }, + "tags": { + "type": "object", + "description": "Key-value pairs to tag the deployment record.", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "version": "2.1.0", + "status": "deployed", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "deployment-pod", + "tags": { + "runtime-risk": "sensitive-data" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact deployment record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/artifacts/metadata/storage-record": { "post": { "summary": "Create artifact metadata storage record", @@ -84181,6 +84886,155 @@ } } }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": { + "get": { + "summary": "List artifact deployment records", + "description": "List deployment records for an artifact metadata associated with an organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "subject_digest", + "description": "The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records for this digest and organization", + "type": "integer", + "examples": [ + 3 + ] + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", @@ -116359,6 +117213,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -116399,6 +117261,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -116415,6 +117285,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -117482,6 +118360,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -117522,6 +118408,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -117538,6 +118432,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -158942,21 +159844,39 @@ "options": [ { "id": "option_1", - "name": "Low", + "name": { + "html": "Low", + "raw": "Low" + }, "color": "GREEN", - "description": "Low priority items" + "description": { + "html": "Low priority items", + "raw": "Low priority items" + } }, { "id": "option_2", - "name": "Medium", + "name": { + "html": "Medium", + "raw": "Medium" + }, "color": "YELLOW", - "description": "Medium priority items" + "description": { + "html": "Medium priority items", + "raw": "Medium priority items" + } }, { "id": "option_3", - "name": "High", + "name": { + "html": "High", + "raw": "High" + }, "color": "RED", - "description": "High priority items" + "description": { + "html": "High priority items", + "raw": "High priority items" + } } ], "created_at": "2022-04-28T12:00:00Z", @@ -158971,21 +159891,39 @@ "options": [ { "id": "option_4", - "name": "Todo", + "name": { + "html": "Todo", + "raw": "Todo" + }, "color": "GRAY", - "description": "Items to be worked on" + "description": { + "html": "Items to be worked on", + "raw": "Items to be worked on" + } }, { "id": "option_5", - "name": "In Progress", + "name": { + "html": "In Progress", + "raw": "In Progress" + }, "color": "BLUE", - "description": "Items currently being worked on" + "description": { + "html": "Items currently being worked on", + "raw": "Items currently being worked on" + } }, { "id": "option_6", - "name": "Done", + "name": { + "html": "Done", + "raw": "Done" + }, "color": "GREEN", - "description": "Completed items" + "description": { + "html": "Completed items", + "raw": "Completed items" + } } ], "created_at": "2022-04-29T10:30:00Z", @@ -159030,13 +159968,19 @@ "iterations": [ { "id": "iter_1", - "title": "Sprint 1", + "title": { + "html": "Sprint 1", + "raw": "Sprint 1" + }, "start_date": "2022-07-01", "duration": 14 }, { "id": "iter_2", - "title": "Sprint 2", + "title": { + "html": "Sprint 2", + "raw": "Sprint 2" + }, "start_date": "2022-07-15", "duration": 14 } @@ -160329,8 +161273,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -160373,11 +161317,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -169289,8 +170237,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -169333,11 +170281,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -170526,8 +171478,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -170570,11 +171522,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -171274,8 +172230,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -171318,11 +172274,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -172022,8 +172982,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -172066,11 +173026,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -172770,8 +173734,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -172814,11 +173778,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -173518,8 +174486,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -173562,11 +174530,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -182931,6 +183903,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -184168,6 +185189,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -185466,6 +186536,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -187451,6 +188570,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -188713,6 +189881,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -190007,6 +191224,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -302445,6 +303711,7 @@ "type": "string", "description": "The language targeted by the CodeQL query", "enum": [ + "actions", "cpp", "csharp", "go", @@ -303279,6 +304546,7 @@ "type": "string", "description": "The language targeted by the CodeQL query", "enum": [ + "actions", "cpp", "csharp", "go", @@ -305114,6 +306382,7 @@ "type": "string", "description": "The language targeted by the CodeQL query", "enum": [ + "actions", "cpp", "csharp", "go", @@ -374532,6 +375801,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -374572,6 +375849,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -374588,6 +375873,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -540235,6 +541528,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -542013,6 +543355,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -543117,6 +544508,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -544434,6 +545874,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -546438,6 +547927,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -547557,6 +549095,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -548870,6 +550457,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -635933,6 +637569,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -635973,6 +637617,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -635989,6 +637641,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -670112,112 +671772,7857 @@ "starred_url", "subscriptions_url", "type", - "url", - "bio", - "blog", - "company", - "email", - "followers", - "following", - "hireable", - "location", - "name", - "public_gists", - "public_repos", - "created_at", - "updated_at" + "url", + "bio", + "blog", + "company", + "email", + "followers", + "following", + "hireable", + "location", + "name", + "public_gists", + "public_repos", + "created_at", + "updated_at" + ], + "additionalProperties": false + } + ] + }, + "examples": { + "default-response": { + "summary": "Default response", + "value": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "name": "monalisa octocat", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "hireable": false, + "bio": "There once was...", + "twitter_username": "monatheoctocat", + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "created_at": "2008-01-14T04:33:35Z", + "updated_at": "2008-01-14T04:33:35Z" + } + }, + "response-with-git-hub-plan-information": { + "summary": "Response with GitHub plan information", + "value": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "name": "monalisa octocat", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "hireable": false, + "bio": "There once was...", + "twitter_username": "monatheoctocat", + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "created_at": "2008-01-14T04:33:35Z", + "updated_at": "2008-01-14T04:33:35Z", + "plan": { + "name": "pro", + "space": 976562499, + "collaborators": 0, + "private_repos": 9999 + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "users", + "subcategory": "users" + } + } + }, + "/user/{user_id}/projectsV2/{project_number}/drafts": { + "post": { + "summary": "Create draft item for user owned project", + "description": "Create draft issue item for the specified user owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/create-draft-item-for-authenticated-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/drafts#create-draft-item-for-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, + "description": "Details of the draft item to create in the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the draft issue item to create in the project." + }, + "body": { + "type": "string", + "description": "The body content of the draft issue item to create in the project." + } + }, + "required": [ + "title" + ] + }, + "examples": { + "title": { + "summary": "Example with Sample Draft Issue Title", + "value": { + "title": "Sample Draft Issue Title" + } + }, + "body": { + "summary": "Example with Sample Draft Issue Title and Body", + "value": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "content": { + "oneOf": [ + { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + }, + { + "title": "Pull Request Simple", + "description": "Pull Request Simple", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOlB1bGxSZXF1ZXN0MQ==" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347" + ] + }, + "diff_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347.diff" + ] + }, + "patch_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347.patch" + ] + }, + "issue_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + }, + "commits_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + ] + }, + "review_comments_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + ] + }, + "review_comment_url": { + "type": "string", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + ] + }, + "comments_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + ] + }, + "statuses_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "number": { + "type": "integer", + "examples": [ + 1347 + ] + }, + "state": { + "type": "string", + "examples": [ + "open" + ] + }, + "locked": { + "type": "boolean", + "examples": [ + true + ] + }, + "title": { + "type": "string", + "examples": [ + "new-feature" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body": { + "type": [ + "string", + "null" + ], + "examples": [ + "Please pull these awesome changes" + ] + }, + "labels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "color": { + "type": "string" + }, + "default": { + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "examples": [ + "too heated" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "merge_commit_sha": { + "type": [ + "string", + "null" + ], + "examples": [ + "e5bd3914e2e596debea16f433f57875b5b90bcd6" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "requested_reviewers": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "requested_teams": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" + ] + } + }, + "head": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sha": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "base": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sha": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "_links": { + "type": "object", + "properties": { + "comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "commits": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "statuses": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "html": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "issue": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comment": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "self": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "comments", + "commits", + "statuses", + "html", + "issue", + "review_comments", + "review_comment", + "self" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "auto_merge": { + "title": "Auto merge", + "description": "The status of auto merging a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "enabled_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "commit_title": { + "type": "string", + "description": "Title for the merge commit message." + }, + "commit_message": { + "type": "string", + "description": "Commit message for the merge commit." + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ] + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean", + "examples": [ + false + ] + } + }, + "required": [ + "_links", + "assignee", + "labels", + "base", + "body", + "closed_at", + "comments_url", + "commits_url", + "created_at", + "diff_url", + "head", + "html_url", + "id", + "node_id", + "issue_url", + "merge_commit_sha", + "merged_at", + "milestone", + "number", + "patch_url", + "review_comment_url", + "review_comments_url", + "statuses_url", + "state", + "locked", + "title", + "updated_at", + "url", + "user", + "author_association", + "auto_merge" + ] + }, + { + "title": "Draft Issue", + "description": "A draft issue in a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The ID of the draft issue" + }, + "node_id": { + "type": "string", + "description": "The node ID of the draft issue" + }, + "title": { + "type": "string", + "description": "The title of the draft issue" + }, + "body": { + "type": [ + "string", + "null" + ], + "description": "The body content of the draft issue" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time the draft issue was created" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time the draft issue was last updated" + } + }, + "required": [ + "id", + "node_id", + "title", + "user", + "created_at", + "updated_at" + ] + } + ], + "description": "The content represented by the item." + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" ], - "additionalProperties": false + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The URL of the project this item belongs to." + }, + "item_url": { + "type": "string", + "format": "uri", + "description": "The URL of the item in the project." } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" ] }, "examples": { - "default-response": { - "summary": "Default response", + "draft_issue": { "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "twitter_username": "monatheoctocat", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z" + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "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 + } + }, + "content_type": "DraftIssue", + "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", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "twitter_username": "monatheoctocat", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z", - "plan": { - "name": "pro", - "space": 976562499, - "collaborators": 0, - "private_repos": 9999 - } + } + } + } + } + }, + "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" } } } } } }, - "404": { - "description": "Resource not found", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -670246,8 +679651,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "category": "projects", + "subcategory": "drafts" } } }, @@ -687385,6 +696790,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -687425,6 +696838,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -687441,6 +696862,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -694601,21 +704030,39 @@ "options": [ { "id": "option_1", - "name": "Low", + "name": { + "html": "Low", + "raw": "Low" + }, "color": "GREEN", - "description": "Low priority items" + "description": { + "html": "Low priority items", + "raw": "Low priority items" + } }, { "id": "option_2", - "name": "Medium", + "name": { + "html": "Medium", + "raw": "Medium" + }, "color": "YELLOW", - "description": "Medium priority items" + "description": { + "html": "Medium priority items", + "raw": "Medium priority items" + } }, { "id": "option_3", - "name": "High", + "name": { + "html": "High", + "raw": "High" + }, "color": "RED", - "description": "High priority items" + "description": { + "html": "High priority items", + "raw": "High priority items" + } } ], "created_at": "2022-04-28T12:00:00Z", @@ -694630,21 +704077,39 @@ "options": [ { "id": "option_4", - "name": "Todo", + "name": { + "html": "Todo", + "raw": "Todo" + }, "color": "GRAY", - "description": "Items to be worked on" + "description": { + "html": "Items to be worked on", + "raw": "Items to be worked on" + } }, { "id": "option_5", - "name": "In Progress", + "name": { + "html": "In Progress", + "raw": "In Progress" + }, "color": "BLUE", - "description": "Items currently being worked on" + "description": { + "html": "Items currently being worked on", + "raw": "Items currently being worked on" + } }, { "id": "option_6", - "name": "Done", + "name": { + "html": "Done", + "raw": "Done" + }, "color": "GREEN", - "description": "Completed items" + "description": { + "html": "Completed items", + "raw": "Completed items" + } } ], "created_at": "2022-04-29T10:30:00Z", @@ -694689,13 +704154,19 @@ "iterations": [ { "id": "iter_1", - "title": "Sprint 1", + "title": { + "html": "Sprint 1", + "raw": "Sprint 1" + }, "start_date": "2022-07-01", "duration": 14 }, { "id": "iter_2", - "title": "Sprint 2", + "title": { + "html": "Sprint 2", + "raw": "Sprint 2" + }, "start_date": "2022-07-15", "duration": 14 } @@ -695988,8 +705459,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -696032,11 +705503,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -704948,8 +714423,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -704992,11 +714467,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -706185,8 +715664,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -706229,11 +715708,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -706933,8 +716416,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -706977,11 +716460,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -707681,8 +717168,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -707725,11 +717212,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -708429,8 +717920,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -708473,11 +717964,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -709177,8 +718672,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -709221,11 +718716,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -757049,6 +766548,13 @@ "write" ] }, + "attestations": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "enum": [ @@ -757119,6 +766625,13 @@ "write" ] }, + "merge_queues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "enum": [ @@ -757126,6 +766639,13 @@ "write" ] }, + "models": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "organization_administration": { "type": "string", "enum": [ @@ -759807,6 +769327,13 @@ "write" ] }, + "attestations": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "enum": [ @@ -759877,6 +769404,13 @@ "write" ] }, + "merge_queues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "enum": [ @@ -759884,6 +769418,13 @@ "write" ] }, + "models": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "organization_administration": { "type": "string", "enum": [ @@ -888442,6 +897983,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -888482,6 +898031,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -888498,6 +898055,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -891525,6 +901090,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -891565,6 +901138,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -891581,6 +901162,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -894513,6 +904102,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -894553,6 +904150,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -894569,6 +904174,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -897501,6 +907114,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -897541,6 +907162,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -897557,6 +907186,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -900623,6 +910260,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -900663,6 +910308,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -900679,6 +910332,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -903752,6 +913413,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -903792,6 +913461,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -903808,6 +913485,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -908876,6 +918561,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -908916,6 +918609,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -908932,6 +918633,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -1363276,6 +1372985,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1366531,6 +1376289,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1369786,6 +1379593,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1370815,6 +1380671,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1371672,6 +1381577,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1372532,6 +1382486,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 53e7c9ba75..7a42b4ab35 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -44,7 +44,7 @@ tags: - name: licenses description: View various OSS licenses. - name: markdown - description: Render GitHub flavored markdown + description: Render GitHub flavored Markdown - name: merge-queue description: Interact with GitHub Merge Queues. - name: meta @@ -54,7 +54,7 @@ tags: - name: oidc description: Endpoints to manage GitHub OIDC configuration using the REST API. - name: orgs - description: Interact with GitHub Orgs. + description: Interact with organizations. - name: packages description: Manage packages for authenticated users and organizations. - name: projects-classic @@ -62,13 +62,13 @@ tags: - name: pulls description: Interact with GitHub Pull Requests. - name: rate-limit - description: Check your current rate limit status + description: Check your current rate limit status. - name: reactions description: Interact with reactions to various GitHub entities. - name: repos description: Interact with GitHub Repos. - name: search - description: Look for stuff on GitHub. + description: Search for specific items on GitHub. - name: secret-scanning description: Retrieve secret scanning alerts from a repository. - name: teams @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &287 + type: &289 type: string description: The type of credit the user is receiving. enum: @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &611 + - &613 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1658,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &184 + - &186 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1674,7 +1674,7 @@ paths: application/json: schema: type: array - items: &185 + items: &187 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1770,7 +1770,7 @@ paths: - installation_id - repository_id examples: - default: &186 + default: &188 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1905,7 +1905,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &189 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2040,7 +2040,7 @@ paths: - request - response examples: - default: &188 + default: &190 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2343,6 +2343,13 @@ paths: enum: - read - write + attestations: + type: string + description: The level of permission to create and retrieve + the access token for repository attestations. + enum: + - read + - write checks: type: string description: The level of permission to grant the access @@ -2379,6 +2386,13 @@ paths: enum: - read - write + discussions: + type: string + description: The level of permission to grant the access + token for discussions and related comments and labels. + enum: + - read + - write environments: type: string description: The level of permission to grant the access @@ -2394,6 +2408,13 @@ paths: enum: - read - write + merge_queues: + type: string + description: The level of permission to grant the access + token to manage the merge queues for a repository. + enum: + - read + - write metadata: type: string description: The level of permission to grant the access @@ -7736,7 +7757,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &162 + code_scanning_options: &164 type: - object - 'null' @@ -7934,7 +7955,7 @@ paths: description: Response content: application/json: - schema: &164 + schema: &166 type: array description: A list of default code security configurations items: @@ -7950,7 +7971,7 @@ paths: default configuration: *41 examples: - default: &165 + default: &167 value: - default_for_new_repos: public configuration: @@ -8281,7 +8302,7 @@ paths: - *40 - *43 responses: - '204': &166 + '204': &168 description: A header with no content is returned. '400': *14 '403': *27 @@ -8408,7 +8429,7 @@ paths: default: value: default_for_new_repos: all - configuration: &163 + configuration: &165 value: id: 1325 target_type: organization @@ -8493,7 +8514,7 @@ paths: application/json: schema: type: array - items: &167 + items: &169 type: object description: Repositories associated with a code security configuration and attachment status @@ -8838,7 +8859,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &168 + repository: &170 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8932,7 +8953,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &171 + - &173 name: state in: query description: |- @@ -8941,7 +8962,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &172 + - &174 name: severity in: query description: |- @@ -8950,7 +8971,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &173 + - &175 name: ecosystem in: query description: |- @@ -8959,14 +8980,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &174 + - &176 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &175 + - &177 name: epss_percentage in: query description: |- @@ -8978,7 +8999,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 - - &452 + - &454 name: has in: query description: |- @@ -8992,7 +9013,7 @@ paths: type: string enum: - patch - - &176 + - &178 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9002,7 +9023,7 @@ paths: enum: - development - runtime - - &177 + - &179 name: sort in: query description: |- @@ -9028,11 +9049,11 @@ paths: application/json: schema: type: array - items: &178 + items: &180 type: object description: A Dependabot alert. properties: - number: &152 + number: &154 type: integer description: The security alert number. readOnly: true @@ -9098,7 +9119,7 @@ paths: - direct - transitive - - security_advisory: &453 + security_advisory: &455 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9305,29 +9326,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &155 + url: &157 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &156 + html_url: &158 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &153 + created_at: &155 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &154 + updated_at: &156 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &158 + dismissed_at: &160 type: - string - 'null' @@ -9358,7 +9379,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &157 + fixed_at: &159 type: - string - 'null' @@ -9366,7 +9387,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &454 + auto_dismissed_at: &456 type: - string - 'null' @@ -9393,7 +9414,7 @@ paths: - repository additionalProperties: false examples: - default: &179 + default: &181 value: - number: 2 state: dismissed @@ -10806,7 +10827,7 @@ paths: milestone: anyOf: - type: 'null' - - &242 + - &244 title: Milestone description: A collection of related issues and pull requests. @@ -10978,7 +10999,7 @@ paths: timeline_url: type: string format: uri - type: &206 + type: &208 title: Issue Type description: The type of issue. type: @@ -11087,7 +11108,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &623 + sub_issues_summary: &625 title: Sub-issues Summary type: object properties: @@ -11108,7 +11129,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &624 + issue_dependencies_summary: &626 title: Issue Dependencies Summary type: object properties: @@ -11127,7 +11148,7 @@ paths: - total_blocking issue_field_values: type: array - items: &625 + items: &627 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11222,7 +11243,7 @@ paths: - user - created_at - updated_at - comment: &501 + comment: &503 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11800,7 +11821,7 @@ paths: url: type: string format: uri - user: &637 + user: &639 title: Public User description: Public User type: object @@ -13695,7 +13716,7 @@ paths: - closed - all default: open - - &209 + - &211 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13746,7 +13767,7 @@ paths: type: array items: *78 examples: - default: &210 + default: &212 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15157,14 +15178,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &309 + - &311 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &310 + - &312 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15226,7 +15247,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &316 + '301': &318 description: Moved permanently content: application/json: @@ -15248,7 +15269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &530 + - &532 name: all description: If `true`, show notifications marked as read. in: query @@ -15256,7 +15277,7 @@ paths: schema: type: boolean default: false - - &531 + - &533 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15266,7 +15287,7 @@ paths: type: boolean default: false - *68 - - &532 + - &534 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: @@ -15637,7 +15658,7 @@ paths: type: boolean examples: - false - security_and_analysis: &255 + security_and_analysis: &257 type: - object - 'null' @@ -15802,7 +15823,7 @@ paths: - url - subscription_url examples: - default: &533 + default: &535 value: - id: '1' repository: @@ -16681,7 +16702,7 @@ paths: - property_name - value examples: - default: &539 + default: &541 value: - property_name: environment value: production @@ -16731,7 +16752,7 @@ paths: required: - properties examples: - default: &540 + default: &542 value: properties: - property_name: environment @@ -17289,7 +17310,7 @@ paths: required: false schema: type: string - - &679 + - &681 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -17435,7 +17456,7 @@ paths: parameters: - *61 - *99 - - &682 + - &684 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 @@ -17547,7 +17568,7 @@ paths: - *99 - *101 - *100 - - &683 + - &685 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -17555,7 +17576,7 @@ paths: schema: type: string - *102 - - &684 + - &686 name: sku description: The SKU to query for usage. in: query @@ -18534,7 +18555,7 @@ paths: type: integer repository_cache_usages: type: array - items: &321 + items: &323 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19772,7 +19793,7 @@ paths: - all - local_only - selected - selected_actions_url: &327 + selected_actions_url: &329 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` @@ -19855,7 +19876,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &333 type: object properties: days: @@ -19897,7 +19918,7 @@ paths: required: true content: application/json: - schema: &332 + schema: &334 type: object properties: days: @@ -19954,7 +19975,7 @@ paths: required: - approval_policy examples: - default: &333 + default: &335 value: approval_policy: first_time_contributors '404': *6 @@ -20013,7 +20034,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -20067,7 +20088,7 @@ paths: required: true content: application/json: - schema: &335 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -20702,7 +20723,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &338 type: object properties: default_workflow_permissions: &129 @@ -20753,7 +20774,7 @@ paths: required: false content: application/json: - schema: &337 + schema: &339 type: object properties: default_workflow_permissions: *129 @@ -21246,7 +21267,7 @@ paths: type: array items: *136 examples: - default: &640 + default: &642 value: total_count: 1 repositories: @@ -21893,7 +21914,7 @@ paths: application/json: schema: type: array - items: &338 + items: &340 title: Runner Application description: Runner Application type: object @@ -21918,7 +21939,7 @@ paths: - download_url - filename examples: - default: &339 + default: &341 value: - os: osx architecture: x64 @@ -22004,7 +22025,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &340 + '201': &342 description: Response content: application/json: @@ -22119,7 +22140,7 @@ paths: - token - expires_at examples: - default: &341 + default: &343 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22158,7 +22179,7 @@ paths: application/json: schema: *140 examples: - default: &342 + default: &344 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22192,7 +22213,7 @@ paths: application/json: schema: *138 examples: - default: &343 + default: &345 value: id: 23 name: MBP @@ -22418,7 +22439,7 @@ paths: - *61 - *137 responses: - '200': &344 + '200': &346 description: Response content: application/json: @@ -22475,7 +22496,7 @@ paths: parameters: - *61 - *137 - - &345 + - &347 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22607,7 +22628,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &359 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22642,7 +22663,7 @@ paths: - key_id - key examples: - default: &358 + default: &360 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23055,7 +23076,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *61 - - &326 + - &328 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)." @@ -23525,6 +23546,330 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/artifacts/metadata/deployment-record": + post: + summary: Create an artifact deployment record + description: |- + Create or update deployment records for an artifact associated with an organization. + This endpoint allows you to record information about a specific artifact, such as its name, digest, environments, cluster, and deployment. + tags: + - orgs + operationId: orgs/create-artifact-deployment-record + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record + parameters: + - *61 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + examples: + - libfoo + digest: + type: string + description: The hex encoded digest of the artifact. + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 + status: + type: string + description: The status of the artifact. Can be either deployed + or decommissioned. + enum: + - deployed + - decommissioned + logical_environment: + type: string + description: The stage of the deployment. + physical_environment: + type: string + description: The physical region of the deployment. + cluster: + type: string + description: The deployment cluster. + deployment_name: + type: string + description: The name of the deployment. + tags: + type: object + description: The tags associated with the deployment. + additionalProperties: + type: string + maxProperties: 5 + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + examples: + - my-github-repo + required: + - name + - digest + - status + - logical_environment + - deployment_name + examples: + default: + value: + name: awesome-image + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + status: deployed + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: deployment-pod + tags: + data-access: sensitive + responses: + '200': + description: Artifact deployment record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created + type: integer + deployment_records: + type: array + items: &149 + title: Artifact Deployment Record + description: Artifact Metadata Deployment Record + type: object + properties: + id: + type: integer + digest: + type: string + logical_environment: + type: string + physical_environment: + type: string + cluster: + type: string + deployment_name: + type: string + tags: + type: object + additionalProperties: + type: string + runtime_risks: + type: array + description: A list of runtime risks associated with the + deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + created_at: + type: string + updated_at: + type: string + attestation_id: + type: + - integer + - 'null' + description: The ID of the provenance attestation associated + with the deployment record. + examples: + default: &150 + value: + total_count: 1 + deployment_records: + - id: 123 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: prod-deployment + tags: + data: sensitive + created: '2011-01-26T19:14:43Z' + updated_at: '2011-01-26T19:14:43Z' + attestation_id: 456 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": + post: + summary: Set cluster deployment records + description: Set deployment records for a given cluster. + tags: + - orgs + operationId: orgs/set-cluster-deployment-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records + parameters: + - *61 + - name: cluster + in: path + description: The cluster name. + required: true + schema: + type: string + minLength: 1 + maxLength: 64 + pattern: "^[a-zA-Z0-9._-]+$" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + logical_environment: + type: string + description: The stage of the deployment. + physical_environment: + type: string + description: The physical region of the deployment. + deployments: + type: array + description: The list of deployments to record. + items: + type: object + maxLength: 100 + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + maxLength: 255 + digest: + type: string + description: The hex encoded digest of the artifact. + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 + status: + type: string + description: The deployment status of the artifact. + enum: + - deployed + - decommissioned + deployment_name: + type: string + description: The name of the deployment. + minLength: 1 + maxLength: 128 + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + examples: + - my-github-repo + tags: + type: object + description: Key-value pairs to tag the deployment record. + additionalProperties: + type: string + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + examples: + default: + value: + name: awesome-image + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + version: 2.1.0 + status: deployed + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: deployment-pod + tags: + runtime-risk: sensitive-data + responses: + '200': + description: Artifact deployment record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created + type: integer + deployment_records: + type: array + items: *149 + examples: + default: *150 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/artifacts/metadata/storage-record": post: summary: Create artifact metadata storage record @@ -23690,6 +24035,52 @@ paths: enabledForGitHubApps: true category: orgs subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": + get: + summary: List artifact deployment records + description: List deployment records for an artifact metadata associated with + an organization. + tags: + - orgs + operationId: orgs/list-artifact-deployment-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records + parameters: + - *61 + - name: subject_digest + description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. + in: path + required: true + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + responses: + '200': + description: Successful response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records for this digest + and organization + type: integer + examples: + - 3 + deployment_records: + type: array + items: *149 + examples: + default: *150 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": get: summary: List artifact storage records @@ -23814,12 +24205,12 @@ paths: required: - subject_digests examples: - default: &667 + default: &669 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &668 + withPredicateType: &670 value: subject_digests: - sha256:abc123 @@ -23878,7 +24269,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &669 + default: &671 value: attestations_subject_digests: - sha256:abc: @@ -24227,7 +24618,7 @@ paths: initiator: type: string examples: - default: &371 + default: &373 value: attestations: - bundle: @@ -24446,7 +24837,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &149 + schema: &151 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -24472,7 +24863,7 @@ paths: application/json: schema: type: array - items: &150 + items: &152 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -24503,7 +24894,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &170 + items: &172 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -24580,7 +24971,7 @@ paths: parent: anyOf: - type: 'null' - - &221 + - &223 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -24716,7 +25107,7 @@ paths: - string - 'null' format: date-time - state: *149 + state: *151 contact_link: description: The contact link of the campaign. type: @@ -24939,9 +25330,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: - default: &151 + default: &153 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25024,9 +25415,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: - default: *151 + default: *153 '404': *6 '422': description: Unprocessable Entity @@ -25104,7 +25495,7 @@ paths: - string - 'null' format: uri - state: *149 + state: *151 examples: default: value: @@ -25114,9 +25505,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: - default: *151 + default: *153 '400': description: Bad Request content: @@ -25183,17 +25574,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *61 - - &396 + - &398 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`, but not both. in: query required: false - schema: &159 + schema: &161 type: string description: The name of the tool used to generate the code scanning analysis. - - &397 + - &399 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 @@ -25201,7 +25592,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &160 + schema: &162 type: - string - 'null' @@ -25217,7 +25608,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &401 type: string description: State of a code scanning alert. enum: @@ -25240,7 +25631,7 @@ paths: be returned. in: query required: false - schema: &400 + schema: &402 type: string description: Severity of a code scanning alert. enum: @@ -25261,18 +25652,18 @@ paths: items: type: object properties: - number: *152 - created_at: *153 - updated_at: *154 - url: *155 - html_url: *156 - instances_url: &401 + number: *154 + created_at: *155 + updated_at: *156 + url: *157 + html_url: *158 + instances_url: &403 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &161 + state: &163 type: - string - 'null' @@ -25282,13 +25673,13 @@ paths: - dismissed - fixed - - fixed_at: *157 + fixed_at: *159 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *158 - dismissed_reason: &402 + dismissed_at: *160 + dismissed_reason: &404 type: - string - 'null' @@ -25299,14 +25690,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &403 + dismissed_comment: &405 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &404 + rule: &406 type: object properties: id: @@ -25367,26 +25758,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &405 + tool: &407 type: object properties: - name: *159 + name: *161 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *160 - most_recent_instance: &406 + guid: *162 + most_recent_instance: &408 type: object properties: - ref: &398 + ref: &400 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &416 + analysis_key: &418 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25397,13 +25788,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &417 + category: &419 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *161 + state: *163 commit_sha: type: string message: @@ -25909,7 +26300,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *162 + code_scanning_options: *164 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26052,7 +26443,7 @@ paths: application/json: schema: *41 examples: - default: *163 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26080,9 +26471,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *166 examples: - default: *165 + default: *167 '304': *35 '403': *27 '404': *6 @@ -26134,7 +26525,7 @@ paths: - 32 - 91 responses: - '204': *166 + '204': *168 '400': *14 '403': *27 '404': *6 @@ -26169,7 +26560,7 @@ paths: application/json: schema: *41 examples: - default: *163 + default: *165 '304': *35 '403': *27 '404': *6 @@ -26453,7 +26844,7 @@ paths: - *61 - *43 responses: - '204': *166 + '204': *168 '400': *14 '403': *27 '404': *6 @@ -26591,7 +26982,7 @@ paths: default: value: default_for_new_repos: all - configuration: *163 + configuration: *165 '403': *27 '404': *6 x-github: @@ -26644,13 +27035,13 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *168 + repository: *170 '403': *27 '404': *6 x-github: @@ -26690,7 +27081,7 @@ paths: type: integer codespaces: type: array - items: &211 + items: &213 type: object title: Codespace description: A codespace. @@ -26725,7 +27116,7 @@ paths: machine: anyOf: - type: 'null' - - &429 + - &431 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27012,7 +27403,7 @@ paths: - pulls_url - recent_folders examples: - default: &212 + default: &214 value: total_count: 3 codespaces: @@ -27636,7 +28027,7 @@ paths: type: integer secrets: type: array - items: &169 + items: &171 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27677,7 +28068,7 @@ paths: - updated_at - visibility examples: - default: &430 + default: &432 value: total_count: 2 secrets: @@ -27715,7 +28106,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &433 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27750,7 +28141,7 @@ paths: - key_id - key examples: - default: &432 + default: &434 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27780,9 +28171,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: - default: &434 + default: &436 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28249,7 +28640,7 @@ paths: currently being billed. seats: type: array - items: &214 + items: &216 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28267,7 +28658,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *170 + - *172 - *53 type: - 'null' @@ -28780,7 +29171,7 @@ paths: application/json: schema: type: array - items: &291 + items: &293 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29095,7 +29486,7 @@ paths: - date additionalProperties: true examples: - default: &292 + default: &294 value: - date: '2024-06-24' total_active_users: 24 @@ -29197,7 +29588,7 @@ paths: '500': *96 '403': *27 '404': *6 - '422': &293 + '422': &295 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29225,11 +29616,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *61 - - *171 - - *172 - *173 - *174 - *175 + - *176 + - *177 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29267,8 +29658,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *176 - - *177 + - *178 + - *179 - *46 - *38 - *39 @@ -29280,9 +29671,9 @@ paths: application/json: schema: type: array - items: *178 + items: *180 examples: - default: *179 + default: *181 '304': *35 '400': *14 '403': *27 @@ -29326,7 +29717,7 @@ paths: type: integer secrets: type: array - items: &180 + items: &182 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29405,7 +29796,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &459 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29424,7 +29815,7 @@ paths: - key_id - key examples: - default: &458 + default: &460 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29454,7 +29845,7 @@ paths: description: Response content: application/json: - schema: *180 + schema: *182 examples: default: value: @@ -29755,7 +30146,7 @@ paths: application/json: schema: type: array - items: &223 + items: &225 title: Package description: A software package type: object @@ -29826,7 +30217,7 @@ paths: - created_at - updated_at examples: - default: &224 + default: &226 value: - id: 197 name: hello_docker @@ -29996,7 +30387,7 @@ paths: application/json: schema: type: array - items: &203 + items: &205 title: Organization Invitation description: Organization Invitation type: object @@ -30050,7 +30441,7 @@ paths: - invitation_teams_url - node_id examples: - default: &204 + default: &206 value: - id: 1 login: monalisa @@ -30117,7 +30508,7 @@ paths: application/json: schema: type: array - items: &181 + items: &183 title: Org Hook description: Org Hook type: object @@ -30302,9 +30693,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: &182 + default: &184 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30352,7 +30743,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *61 - - &183 + - &185 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30365,9 +30756,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 '404': *6 x-github: githubCloudOnly: false @@ -30395,7 +30786,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *61 - - *183 + - *185 requestBody: required: false content: @@ -30441,7 +30832,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: default: value: @@ -30483,7 +30874,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *61 - - *183 + - *185 responses: '204': description: Response @@ -30511,7 +30902,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *61 - - *183 + - *185 responses: '200': description: Response @@ -30542,7 +30933,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *61 - - *183 + - *185 requestBody: required: false content: @@ -30593,9 +30984,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *61 - - *183 + - *185 - *17 - - *184 + - *186 responses: '200': description: Response @@ -30603,9 +30994,9 @@ paths: application/json: schema: type: array - items: *185 + items: *187 examples: - default: *186 + default: *188 '400': *14 '422': *15 x-github: @@ -30631,16 +31022,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *61 - - *183 + - *185 - *16 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 '400': *14 '422': *15 x-github: @@ -30666,7 +31057,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *61 - - *183 + - *185 - *16 responses: '202': *37 @@ -30696,7 +31087,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *61 - - *183 + - *185 responses: '204': description: Response @@ -30719,7 +31110,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *61 - - &193 + - &195 name: actor_type in: path description: The type of the actor @@ -30732,14 +31123,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &194 + - &196 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &189 + - &191 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -30747,7 +31138,7 @@ paths: required: true schema: type: string - - &190 + - &192 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30842,12 +31233,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *61 - - *189 - - *190 + - *191 + - *192 - *19 - *17 - *46 - - &199 + - &201 name: sort description: The property to sort the results by. in: query @@ -30927,14 +31318,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *61 - - *189 - - *190 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: &191 + schema: &193 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30950,7 +31341,7 @@ paths: type: integer format: int64 examples: - default: &192 + default: &194 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30971,23 +31362,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *61 - - &195 + - &197 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *189 - - *190 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 x-github: enabledForGitHubApps: true category: orgs @@ -31006,18 +31397,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *61 - - *189 - - *190 - - *193 - - *194 + - *191 + - *192 + - *195 + - *196 responses: '200': description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 x-github: enabledForGitHubApps: true category: orgs @@ -31035,9 +31426,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *61 - - *189 - - *190 - - &196 + - *191 + - *192 + - &198 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31050,7 +31441,7 @@ paths: description: Response content: application/json: - schema: &197 + schema: &199 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31066,7 +31457,7 @@ paths: type: integer format: int64 examples: - default: &198 + default: &200 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31103,18 +31494,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *61 - - *195 - - *189 - - *190 - - *196 + - *197 + - *191 + - *192 + - *198 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *198 + default: *200 x-github: enabledForGitHubApps: true category: orgs @@ -31132,19 +31523,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *61 - - *193 - - *194 - - *189 - - *190 + - *195 - *196 + - *191 + - *192 + - *198 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *198 + default: *200 x-github: enabledForGitHubApps: true category: orgs @@ -31162,13 +31553,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *61 - - *195 - - *189 - - *190 + - *197 + - *191 + - *192 - *19 - *17 - *46 - - *199 + - *201 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -31252,7 +31643,7 @@ paths: application/json: schema: *20 examples: - default: &496 + default: &498 value: id: 1 account: @@ -31418,12 +31809,12 @@ paths: application/json: schema: anyOf: - - &201 + - &203 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &200 + limit: &202 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31451,7 +31842,7 @@ paths: properties: {} additionalProperties: false examples: - default: &202 + default: &204 value: limit: collaborators_only origin: organization @@ -31480,13 +31871,13 @@ paths: required: true content: application/json: - schema: &497 + schema: &499 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *200 + limit: *202 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31511,9 +31902,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *202 + default: *204 '422': *15 x-github: githubCloudOnly: false @@ -31589,9 +31980,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *52 '404': *6 @@ -31668,7 +32059,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: default: value: @@ -31723,7 +32114,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *61 - - &205 + - &207 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31754,7 +32145,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *61 - - *205 + - *207 - *17 - *19 responses: @@ -31764,9 +32155,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: &222 + default: &224 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31809,7 +32200,7 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: default: value: @@ -31897,9 +32288,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: - default: &207 + default: &209 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31932,7 +32323,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *61 - - &208 + - &210 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31988,9 +32379,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: - default: *207 + default: *209 '404': *6 '422': *7 x-github: @@ -32015,7 +32406,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *61 - - *208 + - *210 responses: '204': description: Response @@ -32078,7 +32469,7 @@ paths: - closed - all default: open - - *209 + - *211 - name: type description: Can be the name of an issue type. in: query @@ -32109,7 +32500,7 @@ paths: type: array items: *78 examples: - default: *210 + default: *212 headers: Link: *52 '404': *6 @@ -32268,9 +32659,9 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 '304': *35 '500': *96 '401': *23 @@ -32297,7 +32688,7 @@ paths: parameters: - *61 - *57 - - &213 + - &215 name: codespace_name in: path required: true @@ -32332,15 +32723,15 @@ paths: parameters: - *61 - *57 - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: &428 + default: &430 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32520,7 +32911,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -32596,7 +32987,7 @@ paths: description: Response content: application/json: - schema: &215 + schema: &217 title: Org Membership description: Org Membership type: object @@ -32665,7 +33056,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &216 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32762,9 +33153,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *216 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *27 x-github: @@ -32836,7 +33227,7 @@ paths: application/json: schema: type: array - items: &217 + items: &219 title: Migration description: A migration. type: object @@ -33174,7 +33565,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -33353,7 +33744,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *61 - - &218 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -33381,7 +33772,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -33551,7 +33942,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *61 - - *218 + - *220 responses: '302': description: Response @@ -33573,7 +33964,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *61 - - *218 + - *220 responses: '204': description: Response @@ -33597,8 +33988,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *61 - - *218 - - &652 + - *220 + - &654 name: repo_name description: repo_name parameter in: path @@ -33626,7 +34017,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *61 - - *218 + - *220 - *17 - *19 responses: @@ -33638,7 +34029,7 @@ paths: type: array items: *136 examples: - default: &229 + default: &231 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33791,7 +34182,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &220 + items: &222 title: Organization Role description: Organization roles type: object @@ -33968,7 +34359,7 @@ paths: parameters: - *61 - *62 - - &219 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -34005,7 +34396,7 @@ paths: parameters: - *61 - *62 - - *219 + - *221 responses: '204': description: Response @@ -34058,7 +34449,7 @@ paths: parameters: - *61 - *57 - - *219 + - *221 responses: '204': description: Response @@ -34090,7 +34481,7 @@ paths: parameters: - *61 - *57 - - *219 + - *221 responses: '204': description: Response @@ -34119,13 +34510,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *61 - - *219 + - *221 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: default: value: @@ -34176,7 +34567,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *61 - - *219 + - *221 - *17 - *19 responses: @@ -34255,7 +34646,7 @@ paths: parent: anyOf: - type: 'null' - - *221 + - *223 type: description: The ownership type of the team type: string @@ -34288,7 +34679,7 @@ paths: - type - parent examples: - default: *222 + default: *224 headers: Link: *52 '404': @@ -34318,7 +34709,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *61 - - *219 + - *221 - *17 - *19 responses: @@ -34347,7 +34738,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *221 + items: *223 name: type: - string @@ -34657,7 +35048,7 @@ paths: - nuget - container - *61 - - &653 + - &655 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34693,12 +35084,12 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *224 + default: *226 '403': *27 '401': *23 - '400': &655 + '400': &657 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34720,7 +35111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &225 + - &227 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -34738,7 +35129,7 @@ paths: - docker - nuget - container - - &226 + - &228 name: package_name description: The name of the package. in: path @@ -34751,7 +35142,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -34803,8 +35194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *225 - - *226 + - *227 + - *228 - *61 responses: '204': @@ -34837,8 +35228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *225 - - *226 + - *227 + - *228 - *61 - name: token description: package token @@ -34871,8 +35262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *225 - - *226 + - *227 + - *228 - *61 - *19 - *17 @@ -34893,7 +35284,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Package Version description: A version of a software package type: object @@ -35028,10 +35419,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *225 - - *226 + - *227 + - *228 - *61 - - &228 + - &230 name: package_version_id description: Unique identifier of the package version. in: path @@ -35043,7 +35434,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: default: value: @@ -35079,10 +35470,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *225 - - *226 - - *61 + - *227 - *228 + - *61 + - *230 responses: '204': description: Response @@ -35114,10 +35505,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *225 - - *226 - - *61 + - *227 - *228 + - *61 + - *230 responses: '204': description: Response @@ -35147,7 +35538,7 @@ paths: - *61 - *17 - *19 - - &230 + - &232 name: sort description: The property by which to sort the results. in: query @@ -35158,7 +35549,7 @@ paths: - created_at default: created_at - *46 - - &231 + - &233 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35170,7 +35561,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &232 + - &234 name: repository description: The name of the repository to use to filter the results. in: query @@ -35179,7 +35570,7 @@ paths: type: string examples: - Hello-World - - &233 + - &235 name: permission description: The permission to use to filter the results. in: query @@ -35188,7 +35579,7 @@ paths: type: string examples: - issues_read - - &234 + - &236 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35198,7 +35589,7 @@ paths: schema: type: string format: date-time - - &235 + - &237 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35208,7 +35599,7 @@ paths: schema: type: string format: date-time - - &236 + - &238 name: token_id description: The ID of the token in: query @@ -35484,7 +35875,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *166 + '204': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35527,7 +35918,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -35553,14 +35944,14 @@ paths: - *61 - *17 - *19 - - *230 - - *46 - - *231 - *232 + - *46 - *233 - *234 - *235 - *236 + - *237 + - *238 responses: '500': *96 '422': *15 @@ -35801,7 +36192,7 @@ paths: responses: '500': *96 '404': *6 - '204': *166 + '204': *168 '403': *27 '422': *15 x-github: @@ -35844,7 +36235,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -35886,7 +36277,7 @@ paths: type: integer configurations: type: array - items: &237 + items: &239 title: Organization private registry description: Private registry configuration for an organization type: object @@ -36182,7 +36573,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &238 + org-private-registry-with-selected-visibility: &240 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -36280,9 +36671,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '404': *6 x-github: githubCloudOnly: false @@ -36450,7 +36841,7 @@ paths: application/json: schema: type: array - items: &239 + items: &241 title: Projects v2 Project description: A projects v2 project type: object @@ -36524,7 +36915,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &732 + - &734 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -36609,7 +37000,7 @@ paths: - deleted_at - deleted_by examples: - default: &240 + default: &242 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36712,7 +37103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &241 + - &243 name: project_number description: The project's number. in: path @@ -36725,9 +37116,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 headers: Link: *52 '304': *35 @@ -36750,7 +37141,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *61 - - *241 + - *243 requestBody: required: true description: Details of the draft item to create in the project. @@ -36784,7 +37175,7 @@ paths: description: Response content: application/json: - schema: &246 + schema: &248 title: Projects v2 Item description: An item belonging to a project type: object @@ -36798,7 +37189,7 @@ paths: content: oneOf: - *78 - - &441 + - &443 title: Pull Request Simple description: Pull Request Simple type: object @@ -36918,7 +37309,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *244 active_lock_reason: type: - string @@ -36973,7 +37364,7 @@ paths: type: - array - 'null' - items: *170 + items: *172 head: type: object properties: @@ -37017,7 +37408,7 @@ paths: _links: type: object properties: - comments: &243 + comments: &245 title: Link description: Hypermedia Link type: object @@ -37026,13 +37417,13 @@ paths: type: string required: - href - commits: *243 - statuses: *243 - html: *243 - issue: *243 - review_comments: *243 - review_comment: *243 - self: *243 + commits: *245 + statuses: *245 + html: *245 + issue: *245 + review_comments: *245 + review_comment: *245 + self: *245 required: - comments - commits @@ -37043,7 +37434,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: &542 + auto_merge: &544 title: Auto merge description: The status of auto merging a pull request. type: @@ -37145,7 +37536,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &245 + content_type: &247 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -37189,7 +37580,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &247 + draft_issue: &249 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37263,7 +37654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *241 + - *243 - *61 - *17 - *38 @@ -37275,7 +37666,7 @@ paths: application/json: schema: type: array - items: &244 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -37425,7 +37816,7 @@ paths: - updated_at - project_url examples: - default: &672 + default: &674 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37434,17 +37825,29 @@ paths: project_url: https://api.github.com/projects/67890 options: - id: option_1 - name: Low + name: + html: Low + raw: Low color: GREEN - description: Low priority items + description: + html: Low priority items + raw: Low priority items - id: option_2 - name: Medium + name: + html: Medium + raw: Medium color: YELLOW - description: Medium priority items + description: + html: Medium priority items + raw: Medium priority items - id: option_3 - name: High + name: + html: High + raw: High color: RED - description: High priority items + description: + html: High priority items + raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - id: 67891 @@ -37454,17 +37857,29 @@ paths: project_url: https://api.github.com/projects/67890 options: - id: option_4 - name: Todo + name: + html: Todo + raw: Todo color: GRAY - description: Items to be worked on + description: + html: Items to be worked on + raw: Items to be worked on - id: option_5 - name: In Progress + name: + html: In Progress + raw: In Progress color: BLUE - description: Items currently being worked on + description: + html: Items currently being worked on + raw: Items currently being worked on - id: option_6 - name: Done + name: + html: Done + raw: Done color: GREEN - description: Completed items + description: + html: Completed items + raw: Completed items created_at: '2022-04-29T10:30:00Z' updated_at: '2022-04-29T10:30:00Z' - id: 24680 @@ -37498,11 +37913,15 @@ paths: start_day: 1 iterations: - id: iter_1 - title: Sprint 1 + title: + html: Sprint 1 + raw: Sprint 1 start_date: '2022-07-01' duration: 14 - id: iter_2 - title: Sprint 2 + title: + html: Sprint 2 + raw: Sprint 2 start_date: '2022-07-15' duration: 14 created_at: '2022-06-20T16:45:00Z' @@ -37528,8 +37947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *241 - - &673 + - *243 + - &675 name: field_id description: The unique identifier of the field. in: path @@ -37542,9 +37961,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &674 + default: &676 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37588,7 +38007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *241 + - *243 - *61 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -37621,7 +38040,7 @@ paths: application/json: schema: type: array - items: &248 + items: &250 title: Projects v2 Item description: An item belonging to a project type: object @@ -37638,7 +38057,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *245 + content_type: *247 content: type: - object @@ -37688,7 +38107,7 @@ paths: - updated_at - archived_at examples: - default: &249 + default: &251 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -38152,14 +38571,14 @@ paths: name: Title type: title value: - raw_title: It seemed to me that any civilization that had - so far lost its head as to need to include a set of detailed - instructions for use in a packet of toothpicks, was no longer - a civilization in which I could live and stay sane. - html_title: It seemed to me that any civilization that had - so far lost its head as to need to include a set of detailed - instructions for use in a packet of toothpicks, was no longer - a civilization in which I could live and stay sane. + raw: It seemed to me that any civilization that had so far + lost its head as to need to include a set of detailed instructions + for use in a packet of toothpicks, was no longer a civilization + in which I could live and stay sane. + html: It seemed to me that any civilization that had so far + lost its head as to need to include a set of detailed instructions + for use in a packet of toothpicks, was no longer a civilization + in which I could live and stay sane. number: 6 url: https://github.com/5/1/pull/6 issue_id: 12 @@ -38194,11 +38613,13 @@ paths: type: single_select value: id: '98236657' - name: Done - name_html: Done + name: + raw: Done + html: Done color: PURPLE - description: This has been completed - description_html: This has been completed + description: + raw: This has been completed + html: This has been completed - id: 4 name: Labels type: labels @@ -38383,7 +38804,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *61 - - *241 + - *243 requestBody: required: true description: Details of the item to add to the project. @@ -38420,10 +38841,10 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - issue: *247 - pull_request: *247 + issue: *249 + pull_request: *249 '304': *35 '403': *27 '401': *23 @@ -38443,9 +38864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *241 + - *243 - *61 - - &250 + - &252 name: item_id description: The unique identifier of the project item. in: path @@ -38471,9 +38892,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 headers: Link: *52 '304': *35 @@ -38494,9 +38915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *241 + - *243 - *61 - - *250 + - *252 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38569,13 +38990,13 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - text_field: *249 - number_field: *249 - date_field: *249 - single_select_field: *249 - iteration_field: *249 + text_field: *251 + number_field: *251 + date_field: *251 + single_select_field: *251 + iteration_field: *251 '401': *23 '403': *27 '404': *6 @@ -38595,9 +39016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *241 + - *243 - *61 - - *250 + - *252 responses: '204': description: Response @@ -38629,7 +39050,7 @@ paths: application/json: schema: type: array - items: &251 + items: &253 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38705,7 +39126,7 @@ paths: - property_name - value_type examples: - default: &252 + default: &254 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38764,7 +39185,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *251 + items: *253 minItems: 1 maxItems: 100 required: @@ -38794,9 +39215,9 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: - default: *252 + default: *254 '403': *27 '404': *6 x-github: @@ -38818,7 +39239,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *61 - - &253 + - &255 name: custom_property_name description: The custom property name in: path @@ -38830,9 +39251,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: &254 + default: &256 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38867,7 +39288,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *61 - - *253 + - *255 requestBody: required: true content: @@ -38945,9 +39366,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: *254 + default: *256 '403': *27 '404': *6 x-github: @@ -38971,9 +39392,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *61 - - *253 + - *255 responses: - '204': *166 + '204': *168 '403': *27 '404': *6 x-github: @@ -39296,7 +39717,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -39499,7 +39920,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &317 title: Full Repository description: Full Repository type: object @@ -39964,7 +40385,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &446 + code_of_conduct: &448 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39994,7 +40415,7 @@ paths: - key - name - html_url - security_and_analysis: *255 + security_and_analysis: *257 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40078,7 +40499,7 @@ paths: - network_count - subscribers_count examples: - default: &317 + default: &319 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40599,7 +41020,7 @@ paths: - *61 - *17 - *19 - - &565 + - &567 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40618,7 +41039,7 @@ paths: application/json: schema: type: array - items: &281 + items: &283 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40653,7 +41074,7 @@ paths: source: type: string description: The name of the source - enforcement: &258 + enforcement: &260 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40666,7 +41087,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &259 + items: &261 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40737,7 +41158,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &256 + - &258 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40761,7 +41182,7 @@ paths: match. items: type: string - - &260 + - &262 title: Organization ruleset conditions type: object description: |- @@ -40775,7 +41196,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *256 + - *258 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40809,7 +41230,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *256 + - *258 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40831,7 +41252,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *256 + - *258 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40844,7 +41265,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &257 + items: &259 title: Repository ruleset property targeting definition type: object @@ -40877,7 +41298,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *257 + items: *259 required: - repository_property type: @@ -40885,12 +41306,12 @@ paths: - object rules: type: array - items: &566 + items: &568 title: Repository Rule type: object description: A repository rule. oneOf: - - &261 + - &263 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40902,7 +41323,7 @@ paths: type: string enum: - creation - - &262 + - &264 title: update description: Only allow users with bypass permission to update matching refs. @@ -40923,7 +41344,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &263 + - &265 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40935,7 +41356,7 @@ paths: type: string enum: - deletion - - &264 + - &266 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40947,7 +41368,7 @@ paths: type: string enum: - required_linear_history - - &563 + - &565 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41025,7 +41446,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &265 + - &267 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -41049,7 +41470,7 @@ paths: type: string required: - required_deployment_environments - - &266 + - &268 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -41061,7 +41482,7 @@ paths: type: string enum: - required_signatures - - &267 + - &269 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41117,13 +41538,62 @@ paths: type: boolean description: All conversations on code must be resolved before a pull request can be merged. + required_reviewers: + type: array + description: |- + > [!NOTE] + > `required_reviewers` is in beta and subject to change. + + A collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review. + items: + title: RequiredReviewerConfiguration + description: A reviewing team, and file patterns + describing which files they must approve changes + to. + type: object + properties: + file_patterns: + type: array + description: Array of file patterns. Pull + requests which change matching files must + be approved by the specified team. File + patterns use fnmatch syntax. + items: + type: string + minimum_approvals: + type: integer + description: Minimum number of approvals required + from the specified team. If set to zero, + the team will be added to the pull request + but approval is optional. + reviewer: + title: Reviewer + description: A required reviewing team + type: object + properties: + id: + type: integer + description: ID of the reviewer which + must review changes to matching files. + type: + type: string + description: The type of the reviewer + enum: + - Team + required: + - id + - type + required: + - file_patterns + - minimum_approvals + - reviewer required: - dismiss_stale_reviews_on_push - require_code_owner_review - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &268 + - &270 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41171,7 +41641,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &269 + - &271 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41183,7 +41653,7 @@ paths: type: string enum: - non_fast_forward - - &270 + - &272 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41219,7 +41689,7 @@ paths: required: - operator - pattern - - &271 + - &273 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41255,7 +41725,7 @@ paths: required: - operator - pattern - - &272 + - &274 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41291,7 +41761,7 @@ paths: required: - operator - pattern - - &273 + - &275 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -41327,7 +41797,7 @@ paths: required: - operator - pattern - - &274 + - &276 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -41363,7 +41833,7 @@ paths: required: - operator - pattern - - &275 + - &277 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -41388,7 +41858,7 @@ paths: type: string required: - restricted_file_paths - - &276 + - &278 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -41412,7 +41882,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &277 + - &279 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -41435,7 +41905,7 @@ paths: type: string required: - restricted_file_extensions - - &278 + - &280 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41460,7 +41930,7 @@ paths: maximum: 100 required: - max_file_size - - &279 + - &281 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41510,7 +41980,7 @@ paths: - repository_id required: - workflows - - &280 + - &282 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41571,7 +42041,7 @@ paths: - tool required: - code_scanning_tools - - &564 + - &566 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41669,22 +42139,20 @@ paths: - push - repository default: branch - enforcement: *258 + enforcement: *260 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *259 - conditions: *260 + items: *261 + conditions: *262 rules: type: array description: An array of rules within the ruleset. - items: &283 + items: &285 title: Repository Rule type: object description: A repository rule. oneOf: - - *261 - - *262 - *263 - *264 - *265 @@ -41703,6 +42171,8 @@ paths: - *278 - *279 - *280 + - *281 + - *282 required: - name - enforcement @@ -41740,9 +42210,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: &282 + default: &284 value: id: 21 name: super cool ruleset @@ -41797,7 +42267,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *61 - - &567 + - &569 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -41812,7 +42282,7 @@ paths: in: query schema: type: string - - &568 + - &570 name: time_period description: |- The time period to filter by. @@ -41828,14 +42298,14 @@ paths: - week - month default: day - - &569 + - &571 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &570 + - &572 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41855,7 +42325,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 title: Rule Suites description: Response type: array @@ -41911,7 +42381,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &572 + default: &574 value: - id: 21 actor_id: 12 @@ -41955,7 +42425,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *61 - - &573 + - &575 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41971,7 +42441,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &576 title: Rule Suite description: Response type: object @@ -42078,7 +42548,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &575 + default: &577 value: id: 21 actor_id: 12 @@ -42151,9 +42621,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: *282 + default: *284 '404': *6 '500': *96 put: @@ -42197,16 +42667,16 @@ paths: - tag - push - repository - enforcement: *258 + enforcement: *260 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *259 - conditions: *260 + items: *261 + conditions: *262 rules: description: An array of rules within the ruleset. type: array - items: *283 + items: *285 examples: default: value: @@ -42241,9 +42711,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: *282 + default: *284 '404': *6 '500': *96 delete: @@ -42300,7 +42770,7 @@ paths: application/json: schema: type: array - items: &284 + items: &286 title: Ruleset version type: object description: The historical version of a ruleset @@ -42324,7 +42794,7 @@ paths: type: string format: date-time examples: - default: &577 + default: &579 value: - version_id: 3 actor: @@ -42377,9 +42847,9 @@ paths: description: Response content: application/json: - schema: &578 + schema: &580 allOf: - - *284 + - *286 - type: object required: - state @@ -42449,7 +42919,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *61 - - &579 + - &581 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -42460,7 +42930,7 @@ paths: enum: - open - resolved - - &580 + - &582 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -42470,7 +42940,7 @@ paths: required: false schema: type: string - - &581 + - &583 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -42479,7 +42949,7 @@ paths: required: false schema: type: string - - &582 + - &584 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. @@ -42494,7 +42964,7 @@ paths: - *46 - *19 - *17 - - &583 + - &585 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 @@ -42504,7 +42974,7 @@ paths: required: false schema: type: string - - &584 + - &586 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 @@ -42514,7 +42984,7 @@ paths: required: false schema: type: string - - &585 + - &587 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -42523,7 +42993,7 @@ paths: required: false schema: type: string - - &586 + - &588 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -42532,7 +43002,7 @@ paths: schema: type: boolean default: false - - &587 + - &589 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -42541,7 +43011,7 @@ paths: schema: type: boolean default: false - - &588 + - &590 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -42560,27 +43030,27 @@ paths: items: type: object properties: - number: *152 - created_at: *153 + number: *154 + created_at: *155 updated_at: anyOf: - type: 'null' - - *154 - url: *155 - html_url: *156 + - *156 + url: *157 + html_url: *158 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &589 + state: &591 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: &590 + resolution: &592 type: - string - 'null' @@ -42687,14 +43157,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &591 + - &593 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &593 + - &595 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -42751,7 +43221,7 @@ paths: - blob_url - commit_sha - commit_url - - &594 + - &596 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. @@ -42812,7 +43282,7 @@ paths: - page_url - commit_sha - commit_url - - &595 + - &597 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -42827,7 +43297,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &596 + - &598 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -42842,7 +43312,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &597 + - &599 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -42857,7 +43327,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &598 + - &600 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -42872,7 +43342,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &599 + - &601 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -42887,7 +43357,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &600 + - &602 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -42902,7 +43372,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &601 + - &603 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. @@ -42917,7 +43387,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &602 + - &604 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. @@ -42932,7 +43402,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &603 + - &605 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. @@ -42947,7 +43417,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &604 + - &606 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. @@ -42962,7 +43432,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &605 + - &607 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 @@ -43202,7 +43672,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &286 + pattern_config_version: &288 type: - string - 'null' @@ -43212,7 +43682,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &285 + items: &287 type: object properties: token_type: @@ -43281,7 +43751,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *285 + items: *287 examples: default: value: @@ -43338,7 +43808,7 @@ paths: schema: type: object properties: - pattern_config_version: *286 + pattern_config_version: *288 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43364,7 +43834,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *286 + custom_pattern_version: *288 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43462,7 +43932,7 @@ paths: application/json: schema: type: array - items: &609 + items: &611 description: A repository security advisory. type: object properties: @@ -43706,7 +44176,7 @@ paths: login: type: string description: The username of the user credited. - type: *287 + type: *289 credits_detailed: type: - array @@ -43717,7 +44187,7 @@ paths: type: object properties: user: *4 - type: *287 + type: *289 state: type: string description: The state of the user's acceptance of the @@ -43743,7 +44213,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *170 + items: *172 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43781,7 +44251,7 @@ paths: - private_fork additionalProperties: false examples: - default: &610 + default: &612 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44168,9 +44638,9 @@ paths: application/json: schema: type: array - items: *221 + items: *223 examples: - default: *222 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44255,7 +44725,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &677 type: object properties: total_minutes_used: @@ -44325,7 +44795,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &676 + default: &678 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44361,7 +44831,7 @@ paths: description: Response content: application/json: - schema: &677 + schema: &679 type: object properties: total_gigabytes_bandwidth_used: @@ -44379,7 +44849,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &678 + default: &680 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44411,7 +44881,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &682 type: object properties: days_left_in_billing_cycle: @@ -44429,7 +44899,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &681 + default: &683 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44714,7 +45184,7 @@ paths: type: integer network_configurations: type: array - items: &288 + items: &290 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44839,9 +45309,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: &289 + default: &291 value: id: 123456789ABCDEF name: My network configuration @@ -44870,7 +45340,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - &290 + - &292 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44882,9 +45352,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 headers: Link: *52 x-github: @@ -44906,7 +45376,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - *290 + - *292 requestBody: required: true content: @@ -44945,9 +45415,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44967,7 +45437,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *61 - - *290 + - *292 responses: '204': description: Response @@ -45112,13 +45582,13 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: - default: *292 + default: *294 '500': *96 '403': *27 '404': *6 - '422': *293 + '422': *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45146,9 +45616,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 headers: Link: *52 '403': *27 @@ -45242,7 +45712,7 @@ paths: description: Response content: application/json: - schema: &294 + schema: &296 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45316,7 +45786,7 @@ paths: parent: anyOf: - type: 'null' - - *221 + - *223 members_count: type: integer examples: @@ -45641,7 +46111,7 @@ paths: - repos_count - organization examples: - default: &295 + default: &297 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45718,9 +46188,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 x-github: githubCloudOnly: false @@ -45805,16 +46275,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '201': description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 '422': *15 '403': *27 @@ -45884,7 +46354,7 @@ paths: application/json: schema: type: array - items: &296 + items: &298 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45995,7 +46465,7 @@ paths: - updated_at - url examples: - default: &627 + default: &629 value: - author: login: octocat @@ -46104,9 +46574,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: &297 + default: &299 value: author: login: octocat @@ -46180,7 +46650,7 @@ paths: parameters: - *61 - *62 - - &298 + - &300 name: discussion_number description: The number that identifies the discussion. in: path @@ -46192,9 +46662,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46218,7 +46688,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 requestBody: required: false content: @@ -46241,9 +46711,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: &628 + default: &630 value: author: login: octocat @@ -46315,7 +46785,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 responses: '204': description: Response @@ -46343,7 +46813,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 - *46 - *17 - *19 @@ -46354,7 +46824,7 @@ paths: application/json: schema: type: array - items: &299 + items: &301 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46434,7 +46904,7 @@ paths: - updated_at - url examples: - default: &629 + default: &631 value: - author: login: octocat @@ -46504,7 +46974,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 requestBody: required: true content: @@ -46526,9 +46996,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: &300 + default: &302 value: author: login: octocat @@ -46596,8 +47066,8 @@ paths: parameters: - *61 - *62 - - *298 - - &301 + - *300 + - &303 name: comment_number description: The number that identifies the comment. in: path @@ -46609,9 +47079,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46635,8 +47105,8 @@ paths: parameters: - *61 - *62 - - *298 - - *301 + - *300 + - *303 requestBody: required: true content: @@ -46658,9 +47128,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: &630 + default: &632 value: author: login: octocat @@ -46726,8 +47196,8 @@ paths: parameters: - *61 - *62 - - *298 - - *301 + - *300 + - *303 responses: '204': description: Response @@ -46755,8 +47225,8 @@ paths: parameters: - *61 - *62 - - *298 - - *301 + - *300 + - *303 - 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 team discussion comment. @@ -46782,7 +47252,7 @@ paths: application/json: schema: type: array - items: &302 + items: &304 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46826,7 +47296,7 @@ paths: - content - created_at examples: - default: &304 + default: &306 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46878,8 +47348,8 @@ paths: parameters: - *61 - *62 - - *298 - - *301 + - *300 + - *303 requestBody: required: true content: @@ -46912,9 +47382,9 @@ paths: team discussion comment content: application/json: - schema: *302 + schema: *304 examples: - default: &303 + default: &305 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46943,9 +47413,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46970,9 +47440,9 @@ paths: parameters: - *61 - *62 - - *298 - - *301 - - &305 + - *300 + - *303 + - &307 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47006,7 +47476,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 - 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 team discussion. @@ -47032,9 +47502,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 x-github: @@ -47062,7 +47532,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 requestBody: required: true content: @@ -47094,16 +47564,16 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47128,8 +47598,8 @@ paths: parameters: - *61 - *62 - - *298 - - *305 + - *300 + - *307 responses: '204': description: Response @@ -47164,9 +47634,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *52 x-github: @@ -47250,7 +47720,7 @@ paths: description: Response content: application/json: - schema: &306 + schema: &308 title: Team Membership description: Team Membership type: object @@ -47278,7 +47748,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &631 + response-if-user-is-a-team-maintainer: &633 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47341,9 +47811,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: &632 + response-if-users-membership-with-team-is-now-pending: &634 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47416,7 +47886,7 @@ paths: application/json: schema: type: array - items: &307 + items: &309 title: Team Project description: A team's access to a project. type: object @@ -47485,7 +47955,7 @@ paths: - updated_at - permissions examples: - default: &633 + default: &635 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47550,7 +48020,7 @@ paths: parameters: - *61 - *62 - - &308 + - &310 name: project_id description: The unique identifier of the project. in: path @@ -47562,9 +48032,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &634 + default: &636 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47628,7 +48098,7 @@ paths: parameters: - *61 - *62 - - *308 + - *310 requestBody: required: false content: @@ -47697,7 +48167,7 @@ paths: parameters: - *61 - *62 - - *308 + - *310 responses: '204': description: Response @@ -47737,7 +48207,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -47768,14 +48238,14 @@ paths: parameters: - *61 - *62 - - *309 - - *310 + - *311 + - *312 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &635 + schema: &637 title: Team Repository description: A team's access to a repository. type: object @@ -48418,8 +48888,8 @@ paths: parameters: - *61 - *62 - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -48466,8 +48936,8 @@ paths: parameters: - *61 - *62 - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -48502,9 +48972,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - response-if-child-teams-exist: &636 + response-if-child-teams-exist: &638 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48631,7 +49101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &311 + - &313 name: column_id description: The unique identifier of the column. in: path @@ -48643,7 +49113,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &314 title: Project Column description: Project columns contain cards of work. type: object @@ -48697,7 +49167,7 @@ paths: - created_at - updated_at examples: - default: &313 + default: &315 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48732,7 +49202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *311 + - *313 requestBody: required: true content: @@ -48757,9 +49227,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '304': *35 '403': *27 '401': *23 @@ -48784,7 +49254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *311 + - *313 responses: '204': description: Response @@ -48813,7 +49283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *311 + - *313 requestBody: required: true content: @@ -48874,7 +49344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *308 + - *310 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -48931,7 +49401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *308 + - *310 - *57 requestBody: required: false @@ -48986,7 +49456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *308 + - *310 - *57 responses: '204': @@ -49018,7 +49488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *308 + - *310 - *57 responses: '200': @@ -49116,7 +49586,7 @@ paths: resources: type: object properties: - core: &314 + core: &316 title: Rate Limit type: object properties: @@ -49133,21 +49603,21 @@ paths: - remaining - reset - used - graphql: *314 - search: *314 - code_search: *314 - source_import: *314 - integration_manifest: *314 - code_scanning_upload: *314 - actions_runner_registration: *314 - scim: *314 - dependency_snapshots: *314 - dependency_sbom: *314 - code_scanning_autofix: *314 + graphql: *316 + search: *316 + code_search: *316 + source_import: *316 + integration_manifest: *316 + code_scanning_upload: *316 + actions_runner_registration: *316 + scim: *316 + dependency_snapshots: *316 + dependency_sbom: *316 + code_scanning_autofix: *316 required: - core - search - rate: *314 + rate: *316 required: - rate - resources @@ -49252,14 +49722,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: default-response: summary: Default response @@ -49760,7 +50230,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *316 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49778,8 +50248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -50027,10 +50497,10 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 - '307': &318 + default: *319 + '307': &320 description: Temporary Redirect content: application/json: @@ -50059,8 +50529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -50082,7 +50552,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *318 + '307': *320 '404': *6 '409': *45 x-github: @@ -50106,11 +50576,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 - - &349 + - &351 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50133,7 +50603,7 @@ paths: type: integer artifacts: type: array - items: &319 + items: &321 title: Artifact description: An artifact type: object @@ -50228,7 +50698,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &352 value: total_count: 2 artifacts: @@ -50289,9 +50759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *309 - - *310 - - &320 + - *311 + - *312 + - &322 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50303,7 +50773,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: default: value: @@ -50341,9 +50811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *309 - - *310 - - *320 + - *311 + - *312 + - *322 responses: '204': description: Response @@ -50367,9 +50837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *309 - - *310 - - *320 + - *311 + - *312 + - *322 - name: archive_format in: path required: true @@ -50383,7 +50853,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': &500 + '410': &502 description: Gone content: application/json: @@ -50410,14 +50880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *321 + schema: *323 examples: default: value: @@ -50443,11 +50913,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 - - &322 + - &324 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 @@ -50481,7 +50951,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -50531,7 +51001,7 @@ paths: - total_count - actions_caches examples: - default: &324 + default: &326 value: total_count: 1 actions_caches: @@ -50563,23 +51033,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: - - *309 - - *310 + - *311 + - *312 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *322 + - *324 responses: '200': description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50599,8 +51069,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: - - *309 - - *310 + - *311 + - *312 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50631,9 +51101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *309 - - *310 - - &325 + - *311 + - *312 + - &327 name: job_id description: The unique identifier of the job. in: path @@ -50645,7 +51115,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 title: Job description: Information of a job execution in a workflow run type: object @@ -50992,9 +51462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *309 - - *310 - - *325 + - *311 + - *312 + - *327 responses: '302': description: Response @@ -51022,9 +51492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *309 - - *310 - - *325 + - *311 + - *312 + - *327 requestBody: required: false content: @@ -51070,8 +51540,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Status response @@ -51121,8 +51591,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -51185,8 +51655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -51204,7 +51674,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51225,7 +51695,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &358 value: total_count: 2 secrets: @@ -51258,9 +51728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *309 - - *310 - - *326 + - *311 + - *312 + - *328 - *19 responses: '200': @@ -51277,7 +51747,7 @@ paths: type: integer variables: type: array - items: &359 + items: &361 title: Actions Variable type: object properties: @@ -51311,7 +51781,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &362 value: total_count: 2 variables: @@ -51344,8 +51814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -51354,11 +51824,11 @@ paths: schema: type: object properties: - enabled: &328 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *121 - selected_actions_url: *327 + selected_actions_url: *329 sha_pinning_required: *122 required: - enabled @@ -51387,8 +51857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -51399,7 +51869,7 @@ paths: schema: type: object properties: - enabled: *328 + enabled: *330 allowed_actions: *121 sha_pinning_required: *122 required: @@ -51431,14 +51901,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &329 + schema: &331 type: object properties: access_level: @@ -51455,7 +51925,7 @@ paths: required: - access_level examples: - default: &330 + default: &332 value: access_level: organization x-github: @@ -51479,15 +51949,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 responses: '204': description: Response @@ -51511,14 +51981,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -51542,8 +52012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Empty response for successful settings update @@ -51553,7 +52023,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *334 examples: default: summary: Set retention days @@ -51577,8 +52047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -51586,7 +52056,7 @@ paths: application/json: schema: *123 examples: - default: *333 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -51605,8 +52075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -51640,14 +52110,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: default: *124 '403': *27 @@ -51669,13 +52139,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *335 + schema: *337 examples: default: *124 responses: @@ -51701,8 +52171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -51729,8 +52199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -51762,14 +52232,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: *131 x-github: @@ -51792,8 +52262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Success response @@ -51804,7 +52274,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: *131 x-github: @@ -51833,8 +52303,8 @@ paths: in: query schema: type: string - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -51878,8 +52348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -51887,9 +52357,9 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51911,8 +52381,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -51955,7 +52425,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *340 + '201': *342 '404': *6 '422': *7 '409': *45 @@ -51986,8 +52456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '201': description: Response @@ -51995,7 +52465,7 @@ paths: application/json: schema: *140 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52023,8 +52493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '201': description: Response @@ -52032,7 +52502,7 @@ paths: application/json: schema: *140 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52054,8 +52524,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: - - *309 - - *310 + - *311 + - *312 - *137 responses: '200': @@ -52064,7 +52534,7 @@ paths: application/json: schema: *138 examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52085,8 +52555,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: - - *309 - - *310 + - *311 + - *312 - *137 responses: '204': @@ -52113,8 +52583,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: - - *309 - - *310 + - *311 + - *312 - *137 responses: '200': *142 @@ -52139,8 +52609,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: - - *309 - - *310 + - *311 + - *312 - *137 requestBody: required: true @@ -52189,8 +52659,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: - - *309 - - *310 + - *311 + - *312 - *137 requestBody: required: true @@ -52240,11 +52710,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: - - *309 - - *310 + - *311 + - *312 - *137 responses: - '200': *344 + '200': *346 '404': *6 x-github: githubCloudOnly: false @@ -52271,10 +52741,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: - - *309 - - *310 + - *311 + - *312 - *137 - - *345 + - *347 responses: '200': *142 '404': *6 @@ -52302,9 +52772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *309 - - *310 - - &363 + - *311 + - *312 + - &365 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. @@ -52312,7 +52782,7 @@ paths: required: false schema: type: string - - &364 + - &366 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52320,7 +52790,7 @@ paths: required: false schema: type: string - - &365 + - &367 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52329,7 +52799,7 @@ paths: required: false schema: type: string - - &366 + - &368 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 @@ -52356,7 +52826,7 @@ paths: - pending - *17 - *19 - - &367 + - &369 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)." @@ -52365,7 +52835,7 @@ paths: schema: type: string format: date-time - - &346 + - &348 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52374,13 +52844,13 @@ paths: schema: type: boolean default: false - - &368 + - &370 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &369 + - &371 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52403,7 +52873,7 @@ paths: type: integer workflow_runs: type: array - items: &347 + items: &349 title: Workflow Run description: An invocation of a workflow type: object @@ -52520,7 +52990,7 @@ paths: type: - array - 'null' - items: &388 + items: &390 title: Pull Request Minimal type: object properties: @@ -52647,7 +53117,7 @@ paths: head_commit: anyOf: - type: 'null' - - &392 + - &394 title: Simple Commit description: A commit. type: object @@ -52762,7 +53232,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &372 value: total_count: 1 workflow_runs: @@ -52998,24 +53468,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *309 - - *310 - - &348 + - *311 + - *312 + - &350 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: &351 + default: &353 value: id: 30433642 name: Build @@ -53256,9 +53726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '204': description: Response @@ -53281,9 +53751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '200': description: Response @@ -53411,9 +53881,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: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '201': description: Response @@ -53446,12 +53916,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 - *17 - *19 - - *349 + - *351 responses: '200': description: Response @@ -53467,9 +53937,9 @@ paths: type: integer artifacts: type: array - items: *319 + items: *321 examples: - default: *350 + default: *352 headers: Link: *52 x-github: @@ -53493,25 +53963,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *309 - - *310 - - *348 - - &352 + - *311 + - *312 + - *350 + - &354 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *351 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53534,10 +54004,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *309 - - *310 - - *348 - - *352 + - *311 + - *312 + - *350 + - *354 - *17 - *19 responses: @@ -53555,9 +54025,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: &354 + default: &356 value: total_count: 1 jobs: @@ -53670,10 +54140,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *309 - - *310 - - *348 - - *352 + - *311 + - *312 + - *350 + - *354 responses: '302': description: Response @@ -53701,9 +54171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '202': description: Response @@ -53736,9 +54206,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: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 requestBody: required: true content: @@ -53805,9 +54275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '202': description: Response @@ -53840,9 +54310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 - 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 @@ -53872,9 +54342,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 headers: Link: *52 x-github: @@ -53899,9 +54369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '302': description: Response @@ -53928,9 +54398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '204': description: Response @@ -53957,9 +54427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '200': description: Response @@ -54028,7 +54498,7 @@ paths: items: type: object properties: - type: &466 + type: &468 type: string description: The type of reviewer. enum: @@ -54039,7 +54509,7 @@ paths: reviewer: anyOf: - *4 - - *170 + - *172 required: - environment - wait_timer @@ -54114,9 +54584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 requestBody: required: true content: @@ -54166,7 +54636,7 @@ paths: application/json: schema: type: array - items: &461 + items: &463 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54278,7 +54748,7 @@ paths: - created_at - updated_at examples: - default: &462 + default: &464 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54334,9 +54804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 requestBody: required: false content: @@ -54381,9 +54851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 requestBody: required: false content: @@ -54437,9 +54907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '200': description: Response @@ -54576,8 +55046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -54595,9 +55065,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *52 x-github: @@ -54622,16 +55092,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54653,17 +55123,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: &479 + default: &481 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54689,8 +55159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 requestBody: required: true @@ -54748,8 +55218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '204': @@ -54775,9 +55245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *309 - - *310 - - *326 + - *311 + - *312 + - *328 - *19 responses: '200': @@ -54794,9 +55264,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *52 x-github: @@ -54819,8 +55289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -54872,17 +55342,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: &480 + default: &482 value: name: USERNAME value: octocat @@ -54908,8 +55378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 requestBody: required: true @@ -54952,8 +55422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 responses: '204': @@ -54979,8 +55449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -54998,7 +55468,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55116,9 +55586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *309 - - *310 - - &362 + - *311 + - *312 + - &364 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55133,7 +55603,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: default: value: @@ -55166,9 +55636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *309 - - *310 - - *362 + - *311 + - *312 + - *364 responses: '204': description: Response @@ -55193,9 +55663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *309 - - *310 - - *362 + - *311 + - *312 + - *364 responses: '204': description: Response @@ -55246,9 +55716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *309 - - *310 - - *362 + - *311 + - *312 + - *364 responses: '204': description: Response @@ -55275,19 +55745,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *309 - - *310 - - *362 - - *363 + - *311 + - *312 - *364 - *365 - *366 - - *17 - - *19 - *367 - - *346 - *368 + - *17 + - *19 - *369 + - *348 + - *370 + - *371 responses: '200': description: Response @@ -55303,9 +55773,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *349 examples: - default: *370 + default: *372 headers: Link: *52 x-github: @@ -55337,9 +55807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *309 - - *310 - - *362 + - *311 + - *312 + - *364 responses: '200': description: Response @@ -55400,8 +55870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *309 - - *310 + - *311 + - *312 - *46 - *17 - *38 @@ -55569,8 +56039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -55607,8 +56077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *309 - - *310 + - *311 + - *312 - name: assignee in: path required: true @@ -55644,8 +56114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -55757,8 +56227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *38 - *39 @@ -55815,7 +56285,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55835,8 +56305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -55844,7 +56314,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -55903,8 +56373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -55943,9 +56413,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *374 examples: - default: &373 + default: &375 value: id: 1 key_prefix: TICKET- @@ -55976,9 +56446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *309 - - *310 - - &374 + - *311 + - *312 + - &376 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55990,9 +56460,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56012,9 +56482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *309 - - *310 - - *374 + - *311 + - *312 + - *376 responses: '204': description: Response @@ -56038,8 +56508,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response if Dependabot is enabled @@ -56089,8 +56559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -56111,8 +56581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -56132,8 +56602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *309 - - *310 + - *311 + - *312 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56171,7 +56641,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -56214,7 +56684,7 @@ paths: required: - contexts - checks - enforce_admins: &379 + enforce_admins: &381 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56231,7 +56701,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &381 + required_pull_request_reviews: &383 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56253,7 +56723,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *170 + items: *172 apps: description: The list of apps with review dismissal access. @@ -56285,7 +56755,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *170 + items: *172 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56315,7 +56785,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &378 + restrictions: &380 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56378,7 +56848,7 @@ paths: type: string teams: type: array - items: *170 + items: *172 apps: type: array items: @@ -56608,9 +57078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *309 - - *310 - - &377 + - *311 + - *312 + - &379 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). @@ -56624,14 +57094,14 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &437 + commit: &439 title: Commit description: Commit type: object @@ -56670,7 +57140,7 @@ paths: author: anyOf: - type: 'null' - - &375 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -56691,7 +57161,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 message: type: string examples: @@ -56715,7 +57185,7 @@ paths: required: - sha - url - verification: &486 + verification: &488 title: Verification type: object properties: @@ -56795,7 +57265,7 @@ paths: type: integer files: type: array - items: &448 + items: &450 title: Diff Entry description: Diff Entry type: object @@ -56891,7 +57361,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *378 protection_url: type: string format: uri @@ -57000,7 +57470,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *316 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -57022,15 +57492,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -57224,9 +57694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -57486,7 +57956,7 @@ paths: url: type: string format: uri - required_status_checks: &384 + required_status_checks: &386 title: Status Check Policy description: Status Check Policy type: object @@ -57567,7 +58037,7 @@ paths: items: *4 teams: type: array - items: *170 + items: *172 apps: type: array items: *5 @@ -57585,7 +58055,7 @@ paths: items: *4 teams: type: array - items: *170 + items: *172 apps: type: array items: *5 @@ -57645,7 +58115,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -57757,9 +58227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -57784,17 +58254,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &380 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57816,17 +58286,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *380 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57845,9 +58315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -57872,17 +58342,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &382 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57978,9 +58448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -58078,9 +58548,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58101,9 +58571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -58130,17 +58600,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &383 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58163,17 +58633,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *383 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -58193,9 +58663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -58220,17 +58690,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &385 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58256,9 +58726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -58310,9 +58780,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *15 x-github: @@ -58334,9 +58804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -58360,9 +58830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response @@ -58396,9 +58866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -58465,9 +58935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -58531,9 +59001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: content: application/json: @@ -58599,15 +59069,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -58698,9 +59168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -58723,9 +59193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response @@ -58735,7 +59205,7 @@ paths: type: array items: *5 examples: - default: &386 + default: &388 value: - id: 1 slug: octoapp @@ -58792,9 +59262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -58828,7 +59298,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -58849,9 +59319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -58885,7 +59355,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -58906,9 +59376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -58942,7 +59412,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -58964,9 +59434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response @@ -58974,9 +59444,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 '404': *6 x-github: githubCloudOnly: false @@ -58996,9 +59466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -59034,9 +59504,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -59057,9 +59527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -59095,9 +59565,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -59118,9 +59588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: content: application/json: @@ -59155,9 +59625,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -59179,9 +59649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response @@ -59215,9 +59685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -59275,9 +59745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -59335,9 +59805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -59397,9 +59867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -59421,7 +59891,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -59537,8 +60007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -59817,7 +60287,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &391 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59952,8 +60422,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *388 - deployment: &693 + items: *390 + deployment: &695 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60240,9 +60710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *309 - - *310 - - &390 + - *311 + - *312 + - &392 name: check_run_id description: The unique identifier of the check run. in: path @@ -60254,9 +60724,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: &391 + default: &393 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60356,9 +60826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *309 - - *310 - - *390 + - *311 + - *312 + - *392 requestBody: required: true content: @@ -60598,9 +61068,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *391 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60620,9 +61090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *309 - - *310 - - *390 + - *311 + - *312 + - *392 - *17 - *19 responses: @@ -60732,9 +61202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *309 - - *310 - - *390 + - *311 + - *312 + - *392 responses: '201': description: Response @@ -60778,8 +61248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -60801,7 +61271,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &393 + schema: &395 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60883,7 +61353,7 @@ paths: type: - array - 'null' - items: *388 + items: *390 app: anyOf: - type: 'null' @@ -60899,7 +61369,7 @@ paths: - string - 'null' format: date-time - head_commit: *392 + head_commit: *394 latest_check_runs_count: type: integer check_runs_url: @@ -60927,7 +61397,7 @@ paths: - check_runs_url - pull_requests examples: - default: &394 + default: &396 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61218,9 +61688,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *393 + schema: *395 examples: - default: *394 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61239,8 +61709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -61549,9 +62019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *309 - - *310 - - &395 + - *311 + - *312 + - &397 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61563,9 +62033,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *394 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61588,17 +62058,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *309 - - *310 - - *395 - - &443 + - *311 + - *312 + - *397 + - &445 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &444 + - &446 name: status description: Returns check runs with the specified `status`. in: query @@ -61637,9 +62107,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *391 examples: - default: &445 + default: &447 value: total_count: 1 check_runs: @@ -61741,9 +62211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *309 - - *310 - - *395 + - *311 + - *312 + - *397 responses: '201': description: Response @@ -61776,21 +62246,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *309 - - *310 - - *396 - - *397 + - *311 + - *312 + - *398 + - *399 - *19 - *17 - - &414 + - &416 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: *398 - - &415 + schema: *400 + - &417 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61815,13 +62285,13 @@ paths: be returned. in: query required: false - schema: *399 + schema: *401 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *400 + schema: *402 responses: '200': description: Response @@ -61832,24 +62302,24 @@ paths: items: type: object properties: - number: *152 - created_at: *153 - updated_at: *154 - url: *155 - html_url: *156 - instances_url: *401 - state: *161 - fixed_at: *157 + number: *154 + created_at: *155 + updated_at: *156 + url: *157 + html_url: *158 + instances_url: *403 + state: *163 + fixed_at: *159 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *158 - dismissed_reason: *402 - dismissed_comment: *403 - rule: *404 - tool: *405 - most_recent_instance: *406 + dismissed_at: *160 + dismissed_reason: *404 + dismissed_comment: *405 + rule: *406 + tool: *407 + most_recent_instance: *408 dismissal_approved_by: anyOf: - type: 'null' @@ -61972,7 +62442,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &407 + '403': &409 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61999,9 +62469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *309 - - *310 - - &408 + - *311 + - *312 + - &410 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62009,30 +62479,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *152 + schema: *154 responses: '200': description: Response content: application/json: - schema: &409 + schema: &411 type: object properties: - number: *152 - created_at: *153 - updated_at: *154 - url: *155 - html_url: *156 - instances_url: *401 - state: *161 - fixed_at: *157 + number: *154 + created_at: *155 + updated_at: *156 + url: *157 + html_url: *158 + instances_url: *403 + state: *163 + fixed_at: *159 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *158 - dismissed_reason: *402 - dismissed_comment: *403 + dismissed_at: *160 + dismissed_reason: *404 + dismissed_comment: *405 rule: type: object properties: @@ -62094,8 +62564,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *405 - most_recent_instance: *406 + tool: *407 + most_recent_instance: *408 dismissal_approved_by: anyOf: - type: 'null' @@ -62191,7 +62661,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -62211,9 +62681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 requestBody: required: true content: @@ -62228,8 +62698,8 @@ paths: enum: - open - dismissed - dismissed_reason: *402 - dismissed_comment: *403 + dismissed_reason: *404 + dismissed_comment: *405 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62248,7 +62718,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: default: value: @@ -62324,7 +62794,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &413 + '403': &415 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62351,15 +62821,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: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 responses: '200': description: Response content: application/json: - schema: &410 + schema: &412 type: object properties: status: @@ -62386,13 +62856,13 @@ paths: - description - started_at examples: - default: &411 + default: &413 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &412 + '400': &414 description: Bad Request content: application/json: @@ -62403,7 +62873,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': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -62428,29 +62898,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: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 responses: '200': description: OK content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 '202': description: Accepted content: application/json: - schema: *410 + schema: *412 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *412 + '400': *414 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62482,9 +62952,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: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 requestBody: required: false content: @@ -62530,8 +63000,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *412 - '403': *413 + '400': *414 + '403': *415 '404': *6 '422': description: Unprocessable Entity @@ -62555,13 +63025,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 - *19 - *17 - - *414 - - *415 + - *416 + - *417 responses: '200': description: Response @@ -62569,7 +63039,7 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: default: value: @@ -62608,7 +63078,7 @@ paths: end_column: 50 classifications: - source - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -62642,25 +63112,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *309 - - *310 - - *396 - - *397 + - *311 + - *312 + - *398 + - *399 - *19 - *17 - - *415 + - *417 - 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: *398 + schema: *400 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &418 + schema: &420 type: string description: An identifier for the upload. examples: @@ -62682,23 +63152,23 @@ paths: application/json: schema: type: array - items: &419 + items: &421 type: object properties: - ref: *398 - commit_sha: &427 + ref: *400 + commit_sha: &429 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: *416 + analysis_key: *418 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *417 + category: *419 error: type: string examples: @@ -62723,8 +63193,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *418 - tool: *405 + sarif_id: *420 + tool: *407 deletable: type: boolean warning: @@ -62786,7 +63256,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -62822,8 +63292,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: - - *309 - - *310 + - *311 + - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62836,7 +63306,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: response: summary: application/json response @@ -62890,7 +63360,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *407 + '403': *409 '404': *6 '422': description: Response if analysis could not be processed @@ -62977,8 +63447,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: - - *309 - - *310 + - *311 + - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63034,7 +63504,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': *413 + '403': *415 '404': *6 '503': *97 x-github: @@ -63056,8 +63526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -63065,7 +63535,7 @@ paths: application/json: schema: type: array - items: &420 + items: &422 title: CodeQL Database description: A CodeQL database. type: object @@ -63177,7 +63647,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': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -63206,8 +63676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - name: language in: path description: The language of the CodeQL database. @@ -63219,7 +63689,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: default: value: @@ -63251,9 +63721,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': &450 + '302': &452 description: Found - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -63275,8 +63745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *309 - - *310 + - *311 + - *312 - name: language in: path description: The language of the CodeQL database. @@ -63286,7 +63756,7 @@ paths: responses: '204': description: Response - '403': *413 + '403': *415 '404': *6 '503': *97 x-github: @@ -63314,8 +63784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -63324,10 +63794,11 @@ paths: type: object additionalProperties: false properties: - language: &421 + language: &423 type: string description: The language targeted by the CodeQL query enum: + - actions - cpp - csharp - go @@ -63403,7 +63874,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &425 + schema: &427 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63413,7 +63884,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *421 + query_language: *423 query_pack_url: type: string description: The download url for the query pack. @@ -63461,7 +63932,7 @@ paths: items: type: object properties: - repository: &422 + repository: &424 title: Repository Identifier description: Repository Identifier type: object @@ -63503,7 +63974,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &426 + analysis_status: &428 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63535,7 +64006,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &423 + access_mismatch_repos: &425 type: object properties: repository_count: @@ -63550,7 +64021,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *422 + items: *424 required: - repository_count - repositories @@ -63573,8 +64044,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *423 - over_limit_repos: *423 + no_codeql_db_repos: *425 + over_limit_repos: *425 required: - access_mismatch_repos - not_found_repos @@ -63590,7 +64061,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &424 + value: &426 summary: Default response value: id: 1 @@ -63742,10 +64213,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *424 + value: *426 repository_lists: summary: Response for a successful variant analysis submission - value: *424 + value: *426 '404': *6 '422': description: Unable to process variant analysis submission @@ -63773,8 +64244,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: - - *309 - - *310 + - *311 + - *312 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63786,9 +64257,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - default: *424 + default: *426 '404': *6 '503': *97 x-github: @@ -63811,7 +64282,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: - - *309 + - *311 - name: repo in: path description: The name of the controller repository. @@ -63846,7 +64317,7 @@ paths: type: object properties: repository: *51 - analysis_status: *426 + analysis_status: *428 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63971,8 +64442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -64065,7 +64536,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -64086,8 +64557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -64181,7 +64652,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *413 + '403': *415 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64252,8 +64723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -64261,7 +64732,7 @@ paths: schema: type: object properties: - commit_sha: *427 + commit_sha: *429 ref: type: string description: |- @@ -64321,7 +64792,7 @@ paths: schema: type: object properties: - id: *418 + id: *420 url: type: string description: The REST API URL for checking the status of the upload. @@ -64335,7 +64806,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': *413 + '403': *415 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64358,8 +64829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *309 - - *310 + - *311 + - *312 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64407,7 +64878,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': *407 + '403': *409 '404': description: Not Found if the sarif id does not match any upload '503': *97 @@ -64432,8 +64903,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -64489,7 +64960,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *166 + '204': *168 '304': *35 '403': *27 '404': *6 @@ -64514,8 +64985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *309 - - *310 + - *311 + - *312 - 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 @@ -64643,8 +65114,8 @@ paths: parameters: - *17 - *19 - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -64660,7 +65131,7 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: default: value: @@ -64958,8 +65429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -65023,17 +65494,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '400': *14 '401': *23 '403': *27 @@ -65062,8 +65533,8 @@ paths: parameters: - *17 - *19 - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -65127,8 +65598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65165,9 +65636,9 @@ paths: type: integer machines: type: array - items: *429 + items: *431 examples: - default: &643 + default: &645 value: total_count: 2 machines: @@ -65207,8 +65678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *309 - - *310 + - *311 + - *312 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65295,8 +65766,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: - - *309 - - *310 + - *311 + - *312 - 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 @@ -65365,8 +65836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -65384,7 +65855,7 @@ paths: type: integer secrets: type: array - items: &433 + items: &435 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65405,7 +65876,7 @@ paths: - created_at - updated_at examples: - default: *430 + default: *432 headers: Link: *52 x-github: @@ -65428,16 +65899,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *431 + schema: *433 examples: - default: *432 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65457,17 +65928,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '200': description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65487,8 +65958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 requestBody: required: true @@ -65541,8 +66012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '204': @@ -65571,8 +66042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *309 - - *310 + - *311 + - *312 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65610,7 +66081,7 @@ paths: application/json: schema: type: array - items: &435 + items: &437 title: Collaborator description: Collaborator type: object @@ -65803,8 +66274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *309 - - *310 + - *311 + - *312 - *57 responses: '204': @@ -65851,8 +66322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *309 - - *310 + - *311 + - *312 - *57 requestBody: required: false @@ -65879,7 +66350,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &499 + schema: &501 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66107,8 +66578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *309 - - *310 + - *311 + - *312 - *57 responses: '204': @@ -66140,8 +66611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *309 - - *310 + - *311 + - *312 - *57 responses: '200': @@ -66162,7 +66633,7 @@ paths: user: anyOf: - type: 'null' - - *435 + - *437 required: - permission - role_name @@ -66216,8 +66687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -66227,7 +66698,7 @@ paths: application/json: schema: type: array - items: &436 + items: &438 title: Commit Comment description: Commit Comment type: object @@ -66285,7 +66756,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &441 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66344,17 +66815,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '200': description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: &440 + default: &442 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66411,8 +66882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -66435,7 +66906,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: default: value: @@ -66486,8 +66957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '204': @@ -66509,8 +66980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66537,9 +67008,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 @@ -66560,8 +67031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -66594,16 +67065,16 @@ paths: description: Reaction exists content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Reaction created content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -66625,10 +67096,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *309 - - *310 + - *311 + - *312 - *77 - - *305 + - *307 responses: '204': description: Response @@ -66677,8 +67148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *309 - - *310 + - *311 + - *312 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66734,9 +67205,9 @@ paths: application/json: schema: type: array - items: *437 + items: *439 examples: - default: &549 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66830,9 +67301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *309 - - *310 - - &438 + - *311 + - *312 + - &440 name: commit_sha description: The SHA of the commit. in: path @@ -66904,9 +67375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *309 - - *310 - - *438 + - *311 + - *312 + - *440 - *17 - *19 responses: @@ -66916,9 +67387,9 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: - default: *439 + default: *441 headers: Link: *52 x-github: @@ -66946,9 +67417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *309 - - *310 - - *438 + - *311 + - *312 + - *440 requestBody: required: true content: @@ -66983,9 +67454,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *440 + default: *442 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67013,9 +67484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *309 - - *310 - - *438 + - *311 + - *312 + - *440 - *17 - *19 responses: @@ -67025,9 +67496,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: &541 + default: &543 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67564,11 +68035,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *309 - - *310 + - *311 + - *312 - *19 - *17 - - &442 + - &444 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)" @@ -67583,9 +68054,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: &527 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67698,11 +68169,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *309 - - *310 - - *442 - - *443 + - *311 + - *312 - *444 + - *445 + - *446 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67736,9 +68207,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *391 examples: - default: *445 + default: *447 headers: Link: *52 x-github: @@ -67763,9 +68234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *309 - - *310 - - *442 + - *311 + - *312 + - *444 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67773,7 +68244,7 @@ paths: schema: type: integer example: 1 - - *443 + - *445 - *17 - *19 responses: @@ -67791,7 +68262,7 @@ paths: type: integer check_suites: type: array - items: *393 + items: *395 examples: default: value: @@ -67991,9 +68462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *309 - - *310 - - *442 + - *311 + - *312 + - *444 - *17 - *19 responses: @@ -68195,9 +68666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *309 - - *310 - - *442 + - *311 + - *312 + - *444 - *17 - *19 responses: @@ -68207,7 +68678,7 @@ paths: application/json: schema: type: array - items: &614 + items: &616 title: Status description: The status of a commit. type: object @@ -68288,7 +68759,7 @@ paths: site_admin: false headers: Link: *52 - '301': *316 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68316,8 +68787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -68350,11 +68821,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *446 + - *448 code_of_conduct_file: anyOf: - type: 'null' - - &447 + - &449 title: Community Health File type: object properties: @@ -68374,19 +68845,19 @@ paths: contributing: anyOf: - type: 'null' - - *447 + - *449 readme: anyOf: - type: 'null' - - *447 + - *449 issue_template: anyOf: - type: 'null' - - *447 + - *449 pull_request_template: anyOf: - type: 'null' - - *447 + - *449 required: - code_of_conduct - code_of_conduct_file @@ -68515,8 +68986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *309 - - *310 + - *311 + - *312 - *19 - *17 - name: basehead @@ -68564,8 +69035,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *437 - merge_base_commit: *437 + base_commit: *439 + merge_base_commit: *439 status: type: string enum: @@ -68589,10 +69060,10 @@ paths: - 6 commits: type: array - items: *437 + items: *439 files: type: array - items: *448 + items: *450 required: - url - html_url @@ -68878,8 +69349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *309 - - *310 + - *311 + - *312 - name: path description: path parameter in: path @@ -69032,7 +69503,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &449 + response-if-content-is-a-file: &451 summary: Response if content is a file value: type: file @@ -69169,7 +69640,7 @@ paths: - size - type - url - - &554 + - &556 title: Content File description: Content File type: object @@ -69387,7 +69858,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *449 + response-if-content-is-a-file: *451 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69456,7 +69927,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *450 + '302': *452 '304': *35 x-github: githubCloudOnly: false @@ -69479,8 +69950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *309 - - *310 + - *311 + - *312 - name: path description: path parameter in: path @@ -69575,7 +70046,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &453 title: File Commit description: File Commit type: object @@ -69731,7 +70202,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: example-for-creating-a-file: value: @@ -69785,7 +70256,7 @@ paths: schema: oneOf: - *3 - - &481 + - &483 description: Repository rule violation was detected type: object properties: @@ -69806,7 +70277,7 @@ paths: items: type: object properties: - placeholder_id: &606 + placeholder_id: &608 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69838,8 +70309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *309 - - *310 + - *311 + - *312 - name: path description: path parameter in: path @@ -69900,7 +70371,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: default: value: @@ -69955,8 +70426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *309 - - *310 + - *311 + - *312 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70080,22 +70551,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *309 - - *310 - - *171 - - *172 + - *311 + - *312 - *173 - *174 + - *175 + - *176 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *175 - - *452 - - *176 - *177 + - *454 + - *178 + - *179 - *46 - name: per_page description: The number of results per page (max 100). For more information, @@ -70114,11 +70585,11 @@ paths: application/json: schema: type: array - items: &455 + items: &457 type: object description: A Dependabot alert. properties: - number: *152 + number: *154 state: type: string description: The state of the Dependabot alert. @@ -70164,13 +70635,13 @@ paths: - direct - transitive - - security_advisory: *453 + security_advisory: *455 security_vulnerability: *50 - url: *155 - html_url: *156 - created_at: *153 - updated_at: *154 - dismissed_at: *158 + url: *157 + html_url: *158 + created_at: *155 + updated_at: *156 + dismissed_at: *160 dismissed_by: anyOf: - type: 'null' @@ -70194,8 +70665,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *157 - auto_dismissed_at: *454 + fixed_at: *159 + auto_dismissed_at: *456 required: - number - state @@ -70425,9 +70896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *309 - - *310 - - &456 + - *311 + - *312 + - &458 name: alert_number in: path description: |- @@ -70436,13 +70907,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *152 + schema: *154 responses: '200': description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -70555,9 +71026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *309 - - *310 - - *456 + - *311 + - *312 + - *458 requestBody: required: true content: @@ -70602,7 +71073,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -70731,8 +71202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -70750,7 +71221,7 @@ paths: type: integer secrets: type: array - items: &459 + items: &461 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70804,16 +71275,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70833,15 +71304,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '200': description: Response content: application/json: - schema: *459 + schema: *461 examples: default: value: @@ -70867,8 +71338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 requestBody: required: true @@ -70921,8 +71392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '204': @@ -70945,8 +71416,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: - - *309 - - *310 + - *311 + - *312 - 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 @@ -71120,8 +71591,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -71381,8 +71852,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -71465,7 +71936,7 @@ paths: - version - url additionalProperties: false - metadata: &460 + metadata: &462 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71504,7 +71975,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *460 + metadata: *462 resolved: type: object description: A collection of resolved package dependencies. @@ -71518,7 +71989,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *460 + metadata: *462 relationship: type: string description: A notation of whether a dependency is requested @@ -71651,8 +72122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *309 - - *310 + - *311 + - *312 - name: sha description: The SHA recorded at creation time. in: query @@ -71693,9 +72164,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: *462 + default: *464 headers: Link: *52 x-github: @@ -71761,8 +72232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -71844,7 +72315,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: simple-example: summary: Simple example @@ -71917,9 +72388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *309 - - *310 - - &463 + - *311 + - *312 + - &465 name: deployment_id description: deployment_id parameter in: path @@ -71931,7 +72402,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: default: value: @@ -71996,9 +72467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *309 - - *310 - - *463 + - *311 + - *312 + - *465 responses: '204': description: Response @@ -72020,9 +72491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *309 - - *310 - - *463 + - *311 + - *312 + - *465 - *17 - *19 responses: @@ -72032,7 +72503,7 @@ paths: application/json: schema: type: array - items: &464 + items: &466 title: Deployment Status description: The status of a deployment. type: object @@ -72196,9 +72667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *309 - - *310 - - *463 + - *311 + - *312 + - *465 requestBody: required: true content: @@ -72273,9 +72744,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: &465 + default: &467 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72331,9 +72802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *309 - - *310 - - *463 + - *311 + - *312 + - *465 - name: status_id in: path required: true @@ -72344,9 +72815,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *465 + default: *467 '404': *6 x-github: githubCloudOnly: false @@ -72371,8 +72842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -72429,8 +72900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -72448,7 +72919,7 @@ paths: - 5 environments: type: array - items: &467 + items: &469 title: Environment description: Details of a deployment environment type: object @@ -72510,7 +72981,7 @@ paths: type: string examples: - wait_timer - wait_timer: &469 + wait_timer: &471 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72552,11 +73023,11 @@ paths: items: type: object properties: - type: *466 + type: *468 reviewer: anyOf: - *4 - - *170 + - *172 required: - id - node_id @@ -72579,7 +73050,7 @@ paths: - id - node_id - type - deployment_branch_policy: &470 + deployment_branch_policy: &472 type: - object - 'null' @@ -72696,9 +73167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *309 - - *310 - - &468 + - *311 + - *312 + - &470 name: environment_name in: path required: true @@ -72711,9 +73182,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &471 + default: &473 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72797,9 +73268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 requestBody: required: false content: @@ -72809,7 +73280,7 @@ paths: - object - 'null' properties: - wait_timer: *469 + wait_timer: *471 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -72828,14 +73299,14 @@ paths: items: type: object properties: - type: *466 + type: *468 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *470 + deployment_branch_policy: *472 additionalProperties: false examples: default: @@ -72855,9 +73326,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *471 + default: *473 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72881,9 +73352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 responses: '204': description: Default response @@ -72908,9 +73379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *17 - *19 responses: @@ -72929,7 +73400,7 @@ paths: - 2 branch_policies: type: array - items: &472 + items: &474 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72990,9 +73461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 requestBody: required: true content: @@ -73040,9 +73511,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - example-wildcard: &473 + example-wildcard: &475 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73084,10 +73555,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *309 - - *310 - - *468 - - &474 + - *311 + - *312 + - *470 + - &476 name: branch_policy_id in: path required: true @@ -73099,9 +73570,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73120,10 +73591,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *309 - - *310 - - *468 - - *474 + - *311 + - *312 + - *470 + - *476 requestBody: required: true content: @@ -73152,9 +73623,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73173,10 +73644,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *309 - - *310 - - *468 - - *474 + - *311 + - *312 + - *470 + - *476 responses: '204': description: Response @@ -73201,9 +73672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *468 - - *310 - - *309 + - *470 + - *312 + - *311 responses: '200': description: List of deployment protection rules @@ -73220,7 +73691,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &475 + items: &477 title: Deployment protection rule description: Deployment protection rule type: object @@ -73242,7 +73713,7 @@ paths: for the environment. examples: - true - app: &476 + app: &478 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73345,9 +73816,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: - - *468 - - *310 - - *309 + - *470 + - *312 + - *311 requestBody: content: application/json: @@ -73368,9 +73839,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *475 + schema: *477 examples: - default: &477 + default: &479 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73405,9 +73876,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: - - *468 - - *310 - - *309 + - *470 + - *312 + - *311 - *19 - *17 responses: @@ -73427,7 +73898,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *476 + items: *478 examples: default: value: @@ -73462,10 +73933,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *309 - - *310 - - *468 - - &478 + - *311 + - *312 + - *470 + - &480 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73477,9 +73948,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73500,10 +73971,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *468 - - *310 - - *309 - - *478 + - *470 + - *312 + - *311 + - *480 responses: '204': description: Response @@ -73529,9 +74000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *17 - *19 responses: @@ -73549,9 +74020,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *52 x-github: @@ -73576,17 +74047,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73608,18 +74079,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *144 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73641,9 +74112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *144 requestBody: required: true @@ -73701,9 +74172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *144 responses: '204': @@ -73729,10 +74200,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *309 - - *310 - - *468 - - *326 + - *311 + - *312 + - *470 + - *328 - *19 responses: '200': @@ -73749,9 +74220,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *52 x-github: @@ -73774,9 +74245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 requestBody: required: true content: @@ -73828,18 +74299,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *147 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,10 +74331,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 - - *468 + - *470 requestBody: required: true content: @@ -73905,10 +74376,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 - - *468 + - *470 responses: '204': description: Response @@ -73930,8 +74401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -73999,8 +74470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *309 - - *310 + - *311 + - *312 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74159,8 +74630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -74193,9 +74664,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 + default: *319 '400': *14 '422': *15 '403': *27 @@ -74216,8 +74687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -74277,7 +74748,7 @@ paths: schema: oneOf: - *105 - - *481 + - *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74302,8 +74773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *309 - - *310 + - *311 + - *312 - name: file_sha in: path required: true @@ -74403,8 +74874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -74513,7 +74984,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &484 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74740,15 +75211,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *309 - - *310 - - *438 + - *311 + - *312 + - *440 responses: '200': description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -74804,9 +75275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *309 - - *310 - - &483 + - *311 + - *312 + - &485 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. @@ -74823,7 +75294,7 @@ paths: application/json: schema: type: array - items: &484 + items: &486 title: Git Reference description: Git references within a repository type: object @@ -74899,17 +75370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *309 - - *310 - - *483 + - *311 + - *312 + - *485 responses: '200': description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: &485 + default: &487 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74938,8 +75409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -74968,9 +75439,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74996,9 +75467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *309 - - *310 - - *483 + - *311 + - *312 + - *485 requestBody: required: true content: @@ -75027,9 +75498,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 '422': *15 '409': *45 x-github: @@ -75047,9 +75518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *309 - - *310 - - *483 + - *311 + - *312 + - *485 responses: '204': description: Response @@ -75104,8 +75575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -75172,7 +75643,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &489 title: Git Tag description: Metadata for a Git tag type: object @@ -75228,7 +75699,7 @@ paths: - sha - type - url - verification: *486 + verification: *488 required: - sha - url @@ -75238,7 +75709,7 @@ paths: - tag - message examples: - default: &488 + default: &490 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75311,8 +75782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *309 - - *310 + - *311 + - *312 - name: tag_sha in: path required: true @@ -75323,9 +75794,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '404': *6 '409': *45 x-github: @@ -75349,8 +75820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -75424,7 +75895,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &491 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75526,8 +75997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *309 - - *310 + - *311 + - *312 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75550,7 +76021,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: default-response: summary: Default response @@ -75609,8 +76080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -75620,7 +76091,7 @@ paths: application/json: schema: type: array - items: &490 + items: &492 title: Webhook description: Webhooks for repositories. type: object @@ -75683,7 +76154,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &724 + last_response: &726 title: Hook Response type: object properties: @@ -75760,8 +76231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -75814,9 +76285,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: &491 + default: &493 value: type: Repository id: 12345678 @@ -75864,17 +76335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '200': description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -75894,9 +76365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 requestBody: required: true content: @@ -75941,9 +76412,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '422': *15 '404': *6 x-github: @@ -75964,9 +76435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '204': description: Response @@ -75990,9 +76461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '200': description: Response @@ -76019,9 +76490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 requestBody: required: false content: @@ -76065,11 +76536,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 - *17 - - *184 + - *186 responses: '200': description: Response @@ -76077,9 +76548,9 @@ paths: application/json: schema: type: array - items: *185 + items: *187 examples: - default: *186 + default: *188 '400': *14 '422': *15 x-github: @@ -76098,18 +76569,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 - *16 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 '400': *14 '422': *15 x-github: @@ -76128,9 +76599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 - *16 responses: '202': *37 @@ -76153,9 +76624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '204': description: Response @@ -76180,9 +76651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '204': description: Response @@ -76205,8 +76676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response if immutable releases are enabled @@ -76254,10 +76725,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *309 - - *310 + - *311 + - *312 responses: - '204': *166 + '204': *168 '409': *45 x-github: githubCloudOnly: false @@ -76275,10 +76746,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *309 - - *310 + - *311 + - *312 responses: - '204': *166 + '204': *168 '409': *45 x-github: githubCloudOnly: false @@ -76333,14 +76804,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &492 + schema: &494 title: Import description: A repository import from an external source. type: object @@ -76447,7 +76918,7 @@ paths: - html_url - authors_url examples: - default: &495 + default: &497 value: vcs: subversion use_lfs: true @@ -76463,7 +76934,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': &493 + '503': &495 description: Unavailable due to service under maintenance. content: application/json: @@ -76492,8 +76963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -76541,7 +77012,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: default: value: @@ -76566,7 +77037,7 @@ paths: type: string '422': *15 '404': *6 - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76594,8 +77065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -76647,7 +77118,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: example-1: summary: Example 1 @@ -76695,7 +77166,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': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76718,12 +77189,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76749,9 +77220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *309 - - *310 - - &664 + - *311 + - *312 + - &666 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76765,7 +77236,7 @@ paths: application/json: schema: type: array - items: &494 + items: &496 title: Porter Author description: Porter Author type: object @@ -76819,7 +77290,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': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76844,8 +77315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *309 - - *310 + - *311 + - *312 - name: author_id in: path required: true @@ -76875,7 +77346,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default: value: @@ -76888,7 +77359,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76912,8 +77383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -76954,7 +77425,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76982,8 +77453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -77010,11 +77481,11 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: *495 + default: *497 '422': *15 - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77037,8 +77508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -77046,8 +77517,8 @@ paths: application/json: schema: *20 examples: - default: *496 - '301': *316 + default: *498 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -77067,8 +77538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -77076,12 +77547,12 @@ paths: application/json: schema: anyOf: - - *201 + - *203 - type: object properties: {} additionalProperties: false examples: - default: &498 + default: &500 value: limit: collaborators_only origin: repository @@ -77106,13 +77577,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *497 + schema: *499 examples: default: summary: Example request body @@ -77124,9 +77595,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *498 + default: *500 '409': description: Response x-github: @@ -77148,8 +77619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -77172,8 +77643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -77183,9 +77654,9 @@ paths: application/json: schema: type: array - items: *499 + items: *501 examples: - default: &657 + default: &659 value: - id: 1 repository: @@ -77316,9 +77787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *309 - - *310 - - *205 + - *311 + - *312 + - *207 requestBody: required: false content: @@ -77347,7 +77818,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -77478,9 +77949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *309 - - *310 - - *205 + - *311 + - *312 + - *207 responses: '204': description: Response @@ -77511,8 +77982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *309 - - *310 + - *311 + - *312 - 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 @@ -77560,7 +78031,7 @@ paths: required: false schema: type: string - - *209 + - *211 - name: sort description: What to sort results by. in: query @@ -77585,7 +78056,7 @@ paths: type: array items: *78 examples: - default: &507 + default: &509 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77733,7 +78204,7 @@ paths: state_reason: completed headers: Link: *52 - '301': *316 + '301': *318 '422': *15 '404': *6 x-github: @@ -77762,8 +78233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -77855,7 +78326,7 @@ paths: application/json: schema: *78 examples: - default: &504 + default: &506 value: id: 1 node_id: MDU6SXNzdWUx @@ -78011,7 +78482,7 @@ paths: '422': *15 '503': *97 '404': *6 - '410': *500 + '410': *502 x-github: triggersNotification: true githubCloudOnly: false @@ -78039,8 +78510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -78061,9 +78532,9 @@ paths: application/json: schema: type: array - items: *501 + items: *503 examples: - default: &506 + default: &508 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78121,17 +78592,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &502 + default: &504 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78185,8 +78656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -78209,9 +78680,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *502 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -78229,8 +78700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '204': @@ -78251,8 +78722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78279,9 +78750,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 @@ -78302,8 +78773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -78336,16 +78807,16 @@ paths: description: Reaction exists content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Reaction created content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -78367,10 +78838,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *309 - - *310 + - *311 + - *312 - *77 - - *305 + - *307 responses: '204': description: Response @@ -78390,8 +78861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -78401,7 +78872,7 @@ paths: application/json: schema: type: array - items: &503 + items: &505 title: Issue Event description: Issue Event type: object @@ -78481,7 +78952,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *170 + requested_team: *172 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78740,8 +79211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *309 - - *310 + - *311 + - *312 - name: event_id in: path required: true @@ -78752,7 +79223,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: default: value: @@ -78945,7 +79416,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *500 + '410': *502 '403': *27 x-github: githubCloudOnly: false @@ -78979,9 +79450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *309 - - *310 - - &505 + - *311 + - *312 + - &507 name: issue_number description: The number that identifies the issue. in: path @@ -78995,10 +79466,10 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *316 + default: *506 + '301': *318 '404': *6 - '410': *500 + '410': *502 '304': *35 x-github: githubCloudOnly: false @@ -79023,9 +79494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -79146,13 +79617,13 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 '422': *15 '503': *97 '403': *27 - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79170,9 +79641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -79200,7 +79671,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79216,9 +79687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: content: application/json: @@ -79245,7 +79716,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79267,9 +79738,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: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - name: assignee in: path required: true @@ -79309,9 +79780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *68 - *17 - *19 @@ -79322,13 +79793,13 @@ paths: application/json: schema: type: array - items: *501 + items: *503 examples: - default: *506 + default: *508 headers: Link: *52 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79357,9 +79828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -79381,16 +79852,16 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *502 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *500 + '410': *502 '422': *15 '404': *6 x-github: @@ -79418,9 +79889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -79432,12 +79903,12 @@ paths: type: array items: *78 examples: - default: *507 + default: *509 headers: Link: *52 - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79465,9 +79936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -79491,15 +79962,15 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *316 + '301': *318 '403': *27 - '410': *500 + '410': *502 '422': *15 '404': *6 x-github: @@ -79530,9 +80001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79546,13 +80017,13 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *316 + default: *506 + '301': *318 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *500 + '410': *502 x-github: triggersNotification: true githubCloudOnly: false @@ -79578,9 +80049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -79592,12 +80063,12 @@ paths: type: array items: *78 examples: - default: *507 + default: *509 headers: Link: *52 - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79614,9 +80085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -79630,7 +80101,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &510 + - &512 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79679,7 +80150,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &513 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79807,7 +80278,7 @@ paths: - performed_via_github_app - assignee - assigner - - &512 + - &514 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79853,7 +80324,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &515 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79899,7 +80370,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &516 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79948,7 +80419,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &517 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79977,7 +80448,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *170 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -79990,7 +80461,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &518 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80019,7 +80490,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *170 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -80032,7 +80503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &519 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80088,7 +80559,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &520 title: Locked Issue Event description: Locked Issue Event type: object @@ -80133,7 +80604,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &521 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80194,7 +80665,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &522 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80255,7 +80726,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &523 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80316,7 +80787,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &524 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80409,7 +80880,7 @@ paths: color: red headers: Link: *52 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80426,9 +80897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -80438,7 +80909,7 @@ paths: application/json: schema: type: array - items: &508 + items: &510 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80493,7 +80964,7 @@ paths: - color - default examples: - default: &509 + default: &511 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80511,9 +80982,9 @@ paths: default: false headers: Link: *52 - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80530,9 +81001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -80591,12 +81062,12 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 - '301': *316 + default: *511 + '301': *318 '404': *6 - '410': *500 + '410': *502 '422': *15 x-github: githubCloudOnly: false @@ -80613,9 +81084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -80675,12 +81146,12 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 - '301': *316 + default: *511 + '301': *318 '404': *6 - '410': *500 + '410': *502 '422': *15 x-github: githubCloudOnly: false @@ -80697,15 +81168,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 responses: '204': description: Response - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80724,9 +81195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - name: name in: path required: true @@ -80739,7 +81210,7 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: default: value: @@ -80750,9 +81221,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80772,9 +81243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -80803,7 +81274,7 @@ paths: '204': description: Response '403': *27 - '410': *500 + '410': *502 '404': *6 '422': *15 x-github: @@ -80821,9 +81292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 responses: '204': description: Response @@ -80853,9 +81324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 responses: '200': description: Response @@ -80863,10 +81334,10 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *316 + default: *506 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80883,9 +81354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - 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. @@ -80911,13 +81382,13 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80935,9 +81406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -80969,16 +81440,16 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -81000,10 +81471,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *309 - - *310 - - *505 - - *305 + - *311 + - *312 + - *507 + - *307 responses: '204': description: Response @@ -81032,9 +81503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -81058,7 +81529,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81091,9 +81562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -81105,11 +81576,11 @@ paths: type: array items: *78 examples: - default: *507 + default: *509 headers: Link: *52 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81137,9 +81608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -81168,14 +81639,14 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *500 + '410': *502 '422': *15 '404': *6 x-github: @@ -81195,9 +81666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -81230,7 +81701,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 '403': *27 '404': *6 '422': *7 @@ -81252,9 +81723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -81269,8 +81740,6 @@ paths: description: Timeline Event type: object anyOf: - - *510 - - *511 - *512 - *513 - *514 @@ -81282,6 +81751,8 @@ paths: - *520 - *521 - *522 + - *523 + - *524 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81610,7 +82081,7 @@ paths: type: string comments: type: array - items: &543 + items: &545 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81848,7 +82319,7 @@ paths: type: string comments: type: array - items: *436 + items: *438 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82123,7 +82594,7 @@ paths: headers: Link: *52 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82140,8 +82611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -82151,7 +82622,7 @@ paths: application/json: schema: type: array - items: &523 + items: &525 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82219,8 +82690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -82256,9 +82727,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: &524 + default: &526 value: id: 1 key: ssh-rsa AAA... @@ -82292,9 +82763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *309 - - *310 - - &525 + - *311 + - *312 + - &527 name: key_id description: The unique identifier of the key. in: path @@ -82306,9 +82777,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *524 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -82326,9 +82797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *309 - - *310 - - *525 + - *311 + - *312 + - *527 responses: '204': description: Response @@ -82348,8 +82819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -82359,9 +82830,9 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 headers: Link: *52 '404': *6 @@ -82382,8 +82853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -82419,9 +82890,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: &526 + default: &528 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82453,8 +82924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *309 - - *310 + - *311 + - *312 - name: name in: path required: true @@ -82465,9 +82936,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *526 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -82484,8 +82955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *309 - - *310 + - *311 + - *312 - name: name in: path required: true @@ -82524,7 +82995,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -82550,8 +83021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *309 - - *310 + - *311 + - *312 - name: name in: path required: true @@ -82577,8 +83048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -82617,9 +83088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *309 - - *310 - - *414 + - *311 + - *312 + - *416 responses: '200': description: Response @@ -82766,8 +83237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -82832,8 +83303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -82867,9 +83338,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *437 + schema: *439 examples: - default: *527 + default: *529 '204': description: Response when already merged '404': @@ -82894,8 +83365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *309 - - *310 + - *311 + - *312 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82936,7 +83407,7 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: default: value: @@ -82992,8 +83463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -83033,9 +83504,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: &528 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83094,9 +83565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *309 - - *310 - - &529 + - *311 + - *312 + - &531 name: milestone_number description: The number that identifies the milestone. in: path @@ -83108,9 +83579,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *528 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -83127,9 +83598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *309 - - *310 - - *529 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -83167,9 +83638,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83185,9 +83656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *309 - - *310 - - *529 + - *311 + - *312 + - *531 responses: '204': description: Response @@ -83208,9 +83679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *309 - - *310 - - *529 + - *311 + - *312 + - *531 - *17 - *19 responses: @@ -83220,9 +83691,9 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 headers: Link: *52 x-github: @@ -83241,12 +83712,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *309 - - *310 - - *530 - - *531 - - *68 + - *311 + - *312 - *532 + - *533 + - *68 + - *534 - *17 - *19 responses: @@ -83258,7 +83729,7 @@ paths: type: array items: *90 examples: - default: *533 + default: *535 headers: Link: *52 x-github: @@ -83282,8 +83753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -83341,14 +83812,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &534 + schema: &536 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83492,7 +83963,7 @@ paths: - custom_404 - public examples: - default: &535 + default: &537 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83533,8 +84004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -83589,9 +84060,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *535 + default: *537 '422': *15 '409': *45 x-github: @@ -83614,8 +84085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -83715,8 +84186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -83742,8 +84213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -83753,7 +84224,7 @@ paths: application/json: schema: type: array - items: &536 + items: &538 title: Page Build description: Page Build type: object @@ -83845,8 +84316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *309 - - *310 + - *311 + - *312 responses: '201': description: Response @@ -83893,16 +84364,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: &537 + default: &539 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83950,8 +84421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *309 - - *310 + - *311 + - *312 - name: build_id in: path required: true @@ -83962,9 +84433,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *537 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83984,8 +84455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -84093,9 +84564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *309 - - *310 - - &538 + - *311 + - *312 + - &540 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84153,11 +84624,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *309 - - *310 - - *538 + - *311 + - *312 + - *540 responses: - '204': *166 + '204': *168 '404': *6 x-github: githubCloudOnly: false @@ -84182,8 +84653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -84478,8 +84949,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Private vulnerability reporting status @@ -84516,10 +84987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: - '204': *166 + '204': *168 '422': *14 x-github: githubCloudOnly: false @@ -84538,10 +85009,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: - '204': *166 + '204': *168 '422': *14 x-github: githubCloudOnly: false @@ -84561,8 +85032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -84572,7 +85043,7 @@ paths: type: array items: *95 examples: - default: *539 + default: *541 '403': *27 '404': *6 x-github: @@ -84594,8 +85065,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -84611,7 +85082,7 @@ paths: required: - properties examples: - default: *540 + default: *542 responses: '204': description: No Content when custom property values are successfully created @@ -84649,8 +85120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *309 - - *310 + - *311 + - *312 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84710,9 +85181,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: *541 + default: *543 headers: Link: *52 '304': *35 @@ -84744,8 +85215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -84812,7 +85283,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &547 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84941,7 +85412,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *244 active_lock_reason: type: - string @@ -84996,7 +85467,7 @@ paths: type: - array - 'null' - items: *221 + items: *223 head: type: object properties: @@ -85034,14 +85505,14 @@ paths: _links: type: object properties: - comments: *243 - commits: *243 - statuses: *243 - html: *243 - issue: *243 - review_comments: *243 - review_comment: *243 - self: *243 + comments: *245 + commits: *245 + statuses: *245 + html: *245 + issue: *245 + review_comments: *245 + review_comment: *245 + self: *245 required: - comments - commits @@ -85052,7 +85523,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *542 + auto_merge: *544 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85154,7 +85625,7 @@ paths: - merged_by - review_comments examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85681,8 +86152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - name: sort in: query required: false @@ -85711,9 +86182,9 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: &548 + default: &550 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85790,17 +86261,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '200': description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: &544 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85875,8 +86346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -85899,9 +86370,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *544 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85917,8 +86388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '204': @@ -85940,8 +86411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85968,9 +86439,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 @@ -85991,8 +86462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -86025,16 +86496,16 @@ paths: description: Reaction exists content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Reaction created content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -86056,10 +86527,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *309 - - *310 + - *311 + - *312 - *77 - - *305 + - *307 responses: '204': description: Response @@ -86102,9 +86573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *309 - - *310 - - &547 + - *311 + - *312 + - &549 name: pull_number description: The number that identifies the pull request. in: path @@ -86117,9 +86588,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '304': *35 '404': *6 '406': @@ -86154,9 +86625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -86198,9 +86669,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '422': *15 '403': *27 x-github: @@ -86222,9 +86693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: true content: @@ -86285,17 +86756,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '401': *23 '403': *27 '404': *6 @@ -86325,9 +86796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86348,9 +86819,9 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: *548 + default: *550 headers: Link: *52 x-github: @@ -86383,9 +86854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: true content: @@ -86491,7 +86962,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: example-for-a-multi-line-comment: value: @@ -86579,9 +87050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *77 requestBody: required: true @@ -86604,7 +87075,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: default: value: @@ -86690,9 +87161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *17 - *19 responses: @@ -86702,9 +87173,9 @@ paths: application/json: schema: type: array - items: *437 + items: *439 examples: - default: *549 + default: *551 headers: Link: *52 x-github: @@ -86734,9 +87205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *17 - *19 responses: @@ -86746,7 +87217,7 @@ paths: application/json: schema: type: array - items: *448 + items: *450 examples: default: value: @@ -86784,9 +87255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 responses: '204': description: Response if pull request has been merged @@ -86809,9 +87280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -86923,9 +87394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 responses: '200': description: Response @@ -86941,7 +87412,7 @@ paths: items: *4 teams: type: array - items: *170 + items: *172 required: - users - teams @@ -87000,9 +87471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -87039,7 +87510,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -87575,9 +88046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: true content: @@ -87611,7 +88082,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -88116,9 +88587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *17 - *19 responses: @@ -88128,7 +88599,7 @@ paths: application/json: schema: type: array - items: &550 + items: &552 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88284,9 +88755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -88376,9 +88847,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &552 + default: &554 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88441,10 +88912,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - &551 + - *311 + - *312 + - *549 + - &553 name: review_id description: The unique identifier of the review. in: path @@ -88456,9 +88927,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &553 + default: &555 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88517,10 +88988,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 requestBody: required: true content: @@ -88543,7 +89014,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -88605,18 +89076,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 responses: '200': description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *552 + default: *554 '422': *7 '404': *6 x-github: @@ -88643,10 +89114,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 - *17 - *19 responses: @@ -88744,9 +89215,9 @@ paths: _links: type: object properties: - self: *243 - html: *243 - pull_request: *243 + self: *245 + html: *245 + pull_request: *245 required: - self - html @@ -88904,10 +89375,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 requestBody: required: true content: @@ -88936,7 +89407,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -88999,10 +89470,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 requestBody: required: true content: @@ -89037,9 +89508,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *553 + default: *555 '404': *6 '422': *7 '403': *27 @@ -89061,9 +89532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -89127,8 +89598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *309 - - *310 + - *311 + - *312 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89141,9 +89612,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &555 + default: &557 value: type: file encoding: base64 @@ -89185,8 +89656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *309 - - *310 + - *311 + - *312 - name: dir description: The alternate path to look for a README file in: path @@ -89206,9 +89677,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *555 + default: *557 '404': *6 '422': *15 x-github: @@ -89230,8 +89701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -89241,7 +89712,7 @@ paths: application/json: schema: type: array - items: &556 + items: &558 title: Release description: A release. type: object @@ -89323,7 +89794,7 @@ paths: author: *4 assets: type: array - items: &557 + items: &559 title: Release Asset description: Data related to a release. type: object @@ -89510,8 +89981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -89587,9 +90058,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: &560 + default: &562 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89694,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *309 - - *310 - - &558 + - *311 + - *312 + - &560 name: asset_id description: The unique identifier of the asset. in: path @@ -89708,9 +90179,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: &559 + default: &561 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 @@ -89745,7 +90216,7 @@ paths: type: User site_admin: false '404': *6 - '302': *450 + '302': *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89761,9 +90232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *309 - - *310 - - *558 + - *311 + - *312 + - *560 requestBody: required: false content: @@ -89792,9 +90263,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89810,9 +90281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *309 - - *310 - - *558 + - *311 + - *312 + - *560 responses: '204': description: Response @@ -89836,8 +90307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -89923,16 +90394,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89949,8 +90420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *309 - - *310 + - *311 + - *312 - name: tag description: tag parameter in: path @@ -89963,9 +90434,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -89987,9 +90458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *309 - - *310 - - &561 + - *311 + - *312 + - &563 name: release_id description: The unique identifier of the release. in: path @@ -90003,9 +90474,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: *556 + schema: *558 examples: - default: *560 + default: *562 '401': description: Unauthorized x-github: @@ -90023,9 +90494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 requestBody: required: false content: @@ -90089,9 +90560,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 '404': description: Not Found if the discussion category name is invalid content: @@ -90112,9 +90583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 responses: '204': description: Response @@ -90134,9 +90605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 - *17 - *19 responses: @@ -90146,7 +90617,7 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: default: value: @@ -90227,9 +90698,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: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 - name: name in: query required: true @@ -90255,7 +90726,7 @@ paths: description: Response for successful upload content: application/json: - schema: *557 + schema: *559 examples: response-for-successful-upload: value: @@ -90310,9 +90781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 - 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. @@ -90336,9 +90807,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 @@ -90359,9 +90830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 requestBody: required: true content: @@ -90391,16 +90862,16 @@ paths: description: Reaction exists content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Reaction created content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -90422,10 +90893,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *309 - - *310 - - *561 - - *305 + - *311 + - *312 + - *563 + - *307 responses: '204': description: Response @@ -90449,9 +90920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 - *17 - *19 responses: @@ -90467,8 +90938,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *261 - - &562 + - *263 + - &564 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90487,69 +90958,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *262 - - *562 - - allOf: - - *263 - - *562 - allOf: - *264 - - *562 - - allOf: - - *563 - - *562 + - *564 - allOf: - *265 - - *562 + - *564 - allOf: - *266 - - *562 + - *564 + - allOf: + - *565 + - *564 - allOf: - *267 - - *562 + - *564 - allOf: - *268 - - *562 + - *564 - allOf: - *269 - - *562 + - *564 - allOf: - *270 - - *562 + - *564 - allOf: - *271 - - *562 + - *564 - allOf: - *272 - - *562 + - *564 - allOf: - *273 - - *562 + - *564 - allOf: - *274 - - *562 + - *564 - allOf: - *275 - - *562 + - *564 - allOf: - *276 - - *562 + - *564 - allOf: - *277 - - *562 + - *564 - allOf: - *278 - - *562 + - *564 - allOf: - *279 - - *562 + - *564 - allOf: - *280 - - *562 + - *564 - allOf: + - *281 + - *564 + - allOf: + - *282 + - *564 + - allOf: + - *566 - *564 - - *562 examples: default: value: @@ -90588,8 +91059,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 - name: includes_parents @@ -90600,7 +91071,7 @@ paths: schema: type: boolean default: true - - *565 + - *567 responses: '200': description: Response @@ -90608,7 +91079,7 @@ paths: application/json: schema: type: array - items: *281 + items: *283 examples: default: value: @@ -90655,8 +91126,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 requestBody: description: Request body required: true @@ -90676,16 +91147,16 @@ paths: - tag - push default: branch - enforcement: *258 + enforcement: *260 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *259 - conditions: *256 + items: *261 + conditions: *258 rules: type: array description: An array of rules within the ruleset. - items: *566 + items: *568 required: - name - enforcement @@ -90716,9 +91187,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: &576 + default: &578 value: id: 42 name: super cool ruleset @@ -90765,12 +91236,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *309 - - *310 - - *567 - - *568 + - *311 + - *312 - *569 - *570 + - *571 + - *572 - *17 - *19 responses: @@ -90778,9 +91249,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 '404': *6 '500': *96 x-github: @@ -90801,17 +91272,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *309 - - *310 - - *573 + - *311 + - *312 + - *575 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 '404': *6 '500': *96 x-github: @@ -90839,8 +91310,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90860,9 +91331,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: *576 + default: *578 '404': *6 '500': *96 put: @@ -90880,8 +91351,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90906,16 +91377,16 @@ paths: - branch - tag - push - enforcement: *258 + enforcement: *260 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *259 - conditions: *256 + items: *261 + conditions: *258 rules: description: An array of rules within the ruleset. type: array - items: *566 + items: *568 examples: default: value: @@ -90943,9 +91414,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: *576 + default: *578 '404': *6 '500': *96 delete: @@ -90963,8 +91434,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90987,8 +91458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 - name: ruleset_id @@ -91004,9 +91475,9 @@ paths: application/json: schema: type: array - items: *284 + items: *286 examples: - default: *577 + default: *579 '404': *6 '500': *96 x-github: @@ -91025,8 +91496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *309 - - *310 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91044,7 +91515,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: default: value: @@ -91099,21 +91570,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *309 - - *310 - - *579 - - *580 + - *311 + - *312 - *581 - *582 + - *583 + - *584 - *46 - *19 - *17 - - *583 - - *584 - *585 - *586 - *587 - *588 + - *589 + - *590 responses: '200': description: Response @@ -91121,24 +91592,24 @@ paths: application/json: schema: type: array - items: &592 + items: &594 type: object properties: - number: *152 - created_at: *153 + number: *154 + created_at: *155 updated_at: anyOf: - type: 'null' - - *154 - url: *155 - html_url: *156 + - *156 + url: *157 + html_url: *158 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *589 - resolution: *590 + state: *591 + resolution: *592 resolved_at: type: - string @@ -91232,7 +91703,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *591 + - *593 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91377,16 +91848,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *309 - - *310 - - *408 - - *588 + - *311 + - *312 + - *410 + - *590 responses: '200': description: Response content: application/json: - schema: *592 + schema: *594 examples: default: value: @@ -91438,9 +91909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 requestBody: required: true content: @@ -91448,8 +91919,8 @@ paths: schema: type: object properties: - state: *589 - resolution: *590 + state: *591 + resolution: *592 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91469,7 +91940,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: default: value: @@ -91544,9 +92015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 - *19 - *17 responses: @@ -91557,7 +92028,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &744 + items: &746 type: object properties: type: @@ -91584,8 +92055,6 @@ paths: - commit details: oneOf: - - *593 - - *594 - *595 - *596 - *597 @@ -91597,6 +92066,8 @@ paths: - *603 - *604 - *605 + - *606 + - *607 examples: default: value: @@ -91682,8 +92153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -91691,14 +92162,14 @@ paths: schema: type: object properties: - reason: &607 + reason: &609 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *606 + placeholder_id: *608 required: - reason - placeholder_id @@ -91715,7 +92186,7 @@ paths: schema: type: object properties: - reason: *607 + reason: *609 expire_at: type: - string @@ -91762,8 +92233,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: - - *309 - - *310 + - *311 + - *312 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91778,7 +92249,7 @@ paths: properties: incremental_scans: type: array - items: &608 + items: &610 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91806,15 +92277,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *608 + items: *610 backfill_scans: type: array - items: *608 + items: *610 custom_pattern_backfill_scans: type: array items: allOf: - - *608 + - *610 - type: object properties: pattern_name: @@ -91884,8 +92355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *309 - - *310 + - *311 + - *312 - *46 - name: sort description: The property to sort the results by. @@ -91929,9 +92400,9 @@ paths: application/json: schema: type: array - items: *609 + items: *611 examples: - default: *610 + default: *612 '400': *14 '404': *6 x-github: @@ -91954,8 +92425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -92035,7 +92506,7 @@ paths: login: type: string description: The username of the user credited. - type: *287 + type: *289 required: - login - type @@ -92125,9 +92596,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: &612 + default: &614 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92360,8 +92831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -92474,7 +92945,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: default: value: @@ -92621,17 +93092,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *309 - - *310 - - *611 + - *311 + - *312 + - *613 responses: '200': description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: *612 + default: *614 '403': *27 '404': *6 x-github: @@ -92655,9 +93126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *309 - - *310 - - *611 + - *311 + - *312 + - *613 requestBody: required: true content: @@ -92737,7 +93208,7 @@ paths: login: type: string description: The username of the user credited. - type: *287 + type: *289 required: - login - type @@ -92828,10 +93299,10 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: *612 - add_credit: *612 + default: *614 + add_credit: *614 '403': *27 '404': *6 '422': @@ -92869,9 +93340,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: - - *309 - - *310 - - *611 + - *311 + - *312 + - *613 responses: '202': *37 '400': *14 @@ -92898,17 +93369,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *309 - - *310 - - *611 + - *311 + - *312 + - *613 responses: '202': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 + default: *319 '400': *14 '422': *15 '403': *27 @@ -92934,8 +93405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -93031,8 +93502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93041,7 +93512,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93054,7 +93525,7 @@ paths: - 1124 - -435 '202': *37 - '204': *166 + '204': *168 '422': description: Repository contains more than 10,000 commits x-github: @@ -93074,8 +93545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -93126,7 +93597,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *166 + '204': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93153,8 +93624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -93226,7 +93697,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *166 + '204': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93248,8 +93719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93403,8 +93874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93414,7 +93885,7 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: default: value: @@ -93427,7 +93898,7 @@ paths: - - 0 - 2 - 21 - '204': *166 + '204': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93447,8 +93918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *309 - - *310 + - *311 + - *312 - name: sha in: path required: true @@ -93504,7 +93975,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *616 examples: default: value: @@ -93558,8 +94029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -93591,14 +94062,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &615 + schema: &617 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93671,8 +94142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -93698,7 +94169,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: default: value: @@ -93725,8 +94196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -93746,8 +94217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -93829,8 +94300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -93838,7 +94309,7 @@ paths: application/json: schema: type: array - items: &616 + items: &618 title: Tag protection description: Tag protection type: object @@ -93895,8 +94366,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -93919,7 +94390,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *618 examples: default: value: @@ -93950,8 +94421,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: - - *309 - - *310 + - *311 + - *312 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -93988,8 +94459,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *309 - - *310 + - *311 + - *312 - name: ref in: path required: true @@ -94025,8 +94496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -94036,9 +94507,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 headers: Link: *52 '404': *6 @@ -94058,8 +94529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *309 - - *310 + - *311 + - *312 - *19 - *17 responses: @@ -94067,7 +94538,7 @@ paths: description: Response content: application/json: - schema: &617 + schema: &619 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94079,7 +94550,7 @@ paths: required: - names examples: - default: &618 + default: &620 value: names: - octocat @@ -94102,8 +94573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -94134,9 +94605,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *619 examples: - default: *618 + default: *620 '404': *6 '422': *7 x-github: @@ -94157,9 +94628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *309 - - *310 - - &619 + - *311 + - *312 + - &621 name: per description: The time frame to display results for. in: query @@ -94190,7 +94661,7 @@ paths: - 128 clones: type: array - items: &620 + items: &622 title: Traffic type: object properties: @@ -94277,8 +94748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -94372,8 +94843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -94436,9 +94907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *309 - - *310 - - *619 + - *311 + - *312 + - *621 responses: '200': description: Response @@ -94459,7 +94930,7 @@ paths: - 3782 views: type: array - items: *620 + items: *622 required: - uniques - count @@ -94536,8 +95007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -94811,8 +95282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94835,8 +95306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -94858,8 +95329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -94885,8 +95356,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *309 - - *310 + - *311 + - *312 - name: ref in: path required: true @@ -94978,9 +95449,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95229,7 +95700,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &621 + text_matches: &623 title: Search Result Text Matches type: array items: @@ -95392,7 +95863,7 @@ paths: enum: - author-date - committer-date - - &622 + - &624 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 @@ -95461,7 +95932,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 comment_count: type: integer message: @@ -95480,7 +95951,7 @@ paths: url: type: string format: uri - verification: *486 + verification: *488 required: - author - committer @@ -95495,7 +95966,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 parents: type: array items: @@ -95512,7 +95983,7 @@ paths: type: number node_id: type: string - text_matches: *621 + text_matches: *623 required: - sha - node_id @@ -95704,7 +96175,7 @@ paths: - interactions - created - updated - - *622 + - *624 - *17 - *19 - name: advanced_search @@ -95801,11 +96272,11 @@ paths: type: - string - 'null' - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: type: string state_reason: @@ -95819,7 +96290,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *244 comments: type: integer created_at: @@ -95833,7 +96304,7 @@ paths: - string - 'null' format: date-time - text_matches: *621 + text_matches: *623 pull_request: type: object properties: @@ -95882,7 +96353,7 @@ paths: timeline_url: type: string format: uri - type: *206 + type: *208 performed_via_github_app: anyOf: - type: 'null' @@ -96056,7 +96527,7 @@ paths: enum: - created - updated - - *622 + - *624 - *17 - *19 responses: @@ -96101,7 +96572,7 @@ paths: - 'null' score: type: number - text_matches: *621 + text_matches: *623 required: - id - node_id @@ -96186,7 +96657,7 @@ paths: - forks - help-wanted-issues - updated - - *622 + - *624 - *17 - *19 responses: @@ -96423,7 +96894,7 @@ paths: - admin - pull - push - text_matches: *621 + text_matches: *623 temp_clone_token: type: string allow_merge_commit: @@ -96731,7 +97202,7 @@ paths: - string - 'null' format: uri - text_matches: *621 + text_matches: *623 related: type: - array @@ -96924,7 +97395,7 @@ paths: - followers - repositories - joined - - *622 + - *624 - *17 - *19 responses: @@ -97034,7 +97505,7 @@ paths: type: - boolean - 'null' - text_matches: *621 + text_matches: *623 blog: type: - string @@ -97116,7 +97587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &626 + - &628 name: team_id description: The unique identifier of the team. in: path @@ -97128,9 +97599,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 x-github: githubCloudOnly: false @@ -97157,7 +97628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *626 + - *628 requestBody: required: true content: @@ -97221,16 +97692,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '201': description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 '422': *15 '403': *27 @@ -97258,7 +97729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *626 + - *628 responses: '204': description: Response @@ -97289,7 +97760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *626 + - *628 - *46 - *17 - *19 @@ -97300,9 +97771,9 @@ paths: application/json: schema: type: array - items: *296 + items: *298 examples: - default: *627 + default: *629 headers: Link: *52 x-github: @@ -97331,7 +97802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *626 + - *628 requestBody: required: true content: @@ -97365,9 +97836,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 x-github: triggersNotification: true githubCloudOnly: false @@ -97394,16 +97865,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 responses: '200': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97428,8 +97899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 requestBody: required: false content: @@ -97452,9 +97923,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *628 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97479,8 +97950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 responses: '204': description: Response @@ -97509,8 +97980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *626 - - *298 + - *628 + - *300 - *46 - *17 - *19 @@ -97521,9 +97992,9 @@ paths: application/json: schema: type: array - items: *299 + items: *301 examples: - default: *629 + default: *631 headers: Link: *52 x-github: @@ -97552,8 +98023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *626 - - *298 + - *628 + - *300 requestBody: required: true content: @@ -97575,9 +98046,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: triggersNotification: true githubCloudOnly: false @@ -97604,17 +98075,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97639,9 +98110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 requestBody: required: true content: @@ -97663,9 +98134,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97690,9 +98161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 responses: '204': description: Response @@ -97721,9 +98192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 - 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 team discussion comment. @@ -97749,9 +98220,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 x-github: @@ -97780,9 +98251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 requestBody: required: true content: @@ -97814,9 +98285,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97842,8 +98313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 - 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 team discussion. @@ -97869,9 +98340,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 x-github: @@ -97900,8 +98371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 requestBody: required: true content: @@ -97933,9 +98404,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97959,7 +98430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *626 + - *628 - *17 - *19 responses: @@ -97969,9 +98440,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *52 x-github: @@ -97997,7 +98468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *626 + - *628 - name: role description: Filters members returned by their role in the team. in: query @@ -98048,7 +98519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *626 + - *628 - *57 responses: '204': @@ -98085,7 +98556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *626 + - *628 - *57 responses: '204': @@ -98125,7 +98596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *626 + - *628 - *57 responses: '204': @@ -98162,16 +98633,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *626 + - *628 - *57 responses: '200': description: Response content: application/json: - schema: *306 + schema: *308 examples: - response-if-user-is-a-team-maintainer: *631 + response-if-user-is-a-team-maintainer: *633 '404': *6 x-github: githubCloudOnly: false @@ -98204,7 +98675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *626 + - *628 - *57 requestBody: required: false @@ -98230,9 +98701,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: *632 + response-if-users-membership-with-team-is-now-pending: *634 '403': description: Forbidden if team synchronization is set up '422': @@ -98266,7 +98737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *626 + - *628 - *57 responses: '204': @@ -98295,7 +98766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *626 + - *628 - *17 - *19 responses: @@ -98305,9 +98776,9 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *633 + default: *635 headers: Link: *52 '404': *6 @@ -98333,16 +98804,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *626 - - *308 + - *628 + - *310 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *634 + default: *636 '404': description: Not Found if project is not managed by this team x-github: @@ -98366,8 +98837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *626 - - *308 + - *628 + - *310 requestBody: required: false content: @@ -98434,8 +98905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *626 - - *308 + - *628 + - *310 responses: '204': description: Response @@ -98462,7 +98933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *626 + - *628 - *17 - *19 responses: @@ -98474,7 +98945,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 '404': *6 @@ -98504,15 +98975,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *626 - - *309 - - *310 + - *628 + - *311 + - *312 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *635 + schema: *637 examples: alternative-response-with-extra-repository-information: value: @@ -98663,9 +99134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *626 - - *309 - - *310 + - *628 + - *311 + - *312 requestBody: required: false content: @@ -98715,9 +99186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *626 - - *309 - - *310 + - *628 + - *311 + - *312 responses: '204': description: Response @@ -98742,7 +99213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *626 + - *628 - *17 - *19 responses: @@ -98752,9 +99223,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - response-if-child-teams-exist: *636 + response-if-child-teams-exist: *638 headers: Link: *52 '404': *6 @@ -98787,7 +99258,7 @@ paths: application/json: schema: oneOf: - - &638 + - &640 title: Private User description: Private User type: object @@ -99037,7 +99508,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *637 + - *639 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99197,7 +99668,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *640 examples: default: value: @@ -99400,9 +99871,9 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 '304': *35 '500': *96 '401': *23 @@ -99541,17 +100012,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '401': *23 '403': *27 '404': *6 @@ -99595,7 +100066,7 @@ paths: type: integer secrets: type: array - items: &639 + items: &641 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99637,7 +100108,7 @@ paths: - visibility - selected_repositories_url examples: - default: *430 + default: *432 headers: Link: *52 x-github: @@ -99715,7 +100186,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *641 examples: default: value: @@ -99861,7 +100332,7 @@ paths: type: array items: *136 examples: - default: *640 + default: *642 '401': *23 '403': *27 '404': *6 @@ -100005,15 +100476,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '304': *35 '500': *96 '401': *23 @@ -100039,7 +100510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 requestBody: required: false content: @@ -100069,9 +100540,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '401': *23 '403': *27 '404': *6 @@ -100093,7 +100564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '202': *37 '304': *35 @@ -100122,13 +100593,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '202': description: Response content: application/json: - schema: &641 + schema: &643 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100181,7 +100652,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &642 + default: &644 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100213,7 +100684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *213 + - *215 - name: export_id in: path required: true @@ -100226,9 +100697,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: *642 + default: *644 '404': *6 x-github: githubCloudOnly: false @@ -100249,7 +100720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *213 + - *215 responses: '200': description: Response @@ -100265,9 +100736,9 @@ paths: type: integer machines: type: array - items: *429 + items: *431 examples: - default: *643 + default: *645 '304': *35 '500': *96 '401': *23 @@ -100296,7 +100767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *213 + - *215 requestBody: required: true content: @@ -100352,11 +100823,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *315 + repository: *317 machine: anyOf: - type: 'null' - - *429 + - *431 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101153,15 +101624,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '304': *35 '500': *96 '400': *14 @@ -101193,15 +101664,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '500': *96 '401': *23 '403': *27 @@ -101231,9 +101702,9 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: &654 + default: &656 value: - id: 197 name: hello_docker @@ -101334,7 +101805,7 @@ paths: application/json: schema: type: array - items: &644 + items: &646 title: Email description: Email type: object @@ -101404,9 +101875,9 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: - default: &656 + default: &658 value: - email: octocat@github.com verified: true @@ -101483,7 +101954,7 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: default: value: @@ -101741,7 +102212,7 @@ paths: application/json: schema: type: array - items: &645 + items: &647 title: GPG Key description: A unique encryption key type: object @@ -101886,7 +102357,7 @@ paths: - subkeys - revoked examples: - default: &670 + default: &672 value: - id: 3 name: Octocat's GPG Key @@ -101971,9 +102442,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: - default: &646 + default: &648 value: id: 3 name: Octocat's GPG Key @@ -102030,7 +102501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &647 + - &649 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102042,9 +102513,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: - default: *646 + default: *648 '404': *6 '304': *35 '403': *27 @@ -102067,7 +102538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *647 + - *649 responses: '204': description: Response @@ -102343,12 +102814,12 @@ paths: application/json: schema: anyOf: - - *201 + - *203 - type: object properties: {} additionalProperties: false examples: - default: *202 + default: *204 '204': description: Response when there are no restrictions x-github: @@ -102372,7 +102843,7 @@ paths: required: true content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -102383,7 +102854,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -102464,7 +102935,7 @@ paths: - closed - all default: open - - *209 + - *211 - name: sort description: What to sort results by. in: query @@ -102489,7 +102960,7 @@ paths: type: array items: *78 examples: - default: *210 + default: *212 headers: Link: *52 '404': *6 @@ -102522,7 +102993,7 @@ paths: application/json: schema: type: array - items: &648 + items: &650 title: Key description: Key type: object @@ -102625,9 +103096,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: &649 + default: &651 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102660,15 +103131,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *525 + - *527 responses: '200': description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: *649 + default: *651 '404': *6 '304': *35 '403': *27 @@ -102691,7 +103162,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *525 + - *527 responses: '204': description: Response @@ -102724,7 +103195,7 @@ paths: application/json: schema: type: array - items: &650 + items: &652 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102803,7 +103274,7 @@ paths: - account - plan examples: - default: &651 + default: &653 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102865,9 +103336,9 @@ paths: application/json: schema: type: array - items: *650 + items: *652 examples: - default: *651 + default: *653 headers: Link: *52 '304': *35 @@ -102907,7 +103378,7 @@ paths: application/json: schema: type: array - items: *215 + items: *217 examples: default: value: @@ -103015,7 +103486,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: default: value: @@ -103098,7 +103569,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: default: value: @@ -103166,7 +103637,7 @@ paths: application/json: schema: type: array - items: *217 + items: *219 examples: default: value: @@ -103428,7 +103899,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -103608,7 +104079,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *218 + - *220 - name: exclude in: query required: false @@ -103621,7 +104092,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -103815,7 +104286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *218 + - *220 responses: '302': description: Response @@ -103841,7 +104312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *218 + - *220 responses: '204': description: Response @@ -103870,8 +104341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *218 - - *652 + - *220 + - *654 responses: '204': description: Response @@ -103895,7 +104366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *218 + - *220 - *17 - *19 responses: @@ -103907,7 +104378,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 '404': *6 @@ -103986,7 +104457,7 @@ paths: - docker - nuget - container - - *653 + - *655 - *19 - *17 responses: @@ -103996,10 +104467,10 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *654 - '400': *655 + default: *656 + '400': *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104019,16 +104490,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *223 + schema: *225 examples: - default: &671 + default: &673 value: id: 40201 name: octo-name @@ -104141,8 +104612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -104172,8 +104643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 - name: token description: package token schema: @@ -104205,8 +104676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 - *19 - *17 - name: state @@ -104226,7 +104697,7 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: default: value: @@ -104275,15 +104746,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 - *228 + - *230 responses: '200': description: Response content: application/json: - schema: *227 + schema: *229 examples: default: value: @@ -104319,9 +104790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 - *228 + - *230 responses: '204': description: Response @@ -104351,9 +104822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 - *228 + - *230 responses: '204': description: Response @@ -104390,9 +104861,9 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: - default: *656 + default: *658 headers: Link: *52 '304': *35 @@ -104505,7 +104976,7 @@ paths: type: array items: *64 examples: - default: &663 + default: &665 summary: Default response value: - id: 1296269 @@ -104823,9 +105294,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104863,9 +105334,9 @@ paths: application/json: schema: type: array - items: *499 + items: *501 examples: - default: *657 + default: *659 headers: Link: *52 '304': *35 @@ -104888,7 +105359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *205 + - *207 responses: '204': description: Response @@ -104911,7 +105382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *205 + - *207 responses: '204': description: Response @@ -104944,7 +105415,7 @@ paths: application/json: schema: type: array - items: &658 + items: &660 title: Social account description: Social media account type: object @@ -104961,7 +105432,7 @@ paths: - provider - url examples: - default: &659 + default: &661 value: - provider: twitter url: https://twitter.com/github @@ -105024,9 +105495,9 @@ paths: application/json: schema: type: array - items: *658 + items: *660 examples: - default: *659 + default: *661 '422': *15 '304': *35 '404': *6 @@ -105114,7 +105585,7 @@ paths: application/json: schema: type: array - items: &660 + items: &662 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105134,7 +105605,7 @@ paths: - title - created_at examples: - default: &685 + default: &687 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105201,9 +105672,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *662 examples: - default: &661 + default: &663 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105234,7 +105705,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: - - &662 + - &664 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105246,9 +105717,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *662 examples: - default: *661 + default: *663 '404': *6 '304': *35 '403': *27 @@ -105271,7 +105742,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: - - *662 + - *664 responses: '204': description: Response @@ -105300,7 +105771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &686 + - &688 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 @@ -105325,11 +105796,11 @@ paths: type: array items: *64 examples: - default-response: *663 + default-response: *665 application/vnd.github.v3.star+json: schema: type: array - items: &687 + items: &689 title: Starred Repository description: Starred Repository type: object @@ -105485,8 +105956,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: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response if this repository is starred by you @@ -105514,8 +105985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -105539,8 +106010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -105575,7 +106046,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 '304': *35 @@ -105612,7 +106083,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -105698,10 +106169,10 @@ paths: application/json: schema: oneOf: - - *638 - - *637 + - *640 + - *639 examples: - default-response: &665 + default-response: &667 summary: Default response value: login: octocat @@ -105736,7 +106207,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &666 + response-with-git-hub-plan-information: &668 summary: Response with GitHub plan information value: login: octocat @@ -105782,6 +106253,68 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/user/{user_id}/projectsV2/{project_number}/drafts": + post: + summary: Create draft item for user owned project + description: Create draft issue item for the specified user owned project. + tags: + - projects + operationId: projects/create-draft-item-for-authenticated-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project + parameters: + - name: user_id + description: The unique identifier of the user. + in: path + required: true + schema: + type: string + - *243 + requestBody: + required: true + description: Details of the draft item to create in the project. + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The title of the draft issue item to create in the + project. + body: + type: string + description: The body content of the draft issue item to create + in the project. + required: + - title + examples: + title: + summary: Example with Sample Draft Issue Title + value: + title: Sample Draft Issue Title + body: + summary: Example with Sample Draft Issue Title and Body + value: + title: Sample Draft Issue Title + body: This is the body content of the draft issue. + responses: + '201': + description: Response + content: + application/json: + schema: *248 + examples: + draft_issue: *249 + '304': *35 + '403': *27 + '401': *23 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/users": get: summary: List users @@ -105796,7 +106329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *664 + - *666 - *17 responses: '200': @@ -105845,11 +106378,11 @@ paths: application/json: schema: oneOf: - - *638 - - *637 + - *640 + - *639 examples: - default-response: *665 - response-with-git-hub-plan-information: *666 + default-response: *667 + response-with-git-hub-plan-information: *668 '404': *6 x-github: githubCloudOnly: false @@ -105899,8 +106432,8 @@ paths: required: - subject_digests examples: - default: *667 - withPredicateType: *668 + default: *669 + withPredicateType: *670 responses: '200': description: Response @@ -105954,7 +106487,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *669 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106159,7 +106692,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 '201': description: Response content: @@ -106198,9 +106731,9 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *654 + default: *656 '403': *27 '401': *23 x-github: @@ -106584,9 +107117,9 @@ paths: application/json: schema: type: array - items: *645 + items: *647 examples: - default: *670 + default: *672 headers: Link: *52 x-github: @@ -106690,7 +107223,7 @@ paths: application/json: schema: *20 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106815,7 +107348,7 @@ paths: - docker - nuget - container - - *653 + - *655 - *57 - *19 - *17 @@ -106826,12 +107359,12 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *654 + default: *656 '403': *27 '401': *23 - '400': *655 + '400': *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106851,17 +107384,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *57 responses: '200': description: Response content: application/json: - schema: *223 + schema: *225 examples: - default: *671 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106882,8 +107415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *57 responses: '204': @@ -106916,8 +107449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *57 - name: token description: package token @@ -106950,8 +107483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *57 responses: '200': @@ -106960,7 +107493,7 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: default: value: @@ -107018,16 +107551,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *225 - - *226 + - *227 - *228 + - *230 - *57 responses: '200': description: Response content: application/json: - schema: *227 + schema: *229 examples: default: value: @@ -107062,10 +107595,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *225 - - *226 - - *57 + - *227 - *228 + - *57 + - *230 responses: '204': description: Response @@ -107097,10 +107630,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *225 - - *226 - - *57 + - *227 - *228 + - *57 + - *230 responses: '204': description: Response @@ -107141,9 +107674,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *240 + default: *242 headers: Link: *52 '304': *35 @@ -107165,16 +107698,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *241 + - *243 - *57 responses: '200': description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 headers: Link: *52 '304': *35 @@ -107196,7 +107729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *241 + - *243 - *57 - *17 - *38 @@ -107208,9 +107741,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: *672 + default: *674 headers: Link: *52 '304': *35 @@ -107232,17 +107765,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *241 - - *673 + - *243 + - *675 - *57 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *674 + default: *676 headers: Link: *52 '304': *35 @@ -107265,7 +107798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *241 + - *243 - *57 - *38 - *39 @@ -107298,9 +107831,9 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: - default: *249 + default: *251 headers: Link: *52 '304': *35 @@ -107322,7 +107855,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *57 - - *241 + - *243 requestBody: required: true description: Details of the item to add to the project. @@ -107359,10 +107892,10 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - issue: *247 - pull_request: *247 + issue: *249 + pull_request: *249 '304': *35 '403': *27 '401': *23 @@ -107382,9 +107915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *241 + - *243 - *57 - - *250 + - *252 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107404,9 +107937,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 headers: Link: *52 '304': *35 @@ -107427,9 +107960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *241 + - *243 - *57 - - *250 + - *252 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107502,13 +108035,13 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - text_field: *249 - number_field: *249 - date_field: *249 - single_select_field: *249 - iteration_field: *249 + text_field: *251 + number_field: *251 + date_field: *251 + single_select_field: *251 + iteration_field: *251 '401': *23 '403': *27 '404': *6 @@ -107528,9 +108061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *241 + - *243 - *57 - - *250 + - *252 responses: '204': description: Response @@ -107750,7 +108283,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -107780,9 +108313,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *677 examples: - default: *676 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107810,9 +108343,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *679 examples: - default: *678 + default: *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107836,7 +108369,7 @@ paths: - *99 - *101 - *100 - - *679 + - *681 - *102 responses: '200': @@ -107973,9 +108506,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *682 examples: - default: *681 + default: *683 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107997,7 +108530,7 @@ paths: parameters: - *57 - *99 - - *682 + - *684 - *100 responses: '200': @@ -108096,9 +108629,9 @@ paths: - *99 - *101 - *100 - - *683 + - *685 - *102 - - *684 + - *686 responses: '200': description: Response when getting a billing usage summary @@ -108232,9 +108765,9 @@ paths: application/json: schema: type: array - items: *658 + items: *660 examples: - default: *659 + default: *661 headers: Link: *52 x-github: @@ -108264,9 +108797,9 @@ paths: application/json: schema: type: array - items: *660 + items: *662 examples: - default: *685 + default: *687 headers: Link: *52 x-github: @@ -108291,7 +108824,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *57 - - *686 + - *688 - *46 - *17 - *19 @@ -108303,11 +108836,11 @@ paths: schema: anyOf: - type: array - items: *687 + items: *689 - type: array items: *64 examples: - default-response: *663 + default-response: *665 headers: Link: *52 x-github: @@ -108338,7 +108871,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -108467,7 +109000,7 @@ webhooks: type: string enum: - disabled - enterprise: &688 + enterprise: &690 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108536,7 +109069,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &689 + installation: &691 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108557,7 +109090,7 @@ webhooks: required: - id - node_id - organization: &690 + organization: &692 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108630,7 +109163,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &691 + repository: &693 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109543,10 +110076,10 @@ webhooks: type: string enum: - enabled - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -109622,11 +110155,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: &692 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + rule: &694 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) @@ -109849,11 +110382,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: *692 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + rule: *694 sender: *4 required: - action @@ -110041,11 +110574,11 @@ webhooks: - everyone required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: *692 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + rule: *694 sender: *4 required: - action @@ -110129,7 +110662,7 @@ webhooks: type: string enum: - completed - check_run: &694 + check_run: &696 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110194,7 +110727,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *388 + items: *390 repository: *136 status: type: string @@ -110239,7 +110772,7 @@ webhooks: - examples: - neutral - deployment: *693 + deployment: *695 details_url: type: string examples: @@ -110299,7 +110832,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *388 + items: *390 started_at: type: string format: date-time @@ -110337,10 +110870,10 @@ webhooks: - output - app - pull_requests - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + installation: *691 + enterprise: *690 + organization: *692 + repository: *693 sender: *4 required: - check_run @@ -110733,11 +111266,11 @@ webhooks: type: string enum: - created - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *696 + installation: *691 + enterprise: *690 + organization: *692 + repository: *693 sender: *4 required: - check_run @@ -111133,11 +111666,11 @@ webhooks: type: string enum: - requested_action - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *696 + installation: *691 + enterprise: *690 + organization: *692 + repository: *693 requested_action: description: The action requested by the user. type: object @@ -111542,11 +112075,11 @@ webhooks: type: string enum: - rerequested - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *696 + installation: *691 + enterprise: *690 + organization: *692 + repository: *693 sender: *4 required: - check_run @@ -112538,10 +113071,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -112822,6 +113355,11 @@ webhooks: enum: - read - write + attestations: + type: string + enum: + - read + - write checks: type: string enum: @@ -112872,11 +113410,21 @@ webhooks: enum: - read - write + merge_queues: + type: string + enum: + - read + - write metadata: type: string enum: - read - write + models: + type: string + enum: + - read + - write organization_administration: type: string enum: @@ -113226,10 +113774,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -113505,6 +114053,11 @@ webhooks: enum: - read - write + attestations: + type: string + enum: + - read + - write checks: type: string enum: @@ -113555,11 +114108,21 @@ webhooks: enum: - read - write + merge_queues: + type: string + enum: + - read + - write metadata: type: string enum: - read - write + models: + type: string + enum: + - read + - write organization_administration: type: string enum: @@ -113908,10 +114471,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -114080,7 +114643,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114232,20 +114795,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &695 + commit_oid: &697 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *688 - installation: *689 - organization: *690 - ref: &696 + enterprise: *690 + installation: *691 + organization: *692 + ref: &698 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *691 + repository: *693 sender: *4 required: - action @@ -114412,7 +114975,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114653,12 +115216,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *697 + enterprise: *690 + installation: *691 + organization: *692 + ref: *698 + repository: *693 sender: *4 required: - action @@ -114756,7 +115319,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114941,12 +115504,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *697 + enterprise: *690 + installation: *691 + organization: *692 + ref: *698 + repository: *693 sender: *4 required: - action @@ -115115,7 +115678,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115292,12 +115855,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *697 + enterprise: *690 + installation: *691 + organization: *692 + ref: *698 + repository: *693 sender: *4 required: - action @@ -115400,7 +115963,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115580,9 +116143,9 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115590,7 +116153,7 @@ webhooks: type: - string - 'null' - repository: *691 + repository: *693 sender: *4 required: - action @@ -115689,7 +116252,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115836,12 +116399,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *697 + enterprise: *690 + installation: *691 + organization: *692 + ref: *698 + repository: *693 sender: *4 required: - action @@ -116103,10 +116666,10 @@ webhooks: - updated_at - author_association - body - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -116187,18 +116750,18 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *690 - pusher_type: &697 + organization: *692 + pusher_type: &699 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &698 + ref: &700 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116208,7 +116771,7 @@ webhooks: enum: - tag - branch - repository: *691 + repository: *693 sender: *4 required: - ref @@ -116290,10 +116853,10 @@ webhooks: type: string enum: - created - definition: *251 - enterprise: *688 - installation: *689 - organization: *690 + definition: *253 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -116378,9 +116941,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -116457,10 +117020,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *251 - enterprise: *688 - installation: *689 - organization: *690 + definition: *253 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -116537,10 +117100,10 @@ webhooks: type: string enum: - updated - definition: *251 - enterprise: *688 - installation: *689 - organization: *690 + definition: *253 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -116617,10 +117180,10 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - repository: *691 - organization: *690 + enterprise: *690 + installation: *691 + repository: *693 + organization: *692 sender: *4 new_property_values: type: array @@ -116705,18 +117268,18 @@ webhooks: title: delete event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - pusher_type: *697 - ref: *698 + enterprise: *690 + installation: *691 + organization: *692 + pusher_type: *699 + ref: *700 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *691 + repository: *693 sender: *4 required: - ref @@ -116800,11 +117363,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -116888,11 +117451,11 @@ webhooks: type: string enum: - auto_reopened - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -116976,11 +117539,11 @@ webhooks: type: string enum: - created - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117062,11 +117625,11 @@ webhooks: type: string enum: - dismissed - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117148,11 +117711,11 @@ webhooks: type: string enum: - fixed - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117235,11 +117798,11 @@ webhooks: type: string enum: - reintroduced - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117321,11 +117884,11 @@ webhooks: type: string enum: - reopened - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117402,9 +117965,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - key: &699 + enterprise: *690 + installation: *691 + key: &701 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117442,8 +118005,8 @@ webhooks: - verified - created_at - read_only - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -117520,11 +118083,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - key: *699 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + key: *701 + organization: *692 + repository: *693 sender: *4 required: - action @@ -118096,12 +118659,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - workflow: &703 + workflow: &705 title: Workflow type: - object @@ -118839,13 +119402,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *461 + deployment: *463 pull_requests: type: array - items: *545 - repository: *691 - organization: *690 - installation: *689 + items: *547 + repository: *693 + organization: *692 + installation: *691 sender: *4 responses: '200': @@ -118916,7 +119479,7 @@ webhooks: type: string enum: - approved - approver: &700 + approver: &702 type: object properties: avatar_url: @@ -118959,11 +119522,11 @@ webhooks: type: string comment: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - reviewers: &701 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + reviewers: &703 type: array items: type: object @@ -119044,7 +119607,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &702 + workflow_job_run: &704 type: object properties: conclusion: @@ -119790,18 +120353,18 @@ webhooks: type: string enum: - rejected - approver: *700 + approver: *702 comment: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - reviewers: *701 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + reviewers: *703 sender: *4 since: type: string - workflow_job_run: *702 + workflow_job_run: *704 workflow_job_runs: type: array items: @@ -120518,13 +121081,13 @@ webhooks: type: string enum: - requested - enterprise: *688 + enterprise: *690 environment: type: string - installation: *689 - organization: *690 - repository: *691 - requestor: &708 + installation: *691 + organization: *692 + repository: *693 + requestor: &710 title: User type: - object @@ -122467,12 +123030,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - workflow: *703 + workflow: *705 workflow_run: title: Deployment Workflow Run type: @@ -123163,7 +123726,7 @@ webhooks: type: string enum: - answered - answer: &706 + answer: &708 type: object properties: author_association: @@ -123323,7 +123886,7 @@ webhooks: - created_at - updated_at - body - discussion: &704 + discussion: &706 title: Discussion description: A Discussion in a repository. type: object @@ -123619,7 +124182,7 @@ webhooks: - id labels: type: array - items: *508 + items: *510 required: - repository_url - category @@ -123641,10 +124204,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -123771,11 +124334,11 @@ webhooks: - from required: - category - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -123858,11 +124421,11 @@ webhooks: type: string enum: - closed - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -123944,7 +124507,7 @@ webhooks: type: string enum: - created - comment: &705 + comment: &707 type: object properties: author_association: @@ -124104,11 +124667,11 @@ webhooks: - updated_at - body - reactions - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124191,12 +124754,12 @@ webhooks: type: string enum: - deleted - comment: *705 - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + comment: *707 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124291,12 +124854,12 @@ webhooks: - from required: - body - comment: *705 - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + comment: *707 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124380,11 +124943,11 @@ webhooks: type: string enum: - created - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124466,11 +125029,11 @@ webhooks: type: string enum: - deleted - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124570,11 +125133,11 @@ webhooks: type: string required: - from - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124656,10 +125219,10 @@ webhooks: type: string enum: - labeled - discussion: *704 - enterprise: *688 - installation: *689 - label: &707 + discussion: *706 + enterprise: *690 + installation: *691 + label: &709 title: Label type: object properties: @@ -124692,8 +125255,8 @@ webhooks: - color - default - description - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124776,11 +125339,11 @@ webhooks: type: string enum: - locked - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124862,11 +125425,11 @@ webhooks: type: string enum: - pinned - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124948,11 +125511,11 @@ webhooks: type: string enum: - reopened - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125037,16 +125600,16 @@ webhooks: changes: type: object properties: - new_discussion: *704 - new_repository: *691 + new_discussion: *706 + new_repository: *693 required: - new_discussion - new_repository - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125129,10 +125692,10 @@ webhooks: type: string enum: - unanswered - discussion: *704 - old_answer: *706 - organization: *690 - repository: *691 + discussion: *706 + old_answer: *708 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125214,12 +125777,12 @@ webhooks: type: string enum: - unlabeled - discussion: *704 - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125302,11 +125865,11 @@ webhooks: type: string enum: - unlocked - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125388,11 +125951,11 @@ webhooks: type: string enum: - unpinned - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125465,7 +126028,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *688 + enterprise: *690 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126143,9 +126706,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - forkee @@ -126291,9 +126854,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pages: description: The pages that were updated. type: array @@ -126331,7 +126894,7 @@ webhooks: - action - sha - html_url - repository: *691 + repository: *693 sender: *4 required: - pages @@ -126407,10 +126970,10 @@ webhooks: type: string enum: - created - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: &709 + organization: *692 + repositories: &711 description: An array of repository objects that the installation can access. type: array @@ -126436,8 +126999,8 @@ webhooks: - name - full_name - private - repository: *691 - requester: *708 + repository: *693 + requester: *710 sender: *4 required: - action @@ -126512,11 +127075,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *692 + repositories: *711 + repository: *693 requester: type: - 'null' @@ -126593,11 +127156,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *692 + repositories: *711 + repository: *693 requester: type: - 'null' @@ -126674,10 +127237,10 @@ webhooks: type: string enum: - added - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories_added: &710 + organization: *692 + repositories_added: &712 description: An array of repository objects, which were added to the installation. type: array @@ -126723,15 +127286,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *691 - repository_selection: &711 + repository: *693 + repository_selection: &713 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *708 + requester: *710 sender: *4 required: - action @@ -126810,10 +127373,10 @@ webhooks: type: string enum: - removed - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories_added: *710 + organization: *692 + repositories_added: *712 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126840,9 +127403,9 @@ webhooks: - name - full_name - private - repository: *691 - repository_selection: *711 - requester: *708 + repository: *693 + repository_selection: *713 + requester: *710 sender: *4 required: - action @@ -126921,11 +127484,11 @@ webhooks: type: string enum: - suspend - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *692 + repositories: *711 + repository: *693 requester: type: - 'null' @@ -127107,10 +127670,10 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 target_type: type: string @@ -127189,11 +127752,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *692 + repositories: *711 + repository: *693 requester: type: - 'null' @@ -127441,8 +128004,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128259,8 +128822,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128277,7 +128840,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -128621,8 +129184,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -128702,7 +129265,7 @@ webhooks: type: string enum: - deleted - comment: &712 + comment: &714 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128869,8 +129432,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129683,8 +130246,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129701,7 +130264,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -130047,8 +130610,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -130128,7 +130691,7 @@ webhooks: type: string enum: - edited - changes: &736 + changes: &738 description: The changes to the comment. type: object properties: @@ -130140,9 +130703,9 @@ webhooks: type: string required: - from - comment: *712 - enterprise: *688 - installation: *689 + comment: *714 + enterprise: *690 + installation: *691 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130958,8 +131521,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130976,7 +131539,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -131320,8 +131883,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131411,9 +131974,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131507,9 +132070,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131602,9 +132165,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131698,9 +132261,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131785,10 +132348,10 @@ webhooks: type: string enum: - assigned - assignee: *708 - enterprise: *688 - installation: *689 - issue: &715 + assignee: *710 + enterprise: *690 + installation: *691 + issue: &717 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132600,11 +133163,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132621,7 +133184,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -132724,8 +133287,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -132805,8 +133368,8 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133623,11 +134186,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133644,7 +134207,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -133890,8 +134453,8 @@ webhooks: required: - state - closed_at - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -133970,8 +134533,8 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134779,11 +135342,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134800,7 +135363,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -134902,8 +135465,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -134982,8 +135545,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135814,11 +136377,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135835,7 +136398,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -135916,7 +136479,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &713 + milestone: &715 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136059,8 +136622,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -136159,8 +136722,8 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136972,11 +137535,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136990,7 +137553,7 @@ webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -137096,9 +137659,9 @@ webhooks: - active_lock_reason - body - reactions - label: *707 - organization: *690 - repository: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -137178,8 +137741,8 @@ webhooks: type: string enum: - labeled - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137990,11 +138553,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138008,7 +138571,7 @@ webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -138114,9 +138677,9 @@ webhooks: - active_lock_reason - body - reactions - label: *707 - organization: *690 - repository: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -138196,8 +138759,8 @@ webhooks: type: string enum: - locked - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139033,11 +139596,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139051,7 +139614,7 @@ webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -139134,8 +139697,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -139214,8 +139777,8 @@ webhooks: type: string enum: - milestoned - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140045,11 +140608,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140066,7 +140629,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -140146,9 +140709,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *713 - organization: *690 - repository: *691 + milestone: *715 + organization: *692 + repository: *693 sender: *4 required: - action @@ -141040,11 +141603,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141140,7 +141703,7 @@ webhooks: required: - login - id - type: *206 + type: *208 required: - id - number @@ -141621,8 +142184,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142434,11 +142997,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142455,7 +143018,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -142557,8 +143120,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -142638,9 +143201,9 @@ webhooks: type: string enum: - pinned - enterprise: *688 - installation: *689 - issue: &714 + enterprise: *690 + installation: *691 + issue: &716 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143446,11 +144009,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143467,7 +144030,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -143569,8 +144132,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -143649,8 +144212,8 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144484,11 +145047,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144585,9 +145148,9 @@ webhooks: format: uri user_view_type: type: string - type: *206 - organization: *690 - repository: *691 + type: *208 + organization: *692 + repository: *693 sender: *4 required: - action @@ -145476,11 +146039,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145497,7 +146060,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -146079,11 +146642,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *688 - installation: *689 - issue: *714 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *716 + organization: *692 + repository: *693 sender: *4 required: - action @@ -146163,12 +146726,12 @@ webhooks: type: string enum: - typed - enterprise: *688 - installation: *689 - issue: *715 - type: *206 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *717 + type: *208 + organization: *692 + repository: *693 sender: *4 required: - action @@ -146249,7 +146812,7 @@ webhooks: type: string enum: - unassigned - assignee: &739 + assignee: &741 title: User type: - object @@ -146321,11 +146884,11 @@ webhooks: required: - login - id - enterprise: *688 - installation: *689 - issue: *715 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *717 + organization: *692 + repository: *693 sender: *4 required: - action @@ -146404,12 +146967,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *688 - installation: *689 - issue: *715 - label: *707 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *717 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -146489,8 +147052,8 @@ webhooks: type: string enum: - unlocked - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147324,11 +147887,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147345,7 +147908,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -147425,8 +147988,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147506,11 +148069,11 @@ webhooks: type: string enum: - unpinned - enterprise: *688 - installation: *689 - issue: *714 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *716 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147589,12 +148152,12 @@ webhooks: type: string enum: - untyped - enterprise: *688 - installation: *689 - issue: *715 - type: *206 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *717 + type: *208 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147674,11 +148237,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147756,11 +148319,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147870,11 +148433,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147956,9 +148519,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: &716 + enterprise: *690 + installation: *691 + marketplace_purchase: &718 title: Marketplace Purchase type: object required: @@ -148046,8 +148609,8 @@ webhooks: type: integer unit_count: type: integer - organization: *690 - previous_marketplace_purchase: &717 + organization: *692 + previous_marketplace_purchase: &719 title: Marketplace Purchase type: object properties: @@ -148131,7 +148694,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *693 sender: *4 required: - action @@ -148211,10 +148774,10 @@ webhooks: - changed effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 + enterprise: *690 + installation: *691 + marketplace_purchase: *718 + organization: *692 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148302,7 +148865,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *693 sender: *4 required: - action @@ -148384,10 +148947,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 + enterprise: *690 + installation: *691 + marketplace_purchase: *718 + organization: *692 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148473,7 +149036,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *693 sender: *4 required: - action @@ -148554,8 +149117,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 marketplace_purchase: title: Marketplace Purchase type: object @@ -148641,9 +149204,9 @@ webhooks: type: integer unit_count: type: integer - organization: *690 - previous_marketplace_purchase: *717 - repository: *691 + organization: *692 + previous_marketplace_purchase: *719 + repository: *693 sender: *4 required: - action @@ -148723,12 +149286,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 - previous_marketplace_purchase: *717 - repository: *691 + enterprise: *690 + installation: *691 + marketplace_purchase: *718 + organization: *692 + previous_marketplace_purchase: *719 + repository: *693 sender: *4 required: - action @@ -148830,11 +149393,11 @@ webhooks: type: string required: - to - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 sender: *4 required: - action @@ -148936,11 +149499,11 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 sender: *4 required: - action @@ -149019,11 +149582,11 @@ webhooks: type: string enum: - removed - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 sender: *4 required: - action @@ -149101,11 +149664,11 @@ webhooks: type: string enum: - added - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149183,7 +149746,7 @@ webhooks: required: - login - id - team: &718 + team: &720 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149413,11 +149976,11 @@ webhooks: type: string enum: - removed - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149496,7 +150059,7 @@ webhooks: required: - login - id - team: *718 + team: *720 required: - action - scope @@ -149578,8 +150141,8 @@ webhooks: type: string enum: - checks_requested - installation: *689 - merge_group: &719 + installation: *691 + merge_group: &721 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149598,15 +150161,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *392 + head_commit: *394 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -149692,10 +150255,10 @@ webhooks: - merged - invalidated - dequeued - installation: *689 - merge_group: *719 - organization: *690 - repository: *691 + installation: *691 + merge_group: *721 + organization: *692 + repository: *693 sender: *4 required: - action @@ -149768,7 +150331,7 @@ webhooks: type: string enum: - deleted - enterprise: *688 + enterprise: *690 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149877,12 +150440,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *689 - organization: *690 + installation: *691 + organization: *692 repository: anyOf: - type: 'null' - - *691 + - *693 sender: *4 required: - action @@ -149962,11 +150525,11 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + milestone: *715 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150045,9 +150608,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - milestone: &720 + enterprise: *690 + installation: *691 + milestone: &722 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150189,8 +150752,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150269,11 +150832,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + milestone: *715 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150383,11 +150946,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + milestone: *715 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150467,11 +151030,11 @@ webhooks: type: string enum: - opened - enterprise: *688 - installation: *689 - milestone: *720 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + milestone: *722 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150550,11 +151113,11 @@ webhooks: type: string enum: - blocked - blocked_user: *708 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + blocked_user: *710 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150633,11 +151196,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *708 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + blocked_user: *710 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150716,9 +151279,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - membership: &721 + enterprise: *690 + installation: *691 + membership: &723 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150828,8 +151391,8 @@ webhooks: - role - organization_url - user - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150907,11 +151470,11 @@ webhooks: type: string enum: - member_added - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + membership: *723 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150990,8 +151553,8 @@ webhooks: type: string enum: - member_invited - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151113,10 +151676,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 - user: *708 + user: *710 required: - action - invitation @@ -151194,11 +151757,11 @@ webhooks: type: string enum: - member_removed - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + membership: *723 + organization: *692 + repository: *693 sender: *4 required: - action @@ -151285,11 +151848,11 @@ webhooks: properties: from: type: string - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + membership: *723 + organization: *692 + repository: *693 sender: *4 required: - action @@ -151365,9 +151928,9 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 package: description: Information about the package. type: object @@ -151890,7 +152453,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &722 + items: &724 title: Ruby Gems metadata type: object properties: @@ -151987,7 +152550,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *693 sender: *4 required: - action @@ -152063,9 +152626,9 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 package: description: Information about the package. type: object @@ -152427,7 +152990,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *724 source_url: type: string format: uri @@ -152498,7 +153061,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *693 sender: *4 required: - action @@ -152679,12 +153242,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *688 + enterprise: *690 id: type: integer - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - id @@ -152761,7 +153324,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &723 + personal_access_token_request: &725 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152911,10 +153474,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *688 - organization: *690 + enterprise: *690 + organization: *692 sender: *4 - installation: *689 + installation: *691 required: - action - personal_access_token_request @@ -152991,11 +153554,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *723 - enterprise: *688 - organization: *690 + personal_access_token_request: *725 + enterprise: *690 + organization: *692 sender: *4 - installation: *689 + installation: *691 required: - action - personal_access_token_request @@ -153071,11 +153634,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *723 - enterprise: *688 - organization: *690 + personal_access_token_request: *725 + enterprise: *690 + organization: *692 sender: *4 - installation: *689 + installation: *691 required: - action - personal_access_token_request @@ -153150,11 +153713,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *723 - organization: *690 - enterprise: *688 + personal_access_token_request: *725 + organization: *692 + enterprise: *690 sender: *4 - installation: *689 + installation: *691 required: - action - personal_access_token_request @@ -153259,7 +153822,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *724 + last_response: *726 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153291,8 +153854,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 zen: description: Random string of GitHub zen. @@ -153537,10 +154100,10 @@ webhooks: - from required: - note - enterprise: *688 - installation: *689 - organization: *690 - project_card: &725 + enterprise: *690 + installation: *691 + organization: *692 + project_card: &727 title: Project Card type: object properties: @@ -153663,7 +154226,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *693 sender: *4 required: - action @@ -153744,11 +154307,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project_card: *725 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project_card: *727 + repository: *693 sender: *4 required: - action @@ -153828,9 +154391,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 project_card: title: Project Card type: object @@ -153960,7 +154523,7 @@ webhooks: repository: anyOf: - type: 'null' - - *691 + - *693 sender: *4 required: - action @@ -154054,11 +154617,11 @@ webhooks: - from required: - note - enterprise: *688 - installation: *689 - organization: *690 - project_card: *725 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project_card: *727 + repository: *693 sender: *4 required: - action @@ -154152,9 +154715,9 @@ webhooks: - from required: - column_id - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 project_card: allOf: - title: Project Card @@ -154351,7 +154914,7 @@ webhooks: type: string required: - after_id - repository: *691 + repository: *693 sender: *4 required: - action @@ -154431,10 +154994,10 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - organization: *690 - project: &727 + enterprise: *690 + installation: *691 + organization: *692 + project: &729 title: Project type: object properties: @@ -154561,7 +155124,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *693 sender: *4 required: - action @@ -154641,10 +155204,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project_column: &726 + enterprise: *690 + installation: *691 + organization: *692 + project_column: &728 title: Project Column type: object properties: @@ -154684,7 +155247,7 @@ webhooks: - name - created_at - updated_at - repository: *691 + repository: *693 sender: *4 required: - action @@ -154763,14 +155326,14 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 + enterprise: *690 + installation: *691 + organization: *692 + project_column: *728 repository: anyOf: - type: 'null' - - *691 + - *693 sender: *4 required: - action @@ -154859,11 +155422,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project_column: *728 + repository: *693 sender: *4 required: - action @@ -154943,11 +155506,11 @@ webhooks: type: string enum: - moved - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project_column: *728 + repository: *693 sender: *4 required: - action @@ -155027,11 +155590,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project: *729 + repository: *693 sender: *4 required: - action @@ -155111,14 +155674,14 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - project: *727 + enterprise: *690 + installation: *691 + organization: *692 + project: *729 repository: anyOf: - type: 'null' - - *691 + - *693 sender: *4 required: - action @@ -155219,11 +155782,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project: *729 + repository: *693 sender: *4 required: - action @@ -155302,11 +155865,11 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project: *729 + repository: *693 sender: *4 required: - action @@ -155387,9 +155950,9 @@ webhooks: type: string enum: - closed - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -155470,9 +156033,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -155553,9 +156116,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -155676,9 +156239,9 @@ webhooks: type: string to: type: string - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -155761,7 +156324,7 @@ webhooks: type: string enum: - archived - changes: &731 + changes: &733 type: object properties: archived_at: @@ -155777,9 +156340,9 @@ webhooks: - string - 'null' format: date-time - installation: *689 - organization: *690 - projects_v2_item: &728 + installation: *691 + organization: *692 + projects_v2_item: &730 title: Projects v2 Item description: An item belonging to a project type: object @@ -155797,7 +156360,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *245 + content_type: *247 creator: *4 created_at: type: string @@ -155919,9 +156482,9 @@ webhooks: - 'null' to: type: string - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156003,9 +156566,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156086,9 +156649,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156193,7 +156756,7 @@ webhooks: oneOf: - type: string - type: integer - - &729 + - &731 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156217,7 +156780,7 @@ webhooks: required: - id - name - - &730 + - &732 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156257,8 +156820,8 @@ webhooks: oneOf: - type: string - type: integer - - *729 - - *730 + - *731 + - *732 type: - 'null' - string @@ -156281,9 +156844,9 @@ webhooks: - 'null' required: - body - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156380,9 +156943,9 @@ webhooks: type: - string - 'null' - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156465,10 +157028,10 @@ webhooks: type: string enum: - restored - changes: *731 - installation: *689 - organization: *690 - projects_v2_item: *728 + changes: *733 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156550,9 +157113,9 @@ webhooks: type: string enum: - reopened - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -156633,9 +157196,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *691 + organization: *692 + projects_v2_status_update: *734 sender: *4 required: - action @@ -156716,9 +157279,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *691 + organization: *692 + projects_v2_status_update: *734 sender: *4 required: - action @@ -156864,9 +157427,9 @@ webhooks: - string - 'null' format: date - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *691 + organization: *692 + projects_v2_status_update: *734 sender: *4 required: - action @@ -156937,10 +157500,10 @@ webhooks: title: public event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - repository @@ -157017,13 +157580,13 @@ webhooks: type: string enum: - assigned - assignee: *708 - enterprise: *688 - installation: *689 - number: &733 + assignee: *710 + enterprise: *690 + installation: *691 + number: &735 description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -159372,7 +159935,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -159454,11 +160017,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -161800,7 +162363,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *693 sender: *4 required: - action @@ -161882,11 +162445,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -164228,7 +164791,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *693 sender: *4 required: - action @@ -164310,13 +164873,13 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: &734 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: &736 allOf: - - *545 + - *547 - type: object properties: allow_auto_merge: @@ -164378,7 +164941,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *691 + repository: *693 sender: *4 required: - action @@ -164459,12 +165022,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -164544,11 +165107,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *688 - milestone: *242 - number: *733 - organization: *690 - pull_request: &735 + enterprise: *690 + milestone: *244 + number: *735 + organization: *692 + pull_request: &737 title: Pull Request type: object properties: @@ -166875,7 +167438,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -166954,11 +167517,11 @@ webhooks: type: string enum: - dequeued - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -169304,7 +169867,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *691 + repository: *693 sender: *4 required: - action @@ -169428,12 +169991,12 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -169513,11 +170076,11 @@ webhooks: type: string enum: - enqueued - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -171848,7 +172411,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -171928,11 +172491,11 @@ webhooks: type: string enum: - labeled - enterprise: *688 - installation: *689 - label: *707 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + label: *709 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -174280,7 +174843,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -174361,10 +174924,10 @@ webhooks: type: string enum: - locked - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -176710,7 +177273,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -176790,12 +177353,12 @@ webhooks: type: string enum: - milestoned - enterprise: *688 - milestone: *242 - number: *733 - organization: *690 - pull_request: *735 - repository: *691 + enterprise: *690 + milestone: *244 + number: *735 + organization: *692 + pull_request: *737 + repository: *693 sender: *4 required: - action @@ -176874,12 +177437,12 @@ webhooks: type: string enum: - opened - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -176960,12 +177523,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -177045,12 +177608,12 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -177425,9 +177988,9 @@ webhooks: - start_side - side - reactions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: type: object properties: @@ -179657,7 +180220,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *693 sender: *4 required: - action @@ -179737,7 +180300,7 @@ webhooks: type: string enum: - deleted - comment: &737 + comment: &739 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -180030,9 +180593,9 @@ webhooks: - start_side - side - reactions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: type: object properties: @@ -182250,7 +182813,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *693 sender: *4 required: - action @@ -182330,11 +182893,11 @@ webhooks: type: string enum: - edited - changes: *736 - comment: *737 - enterprise: *688 - installation: *689 - organization: *690 + changes: *738 + comment: *739 + enterprise: *690 + installation: *691 + organization: *692 pull_request: type: object properties: @@ -184555,7 +185118,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *693 sender: *4 required: - action @@ -184636,9 +185199,9 @@ webhooks: type: string enum: - dismissed - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -186871,7 +187434,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *693 review: description: The review that was affected. type: object @@ -187122,9 +187685,9 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -189238,8 +189801,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: &738 + repository: *693 + review: &740 description: The review that was affected. type: object properties: @@ -189477,12 +190040,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -191829,7 +192392,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 requested_reviewer: title: User type: @@ -191915,12 +192478,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -194274,7 +194837,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194469,12 +195032,12 @@ webhooks: type: string enum: - review_requested - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -196823,7 +197386,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 requested_reviewer: title: User type: @@ -196910,12 +197473,12 @@ webhooks: type: string enum: - review_requested - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -199255,7 +199818,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199439,9 +200002,9 @@ webhooks: type: string enum: - submitted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -201677,8 +202240,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: *738 + repository: *693 + review: *740 sender: *4 required: - action @@ -201758,9 +202321,9 @@ webhooks: type: string enum: - resolved - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -203891,7 +204454,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *693 sender: *4 thread: type: object @@ -204288,9 +204851,9 @@ webhooks: type: string enum: - unresolved - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -206404,7 +206967,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *693 sender: *4 thread: type: object @@ -206803,10 +207366,10 @@ webhooks: type: string before: type: string - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -209141,7 +209704,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -209223,11 +209786,11 @@ webhooks: type: string enum: - unassigned - assignee: *739 - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + assignee: *741 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -211577,7 +212140,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -211656,11 +212219,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *688 - installation: *689 - label: *707 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + label: *709 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -213999,7 +214562,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -214080,10 +214643,10 @@ webhooks: type: string enum: - unlocked - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -216412,7 +216975,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -216615,7 +217178,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *688 + enterprise: *690 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216710,8 +217273,8 @@ webhooks: - url - author - committer - installation: *689 - organization: *690 + installation: *691 + organization: *692 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217299,9 +217862,9 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 registry_package: type: object properties: @@ -217778,7 +218341,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *722 + items: *724 summary: type: string tag_name: @@ -217834,7 +218397,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *693 sender: *4 required: - action @@ -217912,9 +218475,9 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 registry_package: type: object properties: @@ -218226,7 +218789,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *724 summary: type: string tag_name: @@ -218276,7 +218839,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *693 sender: *4 required: - action @@ -218353,10 +218916,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - release: &740 + enterprise: *690 + installation: *691 + organization: *692 + release: &742 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218687,7 +219250,7 @@ webhooks: - updated_at - zipball_url - body - repository: *691 + repository: *693 sender: *4 required: - action @@ -218764,11 +219327,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + release: *742 + repository: *693 sender: *4 required: - action @@ -218885,11 +219448,11 @@ webhooks: type: boolean required: - to - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + release: *742 + repository: *693 sender: *4 required: - action @@ -218967,9 +219530,9 @@ webhooks: type: string enum: - prereleased - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219305,7 +219868,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *693 sender: *4 required: - action @@ -219381,10 +219944,10 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - release: &741 + enterprise: *690 + installation: *691 + organization: *692 + release: &743 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219717,7 +220280,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *693 sender: *4 required: - action @@ -219793,11 +220356,11 @@ webhooks: type: string enum: - released - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + release: *742 + repository: *693 sender: *4 required: - action @@ -219873,11 +220436,11 @@ webhooks: type: string enum: - unpublished - enterprise: *688 - installation: *689 - organization: *690 - release: *741 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + release: *743 + repository: *693 sender: *4 required: - action @@ -219953,11 +220516,11 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_advisory: *609 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_advisory: *611 sender: *4 required: - action @@ -220033,11 +220596,11 @@ webhooks: type: string enum: - reported - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_advisory: *609 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_advisory: *611 sender: *4 required: - action @@ -220113,10 +220676,10 @@ webhooks: type: string enum: - archived - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220193,10 +220756,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220274,10 +220837,10 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220362,10 +220925,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220480,10 +221043,10 @@ webhooks: - 'null' items: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220555,10 +221118,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 status: type: string @@ -220639,10 +221202,10 @@ webhooks: type: string enum: - privatized - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220719,10 +221282,10 @@ webhooks: type: string enum: - publicized - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220816,10 +221379,10 @@ webhooks: - name required: - repository - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220899,11 +221462,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *281 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_ruleset: *283 sender: *4 required: - action @@ -220981,11 +221544,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *281 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_ruleset: *283 sender: *4 required: - action @@ -221063,11 +221626,11 @@ webhooks: type: string enum: - edited - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *281 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_ruleset: *283 changes: type: object properties: @@ -221086,16 +221649,16 @@ webhooks: properties: added: type: array - items: *256 + items: *258 deleted: type: array - items: *256 + items: *258 updated: type: array items: type: object properties: - condition: *256 + condition: *258 changes: type: object properties: @@ -221128,16 +221691,16 @@ webhooks: properties: added: type: array - items: *566 + items: *568 deleted: type: array - items: *566 + items: *568 updated: type: array items: type: object properties: - rule: *566 + rule: *568 changes: type: object properties: @@ -221374,10 +221937,10 @@ webhooks: - from required: - owner - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -221455,10 +222018,10 @@ webhooks: type: string enum: - unarchived - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -221536,7 +222099,7 @@ webhooks: type: string enum: - create - alert: &742 + alert: &744 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221660,10 +222223,10 @@ webhooks: type: string enum: - open - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -221873,10 +222436,10 @@ webhooks: type: string enum: - dismissed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -221954,11 +222517,11 @@ webhooks: type: string enum: - reopen - alert: *742 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *744 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222160,10 +222723,10 @@ webhooks: enum: - fixed - open - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222241,17 +222804,17 @@ webhooks: type: string enum: - created - alert: &743 + alert: &745 type: object properties: - number: *152 - created_at: *153 + number: *154 + created_at: *155 updated_at: anyOf: - type: 'null' - - *154 - url: *155 - html_url: *156 + - *156 + url: *157 + html_url: *158 locations_url: type: string format: uri @@ -222355,10 +222918,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222439,11 +223002,11 @@ webhooks: type: string enum: - created - alert: *743 - installation: *689 - location: *744 - organization: *690 - repository: *691 + alert: *745 + installation: *691 + location: *746 + organization: *692 + repository: *693 sender: *4 required: - location @@ -222681,11 +223244,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222763,11 +223326,11 @@ webhooks: type: string enum: - reopened - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222845,11 +223408,11 @@ webhooks: type: string enum: - resolved - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222927,11 +223490,11 @@ webhooks: type: string enum: - validated - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -223061,10 +223624,10 @@ webhooks: - organization - enterprise - - repository: *691 - enterprise: *688 - installation: *689 - organization: *690 + repository: *693 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -223142,11 +223705,11 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - security_advisory: &745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + security_advisory: &747 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223332,11 +223895,11 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - security_advisory: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + security_advisory: *747 sender: *4 required: - action @@ -223409,10 +223972,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223598,11 +224161,11 @@ webhooks: from: type: object properties: - security_and_analysis: *255 - enterprise: *688 - installation: *689 - organization: *690 - repository: *315 + security_and_analysis: *257 + enterprise: *690 + installation: *691 + organization: *692 + repository: *317 sender: *4 required: - changes @@ -223680,12 +224243,12 @@ webhooks: type: string enum: - cancelled - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: &746 + sponsorship: &748 type: object properties: created_at: @@ -223990,12 +224553,12 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - sponsorship @@ -224083,12 +224646,12 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - changes @@ -224165,17 +224728,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &747 + effective_date: &749 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - sponsorship @@ -224249,7 +224812,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &748 + changes: &750 type: object properties: tier: @@ -224293,13 +224856,13 @@ webhooks: - from required: - tier - effective_date: *747 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + effective_date: *749 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - changes @@ -224376,13 +224939,13 @@ webhooks: type: string enum: - tier_changed - changes: *748 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + changes: *750 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - changes @@ -224456,10 +225019,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224543,10 +225106,10 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224980,15 +225543,15 @@ webhooks: type: - string - 'null' - enterprise: *688 + enterprise: *690 id: description: The unique identifier of the status. type: integer - installation: *689 + installation: *691 name: type: string - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 sha: description: The Commit SHA. @@ -225104,9 +225667,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -225196,9 +225759,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -225288,9 +225851,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -225380,9 +225943,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -225459,12 +226022,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - team: &749 + team: &751 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225694,9 +226257,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -226166,7 +226729,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - team @@ -226242,9 +226805,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -226714,7 +227277,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - team @@ -226791,9 +227354,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -227263,7 +227826,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - team @@ -227407,9 +227970,9 @@ webhooks: - from required: - permissions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -227879,7 +228442,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - changes @@ -227957,9 +228520,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -228429,7 +228992,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - team @@ -228505,10 +229068,10 @@ webhooks: type: string enum: - started - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -228581,17 +229144,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *688 + enterprise: *690 inputs: type: - object - 'null' additionalProperties: true - installation: *689 - organization: *690 + installation: *691 + organization: *692 ref: type: string - repository: *691 + repository: *693 sender: *4 workflow: type: string @@ -228673,10 +229236,10 @@ webhooks: type: string enum: - completed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 workflow_job: allOf: @@ -228932,7 +229495,7 @@ webhooks: type: string required: - conclusion - deployment: *461 + deployment: *463 required: - action - repository @@ -229011,10 +229574,10 @@ webhooks: type: string enum: - in_progress - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 workflow_job: allOf: @@ -229296,7 +229859,7 @@ webhooks: required: - status - steps - deployment: *461 + deployment: *463 required: - action - repository @@ -229375,10 +229938,10 @@ webhooks: type: string enum: - queued - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 workflow_job: type: object @@ -229524,7 +230087,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *463 required: - action - repository @@ -229603,10 +230166,10 @@ webhooks: type: string enum: - waiting - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 workflow_job: type: object @@ -229753,7 +230316,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *463 required: - action - repository @@ -229833,12 +230396,12 @@ webhooks: type: string enum: - completed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - workflow: *703 + workflow: *705 workflow_run: title: Workflow Run type: object @@ -230857,12 +231420,12 @@ webhooks: type: string enum: - in_progress - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - workflow: *703 + workflow: *705 workflow_run: title: Workflow Run type: object @@ -231866,12 +232429,12 @@ webhooks: type: string enum: - requested - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - workflow: *703 + workflow: *705 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 223ce92b23..3ba0b0f2e4 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -78,7 +78,7 @@ }, { "name": "markdown", - "description": "Render GitHub flavored markdown" + "description": "Render GitHub flavored Markdown" }, { "name": "merge-queue", @@ -98,7 +98,7 @@ }, { "name": "orgs", - "description": "Interact with GitHub Orgs." + "description": "Interact with organizations." }, { "name": "packages", @@ -114,7 +114,7 @@ }, { "name": "rate-limit", - "description": "Check your current rate limit status" + "description": "Check your current rate limit status." }, { "name": "reactions", @@ -126,7 +126,7 @@ }, { "name": "search", - "description": "Look for stuff on GitHub." + "description": "Search for specific items on GitHub." }, { "name": "secret-scanning", @@ -5443,6 +5443,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -5483,6 +5491,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -5499,6 +5515,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -6551,6 +6575,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -6591,6 +6623,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -6607,6 +6647,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -7432,6 +7480,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -7472,6 +7528,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -7488,6 +7552,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -7878,6 +7950,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -7918,6 +7998,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -7934,6 +8022,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -10182,6 +10278,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -10222,6 +10326,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -10238,6 +10350,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -11322,6 +11442,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -11362,6 +11490,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -11378,6 +11514,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -12326,6 +12470,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -12366,6 +12518,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -12382,6 +12542,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -13033,6 +13201,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -13073,6 +13249,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -13089,6 +13273,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -83955,6 +84147,519 @@ } } }, + "/orgs/{org}/artifacts/metadata/deployment-record": { + "post": { + "summary": "Create an artifact deployment record", + "description": "Create or update deployment records for an artifact associated with an organization.\nThis endpoint allows you to record information about a specific artifact, such as its name, digest, environments, cluster, and deployment.", + "tags": [ + "orgs" + ], + "operationId": "orgs/create-artifact-deployment-record", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "minLength": 1, + "examples": [ + "libfoo" + ] + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact.", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, + "status": { + "type": "string", + "description": "The status of the artifact. Can be either deployed or decommissioned.", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "logical_environment": { + "type": "string", + "description": "The stage of the deployment." + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment." + }, + "cluster": { + "type": "string", + "description": "The deployment cluster." + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment." + }, + "tags": { + "type": "object", + "description": "The tags associated with the deployment.", + "additionalProperties": { + "type": "string" + }, + "maxProperties": 5 + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "examples": [ + "my-github-repo" + ] + } + }, + "required": [ + "name", + "digest", + "status", + "logical_environment", + "deployment_name" + ] + }, + "examples": { + "default": { + "value": { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "status": "deployed", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "deployment-pod", + "tags": { + "data-access": "sensitive" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact deployment record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": { + "post": { + "summary": "Set cluster deployment records", + "description": "Set deployment records for a given cluster.", + "tags": [ + "orgs" + ], + "operationId": "orgs/set-cluster-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cluster", + "in": "path", + "description": "The cluster name.", + "required": true, + "schema": { + "type": "string", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-zA-Z0-9._-]+$" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "logical_environment": { + "type": "string", + "description": "The stage of the deployment." + }, + "physical_environment": { + "type": "string", + "description": "The physical region of the deployment." + }, + "deployments": { + "type": "array", + "description": "The list of deployments to record.", + "items": { + "type": "object", + "maxLength": 100, + "properties": { + "name": { + "type": "string", + "description": "The name of the artifact.", + "minLength": 1, + "maxLength": 255 + }, + "digest": { + "type": "string", + "description": "The hex encoded digest of the artifact.", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + }, + "version": { + "type": "string", + "description": "The artifact version.", + "minLength": 1, + "maxLength": 100, + "x-multi-segment": true, + "examples": [ + "1.2.3" + ] + }, + "status": { + "type": "string", + "description": "The deployment status of the artifact.", + "enum": [ + "deployed", + "decommissioned" + ] + }, + "deployment_name": { + "type": "string", + "description": "The name of the deployment.", + "minLength": 1, + "maxLength": 128 + }, + "github_repository": { + "type": "string", + "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", + "minLength": 1, + "maxLength": 100, + "pattern": "^[A-Za-z0-9.\\-_]+$", + "examples": [ + "my-github-repo" + ] + }, + "tags": { + "type": "object", + "description": "Key-value pairs to tag the deployment record.", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "awesome-image", + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "version": "2.1.0", + "status": "deployed", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "deployment-pod", + "tags": { + "runtime-risk": "sensitive-data" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Artifact deployment record stored successfully.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records created", + "type": "integer" + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/artifacts/metadata/storage-record": { "post": { "summary": "Create artifact metadata storage record", @@ -84181,6 +84886,155 @@ } } }, + "/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": { + "get": { + "summary": "List artifact deployment records", + "description": "List deployment records for an artifact metadata associated with an organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-artifact-deployment-records", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "subject_digest", + "description": "The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`.", + "in": "path", + "required": true, + "schema": { + "type": "string", + "minLength": 71, + "maxLength": 71, + "pattern": "^sha256:[a-f0-9]{64}$" + } + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of deployment records for this digest and organization", + "type": "integer", + "examples": [ + 3 + ] + }, + "deployment_records": { + "type": "array", + "items": { + "title": "Artifact Deployment Record", + "description": "Artifact Metadata Deployment Record", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "digest": { + "type": "string" + }, + "logical_environment": { + "type": "string" + }, + "physical_environment": { + "type": "string" + }, + "cluster": { + "type": "string" + }, + "deployment_name": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "runtime_risks": { + "type": "array", + "description": "A list of runtime risks associated with the deployment.", + "maxItems": 4, + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "critical-resource", + "internet-exposed", + "lateral-movement", + "sensitive-data" + ] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "attestation_id": { + "type": [ + "integer", + "null" + ], + "description": "The ID of the provenance attestation associated with the deployment record." + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "deployment_records": [ + { + "id": 123, + "digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72", + "logical_environment": "prod", + "physical_environment": "pacific-east", + "cluster": "moda-1", + "deployment_name": "prod-deployment", + "tags": { + "data": "sensitive" + }, + "created": "2011-01-26T19:14:43Z", + "updated_at": "2011-01-26T19:14:43Z", + "attestation_id": 456 + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "artifact-metadata" + } + } + }, "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": { "get": { "summary": "List artifact storage records", @@ -116359,6 +117213,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -116399,6 +117261,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -116415,6 +117285,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -117482,6 +118360,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -117522,6 +118408,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -117538,6 +118432,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -158942,21 +159844,39 @@ "options": [ { "id": "option_1", - "name": "Low", + "name": { + "html": "Low", + "raw": "Low" + }, "color": "GREEN", - "description": "Low priority items" + "description": { + "html": "Low priority items", + "raw": "Low priority items" + } }, { "id": "option_2", - "name": "Medium", + "name": { + "html": "Medium", + "raw": "Medium" + }, "color": "YELLOW", - "description": "Medium priority items" + "description": { + "html": "Medium priority items", + "raw": "Medium priority items" + } }, { "id": "option_3", - "name": "High", + "name": { + "html": "High", + "raw": "High" + }, "color": "RED", - "description": "High priority items" + "description": { + "html": "High priority items", + "raw": "High priority items" + } } ], "created_at": "2022-04-28T12:00:00Z", @@ -158971,21 +159891,39 @@ "options": [ { "id": "option_4", - "name": "Todo", + "name": { + "html": "Todo", + "raw": "Todo" + }, "color": "GRAY", - "description": "Items to be worked on" + "description": { + "html": "Items to be worked on", + "raw": "Items to be worked on" + } }, { "id": "option_5", - "name": "In Progress", + "name": { + "html": "In Progress", + "raw": "In Progress" + }, "color": "BLUE", - "description": "Items currently being worked on" + "description": { + "html": "Items currently being worked on", + "raw": "Items currently being worked on" + } }, { "id": "option_6", - "name": "Done", + "name": { + "html": "Done", + "raw": "Done" + }, "color": "GREEN", - "description": "Completed items" + "description": { + "html": "Completed items", + "raw": "Completed items" + } } ], "created_at": "2022-04-29T10:30:00Z", @@ -159030,13 +159968,19 @@ "iterations": [ { "id": "iter_1", - "title": "Sprint 1", + "title": { + "html": "Sprint 1", + "raw": "Sprint 1" + }, "start_date": "2022-07-01", "duration": 14 }, { "id": "iter_2", - "title": "Sprint 2", + "title": { + "html": "Sprint 2", + "raw": "Sprint 2" + }, "start_date": "2022-07-15", "duration": 14 } @@ -160329,8 +161273,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -160373,11 +161317,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -169289,8 +170237,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -169333,11 +170281,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -170526,8 +171478,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -170570,11 +171522,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -171274,8 +172230,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -171318,11 +172274,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -172022,8 +172982,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -172066,11 +173026,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -172770,8 +173734,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -172814,11 +173778,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -173518,8 +174486,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -173562,11 +174530,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -182931,6 +183903,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -184168,6 +185189,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -185466,6 +186536,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -187451,6 +188570,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -188713,6 +189881,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -190007,6 +191224,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -302445,6 +303711,7 @@ "type": "string", "description": "The language targeted by the CodeQL query", "enum": [ + "actions", "cpp", "csharp", "go", @@ -303279,6 +304546,7 @@ "type": "string", "description": "The language targeted by the CodeQL query", "enum": [ + "actions", "cpp", "csharp", "go", @@ -305114,6 +306382,7 @@ "type": "string", "description": "The language targeted by the CodeQL query", "enum": [ + "actions", "cpp", "csharp", "go", @@ -374532,6 +375801,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -374572,6 +375849,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -374588,6 +375873,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -540235,6 +541528,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -542013,6 +543355,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -543117,6 +544508,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -544434,6 +545874,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -546438,6 +547927,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -547557,6 +549095,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -548870,6 +550457,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -635933,6 +637569,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -635973,6 +637617,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -635989,6 +637641,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -670112,112 +671772,7857 @@ "starred_url", "subscriptions_url", "type", - "url", - "bio", - "blog", - "company", - "email", - "followers", - "following", - "hireable", - "location", - "name", - "public_gists", - "public_repos", - "created_at", - "updated_at" + "url", + "bio", + "blog", + "company", + "email", + "followers", + "following", + "hireable", + "location", + "name", + "public_gists", + "public_repos", + "created_at", + "updated_at" + ], + "additionalProperties": false + } + ] + }, + "examples": { + "default-response": { + "summary": "Default response", + "value": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "name": "monalisa octocat", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "hireable": false, + "bio": "There once was...", + "twitter_username": "monatheoctocat", + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "created_at": "2008-01-14T04:33:35Z", + "updated_at": "2008-01-14T04:33:35Z" + } + }, + "response-with-git-hub-plan-information": { + "summary": "Response with GitHub plan information", + "value": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "name": "monalisa octocat", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "hireable": false, + "bio": "There once was...", + "twitter_username": "monatheoctocat", + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "created_at": "2008-01-14T04:33:35Z", + "updated_at": "2008-01-14T04:33:35Z", + "plan": { + "name": "pro", + "space": 976562499, + "collaborators": 0, + "private_repos": 9999 + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "users", + "subcategory": "users" + } + } + }, + "/user/{user_id}/projectsV2/{project_number}/drafts": { + "post": { + "summary": "Create draft item for user owned project", + "description": "Create draft issue item for the specified user owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/create-draft-item-for-authenticated-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/drafts#create-draft-item-for-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, + "description": "Details of the draft item to create in the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "The title of the draft issue item to create in the project." + }, + "body": { + "type": "string", + "description": "The body content of the draft issue item to create in the project." + } + }, + "required": [ + "title" + ] + }, + "examples": { + "title": { + "summary": "Example with Sample Draft Issue Title", + "value": { + "title": "Sample Draft Issue Title" + } + }, + "body": { + "summary": "Example with Sample Draft Issue Title and Body", + "value": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The unique identifier of the project item." + }, + "node_id": { + "type": "string", + "description": "The node ID of the project item." + }, + "content": { + "oneOf": [ + { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repositories/42/issues/1" + ] + }, + "repository_url": { + "type": "string", + "format": "uri" + }, + "labels_url": { + "type": "string" + }, + "comments_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": [ + "open" + ] + }, + "state_reason": { + "description": "The reason for the current state", + "type": [ + "string", + "null" + ], + "enum": [ + "completed", + "reopened", + "not_planned", + "duplicate", + null + ], + "examples": [ + "not_planned" + ] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": [ + "Widget creation fails in Safari on OS X 10.8" + ] + }, + "body": { + "description": "Contents of the issue", + "type": [ + "string", + "null" + ], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "name": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "color": { + "type": [ + "string", + "null" + ] + }, + "default": { + "type": "boolean" + } + } + } + ] + }, + "examples": [ + "bug", + "registration" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "locked": { + "type": "boolean" + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ] + }, + "comments": { + "type": "integer" + }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "diff_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "patch_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "diff_url", + "html_url", + "patch_url", + "url" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "closed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "timeline_url": { + "type": "string", + "format": "uri" + }, + "type": { + "title": "Issue Type", + "description": "The type of issue.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the issue type." + }, + "node_id": { + "type": "string", + "description": "The node identifier of the issue type." + }, + "name": { + "type": "string", + "description": "The name of the issue type." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The description of the issue type." + }, + "color": { + "type": [ + "string", + "null" + ], + "description": "The color of the issue type.", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + "created_at": { + "type": "string", + "description": "The time the issue type created.", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "description": "The time the issue type last updated.", + "format": "date-time" + }, + "is_enabled": { + "type": "boolean", + "description": "The enabled state of the issue type." + } + }, + "required": [ + "id", + "node_id", + "name", + "description" + ] + }, + "repository": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "performed_via_github_app": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub app", + "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier of the GitHub app", + "type": "integer", + "examples": [ + 37 + ] + }, + "slug": { + "description": "The slug name of the GitHub app", + "type": "string", + "examples": [ + "probot-owners" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOkludGVncmF0aW9uMQ==" + ] + }, + "client_id": { + "type": "string", + "examples": [ + "\"Iv1.25b5d1e65ffc4022\"" + ] + }, + "owner": { + "oneOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "name": { + "description": "The name of the GitHub app", + "type": "string", + "examples": [ + "Probot Owners" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "The description of the app." + ] + }, + "external_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://example.com" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/apps/super-ci" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2017-07-08T16:18:44-04:00" + ] + }, + "permissions": { + "description": "The set of permissions for the GitHub app", + "type": "object", + "properties": { + "issues": { + "type": "string" + }, + "checks": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "contents": { + "type": "string" + }, + "deployments": { + "type": "string" + } + }, + "additionalProperties": { + "type": "string" + }, + "example": { + "issues": "read", + "deployments": "write" + } + }, + "events": { + "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", + "type": "array", + "items": { + "type": "string" + }, + "examples": [ + "label", + "deployment" + ] + }, + "installations_count": { + "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", + "type": "integer", + "examples": [ + 5 + ] + } + }, + "required": [ + "id", + "node_id", + "owner", + "name", + "description", + "external_url", + "html_url", + "created_at", + "updated_at", + "permissions", + "events" + ] + } + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "reactions": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "total_count": { + "type": "integer" + }, + "+1": { + "type": "integer" + }, + "-1": { + "type": "integer" + }, + "laugh": { + "type": "integer" + }, + "confused": { + "type": "integer" + }, + "heart": { + "type": "integer" + }, + "hooray": { + "type": "integer" + }, + "eyes": { + "type": "integer" + }, + "rocket": { + "type": "integer" + } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "sub_issues_summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "completed": { + "type": "integer" + }, + "percent_completed": { + "type": "integer" + } + }, + "required": [ + "total", + "completed", + "percent_completed" + ] + }, + "parent_issue_url": { + "description": "URL to get the parent issue of this issue, if it is a sub-issue", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "issue_dependencies_summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { + "type": "integer" + }, + "blocking": { + "type": "integer" + }, + "total_blocked_by": { + "type": "integer" + }, + "total_blocking": { + "type": "integer" + } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue_field_values": { + "type": "array", + "items": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "IFT_GDKND" + ] + }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": [ + "text", + "single_select", + "number", + "date" + ], + "examples": [ + "text" + ] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { + "type": "string", + "examples": [ + "Sample text" + ] + }, + { + "type": "number", + "examples": [ + 42.5 + ] + }, + { + "type": "integer", + "examples": [ + 1 + ] + } + ], + "type": [ + "null", + "string", + "number", + "integer" + ] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": [ + "object", + "null" + ], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": [ + "High" + ] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": [ + "red" + ] + } + }, + "required": [ + "id", + "name", + "color" + ] + } + }, + "required": [ + "issue_field_id", + "node_id", + "data_type", + "value" + ] + } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "created_at", + "updated_at" + ] + }, + { + "title": "Pull Request Simple", + "description": "Pull Request Simple", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDExOlB1bGxSZXF1ZXN0MQ==" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347" + ] + }, + "diff_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347.diff" + ] + }, + "patch_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/pull/1347.patch" + ] + }, + "issue_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + }, + "commits_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" + ] + }, + "review_comments_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" + ] + }, + "review_comment_url": { + "type": "string", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" + ] + }, + "comments_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" + ] + }, + "statuses_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "number": { + "type": "integer", + "examples": [ + 1347 + ] + }, + "state": { + "type": "string", + "examples": [ + "open" + ] + }, + "locked": { + "type": "boolean", + "examples": [ + true + ] + }, + "title": { + "type": "string", + "examples": [ + "new-feature" + ] + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "body": { + "type": [ + "string", + "null" + ], + "examples": [ + "Please pull these awesome changes" + ] + }, + "labels": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "color": { + "type": "string" + }, + "default": { + "type": "boolean" + } + }, + "required": [ + "id", + "node_id", + "url", + "name", + "description", + "color", + "default" + ] + } + }, + "milestone": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Milestone", + "description": "A collection of related issues and pull requests.", + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World/milestones/v1.0" + ] + }, + "labels_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1002604 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDk6TWlsZXN0b25lMTAwMjYwNA==" + ] + }, + "number": { + "description": "The number of the milestone.", + "type": "integer", + "examples": [ + 42 + ] + }, + "state": { + "description": "The state of the milestone.", + "type": "string", + "enum": [ + "open", + "closed" + ], + "default": "open", + "examples": [ + "open" + ] + }, + "title": { + "description": "The title of the milestone.", + "type": "string", + "examples": [ + "v1.0" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "Tracking milestone for version 1.0" + ] + }, + "creator": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 4 + ] + }, + "closed_issues": { + "type": "integer", + "examples": [ + 8 + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-04-10T20:09:31Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2014-03-03T18:58:10Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2013-02-12T13:22:01Z" + ] + }, + "due_on": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2012-10-09T23:39:01Z" + ] + } + }, + "required": [ + "closed_issues", + "creator", + "description", + "due_on", + "closed_at", + "id", + "node_id", + "labels_url", + "html_url", + "number", + "open_issues", + "state", + "title", + "url", + "created_at", + "updated_at" + ] + } + ] + }, + "active_lock_reason": { + "type": [ + "string", + "null" + ], + "examples": [ + "too heated" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "closed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "merged_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "merge_commit_sha": { + "type": [ + "string", + "null" + ], + "examples": [ + "e5bd3914e2e596debea16f433f57875b5b90bcd6" + ] + }, + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "assignees": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "requested_reviewers": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "requested_teams": { + "type": [ + "array", + "null" + ], + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" + ] + } + }, + "head": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sha": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "base": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "repo": { + "title": "Repository", + "description": "A repository on GitHub.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": [ + "Team Environment" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "license": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "License Simple", + "description": "License Simple", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "mit" + ] + }, + "name": { + "type": "string", + "examples": [ + "MIT License" + ] + }, + "url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://api.github.com/licenses/mit" + ] + }, + "spdx_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "MIT" + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDc6TGljZW5zZW1pdA==" + ] + }, + "html_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "key", + "name", + "url", + "spdx_id", + "node_id" + ] + } + ] + }, + "forks": { + "type": "integer" + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + } + }, + "required": [ + "admin", + "pull", + "push" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "description": "Whether the repository is private or public.", + "default": false, + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string", + "examples": [ + "git:github.com/octocat/Hello-World.git" + ] + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string", + "examples": [ + "git@github.com:octocat/Hello-World.git" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string", + "examples": [ + "https://github.com/octocat/Hello-World.git" + ] + }, + "mirror_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "git:git.example.com/octocat/Hello-World" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://svn.github.com/octocat/Hello-World" + ] + }, + "homepage": { + "type": [ + "string", + "null" + ], + "format": "uri", + "examples": [ + "https://github.com" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer", + "examples": [ + 9 + ] + }, + "stargazers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "watchers_count": { + "type": "integer", + "examples": [ + 80 + ] + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer", + "examples": [ + 108 + ] + }, + "default_branch": { + "description": "The default branch of the repository.", + "type": "string", + "examples": [ + "master" + ] + }, + "open_issues_count": { + "type": "integer", + "examples": [ + 0 + ] + }, + "is_template": { + "description": "Whether this repository acts as a template that can be used to generate new repositories.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "description": "Whether issues are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_projects": { + "description": "Whether projects are enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_wiki": { + "description": "Whether the wiki is enabled.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "description": "Whether downloads are enabled.", + "default": true, + "type": "boolean", + "deprecated": true, + "examples": [ + true + ] + }, + "has_discussions": { + "description": "Whether discussions are enabled.", + "default": false, + "type": "boolean", + "examples": [ + true + ] + }, + "archived": { + "description": "Whether the repository is archived.", + "default": false, + "type": "boolean" + }, + "disabled": { + "type": "boolean", + "description": "Returns whether or not this repository disabled." + }, + "visibility": { + "description": "The repository visibility: public, private, or internal.", + "default": "public", + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "allow_rebase_merge": { + "description": "Whether to allow rebase merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "temp_clone_token": { + "type": "string" + }, + "allow_squash_merge": { + "description": "Whether to allow squash merges for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_auto_merge": { + "description": "Whether to allow Auto-merge to be used on pull requests.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "delete_branch_on_merge": { + "description": "Whether to delete head branches when pull requests are merged", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "allow_update_branch": { + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", + "default": false, + "type": "boolean", + "examples": [ + false + ] + }, + "use_squash_pr_title_as_default": { + "type": "boolean", + "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", + "default": false, + "deprecated": true + }, + "squash_merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "COMMIT_OR_PR_TITLE" + ], + "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." + }, + "squash_merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "COMMIT_MESSAGES", + "BLANK" + ], + "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." + }, + "merge_commit_title": { + "type": "string", + "enum": [ + "PR_TITLE", + "MERGE_MESSAGE" + ], + "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." + }, + "merge_commit_message": { + "type": "string", + "enum": [ + "PR_BODY", + "PR_TITLE", + "BLANK" + ], + "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." + }, + "allow_merge_commit": { + "description": "Whether to allow merge commits for pull requests.", + "default": true, + "type": "boolean", + "examples": [ + true + ] + }, + "allow_forking": { + "description": "Whether to allow forking this repo", + "type": "boolean" + }, + "web_commit_signoff_required": { + "description": "Whether to require contributors to sign off on web-based commits", + "default": false, + "type": "boolean" + }, + "open_issues": { + "type": "integer" + }, + "watchers": { + "type": "integer" + }, + "master_branch": { + "type": "string" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:42Z\"" + ] + }, + "anonymous_access_enabled": { + "type": "boolean", + "description": "Whether anonymous git access is enabled for this repository" + }, + "code_search_index_status": { + "type": "object", + "description": "The status of the code search index for this repository", + "properties": { + "lexical_search_ok": { + "type": "boolean" + }, + "lexical_commit_sha": { + "type": "string" + } + } + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url", + "clone_url", + "default_branch", + "forks", + "forks_count", + "git_url", + "has_downloads", + "has_issues", + "has_projects", + "has_wiki", + "has_pages", + "homepage", + "language", + "archived", + "disabled", + "mirror_url", + "open_issues", + "open_issues_count", + "license", + "pushed_at", + "size", + "ssh_url", + "stargazers_count", + "svn_url", + "watchers", + "watchers_count", + "created_at", + "updated_at" + ] + }, + "sha": { + "type": "string" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "label", + "ref", + "repo", + "sha", + "user" + ] + }, + "_links": { + "type": "object", + "properties": { + "comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "commits": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "statuses": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "html": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "issue": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comments": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "review_comment": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + }, + "self": { + "title": "Link", + "description": "Hypermedia Link", + "type": "object", + "properties": { + "href": { + "type": "string" + } + }, + "required": [ + "href" + ] + } + }, + "required": [ + "comments", + "commits", + "statuses", + "html", + "issue", + "review_comments", + "review_comment", + "self" + ] + }, + "author_association": { + "title": "author_association", + "type": "string", + "description": "How the author is associated with the repository.", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ], + "examples": [ + "OWNER" + ] + }, + "auto_merge": { + "title": "Auto merge", + "description": "The status of auto merging a pull request.", + "type": [ + "object", + "null" + ], + "properties": { + "enabled_by": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "merge_method": { + "type": "string", + "description": "The merge method to use.", + "enum": [ + "merge", + "squash", + "rebase" + ] + }, + "commit_title": { + "type": "string", + "description": "Title for the merge commit message." + }, + "commit_message": { + "type": "string", + "description": "Commit message for the merge commit." + } + }, + "required": [ + "enabled_by", + "merge_method", + "commit_title", + "commit_message" + ] + }, + "draft": { + "description": "Indicates whether or not the pull request is a draft.", + "type": "boolean", + "examples": [ + false + ] + } + }, + "required": [ + "_links", + "assignee", + "labels", + "base", + "body", + "closed_at", + "comments_url", + "commits_url", + "created_at", + "diff_url", + "head", + "html_url", + "id", + "node_id", + "issue_url", + "merge_commit_sha", + "merged_at", + "milestone", + "number", + "patch_url", + "review_comment_url", + "review_comments_url", + "statuses_url", + "state", + "locked", + "title", + "updated_at", + "url", + "user", + "author_association", + "auto_merge" + ] + }, + { + "title": "Draft Issue", + "description": "A draft issue in a project", + "type": "object", + "properties": { + "id": { + "type": "number", + "description": "The ID of the draft issue" + }, + "node_id": { + "type": "string", + "description": "The node ID of the draft issue" + }, + "title": { + "type": "string", + "description": "The title of the draft issue" + }, + "body": { + "type": [ + "string", + "null" + ], + "description": "The body content of the draft issue" + }, + "user": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time the draft issue was created" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time the draft issue was last updated" + } + }, + "required": [ + "id", + "node_id", + "title", + "user", + "created_at", + "updated_at" + ] + } + ], + "description": "The content represented by the item." + }, + "content_type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": [ + "Issue", + "PullRequest", + "DraftIssue" + ] + }, + "creator": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was created.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The time when the item was last updated.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "archived_at": { + "type": [ + "string", + "null" ], - "additionalProperties": false + "format": "date-time", + "description": "The time when the item was archived.", + "examples": [ + "2022-04-28T12:00:00Z" + ] + }, + "project_url": { + "type": "string", + "format": "uri", + "description": "The URL of the project this item belongs to." + }, + "item_url": { + "type": "string", + "format": "uri", + "description": "The URL of the item in the project." } + }, + "required": [ + "id", + "content_type", + "created_at", + "updated_at", + "archived_at" ] }, "examples": { - "default-response": { - "summary": "Default response", + "draft_issue": { "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "twitter_username": "monatheoctocat", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z" + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "title": "Example Draft Issue", + "body": "This is a draft issue in the project.", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "user": { + "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 + } + }, + "content_type": "DraftIssue", + "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", + "archived_at": null, + "project_url": "https://api.github.com/users/octocat/projectsV2/1", + "item_url": "https://api.github.com/users/octocat/projectsV2/items/17" } - }, - "response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "twitter_username": "monatheoctocat", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z", - "plan": { - "name": "pro", - "space": 976562499, - "collaborators": 0, - "private_repos": 9999 - } + } + } + } + } + }, + "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" } } } } } }, - "404": { - "description": "Resource not found", + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -670246,8 +679651,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "users", - "subcategory": "users" + "category": "projects", + "subcategory": "drafts" } } }, @@ -687385,6 +696790,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -687425,6 +696838,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -687441,6 +696862,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -694601,21 +704030,39 @@ "options": [ { "id": "option_1", - "name": "Low", + "name": { + "html": "Low", + "raw": "Low" + }, "color": "GREEN", - "description": "Low priority items" + "description": { + "html": "Low priority items", + "raw": "Low priority items" + } }, { "id": "option_2", - "name": "Medium", + "name": { + "html": "Medium", + "raw": "Medium" + }, "color": "YELLOW", - "description": "Medium priority items" + "description": { + "html": "Medium priority items", + "raw": "Medium priority items" + } }, { "id": "option_3", - "name": "High", + "name": { + "html": "High", + "raw": "High" + }, "color": "RED", - "description": "High priority items" + "description": { + "html": "High priority items", + "raw": "High priority items" + } } ], "created_at": "2022-04-28T12:00:00Z", @@ -694630,21 +704077,39 @@ "options": [ { "id": "option_4", - "name": "Todo", + "name": { + "html": "Todo", + "raw": "Todo" + }, "color": "GRAY", - "description": "Items to be worked on" + "description": { + "html": "Items to be worked on", + "raw": "Items to be worked on" + } }, { "id": "option_5", - "name": "In Progress", + "name": { + "html": "In Progress", + "raw": "In Progress" + }, "color": "BLUE", - "description": "Items currently being worked on" + "description": { + "html": "Items currently being worked on", + "raw": "Items currently being worked on" + } }, { "id": "option_6", - "name": "Done", + "name": { + "html": "Done", + "raw": "Done" + }, "color": "GREEN", - "description": "Completed items" + "description": { + "html": "Completed items", + "raw": "Completed items" + } } ], "created_at": "2022-04-29T10:30:00Z", @@ -694689,13 +704154,19 @@ "iterations": [ { "id": "iter_1", - "title": "Sprint 1", + "title": { + "html": "Sprint 1", + "raw": "Sprint 1" + }, "start_date": "2022-07-01", "duration": 14 }, { "id": "iter_2", - "title": "Sprint 2", + "title": { + "html": "Sprint 2", + "raw": "Sprint 2" + }, "start_date": "2022-07-15", "duration": 14 } @@ -695988,8 +705459,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -696032,11 +705503,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -704948,8 +714423,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -704992,11 +714467,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -706185,8 +715664,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -706229,11 +715708,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -706933,8 +716416,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -706977,11 +716460,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -707681,8 +717168,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -707725,11 +717212,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -708429,8 +717920,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -708473,11 +717964,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -709177,8 +718672,8 @@ "name": "Title", "type": "title", "value": { - "raw_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", - "html_title": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "raw": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", + "html": "It seemed to me that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a packet of toothpicks, was no longer a civilization in which I could live and stay sane.", "number": 6, "url": "https://github.com/5/1/pull/6", "issue_id": 12, @@ -709221,11 +718716,15 @@ "type": "single_select", "value": { "id": "98236657", - "name": "Done", - "name_html": "Done", + "name": { + "raw": "Done", + "html": "Done" + }, "color": "PURPLE", - "description": "This has been completed", - "description_html": "This has been completed" + "description": { + "raw": "This has been completed", + "html": "This has been completed" + } } }, { @@ -757049,6 +766548,13 @@ "write" ] }, + "attestations": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "enum": [ @@ -757119,6 +766625,13 @@ "write" ] }, + "merge_queues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "enum": [ @@ -757126,6 +766639,13 @@ "write" ] }, + "models": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "organization_administration": { "type": "string", "enum": [ @@ -759807,6 +769327,13 @@ "write" ] }, + "attestations": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "enum": [ @@ -759877,6 +769404,13 @@ "write" ] }, + "merge_queues": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "enum": [ @@ -759884,6 +769418,13 @@ "write" ] }, + "models": { + "type": "string", + "enum": [ + "read", + "write" + ] + }, "organization_administration": { "type": "string", "enum": [ @@ -888442,6 +897983,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -888482,6 +898031,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -888498,6 +898055,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -891525,6 +901090,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -891565,6 +901138,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -891581,6 +901162,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -894513,6 +904102,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -894553,6 +904150,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -894569,6 +904174,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -897501,6 +907114,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -897541,6 +907162,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -897557,6 +907186,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -900623,6 +910260,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -900663,6 +910308,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -900679,6 +910332,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -903752,6 +913413,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -903792,6 +913461,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -903808,6 +913485,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -908876,6 +918561,14 @@ "write" ] }, + "attestations": { + "type": "string", + "description": "The level of permission to create and retrieve the access token for repository attestations.", + "enum": [ + "read", + "write" + ] + }, "checks": { "type": "string", "description": "The level of permission to grant the access token for checks on code.", @@ -908916,6 +918609,14 @@ "write" ] }, + "discussions": { + "type": "string", + "description": "The level of permission to grant the access token for discussions and related comments and labels.", + "enum": [ + "read", + "write" + ] + }, "environments": { "type": "string", "description": "The level of permission to grant the access token for managing repository environments.", @@ -908932,6 +918633,14 @@ "write" ] }, + "merge_queues": { + "type": "string", + "description": "The level of permission to grant the access token to manage the merge queues for a repository.", + "enum": [ + "read", + "write" + ] + }, "metadata": { "type": "string", "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", @@ -1363276,6 +1372985,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1366531,6 +1376289,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1369786,6 +1379593,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1370815,6 +1380671,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1371672,6 +1381577,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ @@ -1372532,6 +1382486,55 @@ "required_review_thread_resolution": { "type": "boolean", "description": "All conversations on code must be resolved before a pull request can be merged." + }, + "required_reviewers": { + "type": "array", + "description": "> [!NOTE]\n> `required_reviewers` is in beta and subject to change.\n\nA collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review.", + "items": { + "title": "RequiredReviewerConfiguration", + "description": "A reviewing team, and file patterns describing which files they must approve changes to.", + "type": "object", + "properties": { + "file_patterns": { + "type": "array", + "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use fnmatch syntax.", + "items": { + "type": "string" + } + }, + "minimum_approvals": { + "type": "integer", + "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." + }, + "reviewer": { + "title": "Reviewer", + "description": "A required reviewing team", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "ID of the reviewer which must review changes to matching files." + }, + "type": { + "type": "string", + "description": "The type of the reviewer", + "enum": [ + "Team" + ] + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "file_patterns", + "minimum_approvals", + "reviewer" + ] + } } }, "required": [ diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 53e7c9ba75..7a42b4ab35 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -44,7 +44,7 @@ tags: - name: licenses description: View various OSS licenses. - name: markdown - description: Render GitHub flavored markdown + description: Render GitHub flavored Markdown - name: merge-queue description: Interact with GitHub Merge Queues. - name: meta @@ -54,7 +54,7 @@ tags: - name: oidc description: Endpoints to manage GitHub OIDC configuration using the REST API. - name: orgs - description: Interact with GitHub Orgs. + description: Interact with organizations. - name: packages description: Manage packages for authenticated users and organizations. - name: projects-classic @@ -62,13 +62,13 @@ tags: - name: pulls description: Interact with GitHub Pull Requests. - name: rate-limit - description: Check your current rate limit status + description: Check your current rate limit status. - name: reactions description: Interact with reactions to various GitHub entities. - name: repos description: Interact with GitHub Repos. - name: search - description: Look for stuff on GitHub. + description: Search for specific items on GitHub. - name: secret-scanning description: Retrieve secret scanning alerts from a repository. - name: teams @@ -907,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &287 + type: &289 type: string description: The type of credit the user is receiving. enum: @@ -1073,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &611 + - &613 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1658,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &184 + - &186 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1674,7 +1674,7 @@ paths: application/json: schema: type: array - items: &185 + items: &187 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1770,7 +1770,7 @@ paths: - installation_id - repository_id examples: - default: &186 + default: &188 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1905,7 +1905,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &189 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2040,7 +2040,7 @@ paths: - request - response examples: - default: &188 + default: &190 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2343,6 +2343,13 @@ paths: enum: - read - write + attestations: + type: string + description: The level of permission to create and retrieve + the access token for repository attestations. + enum: + - read + - write checks: type: string description: The level of permission to grant the access @@ -2379,6 +2386,13 @@ paths: enum: - read - write + discussions: + type: string + description: The level of permission to grant the access + token for discussions and related comments and labels. + enum: + - read + - write environments: type: string description: The level of permission to grant the access @@ -2394,6 +2408,13 @@ paths: enum: - read - write + merge_queues: + type: string + description: The level of permission to grant the access + token to manage the merge queues for a repository. + enum: + - read + - write metadata: type: string description: The level of permission to grant the access @@ -7736,7 +7757,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &162 + code_scanning_options: &164 type: - object - 'null' @@ -7934,7 +7955,7 @@ paths: description: Response content: application/json: - schema: &164 + schema: &166 type: array description: A list of default code security configurations items: @@ -7950,7 +7971,7 @@ paths: default configuration: *41 examples: - default: &165 + default: &167 value: - default_for_new_repos: public configuration: @@ -8281,7 +8302,7 @@ paths: - *40 - *43 responses: - '204': &166 + '204': &168 description: A header with no content is returned. '400': *14 '403': *27 @@ -8408,7 +8429,7 @@ paths: default: value: default_for_new_repos: all - configuration: &163 + configuration: &165 value: id: 1325 target_type: organization @@ -8493,7 +8514,7 @@ paths: application/json: schema: type: array - items: &167 + items: &169 type: object description: Repositories associated with a code security configuration and attachment status @@ -8838,7 +8859,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &168 + repository: &170 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8932,7 +8953,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &171 + - &173 name: state in: query description: |- @@ -8941,7 +8962,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &172 + - &174 name: severity in: query description: |- @@ -8950,7 +8971,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &173 + - &175 name: ecosystem in: query description: |- @@ -8959,14 +8980,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &174 + - &176 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &175 + - &177 name: epss_percentage in: query description: |- @@ -8978,7 +8999,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 - - &452 + - &454 name: has in: query description: |- @@ -8992,7 +9013,7 @@ paths: type: string enum: - patch - - &176 + - &178 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9002,7 +9023,7 @@ paths: enum: - development - runtime - - &177 + - &179 name: sort in: query description: |- @@ -9028,11 +9049,11 @@ paths: application/json: schema: type: array - items: &178 + items: &180 type: object description: A Dependabot alert. properties: - number: &152 + number: &154 type: integer description: The security alert number. readOnly: true @@ -9098,7 +9119,7 @@ paths: - direct - transitive - - security_advisory: &453 + security_advisory: &455 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9305,29 +9326,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &155 + url: &157 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &156 + html_url: &158 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &153 + created_at: &155 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &154 + updated_at: &156 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &158 + dismissed_at: &160 type: - string - 'null' @@ -9358,7 +9379,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &157 + fixed_at: &159 type: - string - 'null' @@ -9366,7 +9387,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &454 + auto_dismissed_at: &456 type: - string - 'null' @@ -9393,7 +9414,7 @@ paths: - repository additionalProperties: false examples: - default: &179 + default: &181 value: - number: 2 state: dismissed @@ -10806,7 +10827,7 @@ paths: milestone: anyOf: - type: 'null' - - &242 + - &244 title: Milestone description: A collection of related issues and pull requests. @@ -10978,7 +10999,7 @@ paths: timeline_url: type: string format: uri - type: &206 + type: &208 title: Issue Type description: The type of issue. type: @@ -11087,7 +11108,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &623 + sub_issues_summary: &625 title: Sub-issues Summary type: object properties: @@ -11108,7 +11129,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &624 + issue_dependencies_summary: &626 title: Issue Dependencies Summary type: object properties: @@ -11127,7 +11148,7 @@ paths: - total_blocking issue_field_values: type: array - items: &625 + items: &627 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11222,7 +11243,7 @@ paths: - user - created_at - updated_at - comment: &501 + comment: &503 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11800,7 +11821,7 @@ paths: url: type: string format: uri - user: &637 + user: &639 title: Public User description: Public User type: object @@ -13695,7 +13716,7 @@ paths: - closed - all default: open - - &209 + - &211 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13746,7 +13767,7 @@ paths: type: array items: *78 examples: - default: &210 + default: &212 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15157,14 +15178,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &309 + - &311 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &310 + - &312 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15226,7 +15247,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &316 + '301': &318 description: Moved permanently content: application/json: @@ -15248,7 +15269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &530 + - &532 name: all description: If `true`, show notifications marked as read. in: query @@ -15256,7 +15277,7 @@ paths: schema: type: boolean default: false - - &531 + - &533 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15266,7 +15287,7 @@ paths: type: boolean default: false - *68 - - &532 + - &534 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: @@ -15637,7 +15658,7 @@ paths: type: boolean examples: - false - security_and_analysis: &255 + security_and_analysis: &257 type: - object - 'null' @@ -15802,7 +15823,7 @@ paths: - url - subscription_url examples: - default: &533 + default: &535 value: - id: '1' repository: @@ -16681,7 +16702,7 @@ paths: - property_name - value examples: - default: &539 + default: &541 value: - property_name: environment value: production @@ -16731,7 +16752,7 @@ paths: required: - properties examples: - default: &540 + default: &542 value: properties: - property_name: environment @@ -17289,7 +17310,7 @@ paths: required: false schema: type: string - - &679 + - &681 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -17435,7 +17456,7 @@ paths: parameters: - *61 - *99 - - &682 + - &684 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 @@ -17547,7 +17568,7 @@ paths: - *99 - *101 - *100 - - &683 + - &685 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -17555,7 +17576,7 @@ paths: schema: type: string - *102 - - &684 + - &686 name: sku description: The SKU to query for usage. in: query @@ -18534,7 +18555,7 @@ paths: type: integer repository_cache_usages: type: array - items: &321 + items: &323 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19772,7 +19793,7 @@ paths: - all - local_only - selected - selected_actions_url: &327 + selected_actions_url: &329 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` @@ -19855,7 +19876,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &333 type: object properties: days: @@ -19897,7 +19918,7 @@ paths: required: true content: application/json: - schema: &332 + schema: &334 type: object properties: days: @@ -19954,7 +19975,7 @@ paths: required: - approval_policy examples: - default: &333 + default: &335 value: approval_policy: first_time_contributors '404': *6 @@ -20013,7 +20034,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -20067,7 +20088,7 @@ paths: required: true content: application/json: - schema: &335 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -20702,7 +20723,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &338 type: object properties: default_workflow_permissions: &129 @@ -20753,7 +20774,7 @@ paths: required: false content: application/json: - schema: &337 + schema: &339 type: object properties: default_workflow_permissions: *129 @@ -21246,7 +21267,7 @@ paths: type: array items: *136 examples: - default: &640 + default: &642 value: total_count: 1 repositories: @@ -21893,7 +21914,7 @@ paths: application/json: schema: type: array - items: &338 + items: &340 title: Runner Application description: Runner Application type: object @@ -21918,7 +21939,7 @@ paths: - download_url - filename examples: - default: &339 + default: &341 value: - os: osx architecture: x64 @@ -22004,7 +22025,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &340 + '201': &342 description: Response content: application/json: @@ -22119,7 +22140,7 @@ paths: - token - expires_at examples: - default: &341 + default: &343 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22158,7 +22179,7 @@ paths: application/json: schema: *140 examples: - default: &342 + default: &344 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22192,7 +22213,7 @@ paths: application/json: schema: *138 examples: - default: &343 + default: &345 value: id: 23 name: MBP @@ -22418,7 +22439,7 @@ paths: - *61 - *137 responses: - '200': &344 + '200': &346 description: Response content: application/json: @@ -22475,7 +22496,7 @@ paths: parameters: - *61 - *137 - - &345 + - &347 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22607,7 +22628,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &359 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22642,7 +22663,7 @@ paths: - key_id - key examples: - default: &358 + default: &360 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23055,7 +23076,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *61 - - &326 + - &328 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)." @@ -23525,6 +23546,330 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/artifacts/metadata/deployment-record": + post: + summary: Create an artifact deployment record + description: |- + Create or update deployment records for an artifact associated with an organization. + This endpoint allows you to record information about a specific artifact, such as its name, digest, environments, cluster, and deployment. + tags: + - orgs + operationId: orgs/create-artifact-deployment-record + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record + parameters: + - *61 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + examples: + - libfoo + digest: + type: string + description: The hex encoded digest of the artifact. + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 + status: + type: string + description: The status of the artifact. Can be either deployed + or decommissioned. + enum: + - deployed + - decommissioned + logical_environment: + type: string + description: The stage of the deployment. + physical_environment: + type: string + description: The physical region of the deployment. + cluster: + type: string + description: The deployment cluster. + deployment_name: + type: string + description: The name of the deployment. + tags: + type: object + description: The tags associated with the deployment. + additionalProperties: + type: string + maxProperties: 5 + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + examples: + - my-github-repo + required: + - name + - digest + - status + - logical_environment + - deployment_name + examples: + default: + value: + name: awesome-image + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + status: deployed + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: deployment-pod + tags: + data-access: sensitive + responses: + '200': + description: Artifact deployment record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created + type: integer + deployment_records: + type: array + items: &149 + title: Artifact Deployment Record + description: Artifact Metadata Deployment Record + type: object + properties: + id: + type: integer + digest: + type: string + logical_environment: + type: string + physical_environment: + type: string + cluster: + type: string + deployment_name: + type: string + tags: + type: object + additionalProperties: + type: string + runtime_risks: + type: array + description: A list of runtime risks associated with the + deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + created_at: + type: string + updated_at: + type: string + attestation_id: + type: + - integer + - 'null' + description: The ID of the provenance attestation associated + with the deployment record. + examples: + default: &150 + value: + total_count: 1 + deployment_records: + - id: 123 + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: prod-deployment + tags: + data: sensitive + created: '2011-01-26T19:14:43Z' + updated_at: '2011-01-26T19:14:43Z' + attestation_id: 456 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata + "/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": + post: + summary: Set cluster deployment records + description: Set deployment records for a given cluster. + tags: + - orgs + operationId: orgs/set-cluster-deployment-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records + parameters: + - *61 + - name: cluster + in: path + description: The cluster name. + required: true + schema: + type: string + minLength: 1 + maxLength: 64 + pattern: "^[a-zA-Z0-9._-]+$" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + logical_environment: + type: string + description: The stage of the deployment. + physical_environment: + type: string + description: The physical region of the deployment. + deployments: + type: array + description: The list of deployments to record. + items: + type: object + maxLength: 100 + properties: + name: + type: string + description: The name of the artifact. + minLength: 1 + maxLength: 255 + digest: + type: string + description: The hex encoded digest of the artifact. + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + version: + type: string + description: The artifact version. + minLength: 1 + maxLength: 100 + x-multi-segment: true + examples: + - 1.2.3 + status: + type: string + description: The deployment status of the artifact. + enum: + - deployed + - decommissioned + deployment_name: + type: string + description: The name of the deployment. + minLength: 1 + maxLength: 128 + github_repository: + type: string + description: |- + The name of the GitHub repository associated with the artifact. This should be used + when there are no provenance attestations available for the artifact. The repository + must belong to the organization specified in the path parameter. + + If a provenance attestation is available for the artifact, the API will use + the repository information from the attestation instead of this parameter. + minLength: 1 + maxLength: 100 + pattern: "^[A-Za-z0-9.\\-_]+$" + examples: + - my-github-repo + tags: + type: object + description: Key-value pairs to tag the deployment record. + additionalProperties: + type: string + runtime_risks: + type: array + description: A list of runtime risks associated with the deployment. + maxItems: 4 + uniqueItems: true + items: + type: string + enum: + - critical-resource + - internet-exposed + - lateral-movement + - sensitive-data + examples: + default: + value: + name: awesome-image + digest: sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72 + version: 2.1.0 + status: deployed + logical_environment: prod + physical_environment: pacific-east + cluster: moda-1 + deployment_name: deployment-pod + tags: + runtime-risk: sensitive-data + responses: + '200': + description: Artifact deployment record stored successfully. + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records created + type: integer + deployment_records: + type: array + items: *149 + examples: + default: *150 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/artifacts/metadata/storage-record": post: summary: Create artifact metadata storage record @@ -23690,6 +24035,52 @@ paths: enabledForGitHubApps: true category: orgs subcategory: artifact-metadata + "/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": + get: + summary: List artifact deployment records + description: List deployment records for an artifact metadata associated with + an organization. + tags: + - orgs + operationId: orgs/list-artifact-deployment-records + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records + parameters: + - *61 + - name: subject_digest + description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. + in: path + required: true + schema: + type: string + minLength: 71 + maxLength: 71 + pattern: "^sha256:[a-f0-9]{64}$" + responses: + '200': + description: Successful response + content: + application/json: + schema: + type: object + properties: + total_count: + description: The number of deployment records for this digest + and organization + type: integer + examples: + - 3 + deployment_records: + type: array + items: *149 + examples: + default: *150 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: artifact-metadata "/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records": get: summary: List artifact storage records @@ -23814,12 +24205,12 @@ paths: required: - subject_digests examples: - default: &667 + default: &669 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &668 + withPredicateType: &670 value: subject_digests: - sha256:abc123 @@ -23878,7 +24269,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &669 + default: &671 value: attestations_subject_digests: - sha256:abc: @@ -24227,7 +24618,7 @@ paths: initiator: type: string examples: - default: &371 + default: &373 value: attestations: - bundle: @@ -24446,7 +24837,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &149 + schema: &151 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -24472,7 +24863,7 @@ paths: application/json: schema: type: array - items: &150 + items: &152 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -24503,7 +24894,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &170 + items: &172 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -24580,7 +24971,7 @@ paths: parent: anyOf: - type: 'null' - - &221 + - &223 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -24716,7 +25107,7 @@ paths: - string - 'null' format: date-time - state: *149 + state: *151 contact_link: description: The contact link of the campaign. type: @@ -24939,9 +25330,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: - default: &151 + default: &153 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25024,9 +25415,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: - default: *151 + default: *153 '404': *6 '422': description: Unprocessable Entity @@ -25104,7 +25495,7 @@ paths: - string - 'null' format: uri - state: *149 + state: *151 examples: default: value: @@ -25114,9 +25505,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: - default: *151 + default: *153 '400': description: Bad Request content: @@ -25183,17 +25574,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *61 - - &396 + - &398 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`, but not both. in: query required: false - schema: &159 + schema: &161 type: string description: The name of the tool used to generate the code scanning analysis. - - &397 + - &399 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 @@ -25201,7 +25592,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &160 + schema: &162 type: - string - 'null' @@ -25217,7 +25608,7 @@ paths: be returned. in: query required: false - schema: &399 + schema: &401 type: string description: State of a code scanning alert. enum: @@ -25240,7 +25631,7 @@ paths: be returned. in: query required: false - schema: &400 + schema: &402 type: string description: Severity of a code scanning alert. enum: @@ -25261,18 +25652,18 @@ paths: items: type: object properties: - number: *152 - created_at: *153 - updated_at: *154 - url: *155 - html_url: *156 - instances_url: &401 + number: *154 + created_at: *155 + updated_at: *156 + url: *157 + html_url: *158 + instances_url: &403 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &161 + state: &163 type: - string - 'null' @@ -25282,13 +25673,13 @@ paths: - dismissed - fixed - - fixed_at: *157 + fixed_at: *159 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *158 - dismissed_reason: &402 + dismissed_at: *160 + dismissed_reason: &404 type: - string - 'null' @@ -25299,14 +25690,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &403 + dismissed_comment: &405 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &404 + rule: &406 type: object properties: id: @@ -25367,26 +25758,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &405 + tool: &407 type: object properties: - name: *159 + name: *161 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *160 - most_recent_instance: &406 + guid: *162 + most_recent_instance: &408 type: object properties: - ref: &398 + ref: &400 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &416 + analysis_key: &418 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25397,13 +25788,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &417 + category: &419 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *161 + state: *163 commit_sha: type: string message: @@ -25909,7 +26300,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *162 + code_scanning_options: *164 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26052,7 +26443,7 @@ paths: application/json: schema: *41 examples: - default: *163 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26080,9 +26471,9 @@ paths: description: Response content: application/json: - schema: *164 + schema: *166 examples: - default: *165 + default: *167 '304': *35 '403': *27 '404': *6 @@ -26134,7 +26525,7 @@ paths: - 32 - 91 responses: - '204': *166 + '204': *168 '400': *14 '403': *27 '404': *6 @@ -26169,7 +26560,7 @@ paths: application/json: schema: *41 examples: - default: *163 + default: *165 '304': *35 '403': *27 '404': *6 @@ -26453,7 +26844,7 @@ paths: - *61 - *43 responses: - '204': *166 + '204': *168 '400': *14 '403': *27 '404': *6 @@ -26591,7 +26982,7 @@ paths: default: value: default_for_new_repos: all - configuration: *163 + configuration: *165 '403': *27 '404': *6 x-github: @@ -26644,13 +27035,13 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *168 + repository: *170 '403': *27 '404': *6 x-github: @@ -26690,7 +27081,7 @@ paths: type: integer codespaces: type: array - items: &211 + items: &213 type: object title: Codespace description: A codespace. @@ -26725,7 +27116,7 @@ paths: machine: anyOf: - type: 'null' - - &429 + - &431 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27012,7 +27403,7 @@ paths: - pulls_url - recent_folders examples: - default: &212 + default: &214 value: total_count: 3 codespaces: @@ -27636,7 +28027,7 @@ paths: type: integer secrets: type: array - items: &169 + items: &171 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27677,7 +28068,7 @@ paths: - updated_at - visibility examples: - default: &430 + default: &432 value: total_count: 2 secrets: @@ -27715,7 +28106,7 @@ paths: description: Response content: application/json: - schema: &431 + schema: &433 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27750,7 +28141,7 @@ paths: - key_id - key examples: - default: &432 + default: &434 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27780,9 +28171,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: - default: &434 + default: &436 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28249,7 +28640,7 @@ paths: currently being billed. seats: type: array - items: &214 + items: &216 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28267,7 +28658,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *170 + - *172 - *53 type: - 'null' @@ -28780,7 +29171,7 @@ paths: application/json: schema: type: array - items: &291 + items: &293 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29095,7 +29486,7 @@ paths: - date additionalProperties: true examples: - default: &292 + default: &294 value: - date: '2024-06-24' total_active_users: 24 @@ -29197,7 +29588,7 @@ paths: '500': *96 '403': *27 '404': *6 - '422': &293 + '422': &295 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29225,11 +29616,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *61 - - *171 - - *172 - *173 - *174 - *175 + - *176 + - *177 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29267,8 +29658,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *176 - - *177 + - *178 + - *179 - *46 - *38 - *39 @@ -29280,9 +29671,9 @@ paths: application/json: schema: type: array - items: *178 + items: *180 examples: - default: *179 + default: *181 '304': *35 '400': *14 '403': *27 @@ -29326,7 +29717,7 @@ paths: type: integer secrets: type: array - items: &180 + items: &182 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29405,7 +29796,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &459 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29424,7 +29815,7 @@ paths: - key_id - key examples: - default: &458 + default: &460 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29454,7 +29845,7 @@ paths: description: Response content: application/json: - schema: *180 + schema: *182 examples: default: value: @@ -29755,7 +30146,7 @@ paths: application/json: schema: type: array - items: &223 + items: &225 title: Package description: A software package type: object @@ -29826,7 +30217,7 @@ paths: - created_at - updated_at examples: - default: &224 + default: &226 value: - id: 197 name: hello_docker @@ -29996,7 +30387,7 @@ paths: application/json: schema: type: array - items: &203 + items: &205 title: Organization Invitation description: Organization Invitation type: object @@ -30050,7 +30441,7 @@ paths: - invitation_teams_url - node_id examples: - default: &204 + default: &206 value: - id: 1 login: monalisa @@ -30117,7 +30508,7 @@ paths: application/json: schema: type: array - items: &181 + items: &183 title: Org Hook description: Org Hook type: object @@ -30302,9 +30693,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: &182 + default: &184 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30352,7 +30743,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *61 - - &183 + - &185 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30365,9 +30756,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 '404': *6 x-github: githubCloudOnly: false @@ -30395,7 +30786,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *61 - - *183 + - *185 requestBody: required: false content: @@ -30441,7 +30832,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: default: value: @@ -30483,7 +30874,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *61 - - *183 + - *185 responses: '204': description: Response @@ -30511,7 +30902,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *61 - - *183 + - *185 responses: '200': description: Response @@ -30542,7 +30933,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *61 - - *183 + - *185 requestBody: required: false content: @@ -30593,9 +30984,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *61 - - *183 + - *185 - *17 - - *184 + - *186 responses: '200': description: Response @@ -30603,9 +30994,9 @@ paths: application/json: schema: type: array - items: *185 + items: *187 examples: - default: *186 + default: *188 '400': *14 '422': *15 x-github: @@ -30631,16 +31022,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *61 - - *183 + - *185 - *16 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 '400': *14 '422': *15 x-github: @@ -30666,7 +31057,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *61 - - *183 + - *185 - *16 responses: '202': *37 @@ -30696,7 +31087,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *61 - - *183 + - *185 responses: '204': description: Response @@ -30719,7 +31110,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *61 - - &193 + - &195 name: actor_type in: path description: The type of the actor @@ -30732,14 +31123,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &194 + - &196 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &189 + - &191 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -30747,7 +31138,7 @@ paths: required: true schema: type: string - - &190 + - &192 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30842,12 +31233,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *61 - - *189 - - *190 + - *191 + - *192 - *19 - *17 - *46 - - &199 + - &201 name: sort description: The property to sort the results by. in: query @@ -30927,14 +31318,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *61 - - *189 - - *190 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: &191 + schema: &193 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30950,7 +31341,7 @@ paths: type: integer format: int64 examples: - default: &192 + default: &194 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30971,23 +31362,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *61 - - &195 + - &197 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *189 - - *190 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 x-github: enabledForGitHubApps: true category: orgs @@ -31006,18 +31397,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *61 - - *189 - - *190 - - *193 - - *194 + - *191 + - *192 + - *195 + - *196 responses: '200': description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 x-github: enabledForGitHubApps: true category: orgs @@ -31035,9 +31426,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *61 - - *189 - - *190 - - &196 + - *191 + - *192 + - &198 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31050,7 +31441,7 @@ paths: description: Response content: application/json: - schema: &197 + schema: &199 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31066,7 +31457,7 @@ paths: type: integer format: int64 examples: - default: &198 + default: &200 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31103,18 +31494,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *61 - - *195 - - *189 - - *190 - - *196 + - *197 + - *191 + - *192 + - *198 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *198 + default: *200 x-github: enabledForGitHubApps: true category: orgs @@ -31132,19 +31523,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *61 - - *193 - - *194 - - *189 - - *190 + - *195 - *196 + - *191 + - *192 + - *198 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *198 + default: *200 x-github: enabledForGitHubApps: true category: orgs @@ -31162,13 +31553,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *61 - - *195 - - *189 - - *190 + - *197 + - *191 + - *192 - *19 - *17 - *46 - - *199 + - *201 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -31252,7 +31643,7 @@ paths: application/json: schema: *20 examples: - default: &496 + default: &498 value: id: 1 account: @@ -31418,12 +31809,12 @@ paths: application/json: schema: anyOf: - - &201 + - &203 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &200 + limit: &202 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31451,7 +31842,7 @@ paths: properties: {} additionalProperties: false examples: - default: &202 + default: &204 value: limit: collaborators_only origin: organization @@ -31480,13 +31871,13 @@ paths: required: true content: application/json: - schema: &497 + schema: &499 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *200 + limit: *202 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31511,9 +31902,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *202 + default: *204 '422': *15 x-github: githubCloudOnly: false @@ -31589,9 +31980,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *52 '404': *6 @@ -31668,7 +32059,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: default: value: @@ -31723,7 +32114,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *61 - - &205 + - &207 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31754,7 +32145,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *61 - - *205 + - *207 - *17 - *19 responses: @@ -31764,9 +32155,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: &222 + default: &224 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31809,7 +32200,7 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: default: value: @@ -31897,9 +32288,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: - default: &207 + default: &209 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31932,7 +32323,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *61 - - &208 + - &210 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31988,9 +32379,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: - default: *207 + default: *209 '404': *6 '422': *7 x-github: @@ -32015,7 +32406,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *61 - - *208 + - *210 responses: '204': description: Response @@ -32078,7 +32469,7 @@ paths: - closed - all default: open - - *209 + - *211 - name: type description: Can be the name of an issue type. in: query @@ -32109,7 +32500,7 @@ paths: type: array items: *78 examples: - default: *210 + default: *212 headers: Link: *52 '404': *6 @@ -32268,9 +32659,9 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 '304': *35 '500': *96 '401': *23 @@ -32297,7 +32688,7 @@ paths: parameters: - *61 - *57 - - &213 + - &215 name: codespace_name in: path required: true @@ -32332,15 +32723,15 @@ paths: parameters: - *61 - *57 - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: &428 + default: &430 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32520,7 +32911,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -32596,7 +32987,7 @@ paths: description: Response content: application/json: - schema: &215 + schema: &217 title: Org Membership description: Org Membership type: object @@ -32665,7 +33056,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &216 + response-if-user-has-an-active-admin-membership-with-organization: &218 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32762,9 +33153,9 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: - response-if-user-already-had-membership-with-organization: *216 + response-if-user-already-had-membership-with-organization: *218 '422': *15 '403': *27 x-github: @@ -32836,7 +33227,7 @@ paths: application/json: schema: type: array - items: &217 + items: &219 title: Migration description: A migration. type: object @@ -33174,7 +33565,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -33353,7 +33744,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *61 - - &218 + - &220 name: migration_id description: The unique identifier of the migration. in: path @@ -33381,7 +33772,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -33551,7 +33942,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *61 - - *218 + - *220 responses: '302': description: Response @@ -33573,7 +33964,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *61 - - *218 + - *220 responses: '204': description: Response @@ -33597,8 +33988,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *61 - - *218 - - &652 + - *220 + - &654 name: repo_name description: repo_name parameter in: path @@ -33626,7 +34017,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *61 - - *218 + - *220 - *17 - *19 responses: @@ -33638,7 +34029,7 @@ paths: type: array items: *136 examples: - default: &229 + default: &231 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33791,7 +34182,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &220 + items: &222 title: Organization Role description: Organization roles type: object @@ -33968,7 +34359,7 @@ paths: parameters: - *61 - *62 - - &219 + - &221 name: role_id description: The unique identifier of the role. in: path @@ -34005,7 +34396,7 @@ paths: parameters: - *61 - *62 - - *219 + - *221 responses: '204': description: Response @@ -34058,7 +34449,7 @@ paths: parameters: - *61 - *57 - - *219 + - *221 responses: '204': description: Response @@ -34090,7 +34481,7 @@ paths: parameters: - *61 - *57 - - *219 + - *221 responses: '204': description: Response @@ -34119,13 +34510,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *61 - - *219 + - *221 responses: '200': description: Response content: application/json: - schema: *220 + schema: *222 examples: default: value: @@ -34176,7 +34567,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *61 - - *219 + - *221 - *17 - *19 responses: @@ -34255,7 +34646,7 @@ paths: parent: anyOf: - type: 'null' - - *221 + - *223 type: description: The ownership type of the team type: string @@ -34288,7 +34679,7 @@ paths: - type - parent examples: - default: *222 + default: *224 headers: Link: *52 '404': @@ -34318,7 +34709,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *61 - - *219 + - *221 - *17 - *19 responses: @@ -34347,7 +34738,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *221 + items: *223 name: type: - string @@ -34657,7 +35048,7 @@ paths: - nuget - container - *61 - - &653 + - &655 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34693,12 +35084,12 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *224 + default: *226 '403': *27 '401': *23 - '400': &655 + '400': &657 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34720,7 +35111,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &225 + - &227 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -34738,7 +35129,7 @@ paths: - docker - nuget - container - - &226 + - &228 name: package_name description: The name of the package. in: path @@ -34751,7 +35142,7 @@ paths: description: Response content: application/json: - schema: *223 + schema: *225 examples: default: value: @@ -34803,8 +35194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *225 - - *226 + - *227 + - *228 - *61 responses: '204': @@ -34837,8 +35228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *225 - - *226 + - *227 + - *228 - *61 - name: token description: package token @@ -34871,8 +35262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *225 - - *226 + - *227 + - *228 - *61 - *19 - *17 @@ -34893,7 +35284,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Package Version description: A version of a software package type: object @@ -35028,10 +35419,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *225 - - *226 + - *227 + - *228 - *61 - - &228 + - &230 name: package_version_id description: Unique identifier of the package version. in: path @@ -35043,7 +35434,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: default: value: @@ -35079,10 +35470,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *225 - - *226 - - *61 + - *227 - *228 + - *61 + - *230 responses: '204': description: Response @@ -35114,10 +35505,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *225 - - *226 - - *61 + - *227 - *228 + - *61 + - *230 responses: '204': description: Response @@ -35147,7 +35538,7 @@ paths: - *61 - *17 - *19 - - &230 + - &232 name: sort description: The property by which to sort the results. in: query @@ -35158,7 +35549,7 @@ paths: - created_at default: created_at - *46 - - &231 + - &233 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35170,7 +35561,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &232 + - &234 name: repository description: The name of the repository to use to filter the results. in: query @@ -35179,7 +35570,7 @@ paths: type: string examples: - Hello-World - - &233 + - &235 name: permission description: The permission to use to filter the results. in: query @@ -35188,7 +35579,7 @@ paths: type: string examples: - issues_read - - &234 + - &236 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35198,7 +35589,7 @@ paths: schema: type: string format: date-time - - &235 + - &237 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35208,7 +35599,7 @@ paths: schema: type: string format: date-time - - &236 + - &238 name: token_id description: The ID of the token in: query @@ -35484,7 +35875,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *166 + '204': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35527,7 +35918,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -35553,14 +35944,14 @@ paths: - *61 - *17 - *19 - - *230 - - *46 - - *231 - *232 + - *46 - *233 - *234 - *235 - *236 + - *237 + - *238 responses: '500': *96 '422': *15 @@ -35801,7 +36192,7 @@ paths: responses: '500': *96 '404': *6 - '204': *166 + '204': *168 '403': *27 '422': *15 x-github: @@ -35844,7 +36235,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -35886,7 +36277,7 @@ paths: type: integer configurations: type: array - items: &237 + items: &239 title: Organization private registry description: Private registry configuration for an organization type: object @@ -36182,7 +36573,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &238 + org-private-registry-with-selected-visibility: &240 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -36280,9 +36671,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '404': *6 x-github: githubCloudOnly: false @@ -36450,7 +36841,7 @@ paths: application/json: schema: type: array - items: &239 + items: &241 title: Projects v2 Project description: A projects v2 project type: object @@ -36524,7 +36915,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &732 + - &734 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -36609,7 +37000,7 @@ paths: - deleted_at - deleted_by examples: - default: &240 + default: &242 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36712,7 +37103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &241 + - &243 name: project_number description: The project's number. in: path @@ -36725,9 +37116,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 headers: Link: *52 '304': *35 @@ -36750,7 +37141,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *61 - - *241 + - *243 requestBody: required: true description: Details of the draft item to create in the project. @@ -36784,7 +37175,7 @@ paths: description: Response content: application/json: - schema: &246 + schema: &248 title: Projects v2 Item description: An item belonging to a project type: object @@ -36798,7 +37189,7 @@ paths: content: oneOf: - *78 - - &441 + - &443 title: Pull Request Simple description: Pull Request Simple type: object @@ -36918,7 +37309,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *244 active_lock_reason: type: - string @@ -36973,7 +37364,7 @@ paths: type: - array - 'null' - items: *170 + items: *172 head: type: object properties: @@ -37017,7 +37408,7 @@ paths: _links: type: object properties: - comments: &243 + comments: &245 title: Link description: Hypermedia Link type: object @@ -37026,13 +37417,13 @@ paths: type: string required: - href - commits: *243 - statuses: *243 - html: *243 - issue: *243 - review_comments: *243 - review_comment: *243 - self: *243 + commits: *245 + statuses: *245 + html: *245 + issue: *245 + review_comments: *245 + review_comment: *245 + self: *245 required: - comments - commits @@ -37043,7 +37434,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: &542 + auto_merge: &544 title: Auto merge description: The status of auto merging a pull request. type: @@ -37145,7 +37536,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &245 + content_type: &247 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -37189,7 +37580,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &247 + draft_issue: &249 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37263,7 +37654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *241 + - *243 - *61 - *17 - *38 @@ -37275,7 +37666,7 @@ paths: application/json: schema: type: array - items: &244 + items: &246 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -37425,7 +37816,7 @@ paths: - updated_at - project_url examples: - default: &672 + default: &674 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37434,17 +37825,29 @@ paths: project_url: https://api.github.com/projects/67890 options: - id: option_1 - name: Low + name: + html: Low + raw: Low color: GREEN - description: Low priority items + description: + html: Low priority items + raw: Low priority items - id: option_2 - name: Medium + name: + html: Medium + raw: Medium color: YELLOW - description: Medium priority items + description: + html: Medium priority items + raw: Medium priority items - id: option_3 - name: High + name: + html: High + raw: High color: RED - description: High priority items + description: + html: High priority items + raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - id: 67891 @@ -37454,17 +37857,29 @@ paths: project_url: https://api.github.com/projects/67890 options: - id: option_4 - name: Todo + name: + html: Todo + raw: Todo color: GRAY - description: Items to be worked on + description: + html: Items to be worked on + raw: Items to be worked on - id: option_5 - name: In Progress + name: + html: In Progress + raw: In Progress color: BLUE - description: Items currently being worked on + description: + html: Items currently being worked on + raw: Items currently being worked on - id: option_6 - name: Done + name: + html: Done + raw: Done color: GREEN - description: Completed items + description: + html: Completed items + raw: Completed items created_at: '2022-04-29T10:30:00Z' updated_at: '2022-04-29T10:30:00Z' - id: 24680 @@ -37498,11 +37913,15 @@ paths: start_day: 1 iterations: - id: iter_1 - title: Sprint 1 + title: + html: Sprint 1 + raw: Sprint 1 start_date: '2022-07-01' duration: 14 - id: iter_2 - title: Sprint 2 + title: + html: Sprint 2 + raw: Sprint 2 start_date: '2022-07-15' duration: 14 created_at: '2022-06-20T16:45:00Z' @@ -37528,8 +37947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *241 - - &673 + - *243 + - &675 name: field_id description: The unique identifier of the field. in: path @@ -37542,9 +37961,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &674 + default: &676 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37588,7 +38007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *241 + - *243 - *61 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -37621,7 +38040,7 @@ paths: application/json: schema: type: array - items: &248 + items: &250 title: Projects v2 Item description: An item belonging to a project type: object @@ -37638,7 +38057,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *245 + content_type: *247 content: type: - object @@ -37688,7 +38107,7 @@ paths: - updated_at - archived_at examples: - default: &249 + default: &251 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -38152,14 +38571,14 @@ paths: name: Title type: title value: - raw_title: It seemed to me that any civilization that had - so far lost its head as to need to include a set of detailed - instructions for use in a packet of toothpicks, was no longer - a civilization in which I could live and stay sane. - html_title: It seemed to me that any civilization that had - so far lost its head as to need to include a set of detailed - instructions for use in a packet of toothpicks, was no longer - a civilization in which I could live and stay sane. + raw: It seemed to me that any civilization that had so far + lost its head as to need to include a set of detailed instructions + for use in a packet of toothpicks, was no longer a civilization + in which I could live and stay sane. + html: It seemed to me that any civilization that had so far + lost its head as to need to include a set of detailed instructions + for use in a packet of toothpicks, was no longer a civilization + in which I could live and stay sane. number: 6 url: https://github.com/5/1/pull/6 issue_id: 12 @@ -38194,11 +38613,13 @@ paths: type: single_select value: id: '98236657' - name: Done - name_html: Done + name: + raw: Done + html: Done color: PURPLE - description: This has been completed - description_html: This has been completed + description: + raw: This has been completed + html: This has been completed - id: 4 name: Labels type: labels @@ -38383,7 +38804,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *61 - - *241 + - *243 requestBody: required: true description: Details of the item to add to the project. @@ -38420,10 +38841,10 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - issue: *247 - pull_request: *247 + issue: *249 + pull_request: *249 '304': *35 '403': *27 '401': *23 @@ -38443,9 +38864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *241 + - *243 - *61 - - &250 + - &252 name: item_id description: The unique identifier of the project item. in: path @@ -38471,9 +38892,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 headers: Link: *52 '304': *35 @@ -38494,9 +38915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *241 + - *243 - *61 - - *250 + - *252 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38569,13 +38990,13 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - text_field: *249 - number_field: *249 - date_field: *249 - single_select_field: *249 - iteration_field: *249 + text_field: *251 + number_field: *251 + date_field: *251 + single_select_field: *251 + iteration_field: *251 '401': *23 '403': *27 '404': *6 @@ -38595,9 +39016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *241 + - *243 - *61 - - *250 + - *252 responses: '204': description: Response @@ -38629,7 +39050,7 @@ paths: application/json: schema: type: array - items: &251 + items: &253 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38705,7 +39126,7 @@ paths: - property_name - value_type examples: - default: &252 + default: &254 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38764,7 +39185,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *251 + items: *253 minItems: 1 maxItems: 100 required: @@ -38794,9 +39215,9 @@ paths: application/json: schema: type: array - items: *251 + items: *253 examples: - default: *252 + default: *254 '403': *27 '404': *6 x-github: @@ -38818,7 +39239,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *61 - - &253 + - &255 name: custom_property_name description: The custom property name in: path @@ -38830,9 +39251,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: &254 + default: &256 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38867,7 +39288,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *61 - - *253 + - *255 requestBody: required: true content: @@ -38945,9 +39366,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *253 examples: - default: *254 + default: *256 '403': *27 '404': *6 x-github: @@ -38971,9 +39392,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *61 - - *253 + - *255 responses: - '204': *166 + '204': *168 '403': *27 '404': *6 x-github: @@ -39296,7 +39717,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -39499,7 +39920,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &317 title: Full Repository description: Full Repository type: object @@ -39964,7 +40385,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &446 + code_of_conduct: &448 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39994,7 +40415,7 @@ paths: - key - name - html_url - security_and_analysis: *255 + security_and_analysis: *257 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40078,7 +40499,7 @@ paths: - network_count - subscribers_count examples: - default: &317 + default: &319 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40599,7 +41020,7 @@ paths: - *61 - *17 - *19 - - &565 + - &567 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40618,7 +41039,7 @@ paths: application/json: schema: type: array - items: &281 + items: &283 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40653,7 +41074,7 @@ paths: source: type: string description: The name of the source - enforcement: &258 + enforcement: &260 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40666,7 +41087,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &259 + items: &261 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40737,7 +41158,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &256 + - &258 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40761,7 +41182,7 @@ paths: match. items: type: string - - &260 + - &262 title: Organization ruleset conditions type: object description: |- @@ -40775,7 +41196,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *256 + - *258 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40809,7 +41230,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *256 + - *258 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40831,7 +41252,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *256 + - *258 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40844,7 +41265,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &257 + items: &259 title: Repository ruleset property targeting definition type: object @@ -40877,7 +41298,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *257 + items: *259 required: - repository_property type: @@ -40885,12 +41306,12 @@ paths: - object rules: type: array - items: &566 + items: &568 title: Repository Rule type: object description: A repository rule. oneOf: - - &261 + - &263 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40902,7 +41323,7 @@ paths: type: string enum: - creation - - &262 + - &264 title: update description: Only allow users with bypass permission to update matching refs. @@ -40923,7 +41344,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &263 + - &265 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40935,7 +41356,7 @@ paths: type: string enum: - deletion - - &264 + - &266 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40947,7 +41368,7 @@ paths: type: string enum: - required_linear_history - - &563 + - &565 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41025,7 +41446,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &265 + - &267 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -41049,7 +41470,7 @@ paths: type: string required: - required_deployment_environments - - &266 + - &268 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -41061,7 +41482,7 @@ paths: type: string enum: - required_signatures - - &267 + - &269 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41117,13 +41538,62 @@ paths: type: boolean description: All conversations on code must be resolved before a pull request can be merged. + required_reviewers: + type: array + description: |- + > [!NOTE] + > `required_reviewers` is in beta and subject to change. + + A collection of reviewers and associated file patterns. Each reviewer has a list of file patterns which determine the files that reviewer is required to review. + items: + title: RequiredReviewerConfiguration + description: A reviewing team, and file patterns + describing which files they must approve changes + to. + type: object + properties: + file_patterns: + type: array + description: Array of file patterns. Pull + requests which change matching files must + be approved by the specified team. File + patterns use fnmatch syntax. + items: + type: string + minimum_approvals: + type: integer + description: Minimum number of approvals required + from the specified team. If set to zero, + the team will be added to the pull request + but approval is optional. + reviewer: + title: Reviewer + description: A required reviewing team + type: object + properties: + id: + type: integer + description: ID of the reviewer which + must review changes to matching files. + type: + type: string + description: The type of the reviewer + enum: + - Team + required: + - id + - type + required: + - file_patterns + - minimum_approvals + - reviewer required: - dismiss_stale_reviews_on_push - require_code_owner_review - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &268 + - &270 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41171,7 +41641,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &269 + - &271 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41183,7 +41653,7 @@ paths: type: string enum: - non_fast_forward - - &270 + - &272 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41219,7 +41689,7 @@ paths: required: - operator - pattern - - &271 + - &273 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41255,7 +41725,7 @@ paths: required: - operator - pattern - - &272 + - &274 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41291,7 +41761,7 @@ paths: required: - operator - pattern - - &273 + - &275 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -41327,7 +41797,7 @@ paths: required: - operator - pattern - - &274 + - &276 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -41363,7 +41833,7 @@ paths: required: - operator - pattern - - &275 + - &277 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -41388,7 +41858,7 @@ paths: type: string required: - restricted_file_paths - - &276 + - &278 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -41412,7 +41882,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &277 + - &279 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -41435,7 +41905,7 @@ paths: type: string required: - restricted_file_extensions - - &278 + - &280 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41460,7 +41930,7 @@ paths: maximum: 100 required: - max_file_size - - &279 + - &281 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41510,7 +41980,7 @@ paths: - repository_id required: - workflows - - &280 + - &282 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41571,7 +42041,7 @@ paths: - tool required: - code_scanning_tools - - &564 + - &566 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41669,22 +42139,20 @@ paths: - push - repository default: branch - enforcement: *258 + enforcement: *260 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *259 - conditions: *260 + items: *261 + conditions: *262 rules: type: array description: An array of rules within the ruleset. - items: &283 + items: &285 title: Repository Rule type: object description: A repository rule. oneOf: - - *261 - - *262 - *263 - *264 - *265 @@ -41703,6 +42171,8 @@ paths: - *278 - *279 - *280 + - *281 + - *282 required: - name - enforcement @@ -41740,9 +42210,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: &282 + default: &284 value: id: 21 name: super cool ruleset @@ -41797,7 +42267,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *61 - - &567 + - &569 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -41812,7 +42282,7 @@ paths: in: query schema: type: string - - &568 + - &570 name: time_period description: |- The time period to filter by. @@ -41828,14 +42298,14 @@ paths: - week - month default: day - - &569 + - &571 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &570 + - &572 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41855,7 +42325,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 title: Rule Suites description: Response type: array @@ -41911,7 +42381,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &572 + default: &574 value: - id: 21 actor_id: 12 @@ -41955,7 +42425,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *61 - - &573 + - &575 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41971,7 +42441,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &576 title: Rule Suite description: Response type: object @@ -42078,7 +42548,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &575 + default: &577 value: id: 21 actor_id: 12 @@ -42151,9 +42621,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: *282 + default: *284 '404': *6 '500': *96 put: @@ -42197,16 +42667,16 @@ paths: - tag - push - repository - enforcement: *258 + enforcement: *260 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *259 - conditions: *260 + items: *261 + conditions: *262 rules: description: An array of rules within the ruleset. type: array - items: *283 + items: *285 examples: default: value: @@ -42241,9 +42711,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: *282 + default: *284 '404': *6 '500': *96 delete: @@ -42300,7 +42770,7 @@ paths: application/json: schema: type: array - items: &284 + items: &286 title: Ruleset version type: object description: The historical version of a ruleset @@ -42324,7 +42794,7 @@ paths: type: string format: date-time examples: - default: &577 + default: &579 value: - version_id: 3 actor: @@ -42377,9 +42847,9 @@ paths: description: Response content: application/json: - schema: &578 + schema: &580 allOf: - - *284 + - *286 - type: object required: - state @@ -42449,7 +42919,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *61 - - &579 + - &581 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -42460,7 +42930,7 @@ paths: enum: - open - resolved - - &580 + - &582 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -42470,7 +42940,7 @@ paths: required: false schema: type: string - - &581 + - &583 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -42479,7 +42949,7 @@ paths: required: false schema: type: string - - &582 + - &584 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. @@ -42494,7 +42964,7 @@ paths: - *46 - *19 - *17 - - &583 + - &585 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 @@ -42504,7 +42974,7 @@ paths: required: false schema: type: string - - &584 + - &586 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 @@ -42514,7 +42984,7 @@ paths: required: false schema: type: string - - &585 + - &587 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -42523,7 +42993,7 @@ paths: required: false schema: type: string - - &586 + - &588 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -42532,7 +43002,7 @@ paths: schema: type: boolean default: false - - &587 + - &589 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -42541,7 +43011,7 @@ paths: schema: type: boolean default: false - - &588 + - &590 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -42560,27 +43030,27 @@ paths: items: type: object properties: - number: *152 - created_at: *153 + number: *154 + created_at: *155 updated_at: anyOf: - type: 'null' - - *154 - url: *155 - html_url: *156 + - *156 + url: *157 + html_url: *158 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &589 + state: &591 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: &590 + resolution: &592 type: - string - 'null' @@ -42687,14 +43157,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &591 + - &593 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &593 + - &595 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -42751,7 +43221,7 @@ paths: - blob_url - commit_sha - commit_url - - &594 + - &596 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. @@ -42812,7 +43282,7 @@ paths: - page_url - commit_sha - commit_url - - &595 + - &597 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -42827,7 +43297,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &596 + - &598 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -42842,7 +43312,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &597 + - &599 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -42857,7 +43327,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &598 + - &600 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -42872,7 +43342,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &599 + - &601 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -42887,7 +43357,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &600 + - &602 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -42902,7 +43372,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &601 + - &603 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. @@ -42917,7 +43387,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &602 + - &604 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. @@ -42932,7 +43402,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &603 + - &605 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. @@ -42947,7 +43417,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &604 + - &606 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. @@ -42962,7 +43432,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &605 + - &607 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 @@ -43202,7 +43672,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &286 + pattern_config_version: &288 type: - string - 'null' @@ -43212,7 +43682,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &285 + items: &287 type: object properties: token_type: @@ -43281,7 +43751,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *285 + items: *287 examples: default: value: @@ -43338,7 +43808,7 @@ paths: schema: type: object properties: - pattern_config_version: *286 + pattern_config_version: *288 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43364,7 +43834,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *286 + custom_pattern_version: *288 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43462,7 +43932,7 @@ paths: application/json: schema: type: array - items: &609 + items: &611 description: A repository security advisory. type: object properties: @@ -43706,7 +44176,7 @@ paths: login: type: string description: The username of the user credited. - type: *287 + type: *289 credits_detailed: type: - array @@ -43717,7 +44187,7 @@ paths: type: object properties: user: *4 - type: *287 + type: *289 state: type: string description: The state of the user's acceptance of the @@ -43743,7 +44213,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *170 + items: *172 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43781,7 +44251,7 @@ paths: - private_fork additionalProperties: false examples: - default: &610 + default: &612 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44168,9 +44638,9 @@ paths: application/json: schema: type: array - items: *221 + items: *223 examples: - default: *222 + default: *224 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44255,7 +44725,7 @@ paths: description: Response content: application/json: - schema: &675 + schema: &677 type: object properties: total_minutes_used: @@ -44325,7 +44795,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &676 + default: &678 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44361,7 +44831,7 @@ paths: description: Response content: application/json: - schema: &677 + schema: &679 type: object properties: total_gigabytes_bandwidth_used: @@ -44379,7 +44849,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &678 + default: &680 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44411,7 +44881,7 @@ paths: description: Response content: application/json: - schema: &680 + schema: &682 type: object properties: days_left_in_billing_cycle: @@ -44429,7 +44899,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &681 + default: &683 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44714,7 +45184,7 @@ paths: type: integer network_configurations: type: array - items: &288 + items: &290 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44839,9 +45309,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: &289 + default: &291 value: id: 123456789ABCDEF name: My network configuration @@ -44870,7 +45340,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - &290 + - &292 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44882,9 +45352,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 headers: Link: *52 x-github: @@ -44906,7 +45376,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *61 - - *290 + - *292 requestBody: required: true content: @@ -44945,9 +45415,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44967,7 +45437,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *61 - - *290 + - *292 responses: '204': description: Response @@ -45112,13 +45582,13 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: - default: *292 + default: *294 '500': *96 '403': *27 '404': *6 - '422': *293 + '422': *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45146,9 +45616,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 headers: Link: *52 '403': *27 @@ -45242,7 +45712,7 @@ paths: description: Response content: application/json: - schema: &294 + schema: &296 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45316,7 +45786,7 @@ paths: parent: anyOf: - type: 'null' - - *221 + - *223 members_count: type: integer examples: @@ -45641,7 +46111,7 @@ paths: - repos_count - organization examples: - default: &295 + default: &297 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45718,9 +46188,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 x-github: githubCloudOnly: false @@ -45805,16 +46275,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '201': description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 '422': *15 '403': *27 @@ -45884,7 +46354,7 @@ paths: application/json: schema: type: array - items: &296 + items: &298 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45995,7 +46465,7 @@ paths: - updated_at - url examples: - default: &627 + default: &629 value: - author: login: octocat @@ -46104,9 +46574,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: &297 + default: &299 value: author: login: octocat @@ -46180,7 +46650,7 @@ paths: parameters: - *61 - *62 - - &298 + - &300 name: discussion_number description: The number that identifies the discussion. in: path @@ -46192,9 +46662,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46218,7 +46688,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 requestBody: required: false content: @@ -46241,9 +46711,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: &628 + default: &630 value: author: login: octocat @@ -46315,7 +46785,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 responses: '204': description: Response @@ -46343,7 +46813,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 - *46 - *17 - *19 @@ -46354,7 +46824,7 @@ paths: application/json: schema: type: array - items: &299 + items: &301 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46434,7 +46904,7 @@ paths: - updated_at - url examples: - default: &629 + default: &631 value: - author: login: octocat @@ -46504,7 +46974,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 requestBody: required: true content: @@ -46526,9 +46996,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: &300 + default: &302 value: author: login: octocat @@ -46596,8 +47066,8 @@ paths: parameters: - *61 - *62 - - *298 - - &301 + - *300 + - &303 name: comment_number description: The number that identifies the comment. in: path @@ -46609,9 +47079,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46635,8 +47105,8 @@ paths: parameters: - *61 - *62 - - *298 - - *301 + - *300 + - *303 requestBody: required: true content: @@ -46658,9 +47128,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: &630 + default: &632 value: author: login: octocat @@ -46726,8 +47196,8 @@ paths: parameters: - *61 - *62 - - *298 - - *301 + - *300 + - *303 responses: '204': description: Response @@ -46755,8 +47225,8 @@ paths: parameters: - *61 - *62 - - *298 - - *301 + - *300 + - *303 - 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 team discussion comment. @@ -46782,7 +47252,7 @@ paths: application/json: schema: type: array - items: &302 + items: &304 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46826,7 +47296,7 @@ paths: - content - created_at examples: - default: &304 + default: &306 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46878,8 +47348,8 @@ paths: parameters: - *61 - *62 - - *298 - - *301 + - *300 + - *303 requestBody: required: true content: @@ -46912,9 +47382,9 @@ paths: team discussion comment content: application/json: - schema: *302 + schema: *304 examples: - default: &303 + default: &305 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46943,9 +47413,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46970,9 +47440,9 @@ paths: parameters: - *61 - *62 - - *298 - - *301 - - &305 + - *300 + - *303 + - &307 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47006,7 +47476,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 - 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 team discussion. @@ -47032,9 +47502,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 x-github: @@ -47062,7 +47532,7 @@ paths: parameters: - *61 - *62 - - *298 + - *300 requestBody: required: true content: @@ -47094,16 +47564,16 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47128,8 +47598,8 @@ paths: parameters: - *61 - *62 - - *298 - - *305 + - *300 + - *307 responses: '204': description: Response @@ -47164,9 +47634,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *52 x-github: @@ -47250,7 +47720,7 @@ paths: description: Response content: application/json: - schema: &306 + schema: &308 title: Team Membership description: Team Membership type: object @@ -47278,7 +47748,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &631 + response-if-user-is-a-team-maintainer: &633 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47341,9 +47811,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: &632 + response-if-users-membership-with-team-is-now-pending: &634 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47416,7 +47886,7 @@ paths: application/json: schema: type: array - items: &307 + items: &309 title: Team Project description: A team's access to a project. type: object @@ -47485,7 +47955,7 @@ paths: - updated_at - permissions examples: - default: &633 + default: &635 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47550,7 +48020,7 @@ paths: parameters: - *61 - *62 - - &308 + - &310 name: project_id description: The unique identifier of the project. in: path @@ -47562,9 +48032,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: &634 + default: &636 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47628,7 +48098,7 @@ paths: parameters: - *61 - *62 - - *308 + - *310 requestBody: required: false content: @@ -47697,7 +48167,7 @@ paths: parameters: - *61 - *62 - - *308 + - *310 responses: '204': description: Response @@ -47737,7 +48207,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -47768,14 +48238,14 @@ paths: parameters: - *61 - *62 - - *309 - - *310 + - *311 + - *312 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &635 + schema: &637 title: Team Repository description: A team's access to a repository. type: object @@ -48418,8 +48888,8 @@ paths: parameters: - *61 - *62 - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -48466,8 +48936,8 @@ paths: parameters: - *61 - *62 - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -48502,9 +48972,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - response-if-child-teams-exist: &636 + response-if-child-teams-exist: &638 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48631,7 +49101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &311 + - &313 name: column_id description: The unique identifier of the column. in: path @@ -48643,7 +49113,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &314 title: Project Column description: Project columns contain cards of work. type: object @@ -48697,7 +49167,7 @@ paths: - created_at - updated_at examples: - default: &313 + default: &315 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48732,7 +49202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *311 + - *313 requestBody: required: true content: @@ -48757,9 +49227,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '304': *35 '403': *27 '401': *23 @@ -48784,7 +49254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *311 + - *313 responses: '204': description: Response @@ -48813,7 +49283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *311 + - *313 requestBody: required: true content: @@ -48874,7 +49344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *308 + - *310 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -48931,7 +49401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *308 + - *310 - *57 requestBody: required: false @@ -48986,7 +49456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *308 + - *310 - *57 responses: '204': @@ -49018,7 +49488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *308 + - *310 - *57 responses: '200': @@ -49116,7 +49586,7 @@ paths: resources: type: object properties: - core: &314 + core: &316 title: Rate Limit type: object properties: @@ -49133,21 +49603,21 @@ paths: - remaining - reset - used - graphql: *314 - search: *314 - code_search: *314 - source_import: *314 - integration_manifest: *314 - code_scanning_upload: *314 - actions_runner_registration: *314 - scim: *314 - dependency_snapshots: *314 - dependency_sbom: *314 - code_scanning_autofix: *314 + graphql: *316 + search: *316 + code_search: *316 + source_import: *316 + integration_manifest: *316 + code_scanning_upload: *316 + actions_runner_registration: *316 + scim: *316 + dependency_snapshots: *316 + dependency_sbom: *316 + code_scanning_autofix: *316 required: - core - search - rate: *314 + rate: *316 required: - rate - resources @@ -49252,14 +49722,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *315 + schema: *317 examples: default-response: summary: Default response @@ -49760,7 +50230,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *316 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49778,8 +50248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -50027,10 +50497,10 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 - '307': &318 + default: *319 + '307': &320 description: Temporary Redirect content: application/json: @@ -50059,8 +50529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -50082,7 +50552,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *318 + '307': *320 '404': *6 '409': *45 x-github: @@ -50106,11 +50576,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 - - &349 + - &351 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50133,7 +50603,7 @@ paths: type: integer artifacts: type: array - items: &319 + items: &321 title: Artifact description: An artifact type: object @@ -50228,7 +50698,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &352 value: total_count: 2 artifacts: @@ -50289,9 +50759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *309 - - *310 - - &320 + - *311 + - *312 + - &322 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50303,7 +50773,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: default: value: @@ -50341,9 +50811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *309 - - *310 - - *320 + - *311 + - *312 + - *322 responses: '204': description: Response @@ -50367,9 +50837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *309 - - *310 - - *320 + - *311 + - *312 + - *322 - name: archive_format in: path required: true @@ -50383,7 +50853,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': &500 + '410': &502 description: Gone content: application/json: @@ -50410,14 +50880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *321 + schema: *323 examples: default: value: @@ -50443,11 +50913,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 - - &322 + - &324 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 @@ -50481,7 +50951,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -50531,7 +51001,7 @@ paths: - total_count - actions_caches examples: - default: &324 + default: &326 value: total_count: 1 actions_caches: @@ -50563,23 +51033,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: - - *309 - - *310 + - *311 + - *312 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *322 + - *324 responses: '200': description: Response content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50599,8 +51069,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: - - *309 - - *310 + - *311 + - *312 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50631,9 +51101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *309 - - *310 - - &325 + - *311 + - *312 + - &327 name: job_id description: The unique identifier of the job. in: path @@ -50645,7 +51115,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &355 title: Job description: Information of a job execution in a workflow run type: object @@ -50992,9 +51462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *309 - - *310 - - *325 + - *311 + - *312 + - *327 responses: '302': description: Response @@ -51022,9 +51492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *309 - - *310 - - *325 + - *311 + - *312 + - *327 requestBody: required: false content: @@ -51070,8 +51540,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Status response @@ -51121,8 +51591,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -51185,8 +51655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -51204,7 +51674,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51225,7 +51695,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &358 value: total_count: 2 secrets: @@ -51258,9 +51728,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *309 - - *310 - - *326 + - *311 + - *312 + - *328 - *19 responses: '200': @@ -51277,7 +51747,7 @@ paths: type: integer variables: type: array - items: &359 + items: &361 title: Actions Variable type: object properties: @@ -51311,7 +51781,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &362 value: total_count: 2 variables: @@ -51344,8 +51814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -51354,11 +51824,11 @@ paths: schema: type: object properties: - enabled: &328 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *121 - selected_actions_url: *327 + selected_actions_url: *329 sha_pinning_required: *122 required: - enabled @@ -51387,8 +51857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -51399,7 +51869,7 @@ paths: schema: type: object properties: - enabled: *328 + enabled: *330 allowed_actions: *121 sha_pinning_required: *122 required: @@ -51431,14 +51901,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &329 + schema: &331 type: object properties: access_level: @@ -51455,7 +51925,7 @@ paths: required: - access_level examples: - default: &330 + default: &332 value: access_level: organization x-github: @@ -51479,15 +51949,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *329 + schema: *331 examples: - default: *330 + default: *332 responses: '204': description: Response @@ -51511,14 +51981,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *331 + schema: *333 examples: default: value: @@ -51542,8 +52012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Empty response for successful settings update @@ -51553,7 +52023,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *334 examples: default: summary: Set retention days @@ -51577,8 +52047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -51586,7 +52056,7 @@ paths: application/json: schema: *123 examples: - default: *333 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -51605,8 +52075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -51640,14 +52110,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: default: *124 '403': *27 @@ -51669,13 +52139,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *335 + schema: *337 examples: default: *124 responses: @@ -51701,8 +52171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -51729,8 +52199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -51762,14 +52232,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *336 + schema: *338 examples: default: *131 x-github: @@ -51792,8 +52262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Success response @@ -51804,7 +52274,7 @@ paths: required: true content: application/json: - schema: *337 + schema: *339 examples: default: *131 x-github: @@ -51833,8 +52303,8 @@ paths: in: query schema: type: string - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -51878,8 +52348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -51887,9 +52357,9 @@ paths: application/json: schema: type: array - items: *338 + items: *340 examples: - default: *339 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51911,8 +52381,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -51955,7 +52425,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *340 + '201': *342 '404': *6 '422': *7 '409': *45 @@ -51986,8 +52456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '201': description: Response @@ -51995,7 +52465,7 @@ paths: application/json: schema: *140 examples: - default: *341 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52023,8 +52493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '201': description: Response @@ -52032,7 +52502,7 @@ paths: application/json: schema: *140 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52054,8 +52524,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: - - *309 - - *310 + - *311 + - *312 - *137 responses: '200': @@ -52064,7 +52534,7 @@ paths: application/json: schema: *138 examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52085,8 +52555,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: - - *309 - - *310 + - *311 + - *312 - *137 responses: '204': @@ -52113,8 +52583,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: - - *309 - - *310 + - *311 + - *312 - *137 responses: '200': *142 @@ -52139,8 +52609,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: - - *309 - - *310 + - *311 + - *312 - *137 requestBody: required: true @@ -52189,8 +52659,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: - - *309 - - *310 + - *311 + - *312 - *137 requestBody: required: true @@ -52240,11 +52710,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: - - *309 - - *310 + - *311 + - *312 - *137 responses: - '200': *344 + '200': *346 '404': *6 x-github: githubCloudOnly: false @@ -52271,10 +52741,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: - - *309 - - *310 + - *311 + - *312 - *137 - - *345 + - *347 responses: '200': *142 '404': *6 @@ -52302,9 +52772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *309 - - *310 - - &363 + - *311 + - *312 + - &365 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. @@ -52312,7 +52782,7 @@ paths: required: false schema: type: string - - &364 + - &366 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52320,7 +52790,7 @@ paths: required: false schema: type: string - - &365 + - &367 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52329,7 +52799,7 @@ paths: required: false schema: type: string - - &366 + - &368 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 @@ -52356,7 +52826,7 @@ paths: - pending - *17 - *19 - - &367 + - &369 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)." @@ -52365,7 +52835,7 @@ paths: schema: type: string format: date-time - - &346 + - &348 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52374,13 +52844,13 @@ paths: schema: type: boolean default: false - - &368 + - &370 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &369 + - &371 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52403,7 +52873,7 @@ paths: type: integer workflow_runs: type: array - items: &347 + items: &349 title: Workflow Run description: An invocation of a workflow type: object @@ -52520,7 +52990,7 @@ paths: type: - array - 'null' - items: &388 + items: &390 title: Pull Request Minimal type: object properties: @@ -52647,7 +53117,7 @@ paths: head_commit: anyOf: - type: 'null' - - &392 + - &394 title: Simple Commit description: A commit. type: object @@ -52762,7 +53232,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &372 value: total_count: 1 workflow_runs: @@ -52998,24 +53468,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *309 - - *310 - - &348 + - *311 + - *312 + - &350 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: &351 + default: &353 value: id: 30433642 name: Build @@ -53256,9 +53726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '204': description: Response @@ -53281,9 +53751,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '200': description: Response @@ -53411,9 +53881,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: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '201': description: Response @@ -53446,12 +53916,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 - *17 - *19 - - *349 + - *351 responses: '200': description: Response @@ -53467,9 +53937,9 @@ paths: type: integer artifacts: type: array - items: *319 + items: *321 examples: - default: *350 + default: *352 headers: Link: *52 x-github: @@ -53493,25 +53963,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *309 - - *310 - - *348 - - &352 + - *311 + - *312 + - *350 + - &354 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *346 + - *348 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *351 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53534,10 +54004,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *309 - - *310 - - *348 - - *352 + - *311 + - *312 + - *350 + - *354 - *17 - *19 responses: @@ -53555,9 +54025,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: &354 + default: &356 value: total_count: 1 jobs: @@ -53670,10 +54140,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *309 - - *310 - - *348 - - *352 + - *311 + - *312 + - *350 + - *354 responses: '302': description: Response @@ -53701,9 +54171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '202': description: Response @@ -53736,9 +54206,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: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 requestBody: required: true content: @@ -53805,9 +54275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '202': description: Response @@ -53840,9 +54310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 - 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 @@ -53872,9 +54342,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *355 examples: - default: *354 + default: *356 headers: Link: *52 x-github: @@ -53899,9 +54369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '302': description: Response @@ -53928,9 +54398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '204': description: Response @@ -53957,9 +54427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '200': description: Response @@ -54028,7 +54498,7 @@ paths: items: type: object properties: - type: &466 + type: &468 type: string description: The type of reviewer. enum: @@ -54039,7 +54509,7 @@ paths: reviewer: anyOf: - *4 - - *170 + - *172 required: - environment - wait_timer @@ -54114,9 +54584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 requestBody: required: true content: @@ -54166,7 +54636,7 @@ paths: application/json: schema: type: array - items: &461 + items: &463 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54278,7 +54748,7 @@ paths: - created_at - updated_at examples: - default: &462 + default: &464 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54334,9 +54804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 requestBody: required: false content: @@ -54381,9 +54851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 requestBody: required: false content: @@ -54437,9 +54907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *309 - - *310 - - *348 + - *311 + - *312 + - *350 responses: '200': description: Response @@ -54576,8 +55046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -54595,9 +55065,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *52 x-github: @@ -54622,16 +55092,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54653,17 +55123,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: &479 + default: &481 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54689,8 +55159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 requestBody: required: true @@ -54748,8 +55218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '204': @@ -54775,9 +55245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *309 - - *310 - - *326 + - *311 + - *312 + - *328 - *19 responses: '200': @@ -54794,9 +55264,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *52 x-github: @@ -54819,8 +55289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -54872,17 +55342,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: &480 + default: &482 value: name: USERNAME value: octocat @@ -54908,8 +55378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 requestBody: required: true @@ -54952,8 +55422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 responses: '204': @@ -54979,8 +55449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -54998,7 +55468,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55116,9 +55586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *309 - - *310 - - &362 + - *311 + - *312 + - &364 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55133,7 +55603,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: default: value: @@ -55166,9 +55636,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *309 - - *310 - - *362 + - *311 + - *312 + - *364 responses: '204': description: Response @@ -55193,9 +55663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *309 - - *310 - - *362 + - *311 + - *312 + - *364 responses: '204': description: Response @@ -55246,9 +55716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *309 - - *310 - - *362 + - *311 + - *312 + - *364 responses: '204': description: Response @@ -55275,19 +55745,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *309 - - *310 - - *362 - - *363 + - *311 + - *312 - *364 - *365 - *366 - - *17 - - *19 - *367 - - *346 - *368 + - *17 + - *19 - *369 + - *348 + - *370 + - *371 responses: '200': description: Response @@ -55303,9 +55773,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *349 examples: - default: *370 + default: *372 headers: Link: *52 x-github: @@ -55337,9 +55807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *309 - - *310 - - *362 + - *311 + - *312 + - *364 responses: '200': description: Response @@ -55400,8 +55870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *309 - - *310 + - *311 + - *312 - *46 - *17 - *38 @@ -55569,8 +56039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -55607,8 +56077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *309 - - *310 + - *311 + - *312 - name: assignee in: path required: true @@ -55644,8 +56114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -55757,8 +56227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *38 - *39 @@ -55815,7 +56285,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55835,8 +56305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -55844,7 +56314,7 @@ paths: application/json: schema: type: array - items: &372 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -55903,8 +56373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -55943,9 +56413,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *374 examples: - default: &373 + default: &375 value: id: 1 key_prefix: TICKET- @@ -55976,9 +56446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *309 - - *310 - - &374 + - *311 + - *312 + - &376 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55990,9 +56460,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *374 examples: - default: *373 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56012,9 +56482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *309 - - *310 - - *374 + - *311 + - *312 + - *376 responses: '204': description: Response @@ -56038,8 +56508,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response if Dependabot is enabled @@ -56089,8 +56559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -56111,8 +56581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -56132,8 +56602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *309 - - *310 + - *311 + - *312 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56171,7 +56641,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -56214,7 +56684,7 @@ paths: required: - contexts - checks - enforce_admins: &379 + enforce_admins: &381 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56231,7 +56701,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &381 + required_pull_request_reviews: &383 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56253,7 +56723,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *170 + items: *172 apps: description: The list of apps with review dismissal access. @@ -56285,7 +56755,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *170 + items: *172 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56315,7 +56785,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &378 + restrictions: &380 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56378,7 +56848,7 @@ paths: type: string teams: type: array - items: *170 + items: *172 apps: type: array items: @@ -56608,9 +57078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *309 - - *310 - - &377 + - *311 + - *312 + - &379 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). @@ -56624,14 +57094,14 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &437 + commit: &439 title: Commit description: Commit type: object @@ -56670,7 +57140,7 @@ paths: author: anyOf: - type: 'null' - - &375 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -56691,7 +57161,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 message: type: string examples: @@ -56715,7 +57185,7 @@ paths: required: - sha - url - verification: &486 + verification: &488 title: Verification type: object properties: @@ -56795,7 +57265,7 @@ paths: type: integer files: type: array - items: &448 + items: &450 title: Diff Entry description: Diff Entry type: object @@ -56891,7 +57361,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *378 protection_url: type: string format: uri @@ -57000,7 +57470,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *316 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -57022,15 +57492,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *376 + schema: *378 examples: default: value: @@ -57224,9 +57694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -57486,7 +57956,7 @@ paths: url: type: string format: uri - required_status_checks: &384 + required_status_checks: &386 title: Status Check Policy description: Status Check Policy type: object @@ -57567,7 +58037,7 @@ paths: items: *4 teams: type: array - items: *170 + items: *172 apps: type: array items: *5 @@ -57585,7 +58055,7 @@ paths: items: *4 teams: type: array - items: *170 + items: *172 apps: type: array items: *5 @@ -57645,7 +58115,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -57757,9 +58227,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -57784,17 +58254,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &380 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57816,17 +58286,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *380 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57845,9 +58315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -57872,17 +58342,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: &382 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57978,9 +58448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -58078,9 +58548,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: - default: *382 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58101,9 +58571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -58130,17 +58600,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &383 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58163,17 +58633,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *383 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -58193,9 +58663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -58220,17 +58690,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: &385 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58256,9 +58726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -58310,9 +58780,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *386 examples: - default: *385 + default: *387 '404': *6 '422': *15 x-github: @@ -58334,9 +58804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -58360,9 +58830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response @@ -58396,9 +58866,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -58465,9 +58935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -58531,9 +59001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: content: application/json: @@ -58599,15 +59069,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: default: value: @@ -58698,9 +59168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '204': description: Response @@ -58723,9 +59193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response @@ -58735,7 +59205,7 @@ paths: type: array items: *5 examples: - default: &386 + default: &388 value: - id: 1 slug: octoapp @@ -58792,9 +59262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -58828,7 +59298,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -58849,9 +59319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -58885,7 +59355,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -58906,9 +59376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -58942,7 +59412,7 @@ paths: type: array items: *5 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -58964,9 +59434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response @@ -58974,9 +59444,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 '404': *6 x-github: githubCloudOnly: false @@ -58996,9 +59466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -59034,9 +59504,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -59057,9 +59527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: false content: @@ -59095,9 +59565,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -59118,9 +59588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: content: application/json: @@ -59155,9 +59625,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 '422': *15 x-github: githubCloudOnly: false @@ -59179,9 +59649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 responses: '200': description: Response @@ -59215,9 +59685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -59275,9 +59745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -59335,9 +59805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -59397,9 +59867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 requestBody: required: true content: @@ -59421,7 +59891,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *389 examples: default: value: @@ -59537,8 +60007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -59817,7 +60287,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &391 title: CheckRun description: A check performed on the code of a given code change type: object @@ -59952,8 +60422,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *388 - deployment: &693 + items: *390 + deployment: &695 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60240,9 +60710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *309 - - *310 - - &390 + - *311 + - *312 + - &392 name: check_run_id description: The unique identifier of the check run. in: path @@ -60254,9 +60724,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: &391 + default: &393 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60356,9 +60826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *309 - - *310 - - *390 + - *311 + - *312 + - *392 requestBody: required: true content: @@ -60598,9 +61068,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *391 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60620,9 +61090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *309 - - *310 - - *390 + - *311 + - *312 + - *392 - *17 - *19 responses: @@ -60732,9 +61202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *309 - - *310 - - *390 + - *311 + - *312 + - *392 responses: '201': description: Response @@ -60778,8 +61248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -60801,7 +61271,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &393 + schema: &395 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60883,7 +61353,7 @@ paths: type: - array - 'null' - items: *388 + items: *390 app: anyOf: - type: 'null' @@ -60899,7 +61369,7 @@ paths: - string - 'null' format: date-time - head_commit: *392 + head_commit: *394 latest_check_runs_count: type: integer check_runs_url: @@ -60927,7 +61397,7 @@ paths: - check_runs_url - pull_requests examples: - default: &394 + default: &396 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61218,9 +61688,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *393 + schema: *395 examples: - default: *394 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61239,8 +61709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -61549,9 +62019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *309 - - *310 - - &395 + - *311 + - *312 + - &397 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61563,9 +62033,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *394 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61588,17 +62058,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *309 - - *310 - - *395 - - &443 + - *311 + - *312 + - *397 + - &445 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &444 + - &446 name: status description: Returns check runs with the specified `status`. in: query @@ -61637,9 +62107,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *391 examples: - default: &445 + default: &447 value: total_count: 1 check_runs: @@ -61741,9 +62211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *309 - - *310 - - *395 + - *311 + - *312 + - *397 responses: '201': description: Response @@ -61776,21 +62246,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *309 - - *310 - - *396 - - *397 + - *311 + - *312 + - *398 + - *399 - *19 - *17 - - &414 + - &416 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: *398 - - &415 + schema: *400 + - &417 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61815,13 +62285,13 @@ paths: be returned. in: query required: false - schema: *399 + schema: *401 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *400 + schema: *402 responses: '200': description: Response @@ -61832,24 +62302,24 @@ paths: items: type: object properties: - number: *152 - created_at: *153 - updated_at: *154 - url: *155 - html_url: *156 - instances_url: *401 - state: *161 - fixed_at: *157 + number: *154 + created_at: *155 + updated_at: *156 + url: *157 + html_url: *158 + instances_url: *403 + state: *163 + fixed_at: *159 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *158 - dismissed_reason: *402 - dismissed_comment: *403 - rule: *404 - tool: *405 - most_recent_instance: *406 + dismissed_at: *160 + dismissed_reason: *404 + dismissed_comment: *405 + rule: *406 + tool: *407 + most_recent_instance: *408 dismissal_approved_by: anyOf: - type: 'null' @@ -61972,7 +62442,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &407 + '403': &409 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -61999,9 +62469,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *309 - - *310 - - &408 + - *311 + - *312 + - &410 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62009,30 +62479,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *152 + schema: *154 responses: '200': description: Response content: application/json: - schema: &409 + schema: &411 type: object properties: - number: *152 - created_at: *153 - updated_at: *154 - url: *155 - html_url: *156 - instances_url: *401 - state: *161 - fixed_at: *157 + number: *154 + created_at: *155 + updated_at: *156 + url: *157 + html_url: *158 + instances_url: *403 + state: *163 + fixed_at: *159 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *158 - dismissed_reason: *402 - dismissed_comment: *403 + dismissed_at: *160 + dismissed_reason: *404 + dismissed_comment: *405 rule: type: object properties: @@ -62094,8 +62564,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *405 - most_recent_instance: *406 + tool: *407 + most_recent_instance: *408 dismissal_approved_by: anyOf: - type: 'null' @@ -62191,7 +62661,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -62211,9 +62681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 requestBody: required: true content: @@ -62228,8 +62698,8 @@ paths: enum: - open - dismissed - dismissed_reason: *402 - dismissed_comment: *403 + dismissed_reason: *404 + dismissed_comment: *405 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62248,7 +62718,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: default: value: @@ -62324,7 +62794,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &413 + '403': &415 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62351,15 +62821,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: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 responses: '200': description: Response content: application/json: - schema: &410 + schema: &412 type: object properties: status: @@ -62386,13 +62856,13 @@ paths: - description - started_at examples: - default: &411 + default: &413 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &412 + '400': &414 description: Bad Request content: application/json: @@ -62403,7 +62873,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': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -62428,29 +62898,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: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 responses: '200': description: OK content: application/json: - schema: *410 + schema: *412 examples: - default: *411 + default: *413 '202': description: Accepted content: application/json: - schema: *410 + schema: *412 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *412 + '400': *414 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62482,9 +62952,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: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 requestBody: required: false content: @@ -62530,8 +63000,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *412 - '403': *413 + '400': *414 + '403': *415 '404': *6 '422': description: Unprocessable Entity @@ -62555,13 +63025,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 - *19 - *17 - - *414 - - *415 + - *416 + - *417 responses: '200': description: Response @@ -62569,7 +63039,7 @@ paths: application/json: schema: type: array - items: *406 + items: *408 examples: default: value: @@ -62608,7 +63078,7 @@ paths: end_column: 50 classifications: - source - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -62642,25 +63112,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *309 - - *310 - - *396 - - *397 + - *311 + - *312 + - *398 + - *399 - *19 - *17 - - *415 + - *417 - 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: *398 + schema: *400 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &418 + schema: &420 type: string description: An identifier for the upload. examples: @@ -62682,23 +63152,23 @@ paths: application/json: schema: type: array - items: &419 + items: &421 type: object properties: - ref: *398 - commit_sha: &427 + ref: *400 + commit_sha: &429 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: *416 + analysis_key: *418 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *417 + category: *419 error: type: string examples: @@ -62723,8 +63193,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *418 - tool: *405 + sarif_id: *420 + tool: *407 deletable: type: boolean warning: @@ -62786,7 +63256,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -62822,8 +63292,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: - - *309 - - *310 + - *311 + - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62836,7 +63306,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *421 examples: response: summary: application/json response @@ -62890,7 +63360,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *407 + '403': *409 '404': *6 '422': description: Response if analysis could not be processed @@ -62977,8 +63447,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: - - *309 - - *310 + - *311 + - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63034,7 +63504,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': *413 + '403': *415 '404': *6 '503': *97 x-github: @@ -63056,8 +63526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -63065,7 +63535,7 @@ paths: application/json: schema: type: array - items: &420 + items: &422 title: CodeQL Database description: A CodeQL database. type: object @@ -63177,7 +63647,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': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -63206,8 +63676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - name: language in: path description: The language of the CodeQL database. @@ -63219,7 +63689,7 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: default: value: @@ -63251,9 +63721,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': &450 + '302': &452 description: Found - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -63275,8 +63745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *309 - - *310 + - *311 + - *312 - name: language in: path description: The language of the CodeQL database. @@ -63286,7 +63756,7 @@ paths: responses: '204': description: Response - '403': *413 + '403': *415 '404': *6 '503': *97 x-github: @@ -63314,8 +63784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -63324,10 +63794,11 @@ paths: type: object additionalProperties: false properties: - language: &421 + language: &423 type: string description: The language targeted by the CodeQL query enum: + - actions - cpp - csharp - go @@ -63403,7 +63874,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &425 + schema: &427 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63413,7 +63884,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *421 + query_language: *423 query_pack_url: type: string description: The download url for the query pack. @@ -63461,7 +63932,7 @@ paths: items: type: object properties: - repository: &422 + repository: &424 title: Repository Identifier description: Repository Identifier type: object @@ -63503,7 +63974,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &426 + analysis_status: &428 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63535,7 +64006,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &423 + access_mismatch_repos: &425 type: object properties: repository_count: @@ -63550,7 +64021,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *422 + items: *424 required: - repository_count - repositories @@ -63573,8 +64044,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *423 - over_limit_repos: *423 + no_codeql_db_repos: *425 + over_limit_repos: *425 required: - access_mismatch_repos - not_found_repos @@ -63590,7 +64061,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &424 + value: &426 summary: Default response value: id: 1 @@ -63742,10 +64213,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *424 + value: *426 repository_lists: summary: Response for a successful variant analysis submission - value: *424 + value: *426 '404': *6 '422': description: Unable to process variant analysis submission @@ -63773,8 +64244,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: - - *309 - - *310 + - *311 + - *312 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63786,9 +64257,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *427 examples: - default: *424 + default: *426 '404': *6 '503': *97 x-github: @@ -63811,7 +64282,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: - - *309 + - *311 - name: repo in: path description: The name of the controller repository. @@ -63846,7 +64317,7 @@ paths: type: object properties: repository: *51 - analysis_status: *426 + analysis_status: *428 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63971,8 +64442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -64065,7 +64536,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *407 + '403': *409 '404': *6 '503': *97 x-github: @@ -64086,8 +64557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -64181,7 +64652,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *413 + '403': *415 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64252,8 +64723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -64261,7 +64732,7 @@ paths: schema: type: object properties: - commit_sha: *427 + commit_sha: *429 ref: type: string description: |- @@ -64321,7 +64792,7 @@ paths: schema: type: object properties: - id: *418 + id: *420 url: type: string description: The REST API URL for checking the status of the upload. @@ -64335,7 +64806,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': *413 + '403': *415 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64358,8 +64829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *309 - - *310 + - *311 + - *312 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64407,7 +64878,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': *407 + '403': *409 '404': description: Not Found if the sarif id does not match any upload '503': *97 @@ -64432,8 +64903,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -64489,7 +64960,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *166 + '204': *168 '304': *35 '403': *27 '404': *6 @@ -64514,8 +64985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *309 - - *310 + - *311 + - *312 - 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 @@ -64643,8 +65114,8 @@ paths: parameters: - *17 - *19 - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -64660,7 +65131,7 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: default: value: @@ -64958,8 +65429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -65023,17 +65494,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '400': *14 '401': *23 '403': *27 @@ -65062,8 +65533,8 @@ paths: parameters: - *17 - *19 - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -65127,8 +65598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65165,9 +65636,9 @@ paths: type: integer machines: type: array - items: *429 + items: *431 examples: - default: &643 + default: &645 value: total_count: 2 machines: @@ -65207,8 +65678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *309 - - *310 + - *311 + - *312 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65295,8 +65766,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: - - *309 - - *310 + - *311 + - *312 - 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 @@ -65365,8 +65836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -65384,7 +65855,7 @@ paths: type: integer secrets: type: array - items: &433 + items: &435 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65405,7 +65876,7 @@ paths: - created_at - updated_at examples: - default: *430 + default: *432 headers: Link: *52 x-github: @@ -65428,16 +65899,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *431 + schema: *433 examples: - default: *432 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65457,17 +65928,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '200': description: Response content: application/json: - schema: *433 + schema: *435 examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65487,8 +65958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 requestBody: required: true @@ -65541,8 +66012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '204': @@ -65571,8 +66042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *309 - - *310 + - *311 + - *312 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65610,7 +66081,7 @@ paths: application/json: schema: type: array - items: &435 + items: &437 title: Collaborator description: Collaborator type: object @@ -65803,8 +66274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *309 - - *310 + - *311 + - *312 - *57 responses: '204': @@ -65851,8 +66322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *309 - - *310 + - *311 + - *312 - *57 requestBody: required: false @@ -65879,7 +66350,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &499 + schema: &501 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66107,8 +66578,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *309 - - *310 + - *311 + - *312 - *57 responses: '204': @@ -66140,8 +66611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *309 - - *310 + - *311 + - *312 - *57 responses: '200': @@ -66162,7 +66633,7 @@ paths: user: anyOf: - type: 'null' - - *435 + - *437 required: - permission - role_name @@ -66216,8 +66687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -66227,7 +66698,7 @@ paths: application/json: schema: type: array - items: &436 + items: &438 title: Commit Comment description: Commit Comment type: object @@ -66285,7 +66756,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &441 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66344,17 +66815,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '200': description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: &440 + default: &442 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66411,8 +66882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -66435,7 +66906,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: default: value: @@ -66486,8 +66957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '204': @@ -66509,8 +66980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -66537,9 +67008,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 @@ -66560,8 +67031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -66594,16 +67065,16 @@ paths: description: Reaction exists content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Reaction created content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -66625,10 +67096,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *309 - - *310 + - *311 + - *312 - *77 - - *305 + - *307 responses: '204': description: Response @@ -66677,8 +67148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *309 - - *310 + - *311 + - *312 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66734,9 +67205,9 @@ paths: application/json: schema: type: array - items: *437 + items: *439 examples: - default: &549 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66830,9 +67301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *309 - - *310 - - &438 + - *311 + - *312 + - &440 name: commit_sha description: The SHA of the commit. in: path @@ -66904,9 +67375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *309 - - *310 - - *438 + - *311 + - *312 + - *440 - *17 - *19 responses: @@ -66916,9 +67387,9 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: - default: *439 + default: *441 headers: Link: *52 x-github: @@ -66946,9 +67417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *309 - - *310 - - *438 + - *311 + - *312 + - *440 requestBody: required: true content: @@ -66983,9 +67454,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *438 examples: - default: *440 + default: *442 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67013,9 +67484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *309 - - *310 - - *438 + - *311 + - *312 + - *440 - *17 - *19 responses: @@ -67025,9 +67496,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: &541 + default: &543 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67564,11 +68035,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *309 - - *310 + - *311 + - *312 - *19 - *17 - - &442 + - &444 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)" @@ -67583,9 +68054,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: &527 + default: &529 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67698,11 +68169,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *309 - - *310 - - *442 - - *443 + - *311 + - *312 - *444 + - *445 + - *446 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67736,9 +68207,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *391 examples: - default: *445 + default: *447 headers: Link: *52 x-github: @@ -67763,9 +68234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *309 - - *310 - - *442 + - *311 + - *312 + - *444 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67773,7 +68244,7 @@ paths: schema: type: integer example: 1 - - *443 + - *445 - *17 - *19 responses: @@ -67791,7 +68262,7 @@ paths: type: integer check_suites: type: array - items: *393 + items: *395 examples: default: value: @@ -67991,9 +68462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *309 - - *310 - - *442 + - *311 + - *312 + - *444 - *17 - *19 responses: @@ -68195,9 +68666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *309 - - *310 - - *442 + - *311 + - *312 + - *444 - *17 - *19 responses: @@ -68207,7 +68678,7 @@ paths: application/json: schema: type: array - items: &614 + items: &616 title: Status description: The status of a commit. type: object @@ -68288,7 +68759,7 @@ paths: site_admin: false headers: Link: *52 - '301': *316 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68316,8 +68787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -68350,11 +68821,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *446 + - *448 code_of_conduct_file: anyOf: - type: 'null' - - &447 + - &449 title: Community Health File type: object properties: @@ -68374,19 +68845,19 @@ paths: contributing: anyOf: - type: 'null' - - *447 + - *449 readme: anyOf: - type: 'null' - - *447 + - *449 issue_template: anyOf: - type: 'null' - - *447 + - *449 pull_request_template: anyOf: - type: 'null' - - *447 + - *449 required: - code_of_conduct - code_of_conduct_file @@ -68515,8 +68986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *309 - - *310 + - *311 + - *312 - *19 - *17 - name: basehead @@ -68564,8 +69035,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *437 - merge_base_commit: *437 + base_commit: *439 + merge_base_commit: *439 status: type: string enum: @@ -68589,10 +69060,10 @@ paths: - 6 commits: type: array - items: *437 + items: *439 files: type: array - items: *448 + items: *450 required: - url - html_url @@ -68878,8 +69349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *309 - - *310 + - *311 + - *312 - name: path description: path parameter in: path @@ -69032,7 +69503,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &449 + response-if-content-is-a-file: &451 summary: Response if content is a file value: type: file @@ -69169,7 +69640,7 @@ paths: - size - type - url - - &554 + - &556 title: Content File description: Content File type: object @@ -69387,7 +69858,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *449 + response-if-content-is-a-file: *451 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69456,7 +69927,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *450 + '302': *452 '304': *35 x-github: githubCloudOnly: false @@ -69479,8 +69950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *309 - - *310 + - *311 + - *312 - name: path description: path parameter in: path @@ -69575,7 +70046,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &453 title: File Commit description: File Commit type: object @@ -69731,7 +70202,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: example-for-creating-a-file: value: @@ -69785,7 +70256,7 @@ paths: schema: oneOf: - *3 - - &481 + - &483 description: Repository rule violation was detected type: object properties: @@ -69806,7 +70277,7 @@ paths: items: type: object properties: - placeholder_id: &606 + placeholder_id: &608 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -69838,8 +70309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *309 - - *310 + - *311 + - *312 - name: path description: path parameter in: path @@ -69900,7 +70371,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *453 examples: default: value: @@ -69955,8 +70426,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *309 - - *310 + - *311 + - *312 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70080,22 +70551,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *309 - - *310 - - *171 - - *172 + - *311 + - *312 - *173 - *174 + - *175 + - *176 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *175 - - *452 - - *176 - *177 + - *454 + - *178 + - *179 - *46 - name: per_page description: The number of results per page (max 100). For more information, @@ -70114,11 +70585,11 @@ paths: application/json: schema: type: array - items: &455 + items: &457 type: object description: A Dependabot alert. properties: - number: *152 + number: *154 state: type: string description: The state of the Dependabot alert. @@ -70164,13 +70635,13 @@ paths: - direct - transitive - - security_advisory: *453 + security_advisory: *455 security_vulnerability: *50 - url: *155 - html_url: *156 - created_at: *153 - updated_at: *154 - dismissed_at: *158 + url: *157 + html_url: *158 + created_at: *155 + updated_at: *156 + dismissed_at: *160 dismissed_by: anyOf: - type: 'null' @@ -70194,8 +70665,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *157 - auto_dismissed_at: *454 + fixed_at: *159 + auto_dismissed_at: *456 required: - number - state @@ -70425,9 +70896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *309 - - *310 - - &456 + - *311 + - *312 + - &458 name: alert_number in: path description: |- @@ -70436,13 +70907,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *152 + schema: *154 responses: '200': description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -70555,9 +71026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *309 - - *310 - - *456 + - *311 + - *312 + - *458 requestBody: required: true content: @@ -70602,7 +71073,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -70731,8 +71202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -70750,7 +71221,7 @@ paths: type: integer secrets: type: array - items: &459 + items: &461 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70804,16 +71275,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70833,15 +71304,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '200': description: Response content: application/json: - schema: *459 + schema: *461 examples: default: value: @@ -70867,8 +71338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 requestBody: required: true @@ -70921,8 +71392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *309 - - *310 + - *311 + - *312 - *144 responses: '204': @@ -70945,8 +71416,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: - - *309 - - *310 + - *311 + - *312 - 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 @@ -71120,8 +71591,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -71381,8 +71852,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -71465,7 +71936,7 @@ paths: - version - url additionalProperties: false - metadata: &460 + metadata: &462 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71504,7 +71975,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *460 + metadata: *462 resolved: type: object description: A collection of resolved package dependencies. @@ -71518,7 +71989,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *460 + metadata: *462 relationship: type: string description: A notation of whether a dependency is requested @@ -71651,8 +72122,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *309 - - *310 + - *311 + - *312 - name: sha description: The SHA recorded at creation time. in: query @@ -71693,9 +72164,9 @@ paths: application/json: schema: type: array - items: *461 + items: *463 examples: - default: *462 + default: *464 headers: Link: *52 x-github: @@ -71761,8 +72232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -71844,7 +72315,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: simple-example: summary: Simple example @@ -71917,9 +72388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *309 - - *310 - - &463 + - *311 + - *312 + - &465 name: deployment_id description: deployment_id parameter in: path @@ -71931,7 +72402,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *463 examples: default: value: @@ -71996,9 +72467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *309 - - *310 - - *463 + - *311 + - *312 + - *465 responses: '204': description: Response @@ -72020,9 +72491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *309 - - *310 - - *463 + - *311 + - *312 + - *465 - *17 - *19 responses: @@ -72032,7 +72503,7 @@ paths: application/json: schema: type: array - items: &464 + items: &466 title: Deployment Status description: The status of a deployment. type: object @@ -72196,9 +72667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *309 - - *310 - - *463 + - *311 + - *312 + - *465 requestBody: required: true content: @@ -72273,9 +72744,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: &465 + default: &467 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72331,9 +72802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *309 - - *310 - - *463 + - *311 + - *312 + - *465 - name: status_id in: path required: true @@ -72344,9 +72815,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: - default: *465 + default: *467 '404': *6 x-github: githubCloudOnly: false @@ -72371,8 +72842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -72429,8 +72900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -72448,7 +72919,7 @@ paths: - 5 environments: type: array - items: &467 + items: &469 title: Environment description: Details of a deployment environment type: object @@ -72510,7 +72981,7 @@ paths: type: string examples: - wait_timer - wait_timer: &469 + wait_timer: &471 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72552,11 +73023,11 @@ paths: items: type: object properties: - type: *466 + type: *468 reviewer: anyOf: - *4 - - *170 + - *172 required: - id - node_id @@ -72579,7 +73050,7 @@ paths: - id - node_id - type - deployment_branch_policy: &470 + deployment_branch_policy: &472 type: - object - 'null' @@ -72696,9 +73167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *309 - - *310 - - &468 + - *311 + - *312 + - &470 name: environment_name in: path required: true @@ -72711,9 +73182,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &471 + default: &473 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72797,9 +73268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 requestBody: required: false content: @@ -72809,7 +73280,7 @@ paths: - object - 'null' properties: - wait_timer: *469 + wait_timer: *471 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -72828,14 +73299,14 @@ paths: items: type: object properties: - type: *466 + type: *468 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *470 + deployment_branch_policy: *472 additionalProperties: false examples: default: @@ -72855,9 +73326,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *471 + default: *473 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72881,9 +73352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 responses: '204': description: Default response @@ -72908,9 +73379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *17 - *19 responses: @@ -72929,7 +73400,7 @@ paths: - 2 branch_policies: type: array - items: &472 + items: &474 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -72990,9 +73461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 requestBody: required: true content: @@ -73040,9 +73511,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - example-wildcard: &473 + example-wildcard: &475 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73084,10 +73555,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *309 - - *310 - - *468 - - &474 + - *311 + - *312 + - *470 + - &476 name: branch_policy_id in: path required: true @@ -73099,9 +73570,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73120,10 +73591,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *309 - - *310 - - *468 - - *474 + - *311 + - *312 + - *470 + - *476 requestBody: required: true content: @@ -73152,9 +73623,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *473 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73173,10 +73644,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *309 - - *310 - - *468 - - *474 + - *311 + - *312 + - *470 + - *476 responses: '204': description: Response @@ -73201,9 +73672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *468 - - *310 - - *309 + - *470 + - *312 + - *311 responses: '200': description: List of deployment protection rules @@ -73220,7 +73691,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &475 + items: &477 title: Deployment protection rule description: Deployment protection rule type: object @@ -73242,7 +73713,7 @@ paths: for the environment. examples: - true - app: &476 + app: &478 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73345,9 +73816,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: - - *468 - - *310 - - *309 + - *470 + - *312 + - *311 requestBody: content: application/json: @@ -73368,9 +73839,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *475 + schema: *477 examples: - default: &477 + default: &479 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73405,9 +73876,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: - - *468 - - *310 - - *309 + - *470 + - *312 + - *311 - *19 - *17 responses: @@ -73427,7 +73898,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *476 + items: *478 examples: default: value: @@ -73462,10 +73933,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *309 - - *310 - - *468 - - &478 + - *311 + - *312 + - *470 + - &480 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73477,9 +73948,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *477 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73500,10 +73971,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *468 - - *310 - - *309 - - *478 + - *470 + - *312 + - *311 + - *480 responses: '204': description: Response @@ -73529,9 +74000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *17 - *19 responses: @@ -73549,9 +74020,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *357 examples: - default: *356 + default: *358 headers: Link: *52 x-github: @@ -73576,17 +74047,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 responses: '200': description: Response content: application/json: - schema: *357 + schema: *359 examples: - default: *358 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73608,18 +74079,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *144 responses: '200': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73641,9 +74112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *144 requestBody: required: true @@ -73701,9 +74172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *144 responses: '204': @@ -73729,10 +74200,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *309 - - *310 - - *468 - - *326 + - *311 + - *312 + - *470 + - *328 - *19 responses: '200': @@ -73749,9 +74220,9 @@ paths: type: integer variables: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *52 x-github: @@ -73774,9 +74245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 requestBody: required: true content: @@ -73828,18 +74299,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *309 - - *310 - - *468 + - *311 + - *312 + - *470 - *147 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,10 +74331,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 - - *468 + - *470 requestBody: required: true content: @@ -73905,10 +74376,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *309 - - *310 + - *311 + - *312 - *147 - - *468 + - *470 responses: '204': description: Response @@ -73930,8 +74401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -73999,8 +74470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *309 - - *310 + - *311 + - *312 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74159,8 +74630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -74193,9 +74664,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 + default: *319 '400': *14 '422': *15 '403': *27 @@ -74216,8 +74687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -74277,7 +74748,7 @@ paths: schema: oneOf: - *105 - - *481 + - *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74302,8 +74773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *309 - - *310 + - *311 + - *312 - name: file_sha in: path required: true @@ -74403,8 +74874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -74513,7 +74984,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &484 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74740,15 +75211,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *309 - - *310 - - *438 + - *311 + - *312 + - *440 responses: '200': description: Response content: application/json: - schema: *482 + schema: *484 examples: default: value: @@ -74804,9 +75275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *309 - - *310 - - &483 + - *311 + - *312 + - &485 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. @@ -74823,7 +75294,7 @@ paths: application/json: schema: type: array - items: &484 + items: &486 title: Git Reference description: Git references within a repository type: object @@ -74899,17 +75370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *309 - - *310 - - *483 + - *311 + - *312 + - *485 responses: '200': description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: &485 + default: &487 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -74938,8 +75409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -74968,9 +75439,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -74996,9 +75467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *309 - - *310 - - *483 + - *311 + - *312 + - *485 requestBody: required: true content: @@ -75027,9 +75498,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: *485 + default: *487 '422': *15 '409': *45 x-github: @@ -75047,9 +75518,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *309 - - *310 - - *483 + - *311 + - *312 + - *485 responses: '204': description: Response @@ -75104,8 +75575,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -75172,7 +75643,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &489 title: Git Tag description: Metadata for a Git tag type: object @@ -75228,7 +75699,7 @@ paths: - sha - type - url - verification: *486 + verification: *488 required: - sha - url @@ -75238,7 +75709,7 @@ paths: - tag - message examples: - default: &488 + default: &490 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75311,8 +75782,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *309 - - *310 + - *311 + - *312 - name: tag_sha in: path required: true @@ -75323,9 +75794,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '404': *6 '409': *45 x-github: @@ -75349,8 +75820,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -75424,7 +75895,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &491 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75526,8 +75997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *309 - - *310 + - *311 + - *312 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75550,7 +76021,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *491 examples: default-response: summary: Default response @@ -75609,8 +76080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -75620,7 +76091,7 @@ paths: application/json: schema: type: array - items: &490 + items: &492 title: Webhook description: Webhooks for repositories. type: object @@ -75683,7 +76154,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &724 + last_response: &726 title: Hook Response type: object properties: @@ -75760,8 +76231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -75814,9 +76285,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: &491 + default: &493 value: type: Repository id: 12345678 @@ -75864,17 +76335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '200': description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '404': *6 x-github: githubCloudOnly: false @@ -75894,9 +76365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 requestBody: required: true content: @@ -75941,9 +76412,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '422': *15 '404': *6 x-github: @@ -75964,9 +76435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '204': description: Response @@ -75990,9 +76461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '200': description: Response @@ -76019,9 +76490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 requestBody: required: false content: @@ -76065,11 +76536,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 - *17 - - *184 + - *186 responses: '200': description: Response @@ -76077,9 +76548,9 @@ paths: application/json: schema: type: array - items: *185 + items: *187 examples: - default: *186 + default: *188 '400': *14 '422': *15 x-github: @@ -76098,18 +76569,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 - *16 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 '400': *14 '422': *15 x-github: @@ -76128,9 +76599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 - *16 responses: '202': *37 @@ -76153,9 +76624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '204': description: Response @@ -76180,9 +76651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *309 - - *310 - - *183 + - *311 + - *312 + - *185 responses: '204': description: Response @@ -76205,8 +76676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response if immutable releases are enabled @@ -76254,10 +76725,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *309 - - *310 + - *311 + - *312 responses: - '204': *166 + '204': *168 '409': *45 x-github: githubCloudOnly: false @@ -76275,10 +76746,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *309 - - *310 + - *311 + - *312 responses: - '204': *166 + '204': *168 '409': *45 x-github: githubCloudOnly: false @@ -76333,14 +76804,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &492 + schema: &494 title: Import description: A repository import from an external source. type: object @@ -76447,7 +76918,7 @@ paths: - html_url - authors_url examples: - default: &495 + default: &497 value: vcs: subversion use_lfs: true @@ -76463,7 +76934,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': &493 + '503': &495 description: Unavailable due to service under maintenance. content: application/json: @@ -76492,8 +76963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -76541,7 +77012,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: default: value: @@ -76566,7 +77037,7 @@ paths: type: string '422': *15 '404': *6 - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76594,8 +77065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -76647,7 +77118,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: example-1: summary: Example 1 @@ -76695,7 +77166,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': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76718,12 +77189,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76749,9 +77220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *309 - - *310 - - &664 + - *311 + - *312 + - &666 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76765,7 +77236,7 @@ paths: application/json: schema: type: array - items: &494 + items: &496 title: Porter Author description: Porter Author type: object @@ -76819,7 +77290,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': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76844,8 +77315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *309 - - *310 + - *311 + - *312 - name: author_id in: path required: true @@ -76875,7 +77346,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *496 examples: default: value: @@ -76888,7 +77359,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76912,8 +77383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -76954,7 +77425,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76982,8 +77453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -77010,11 +77481,11 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: - default: *495 + default: *497 '422': *15 - '503': *493 + '503': *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77037,8 +77508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -77046,8 +77517,8 @@ paths: application/json: schema: *20 examples: - default: *496 - '301': *316 + default: *498 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -77067,8 +77538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -77076,12 +77547,12 @@ paths: application/json: schema: anyOf: - - *201 + - *203 - type: object properties: {} additionalProperties: false examples: - default: &498 + default: &500 value: limit: collaborators_only origin: repository @@ -77106,13 +77577,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *497 + schema: *499 examples: default: summary: Example request body @@ -77124,9 +77595,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *498 + default: *500 '409': description: Response x-github: @@ -77148,8 +77619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -77172,8 +77643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -77183,9 +77654,9 @@ paths: application/json: schema: type: array - items: *499 + items: *501 examples: - default: &657 + default: &659 value: - id: 1 repository: @@ -77316,9 +77787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *309 - - *310 - - *205 + - *311 + - *312 + - *207 requestBody: required: false content: @@ -77347,7 +77818,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -77478,9 +77949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *309 - - *310 - - *205 + - *311 + - *312 + - *207 responses: '204': description: Response @@ -77511,8 +77982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *309 - - *310 + - *311 + - *312 - 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 @@ -77560,7 +78031,7 @@ paths: required: false schema: type: string - - *209 + - *211 - name: sort description: What to sort results by. in: query @@ -77585,7 +78056,7 @@ paths: type: array items: *78 examples: - default: &507 + default: &509 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77733,7 +78204,7 @@ paths: state_reason: completed headers: Link: *52 - '301': *316 + '301': *318 '422': *15 '404': *6 x-github: @@ -77762,8 +78233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -77855,7 +78326,7 @@ paths: application/json: schema: *78 examples: - default: &504 + default: &506 value: id: 1 node_id: MDU6SXNzdWUx @@ -78011,7 +78482,7 @@ paths: '422': *15 '503': *97 '404': *6 - '410': *500 + '410': *502 x-github: triggersNotification: true githubCloudOnly: false @@ -78039,8 +78510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -78061,9 +78532,9 @@ paths: application/json: schema: type: array - items: *501 + items: *503 examples: - default: &506 + default: &508 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78121,17 +78592,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &502 + default: &504 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78185,8 +78656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -78209,9 +78680,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *502 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -78229,8 +78700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '204': @@ -78251,8 +78722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -78279,9 +78750,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 @@ -78302,8 +78773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -78336,16 +78807,16 @@ paths: description: Reaction exists content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Reaction created content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -78367,10 +78838,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *309 - - *310 + - *311 + - *312 - *77 - - *305 + - *307 responses: '204': description: Response @@ -78390,8 +78861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -78401,7 +78872,7 @@ paths: application/json: schema: type: array - items: &503 + items: &505 title: Issue Event description: Issue Event type: object @@ -78481,7 +78952,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *170 + requested_team: *172 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78740,8 +79211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *309 - - *310 + - *311 + - *312 - name: event_id in: path required: true @@ -78752,7 +79223,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: default: value: @@ -78945,7 +79416,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *500 + '410': *502 '403': *27 x-github: githubCloudOnly: false @@ -78979,9 +79450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *309 - - *310 - - &505 + - *311 + - *312 + - &507 name: issue_number description: The number that identifies the issue. in: path @@ -78995,10 +79466,10 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *316 + default: *506 + '301': *318 '404': *6 - '410': *500 + '410': *502 '304': *35 x-github: githubCloudOnly: false @@ -79023,9 +79494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -79146,13 +79617,13 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 '422': *15 '503': *97 '403': *27 - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79170,9 +79641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -79200,7 +79671,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79216,9 +79687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: content: application/json: @@ -79245,7 +79716,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79267,9 +79738,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: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - name: assignee in: path required: true @@ -79309,9 +79780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *68 - *17 - *19 @@ -79322,13 +79793,13 @@ paths: application/json: schema: type: array - items: *501 + items: *503 examples: - default: *506 + default: *508 headers: Link: *52 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79357,9 +79828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -79381,16 +79852,16 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *502 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *500 + '410': *502 '422': *15 '404': *6 x-github: @@ -79418,9 +79889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -79432,12 +79903,12 @@ paths: type: array items: *78 examples: - default: *507 + default: *509 headers: Link: *52 - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79465,9 +79936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -79491,15 +79962,15 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *316 + '301': *318 '403': *27 - '410': *500 + '410': *502 '422': *15 '404': *6 x-github: @@ -79530,9 +80001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79546,13 +80017,13 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *316 + default: *506 + '301': *318 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *500 + '410': *502 x-github: triggersNotification: true githubCloudOnly: false @@ -79578,9 +80049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -79592,12 +80063,12 @@ paths: type: array items: *78 examples: - default: *507 + default: *509 headers: Link: *52 - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79614,9 +80085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -79630,7 +80101,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &510 + - &512 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79679,7 +80150,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &513 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79807,7 +80278,7 @@ paths: - performed_via_github_app - assignee - assigner - - &512 + - &514 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79853,7 +80324,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &515 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79899,7 +80370,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &516 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79948,7 +80419,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &517 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79977,7 +80448,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *170 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -79990,7 +80461,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &518 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80019,7 +80490,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *170 + requested_team: *172 requested_reviewer: *4 required: - review_requester @@ -80032,7 +80503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &519 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80088,7 +80559,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &520 title: Locked Issue Event description: Locked Issue Event type: object @@ -80133,7 +80604,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &521 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80194,7 +80665,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &522 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80255,7 +80726,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &523 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80316,7 +80787,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &524 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80409,7 +80880,7 @@ paths: color: red headers: Link: *52 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80426,9 +80897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -80438,7 +80909,7 @@ paths: application/json: schema: type: array - items: &508 + items: &510 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80493,7 +80964,7 @@ paths: - color - default examples: - default: &509 + default: &511 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80511,9 +80982,9 @@ paths: default: false headers: Link: *52 - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80530,9 +81001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -80591,12 +81062,12 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 - '301': *316 + default: *511 + '301': *318 '404': *6 - '410': *500 + '410': *502 '422': *15 x-github: githubCloudOnly: false @@ -80613,9 +81084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -80675,12 +81146,12 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 - '301': *316 + default: *511 + '301': *318 '404': *6 - '410': *500 + '410': *502 '422': *15 x-github: githubCloudOnly: false @@ -80697,15 +81168,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 responses: '204': description: Response - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80724,9 +81195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - name: name in: path required: true @@ -80739,7 +81210,7 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: default: value: @@ -80750,9 +81221,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *316 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80772,9 +81243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: false content: @@ -80803,7 +81274,7 @@ paths: '204': description: Response '403': *27 - '410': *500 + '410': *502 '404': *6 '422': *15 x-github: @@ -80821,9 +81292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 responses: '204': description: Response @@ -80853,9 +81324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 responses: '200': description: Response @@ -80863,10 +81334,10 @@ paths: application/json: schema: *78 examples: - default: *504 - '301': *316 + default: *506 + '301': *318 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80883,9 +81354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - 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. @@ -80911,13 +81382,13 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80935,9 +81406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -80969,16 +81440,16 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -81000,10 +81471,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *309 - - *310 - - *505 - - *305 + - *311 + - *312 + - *507 + - *307 responses: '204': description: Response @@ -81032,9 +81503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -81058,7 +81529,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81091,9 +81562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -81105,11 +81576,11 @@ paths: type: array items: *78 examples: - default: *507 + default: *509 headers: Link: *52 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81137,9 +81608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -81168,14 +81639,14 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *500 + '410': *502 '422': *15 '404': *6 x-github: @@ -81195,9 +81666,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 requestBody: required: true content: @@ -81230,7 +81701,7 @@ paths: application/json: schema: *78 examples: - default: *504 + default: *506 '403': *27 '404': *6 '422': *7 @@ -81252,9 +81723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *309 - - *310 - - *505 + - *311 + - *312 + - *507 - *17 - *19 responses: @@ -81269,8 +81740,6 @@ paths: description: Timeline Event type: object anyOf: - - *510 - - *511 - *512 - *513 - *514 @@ -81282,6 +81751,8 @@ paths: - *520 - *521 - *522 + - *523 + - *524 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81610,7 +82081,7 @@ paths: type: string comments: type: array - items: &543 + items: &545 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81848,7 +82319,7 @@ paths: type: string comments: type: array - items: *436 + items: *438 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82123,7 +82594,7 @@ paths: headers: Link: *52 '404': *6 - '410': *500 + '410': *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82140,8 +82611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -82151,7 +82622,7 @@ paths: application/json: schema: type: array - items: &523 + items: &525 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82219,8 +82690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -82256,9 +82727,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: &524 + default: &526 value: id: 1 key: ssh-rsa AAA... @@ -82292,9 +82763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *309 - - *310 - - &525 + - *311 + - *312 + - &527 name: key_id description: The unique identifier of the key. in: path @@ -82306,9 +82777,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *524 + default: *526 '404': *6 x-github: githubCloudOnly: false @@ -82326,9 +82797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *309 - - *310 - - *525 + - *311 + - *312 + - *527 responses: '204': description: Response @@ -82348,8 +82819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -82359,9 +82830,9 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 headers: Link: *52 '404': *6 @@ -82382,8 +82853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -82419,9 +82890,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: &526 + default: &528 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82453,8 +82924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *309 - - *310 + - *311 + - *312 - name: name in: path required: true @@ -82465,9 +82936,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *526 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -82484,8 +82955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *309 - - *310 + - *311 + - *312 - name: name in: path required: true @@ -82524,7 +82995,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -82550,8 +83021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *309 - - *310 + - *311 + - *312 - name: name in: path required: true @@ -82577,8 +83048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -82617,9 +83088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *309 - - *310 - - *414 + - *311 + - *312 + - *416 responses: '200': description: Response @@ -82766,8 +83237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -82832,8 +83303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -82867,9 +83338,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *437 + schema: *439 examples: - default: *527 + default: *529 '204': description: Response when already merged '404': @@ -82894,8 +83365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *309 - - *310 + - *311 + - *312 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82936,7 +83407,7 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: default: value: @@ -82992,8 +83463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -83033,9 +83504,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: &528 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83094,9 +83565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *309 - - *310 - - &529 + - *311 + - *312 + - &531 name: milestone_number description: The number that identifies the milestone. in: path @@ -83108,9 +83579,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *528 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -83127,9 +83598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *309 - - *310 - - *529 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -83167,9 +83638,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *528 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83185,9 +83656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *309 - - *310 - - *529 + - *311 + - *312 + - *531 responses: '204': description: Response @@ -83208,9 +83679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *309 - - *310 - - *529 + - *311 + - *312 + - *531 - *17 - *19 responses: @@ -83220,9 +83691,9 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 headers: Link: *52 x-github: @@ -83241,12 +83712,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *309 - - *310 - - *530 - - *531 - - *68 + - *311 + - *312 - *532 + - *533 + - *68 + - *534 - *17 - *19 responses: @@ -83258,7 +83729,7 @@ paths: type: array items: *90 examples: - default: *533 + default: *535 headers: Link: *52 x-github: @@ -83282,8 +83753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -83341,14 +83812,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &534 + schema: &536 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83492,7 +83963,7 @@ paths: - custom_404 - public examples: - default: &535 + default: &537 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83533,8 +84004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -83589,9 +84060,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *536 examples: - default: *535 + default: *537 '422': *15 '409': *45 x-github: @@ -83614,8 +84085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -83715,8 +84186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -83742,8 +84213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -83753,7 +84224,7 @@ paths: application/json: schema: type: array - items: &536 + items: &538 title: Page Build description: Page Build type: object @@ -83845,8 +84316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *309 - - *310 + - *311 + - *312 responses: '201': description: Response @@ -83893,16 +84364,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: &537 + default: &539 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83950,8 +84421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *309 - - *310 + - *311 + - *312 - name: build_id in: path required: true @@ -83962,9 +84433,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *537 + default: *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83984,8 +84455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -84093,9 +84564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *309 - - *310 - - &538 + - *311 + - *312 + - &540 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84153,11 +84624,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *309 - - *310 - - *538 + - *311 + - *312 + - *540 responses: - '204': *166 + '204': *168 '404': *6 x-github: githubCloudOnly: false @@ -84182,8 +84653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -84478,8 +84949,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: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Private vulnerability reporting status @@ -84516,10 +84987,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: - '204': *166 + '204': *168 '422': *14 x-github: githubCloudOnly: false @@ -84538,10 +85009,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: - '204': *166 + '204': *168 '422': *14 x-github: githubCloudOnly: false @@ -84561,8 +85032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -84572,7 +85043,7 @@ paths: type: array items: *95 examples: - default: *539 + default: *541 '403': *27 '404': *6 x-github: @@ -84594,8 +85065,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -84611,7 +85082,7 @@ paths: required: - properties examples: - default: *540 + default: *542 responses: '204': description: No Content when custom property values are successfully created @@ -84649,8 +85120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *309 - - *310 + - *311 + - *312 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84710,9 +85181,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: *541 + default: *543 headers: Link: *52 '304': *35 @@ -84744,8 +85215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -84812,7 +85283,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &547 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84941,7 +85412,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *244 active_lock_reason: type: - string @@ -84996,7 +85467,7 @@ paths: type: - array - 'null' - items: *221 + items: *223 head: type: object properties: @@ -85034,14 +85505,14 @@ paths: _links: type: object properties: - comments: *243 - commits: *243 - statuses: *243 - html: *243 - issue: *243 - review_comments: *243 - review_comment: *243 - self: *243 + comments: *245 + commits: *245 + statuses: *245 + html: *245 + issue: *245 + review_comments: *245 + review_comment: *245 + self: *245 required: - comments - commits @@ -85052,7 +85523,7 @@ paths: - review_comment - self author_association: *65 - auto_merge: *542 + auto_merge: *544 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85154,7 +85625,7 @@ paths: - merged_by - review_comments examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85681,8 +86152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *309 - - *310 + - *311 + - *312 - name: sort in: query required: false @@ -85711,9 +86182,9 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: &548 + default: &550 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85790,17 +86261,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '200': description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: &544 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85875,8 +86346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -85899,9 +86370,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *544 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85917,8 +86388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *309 - - *310 + - *311 + - *312 - *77 responses: '204': @@ -85940,8 +86411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -85968,9 +86439,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 @@ -85991,8 +86462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *309 - - *310 + - *311 + - *312 - *77 requestBody: required: true @@ -86025,16 +86496,16 @@ paths: description: Reaction exists content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Reaction created content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -86056,10 +86527,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *309 - - *310 + - *311 + - *312 - *77 - - *305 + - *307 responses: '204': description: Response @@ -86102,9 +86573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *309 - - *310 - - &547 + - *311 + - *312 + - &549 name: pull_number description: The number that identifies the pull request. in: path @@ -86117,9 +86588,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '304': *35 '404': *6 '406': @@ -86154,9 +86625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -86198,9 +86669,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '422': *15 '403': *27 x-github: @@ -86222,9 +86693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: true content: @@ -86285,17 +86756,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '401': *23 '403': *27 '404': *6 @@ -86325,9 +86796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86348,9 +86819,9 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: *548 + default: *550 headers: Link: *52 x-github: @@ -86383,9 +86854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: true content: @@ -86491,7 +86962,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: example-for-a-multi-line-comment: value: @@ -86579,9 +87050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *77 requestBody: required: true @@ -86604,7 +87075,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: default: value: @@ -86690,9 +87161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *17 - *19 responses: @@ -86702,9 +87173,9 @@ paths: application/json: schema: type: array - items: *437 + items: *439 examples: - default: *549 + default: *551 headers: Link: *52 x-github: @@ -86734,9 +87205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *17 - *19 responses: @@ -86746,7 +87217,7 @@ paths: application/json: schema: type: array - items: *448 + items: *450 examples: default: value: @@ -86784,9 +87255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 responses: '204': description: Response if pull request has been merged @@ -86809,9 +87280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -86923,9 +87394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 responses: '200': description: Response @@ -86941,7 +87412,7 @@ paths: items: *4 teams: type: array - items: *170 + items: *172 required: - users - teams @@ -87000,9 +87471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -87039,7 +87510,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -87575,9 +88046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: true content: @@ -87611,7 +88082,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -88116,9 +88587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 - *17 - *19 responses: @@ -88128,7 +88599,7 @@ paths: application/json: schema: type: array - items: &550 + items: &552 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88284,9 +88755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -88376,9 +88847,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &552 + default: &554 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88441,10 +88912,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - &551 + - *311 + - *312 + - *549 + - &553 name: review_id description: The unique identifier of the review. in: path @@ -88456,9 +88927,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &553 + default: &555 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88517,10 +88988,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 requestBody: required: true content: @@ -88543,7 +89014,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -88605,18 +89076,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 responses: '200': description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *552 + default: *554 '422': *7 '404': *6 x-github: @@ -88643,10 +89114,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 - *17 - *19 responses: @@ -88744,9 +89215,9 @@ paths: _links: type: object properties: - self: *243 - html: *243 - pull_request: *243 + self: *245 + html: *245 + pull_request: *245 required: - self - html @@ -88904,10 +89375,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 requestBody: required: true content: @@ -88936,7 +89407,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -88999,10 +89470,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *309 - - *310 - - *547 - - *551 + - *311 + - *312 + - *549 + - *553 requestBody: required: true content: @@ -89037,9 +89508,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *553 + default: *555 '404': *6 '422': *7 '403': *27 @@ -89061,9 +89532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *309 - - *310 - - *547 + - *311 + - *312 + - *549 requestBody: required: false content: @@ -89127,8 +89598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *309 - - *310 + - *311 + - *312 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89141,9 +89612,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &555 + default: &557 value: type: file encoding: base64 @@ -89185,8 +89656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *309 - - *310 + - *311 + - *312 - name: dir description: The alternate path to look for a README file in: path @@ -89206,9 +89677,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *555 + default: *557 '404': *6 '422': *15 x-github: @@ -89230,8 +89701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -89241,7 +89712,7 @@ paths: application/json: schema: type: array - items: &556 + items: &558 title: Release description: A release. type: object @@ -89323,7 +89794,7 @@ paths: author: *4 assets: type: array - items: &557 + items: &559 title: Release Asset description: Data related to a release. type: object @@ -89510,8 +89981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -89587,9 +90058,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: &560 + default: &562 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89694,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *309 - - *310 - - &558 + - *311 + - *312 + - &560 name: asset_id description: The unique identifier of the asset. in: path @@ -89708,9 +90179,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: &559 + default: &561 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 @@ -89745,7 +90216,7 @@ paths: type: User site_admin: false '404': *6 - '302': *450 + '302': *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89761,9 +90232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *309 - - *310 - - *558 + - *311 + - *312 + - *560 requestBody: required: false content: @@ -89792,9 +90263,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89810,9 +90281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *309 - - *310 - - *558 + - *311 + - *312 + - *560 responses: '204': description: Response @@ -89836,8 +90307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -89923,16 +90394,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89949,8 +90420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *309 - - *310 + - *311 + - *312 - name: tag description: tag parameter in: path @@ -89963,9 +90434,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -89987,9 +90458,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *309 - - *310 - - &561 + - *311 + - *312 + - &563 name: release_id description: The unique identifier of the release. in: path @@ -90003,9 +90474,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: *556 + schema: *558 examples: - default: *560 + default: *562 '401': description: Unauthorized x-github: @@ -90023,9 +90494,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 requestBody: required: false content: @@ -90089,9 +90560,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 '404': description: Not Found if the discussion category name is invalid content: @@ -90112,9 +90583,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 responses: '204': description: Response @@ -90134,9 +90605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 - *17 - *19 responses: @@ -90146,7 +90617,7 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: default: value: @@ -90227,9 +90698,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: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 - name: name in: query required: true @@ -90255,7 +90726,7 @@ paths: description: Response for successful upload content: application/json: - schema: *557 + schema: *559 examples: response-for-successful-upload: value: @@ -90310,9 +90781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 - 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. @@ -90336,9 +90807,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 '404': *6 @@ -90359,9 +90830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *309 - - *310 - - *561 + - *311 + - *312 + - *563 requestBody: required: true content: @@ -90391,16 +90862,16 @@ paths: description: Reaction exists content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '201': description: Reaction created content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -90422,10 +90893,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *309 - - *310 - - *561 - - *305 + - *311 + - *312 + - *563 + - *307 responses: '204': description: Response @@ -90449,9 +90920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *309 - - *310 - - *377 + - *311 + - *312 + - *379 - *17 - *19 responses: @@ -90467,8 +90938,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *261 - - &562 + - *263 + - &564 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90487,69 +90958,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *262 - - *562 - - allOf: - - *263 - - *562 - allOf: - *264 - - *562 - - allOf: - - *563 - - *562 + - *564 - allOf: - *265 - - *562 + - *564 - allOf: - *266 - - *562 + - *564 + - allOf: + - *565 + - *564 - allOf: - *267 - - *562 + - *564 - allOf: - *268 - - *562 + - *564 - allOf: - *269 - - *562 + - *564 - allOf: - *270 - - *562 + - *564 - allOf: - *271 - - *562 + - *564 - allOf: - *272 - - *562 + - *564 - allOf: - *273 - - *562 + - *564 - allOf: - *274 - - *562 + - *564 - allOf: - *275 - - *562 + - *564 - allOf: - *276 - - *562 + - *564 - allOf: - *277 - - *562 + - *564 - allOf: - *278 - - *562 + - *564 - allOf: - *279 - - *562 + - *564 - allOf: - *280 - - *562 + - *564 - allOf: + - *281 + - *564 + - allOf: + - *282 + - *564 + - allOf: + - *566 - *564 - - *562 examples: default: value: @@ -90588,8 +91059,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 - name: includes_parents @@ -90600,7 +91071,7 @@ paths: schema: type: boolean default: true - - *565 + - *567 responses: '200': description: Response @@ -90608,7 +91079,7 @@ paths: application/json: schema: type: array - items: *281 + items: *283 examples: default: value: @@ -90655,8 +91126,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 requestBody: description: Request body required: true @@ -90676,16 +91147,16 @@ paths: - tag - push default: branch - enforcement: *258 + enforcement: *260 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *259 - conditions: *256 + items: *261 + conditions: *258 rules: type: array description: An array of rules within the ruleset. - items: *566 + items: *568 required: - name - enforcement @@ -90716,9 +91187,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: &576 + default: &578 value: id: 42 name: super cool ruleset @@ -90765,12 +91236,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *309 - - *310 - - *567 - - *568 + - *311 + - *312 - *569 - *570 + - *571 + - *572 - *17 - *19 responses: @@ -90778,9 +91249,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 '404': *6 '500': *96 x-github: @@ -90801,17 +91272,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *309 - - *310 - - *573 + - *311 + - *312 + - *575 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 '404': *6 '500': *96 x-github: @@ -90839,8 +91310,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90860,9 +91331,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: *576 + default: *578 '404': *6 '500': *96 put: @@ -90880,8 +91351,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90906,16 +91377,16 @@ paths: - branch - tag - push - enforcement: *258 + enforcement: *260 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *259 - conditions: *256 + items: *261 + conditions: *258 rules: description: An array of rules within the ruleset. type: array - items: *566 + items: *568 examples: default: value: @@ -90943,9 +91414,9 @@ paths: description: Response content: application/json: - schema: *281 + schema: *283 examples: - default: *576 + default: *578 '404': *6 '500': *96 delete: @@ -90963,8 +91434,8 @@ paths: category: repos subcategory: rules parameters: - - *309 - - *310 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90987,8 +91458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 - name: ruleset_id @@ -91004,9 +91475,9 @@ paths: application/json: schema: type: array - items: *284 + items: *286 examples: - default: *577 + default: *579 '404': *6 '500': *96 x-github: @@ -91025,8 +91496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *309 - - *310 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91044,7 +91515,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: default: value: @@ -91099,21 +91570,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *309 - - *310 - - *579 - - *580 + - *311 + - *312 - *581 - *582 + - *583 + - *584 - *46 - *19 - *17 - - *583 - - *584 - *585 - *586 - *587 - *588 + - *589 + - *590 responses: '200': description: Response @@ -91121,24 +91592,24 @@ paths: application/json: schema: type: array - items: &592 + items: &594 type: object properties: - number: *152 - created_at: *153 + number: *154 + created_at: *155 updated_at: anyOf: - type: 'null' - - *154 - url: *155 - html_url: *156 + - *156 + url: *157 + html_url: *158 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *589 - resolution: *590 + state: *591 + resolution: *592 resolved_at: type: - string @@ -91232,7 +91703,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *591 + - *593 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91377,16 +91848,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *309 - - *310 - - *408 - - *588 + - *311 + - *312 + - *410 + - *590 responses: '200': description: Response content: application/json: - schema: *592 + schema: *594 examples: default: value: @@ -91438,9 +91909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 requestBody: required: true content: @@ -91448,8 +91919,8 @@ paths: schema: type: object properties: - state: *589 - resolution: *590 + state: *591 + resolution: *592 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91469,7 +91940,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *594 examples: default: value: @@ -91544,9 +92015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *309 - - *310 - - *408 + - *311 + - *312 + - *410 - *19 - *17 responses: @@ -91557,7 +92028,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &744 + items: &746 type: object properties: type: @@ -91584,8 +92055,6 @@ paths: - commit details: oneOf: - - *593 - - *594 - *595 - *596 - *597 @@ -91597,6 +92066,8 @@ paths: - *603 - *604 - *605 + - *606 + - *607 examples: default: value: @@ -91682,8 +92153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -91691,14 +92162,14 @@ paths: schema: type: object properties: - reason: &607 + reason: &609 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *606 + placeholder_id: *608 required: - reason - placeholder_id @@ -91715,7 +92186,7 @@ paths: schema: type: object properties: - reason: *607 + reason: *609 expire_at: type: - string @@ -91762,8 +92233,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: - - *309 - - *310 + - *311 + - *312 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91778,7 +92249,7 @@ paths: properties: incremental_scans: type: array - items: &608 + items: &610 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91806,15 +92277,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *608 + items: *610 backfill_scans: type: array - items: *608 + items: *610 custom_pattern_backfill_scans: type: array items: allOf: - - *608 + - *610 - type: object properties: pattern_name: @@ -91884,8 +92355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *309 - - *310 + - *311 + - *312 - *46 - name: sort description: The property to sort the results by. @@ -91929,9 +92400,9 @@ paths: application/json: schema: type: array - items: *609 + items: *611 examples: - default: *610 + default: *612 '400': *14 '404': *6 x-github: @@ -91954,8 +92425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -92035,7 +92506,7 @@ paths: login: type: string description: The username of the user credited. - type: *287 + type: *289 required: - login - type @@ -92125,9 +92596,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: &612 + default: &614 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92360,8 +92831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -92474,7 +92945,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: default: value: @@ -92621,17 +93092,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *309 - - *310 - - *611 + - *311 + - *312 + - *613 responses: '200': description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: *612 + default: *614 '403': *27 '404': *6 x-github: @@ -92655,9 +93126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *309 - - *310 - - *611 + - *311 + - *312 + - *613 requestBody: required: true content: @@ -92737,7 +93208,7 @@ paths: login: type: string description: The username of the user credited. - type: *287 + type: *289 required: - login - type @@ -92828,10 +93299,10 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: *612 - add_credit: *612 + default: *614 + add_credit: *614 '403': *27 '404': *6 '422': @@ -92869,9 +93340,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: - - *309 - - *310 - - *611 + - *311 + - *312 + - *613 responses: '202': *37 '400': *14 @@ -92898,17 +93369,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *309 - - *310 - - *611 + - *311 + - *312 + - *613 responses: '202': description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 + default: *319 '400': *14 '422': *15 '403': *27 @@ -92934,8 +93405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -93031,8 +93502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93041,7 +93512,7 @@ paths: application/json: schema: type: array - items: &613 + items: &615 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93054,7 +93525,7 @@ paths: - 1124 - -435 '202': *37 - '204': *166 + '204': *168 '422': description: Repository contains more than 10,000 commits x-github: @@ -93074,8 +93545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -93126,7 +93597,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *166 + '204': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93153,8 +93624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -93226,7 +93697,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *166 + '204': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93248,8 +93719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93403,8 +93874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93414,7 +93885,7 @@ paths: application/json: schema: type: array - items: *613 + items: *615 examples: default: value: @@ -93427,7 +93898,7 @@ paths: - - 0 - 2 - 21 - '204': *166 + '204': *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93447,8 +93918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *309 - - *310 + - *311 + - *312 - name: sha in: path required: true @@ -93504,7 +93975,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *616 examples: default: value: @@ -93558,8 +94029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -93591,14 +94062,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &615 + schema: &617 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93671,8 +94142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: false content: @@ -93698,7 +94169,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: default: value: @@ -93725,8 +94196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -93746,8 +94217,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -93829,8 +94300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -93838,7 +94309,7 @@ paths: application/json: schema: type: array - items: &616 + items: &618 title: Tag protection description: Tag protection type: object @@ -93895,8 +94366,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: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -93919,7 +94390,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *618 examples: default: value: @@ -93950,8 +94421,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: - - *309 - - *310 + - *311 + - *312 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -93988,8 +94459,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *309 - - *310 + - *311 + - *312 - name: ref in: path required: true @@ -94025,8 +94496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *309 - - *310 + - *311 + - *312 - *17 - *19 responses: @@ -94036,9 +94507,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - default: *222 + default: *224 headers: Link: *52 '404': *6 @@ -94058,8 +94529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *309 - - *310 + - *311 + - *312 - *19 - *17 responses: @@ -94067,7 +94538,7 @@ paths: description: Response content: application/json: - schema: &617 + schema: &619 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94079,7 +94550,7 @@ paths: required: - names examples: - default: &618 + default: &620 value: names: - octocat @@ -94102,8 +94573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -94134,9 +94605,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *619 examples: - default: *618 + default: *620 '404': *6 '422': *7 x-github: @@ -94157,9 +94628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *309 - - *310 - - &619 + - *311 + - *312 + - &621 name: per description: The time frame to display results for. in: query @@ -94190,7 +94661,7 @@ paths: - 128 clones: type: array - items: &620 + items: &622 title: Traffic type: object properties: @@ -94277,8 +94748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -94372,8 +94843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *309 - - *310 + - *311 + - *312 responses: '200': description: Response @@ -94436,9 +94907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *309 - - *310 - - *619 + - *311 + - *312 + - *621 responses: '200': description: Response @@ -94459,7 +94930,7 @@ paths: - 3782 views: type: array - items: *620 + items: *622 required: - uniques - count @@ -94536,8 +95007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *309 - - *310 + - *311 + - *312 requestBody: required: true content: @@ -94811,8 +95282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94835,8 +95306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -94858,8 +95329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -94885,8 +95356,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *309 - - *310 + - *311 + - *312 - name: ref in: path required: true @@ -94978,9 +95449,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95229,7 +95700,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &621 + text_matches: &623 title: Search Result Text Matches type: array items: @@ -95392,7 +95863,7 @@ paths: enum: - author-date - committer-date - - &622 + - &624 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 @@ -95461,7 +95932,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 comment_count: type: integer message: @@ -95480,7 +95951,7 @@ paths: url: type: string format: uri - verification: *486 + verification: *488 required: - author - committer @@ -95495,7 +95966,7 @@ paths: committer: anyOf: - type: 'null' - - *375 + - *377 parents: type: array items: @@ -95512,7 +95983,7 @@ paths: type: number node_id: type: string - text_matches: *621 + text_matches: *623 required: - sha - node_id @@ -95704,7 +96175,7 @@ paths: - interactions - created - updated - - *622 + - *624 - *17 - *19 - name: advanced_search @@ -95801,11 +96272,11 @@ paths: type: - string - 'null' - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: type: string state_reason: @@ -95819,7 +96290,7 @@ paths: milestone: anyOf: - type: 'null' - - *242 + - *244 comments: type: integer created_at: @@ -95833,7 +96304,7 @@ paths: - string - 'null' format: date-time - text_matches: *621 + text_matches: *623 pull_request: type: object properties: @@ -95882,7 +96353,7 @@ paths: timeline_url: type: string format: uri - type: *206 + type: *208 performed_via_github_app: anyOf: - type: 'null' @@ -96056,7 +96527,7 @@ paths: enum: - created - updated - - *622 + - *624 - *17 - *19 responses: @@ -96101,7 +96572,7 @@ paths: - 'null' score: type: number - text_matches: *621 + text_matches: *623 required: - id - node_id @@ -96186,7 +96657,7 @@ paths: - forks - help-wanted-issues - updated - - *622 + - *624 - *17 - *19 responses: @@ -96423,7 +96894,7 @@ paths: - admin - pull - push - text_matches: *621 + text_matches: *623 temp_clone_token: type: string allow_merge_commit: @@ -96731,7 +97202,7 @@ paths: - string - 'null' format: uri - text_matches: *621 + text_matches: *623 related: type: - array @@ -96924,7 +97395,7 @@ paths: - followers - repositories - joined - - *622 + - *624 - *17 - *19 responses: @@ -97034,7 +97505,7 @@ paths: type: - boolean - 'null' - text_matches: *621 + text_matches: *623 blog: type: - string @@ -97116,7 +97587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &626 + - &628 name: team_id description: The unique identifier of the team. in: path @@ -97128,9 +97599,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 x-github: githubCloudOnly: false @@ -97157,7 +97628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *626 + - *628 requestBody: required: true content: @@ -97221,16 +97692,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '201': description: Response content: application/json: - schema: *294 + schema: *296 examples: - default: *295 + default: *297 '404': *6 '422': *15 '403': *27 @@ -97258,7 +97729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *626 + - *628 responses: '204': description: Response @@ -97289,7 +97760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *626 + - *628 - *46 - *17 - *19 @@ -97300,9 +97771,9 @@ paths: application/json: schema: type: array - items: *296 + items: *298 examples: - default: *627 + default: *629 headers: Link: *52 x-github: @@ -97331,7 +97802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *626 + - *628 requestBody: required: true content: @@ -97365,9 +97836,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 x-github: triggersNotification: true githubCloudOnly: false @@ -97394,16 +97865,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 responses: '200': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97428,8 +97899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 requestBody: required: false content: @@ -97452,9 +97923,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *628 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97479,8 +97950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 responses: '204': description: Response @@ -97509,8 +97980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *626 - - *298 + - *628 + - *300 - *46 - *17 - *19 @@ -97521,9 +97992,9 @@ paths: application/json: schema: type: array - items: *299 + items: *301 examples: - default: *629 + default: *631 headers: Link: *52 x-github: @@ -97552,8 +98023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *626 - - *298 + - *628 + - *300 requestBody: required: true content: @@ -97575,9 +98046,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: triggersNotification: true githubCloudOnly: false @@ -97604,17 +98075,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 responses: '200': description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *300 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97639,9 +98110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 requestBody: required: true content: @@ -97663,9 +98134,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *301 examples: - default: *630 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97690,9 +98161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 responses: '204': description: Response @@ -97721,9 +98192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 - 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 team discussion comment. @@ -97749,9 +98220,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 x-github: @@ -97780,9 +98251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *626 - - *298 - - *301 + - *628 + - *300 + - *303 requestBody: required: true content: @@ -97814,9 +98285,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97842,8 +98313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 - 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 team discussion. @@ -97869,9 +98340,9 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: - default: *304 + default: *306 headers: Link: *52 x-github: @@ -97900,8 +98371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *626 - - *298 + - *628 + - *300 requestBody: required: true content: @@ -97933,9 +98404,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: - default: *303 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97959,7 +98430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *626 + - *628 - *17 - *19 responses: @@ -97969,9 +98440,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *52 x-github: @@ -97997,7 +98468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *626 + - *628 - name: role description: Filters members returned by their role in the team. in: query @@ -98048,7 +98519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *626 + - *628 - *57 responses: '204': @@ -98085,7 +98556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *626 + - *628 - *57 responses: '204': @@ -98125,7 +98596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *626 + - *628 - *57 responses: '204': @@ -98162,16 +98633,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *626 + - *628 - *57 responses: '200': description: Response content: application/json: - schema: *306 + schema: *308 examples: - response-if-user-is-a-team-maintainer: *631 + response-if-user-is-a-team-maintainer: *633 '404': *6 x-github: githubCloudOnly: false @@ -98204,7 +98675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *626 + - *628 - *57 requestBody: required: false @@ -98230,9 +98701,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: *632 + response-if-users-membership-with-team-is-now-pending: *634 '403': description: Forbidden if team synchronization is set up '422': @@ -98266,7 +98737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *626 + - *628 - *57 responses: '204': @@ -98295,7 +98766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *626 + - *628 - *17 - *19 responses: @@ -98305,9 +98776,9 @@ paths: application/json: schema: type: array - items: *307 + items: *309 examples: - default: *633 + default: *635 headers: Link: *52 '404': *6 @@ -98333,16 +98804,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *626 - - *308 + - *628 + - *310 responses: '200': description: Response content: application/json: - schema: *307 + schema: *309 examples: - default: *634 + default: *636 '404': description: Not Found if project is not managed by this team x-github: @@ -98366,8 +98837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *626 - - *308 + - *628 + - *310 requestBody: required: false content: @@ -98434,8 +98905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *626 - - *308 + - *628 + - *310 responses: '204': description: Response @@ -98462,7 +98933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *626 + - *628 - *17 - *19 responses: @@ -98474,7 +98945,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 '404': *6 @@ -98504,15 +98975,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *626 - - *309 - - *310 + - *628 + - *311 + - *312 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *635 + schema: *637 examples: alternative-response-with-extra-repository-information: value: @@ -98663,9 +99134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *626 - - *309 - - *310 + - *628 + - *311 + - *312 requestBody: required: false content: @@ -98715,9 +99186,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *626 - - *309 - - *310 + - *628 + - *311 + - *312 responses: '204': description: Response @@ -98742,7 +99213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *626 + - *628 - *17 - *19 responses: @@ -98752,9 +99223,9 @@ paths: application/json: schema: type: array - items: *170 + items: *172 examples: - response-if-child-teams-exist: *636 + response-if-child-teams-exist: *638 headers: Link: *52 '404': *6 @@ -98787,7 +99258,7 @@ paths: application/json: schema: oneOf: - - &638 + - &640 title: Private User description: Private User type: object @@ -99037,7 +99508,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *637 + - *639 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99197,7 +99668,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *640 examples: default: value: @@ -99400,9 +99871,9 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 '304': *35 '500': *96 '401': *23 @@ -99541,17 +100012,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '401': *23 '403': *27 '404': *6 @@ -99595,7 +100066,7 @@ paths: type: integer secrets: type: array - items: &639 + items: &641 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99637,7 +100108,7 @@ paths: - visibility - selected_repositories_url examples: - default: *430 + default: *432 headers: Link: *52 x-github: @@ -99715,7 +100186,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *641 examples: default: value: @@ -99861,7 +100332,7 @@ paths: type: array items: *136 examples: - default: *640 + default: *642 '401': *23 '403': *27 '404': *6 @@ -100005,15 +100476,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '304': *35 '500': *96 '401': *23 @@ -100039,7 +100510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 requestBody: required: false content: @@ -100069,9 +100540,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '401': *23 '403': *27 '404': *6 @@ -100093,7 +100564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '202': *37 '304': *35 @@ -100122,13 +100593,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '202': description: Response content: application/json: - schema: &641 + schema: &643 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100181,7 +100652,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &642 + default: &644 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100213,7 +100684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *213 + - *215 - name: export_id in: path required: true @@ -100226,9 +100697,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *643 examples: - default: *642 + default: *644 '404': *6 x-github: githubCloudOnly: false @@ -100249,7 +100720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *213 + - *215 responses: '200': description: Response @@ -100265,9 +100736,9 @@ paths: type: integer machines: type: array - items: *429 + items: *431 examples: - default: *643 + default: *645 '304': *35 '500': *96 '401': *23 @@ -100296,7 +100767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *213 + - *215 requestBody: required: true content: @@ -100352,11 +100823,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *315 + repository: *317 machine: anyOf: - type: 'null' - - *429 + - *431 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101153,15 +101624,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '304': *35 '500': *96 '400': *14 @@ -101193,15 +101664,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *428 + default: *430 '500': *96 '401': *23 '403': *27 @@ -101231,9 +101702,9 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: &654 + default: &656 value: - id: 197 name: hello_docker @@ -101334,7 +101805,7 @@ paths: application/json: schema: type: array - items: &644 + items: &646 title: Email description: Email type: object @@ -101404,9 +101875,9 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: - default: &656 + default: &658 value: - email: octocat@github.com verified: true @@ -101483,7 +101954,7 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: default: value: @@ -101741,7 +102212,7 @@ paths: application/json: schema: type: array - items: &645 + items: &647 title: GPG Key description: A unique encryption key type: object @@ -101886,7 +102357,7 @@ paths: - subkeys - revoked examples: - default: &670 + default: &672 value: - id: 3 name: Octocat's GPG Key @@ -101971,9 +102442,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: - default: &646 + default: &648 value: id: 3 name: Octocat's GPG Key @@ -102030,7 +102501,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &647 + - &649 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102042,9 +102513,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *647 examples: - default: *646 + default: *648 '404': *6 '304': *35 '403': *27 @@ -102067,7 +102538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *647 + - *649 responses: '204': description: Response @@ -102343,12 +102814,12 @@ paths: application/json: schema: anyOf: - - *201 + - *203 - type: object properties: {} additionalProperties: false examples: - default: *202 + default: *204 '204': description: Response when there are no restrictions x-github: @@ -102372,7 +102843,7 @@ paths: required: true content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -102383,7 +102854,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -102464,7 +102935,7 @@ paths: - closed - all default: open - - *209 + - *211 - name: sort description: What to sort results by. in: query @@ -102489,7 +102960,7 @@ paths: type: array items: *78 examples: - default: *210 + default: *212 headers: Link: *52 '404': *6 @@ -102522,7 +102993,7 @@ paths: application/json: schema: type: array - items: &648 + items: &650 title: Key description: Key type: object @@ -102625,9 +103096,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: &649 + default: &651 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102660,15 +103131,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *525 + - *527 responses: '200': description: Response content: application/json: - schema: *648 + schema: *650 examples: - default: *649 + default: *651 '404': *6 '304': *35 '403': *27 @@ -102691,7 +103162,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *525 + - *527 responses: '204': description: Response @@ -102724,7 +103195,7 @@ paths: application/json: schema: type: array - items: &650 + items: &652 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -102803,7 +103274,7 @@ paths: - account - plan examples: - default: &651 + default: &653 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -102865,9 +103336,9 @@ paths: application/json: schema: type: array - items: *650 + items: *652 examples: - default: *651 + default: *653 headers: Link: *52 '304': *35 @@ -102907,7 +103378,7 @@ paths: application/json: schema: type: array - items: *215 + items: *217 examples: default: value: @@ -103015,7 +103486,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: default: value: @@ -103098,7 +103569,7 @@ paths: description: Response content: application/json: - schema: *215 + schema: *217 examples: default: value: @@ -103166,7 +103637,7 @@ paths: application/json: schema: type: array - items: *217 + items: *219 examples: default: value: @@ -103428,7 +103899,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -103608,7 +104079,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *218 + - *220 - name: exclude in: query required: false @@ -103621,7 +104092,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -103815,7 +104286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *218 + - *220 responses: '302': description: Response @@ -103841,7 +104312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *218 + - *220 responses: '204': description: Response @@ -103870,8 +104341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *218 - - *652 + - *220 + - *654 responses: '204': description: Response @@ -103895,7 +104366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *218 + - *220 - *17 - *19 responses: @@ -103907,7 +104378,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 '404': *6 @@ -103986,7 +104457,7 @@ paths: - docker - nuget - container - - *653 + - *655 - *19 - *17 responses: @@ -103996,10 +104467,10 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *654 - '400': *655 + default: *656 + '400': *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104019,16 +104490,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *223 + schema: *225 examples: - default: &671 + default: &673 value: id: 40201 name: octo-name @@ -104141,8 +104612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 responses: '204': description: Response @@ -104172,8 +104643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 - name: token description: package token schema: @@ -104205,8 +104676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *225 - - *226 + - *227 + - *228 - *19 - *17 - name: state @@ -104226,7 +104697,7 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: default: value: @@ -104275,15 +104746,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 - *228 + - *230 responses: '200': description: Response content: application/json: - schema: *227 + schema: *229 examples: default: value: @@ -104319,9 +104790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 - *228 + - *230 responses: '204': description: Response @@ -104351,9 +104822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *225 - - *226 + - *227 - *228 + - *230 responses: '204': description: Response @@ -104390,9 +104861,9 @@ paths: application/json: schema: type: array - items: *644 + items: *646 examples: - default: *656 + default: *658 headers: Link: *52 '304': *35 @@ -104505,7 +104976,7 @@ paths: type: array items: *64 examples: - default: &663 + default: &665 summary: Default response value: - id: 1296269 @@ -104823,9 +105294,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *317 examples: - default: *317 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104863,9 +105334,9 @@ paths: application/json: schema: type: array - items: *499 + items: *501 examples: - default: *657 + default: *659 headers: Link: *52 '304': *35 @@ -104888,7 +105359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *205 + - *207 responses: '204': description: Response @@ -104911,7 +105382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *205 + - *207 responses: '204': description: Response @@ -104944,7 +105415,7 @@ paths: application/json: schema: type: array - items: &658 + items: &660 title: Social account description: Social media account type: object @@ -104961,7 +105432,7 @@ paths: - provider - url examples: - default: &659 + default: &661 value: - provider: twitter url: https://twitter.com/github @@ -105024,9 +105495,9 @@ paths: application/json: schema: type: array - items: *658 + items: *660 examples: - default: *659 + default: *661 '422': *15 '304': *35 '404': *6 @@ -105114,7 +105585,7 @@ paths: application/json: schema: type: array - items: &660 + items: &662 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105134,7 +105605,7 @@ paths: - title - created_at examples: - default: &685 + default: &687 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105201,9 +105672,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *662 examples: - default: &661 + default: &663 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105234,7 +105705,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: - - &662 + - &664 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105246,9 +105717,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *662 examples: - default: *661 + default: *663 '404': *6 '304': *35 '403': *27 @@ -105271,7 +105742,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: - - *662 + - *664 responses: '204': description: Response @@ -105300,7 +105771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &686 + - &688 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 @@ -105325,11 +105796,11 @@ paths: type: array items: *64 examples: - default-response: *663 + default-response: *665 application/vnd.github.v3.star+json: schema: type: array - items: &687 + items: &689 title: Starred Repository description: Starred Repository type: object @@ -105485,8 +105956,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: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response if this repository is starred by you @@ -105514,8 +105985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -105539,8 +106010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *309 - - *310 + - *311 + - *312 responses: '204': description: Response @@ -105575,7 +106046,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 '304': *35 @@ -105612,7 +106083,7 @@ paths: application/json: schema: type: array - items: *294 + items: *296 examples: default: value: @@ -105698,10 +106169,10 @@ paths: application/json: schema: oneOf: - - *638 - - *637 + - *640 + - *639 examples: - default-response: &665 + default-response: &667 summary: Default response value: login: octocat @@ -105736,7 +106207,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &666 + response-with-git-hub-plan-information: &668 summary: Response with GitHub plan information value: login: octocat @@ -105782,6 +106253,68 @@ paths: enabledForGitHubApps: true category: users subcategory: users + "/user/{user_id}/projectsV2/{project_number}/drafts": + post: + summary: Create draft item for user owned project + description: Create draft issue item for the specified user owned project. + tags: + - projects + operationId: projects/create-draft-item-for-authenticated-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project + parameters: + - name: user_id + description: The unique identifier of the user. + in: path + required: true + schema: + type: string + - *243 + requestBody: + required: true + description: Details of the draft item to create in the project. + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The title of the draft issue item to create in the + project. + body: + type: string + description: The body content of the draft issue item to create + in the project. + required: + - title + examples: + title: + summary: Example with Sample Draft Issue Title + value: + title: Sample Draft Issue Title + body: + summary: Example with Sample Draft Issue Title and Body + value: + title: Sample Draft Issue Title + body: This is the body content of the draft issue. + responses: + '201': + description: Response + content: + application/json: + schema: *248 + examples: + draft_issue: *249 + '304': *35 + '403': *27 + '401': *23 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: projects + subcategory: drafts "/users": get: summary: List users @@ -105796,7 +106329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *664 + - *666 - *17 responses: '200': @@ -105845,11 +106378,11 @@ paths: application/json: schema: oneOf: - - *638 - - *637 + - *640 + - *639 examples: - default-response: *665 - response-with-git-hub-plan-information: *666 + default-response: *667 + response-with-git-hub-plan-information: *668 '404': *6 x-github: githubCloudOnly: false @@ -105899,8 +106432,8 @@ paths: required: - subject_digests examples: - default: *667 - withPredicateType: *668 + default: *669 + withPredicateType: *670 responses: '200': description: Response @@ -105954,7 +106487,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *669 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106159,7 +106692,7 @@ paths: initiator: type: string examples: - default: *371 + default: *373 '201': description: Response content: @@ -106198,9 +106731,9 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *654 + default: *656 '403': *27 '401': *23 x-github: @@ -106584,9 +107117,9 @@ paths: application/json: schema: type: array - items: *645 + items: *647 examples: - default: *670 + default: *672 headers: Link: *52 x-github: @@ -106690,7 +107223,7 @@ paths: application/json: schema: *20 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106815,7 +107348,7 @@ paths: - docker - nuget - container - - *653 + - *655 - *57 - *19 - *17 @@ -106826,12 +107359,12 @@ paths: application/json: schema: type: array - items: *223 + items: *225 examples: - default: *654 + default: *656 '403': *27 '401': *23 - '400': *655 + '400': *657 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106851,17 +107384,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *57 responses: '200': description: Response content: application/json: - schema: *223 + schema: *225 examples: - default: *671 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106882,8 +107415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *57 responses: '204': @@ -106916,8 +107449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *57 - name: token description: package token @@ -106950,8 +107483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *225 - - *226 + - *227 + - *228 - *57 responses: '200': @@ -106960,7 +107493,7 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: default: value: @@ -107018,16 +107551,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *225 - - *226 + - *227 - *228 + - *230 - *57 responses: '200': description: Response content: application/json: - schema: *227 + schema: *229 examples: default: value: @@ -107062,10 +107595,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *225 - - *226 - - *57 + - *227 - *228 + - *57 + - *230 responses: '204': description: Response @@ -107097,10 +107630,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *225 - - *226 - - *57 + - *227 - *228 + - *57 + - *230 responses: '204': description: Response @@ -107141,9 +107674,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *240 + default: *242 headers: Link: *52 '304': *35 @@ -107165,16 +107698,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *241 + - *243 - *57 responses: '200': description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 headers: Link: *52 '304': *35 @@ -107196,7 +107729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *241 + - *243 - *57 - *17 - *38 @@ -107208,9 +107741,9 @@ paths: application/json: schema: type: array - items: *244 + items: *246 examples: - default: *672 + default: *674 headers: Link: *52 '304': *35 @@ -107232,17 +107765,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *241 - - *673 + - *243 + - *675 - *57 responses: '200': description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *674 + default: *676 headers: Link: *52 '304': *35 @@ -107265,7 +107798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *241 + - *243 - *57 - *38 - *39 @@ -107298,9 +107831,9 @@ paths: application/json: schema: type: array - items: *248 + items: *250 examples: - default: *249 + default: *251 headers: Link: *52 '304': *35 @@ -107322,7 +107855,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *57 - - *241 + - *243 requestBody: required: true description: Details of the item to add to the project. @@ -107359,10 +107892,10 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - issue: *247 - pull_request: *247 + issue: *249 + pull_request: *249 '304': *35 '403': *27 '401': *23 @@ -107382,9 +107915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *241 + - *243 - *57 - - *250 + - *252 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -107404,9 +107937,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - default: *249 + default: *251 headers: Link: *52 '304': *35 @@ -107427,9 +107960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *241 + - *243 - *57 - - *250 + - *252 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107502,13 +108035,13 @@ paths: description: Response content: application/json: - schema: *248 + schema: *250 examples: - text_field: *249 - number_field: *249 - date_field: *249 - single_select_field: *249 - iteration_field: *249 + text_field: *251 + number_field: *251 + date_field: *251 + single_select_field: *251 + iteration_field: *251 '401': *23 '403': *27 '404': *6 @@ -107528,9 +108061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *241 + - *243 - *57 - - *250 + - *252 responses: '204': description: Response @@ -107750,7 +108283,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -107780,9 +108313,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *677 examples: - default: *676 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107810,9 +108343,9 @@ paths: description: Response content: application/json: - schema: *677 + schema: *679 examples: - default: *678 + default: *680 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107836,7 +108369,7 @@ paths: - *99 - *101 - *100 - - *679 + - *681 - *102 responses: '200': @@ -107973,9 +108506,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *682 examples: - default: *681 + default: *683 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107997,7 +108530,7 @@ paths: parameters: - *57 - *99 - - *682 + - *684 - *100 responses: '200': @@ -108096,9 +108629,9 @@ paths: - *99 - *101 - *100 - - *683 + - *685 - *102 - - *684 + - *686 responses: '200': description: Response when getting a billing usage summary @@ -108232,9 +108765,9 @@ paths: application/json: schema: type: array - items: *658 + items: *660 examples: - default: *659 + default: *661 headers: Link: *52 x-github: @@ -108264,9 +108797,9 @@ paths: application/json: schema: type: array - items: *660 + items: *662 examples: - default: *685 + default: *687 headers: Link: *52 x-github: @@ -108291,7 +108824,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *57 - - *686 + - *688 - *46 - *17 - *19 @@ -108303,11 +108836,11 @@ paths: schema: anyOf: - type: array - items: *687 + items: *689 - type: array items: *64 examples: - default-response: *663 + default-response: *665 headers: Link: *52 x-github: @@ -108338,7 +108871,7 @@ paths: type: array items: *136 examples: - default: *229 + default: *231 headers: Link: *52 x-github: @@ -108467,7 +109000,7 @@ webhooks: type: string enum: - disabled - enterprise: &688 + enterprise: &690 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108536,7 +109069,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &689 + installation: &691 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108557,7 +109090,7 @@ webhooks: required: - id - node_id - organization: &690 + organization: &692 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108630,7 +109163,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &691 + repository: &693 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -109543,10 +110076,10 @@ webhooks: type: string enum: - enabled - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -109622,11 +110155,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: &692 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + rule: &694 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) @@ -109849,11 +110382,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: *692 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + rule: *694 sender: *4 required: - action @@ -110041,11 +110574,11 @@ webhooks: - everyone required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - rule: *692 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + rule: *694 sender: *4 required: - action @@ -110129,7 +110662,7 @@ webhooks: type: string enum: - completed - check_run: &694 + check_run: &696 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110194,7 +110727,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *388 + items: *390 repository: *136 status: type: string @@ -110239,7 +110772,7 @@ webhooks: - examples: - neutral - deployment: *693 + deployment: *695 details_url: type: string examples: @@ -110299,7 +110832,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *388 + items: *390 started_at: type: string format: date-time @@ -110337,10 +110870,10 @@ webhooks: - output - app - pull_requests - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + installation: *691 + enterprise: *690 + organization: *692 + repository: *693 sender: *4 required: - check_run @@ -110733,11 +111266,11 @@ webhooks: type: string enum: - created - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *696 + installation: *691 + enterprise: *690 + organization: *692 + repository: *693 sender: *4 required: - check_run @@ -111133,11 +111666,11 @@ webhooks: type: string enum: - requested_action - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *696 + installation: *691 + enterprise: *690 + organization: *692 + repository: *693 requested_action: description: The action requested by the user. type: object @@ -111542,11 +112075,11 @@ webhooks: type: string enum: - rerequested - check_run: *694 - installation: *689 - enterprise: *688 - organization: *690 - repository: *691 + check_run: *696 + installation: *691 + enterprise: *690 + organization: *692 + repository: *693 sender: *4 required: - check_run @@ -112538,10 +113071,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -112822,6 +113355,11 @@ webhooks: enum: - read - write + attestations: + type: string + enum: + - read + - write checks: type: string enum: @@ -112872,11 +113410,21 @@ webhooks: enum: - read - write + merge_queues: + type: string + enum: + - read + - write metadata: type: string enum: - read - write + models: + type: string + enum: + - read + - write organization_administration: type: string enum: @@ -113226,10 +113774,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -113505,6 +114053,11 @@ webhooks: enum: - read - write + attestations: + type: string + enum: + - read + - write checks: type: string enum: @@ -113555,11 +114108,21 @@ webhooks: enum: - read - write + merge_queues: + type: string + enum: + - read + - write metadata: type: string enum: - read - write + models: + type: string + enum: + - read + - write organization_administration: type: string enum: @@ -113908,10 +114471,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -114080,7 +114643,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114232,20 +114795,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &695 + commit_oid: &697 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *688 - installation: *689 - organization: *690 - ref: &696 + enterprise: *690 + installation: *691 + organization: *692 + ref: &698 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *691 + repository: *693 sender: *4 required: - action @@ -114412,7 +114975,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114653,12 +115216,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *697 + enterprise: *690 + installation: *691 + organization: *692 + ref: *698 + repository: *693 sender: *4 required: - action @@ -114756,7 +115319,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114941,12 +115504,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *697 + enterprise: *690 + installation: *691 + organization: *692 + ref: *698 + repository: *693 sender: *4 required: - action @@ -115115,7 +115678,7 @@ webhooks: required: - login - id - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115292,12 +115855,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *697 + enterprise: *690 + installation: *691 + organization: *692 + ref: *698 + repository: *693 sender: *4 required: - action @@ -115400,7 +115963,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115580,9 +116143,9 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115590,7 +116153,7 @@ webhooks: type: - string - 'null' - repository: *691 + repository: *693 sender: *4 required: - action @@ -115689,7 +116252,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *403 + dismissed_comment: *405 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115836,12 +116399,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *695 - enterprise: *688 - installation: *689 - organization: *690 - ref: *696 - repository: *691 + commit_oid: *697 + enterprise: *690 + installation: *691 + organization: *692 + ref: *698 + repository: *693 sender: *4 required: - action @@ -116103,10 +116666,10 @@ webhooks: - updated_at - author_association - body - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -116187,18 +116750,18 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *690 - pusher_type: &697 + organization: *692 + pusher_type: &699 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &698 + ref: &700 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116208,7 +116771,7 @@ webhooks: enum: - tag - branch - repository: *691 + repository: *693 sender: *4 required: - ref @@ -116290,10 +116853,10 @@ webhooks: type: string enum: - created - definition: *251 - enterprise: *688 - installation: *689 - organization: *690 + definition: *253 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -116378,9 +116941,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -116457,10 +117020,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *251 - enterprise: *688 - installation: *689 - organization: *690 + definition: *253 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -116537,10 +117100,10 @@ webhooks: type: string enum: - updated - definition: *251 - enterprise: *688 - installation: *689 - organization: *690 + definition: *253 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -116617,10 +117180,10 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - repository: *691 - organization: *690 + enterprise: *690 + installation: *691 + repository: *693 + organization: *692 sender: *4 new_property_values: type: array @@ -116705,18 +117268,18 @@ webhooks: title: delete event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - pusher_type: *697 - ref: *698 + enterprise: *690 + installation: *691 + organization: *692 + pusher_type: *699 + ref: *700 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *691 + repository: *693 sender: *4 required: - ref @@ -116800,11 +117363,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -116888,11 +117451,11 @@ webhooks: type: string enum: - auto_reopened - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -116976,11 +117539,11 @@ webhooks: type: string enum: - created - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117062,11 +117625,11 @@ webhooks: type: string enum: - dismissed - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117148,11 +117711,11 @@ webhooks: type: string enum: - fixed - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117235,11 +117798,11 @@ webhooks: type: string enum: - reintroduced - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117321,11 +117884,11 @@ webhooks: type: string enum: - reopened - alert: *455 - installation: *689 - organization: *690 - enterprise: *688 - repository: *691 + alert: *457 + installation: *691 + organization: *692 + enterprise: *690 + repository: *693 sender: *4 required: - action @@ -117402,9 +117965,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - key: &699 + enterprise: *690 + installation: *691 + key: &701 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117442,8 +118005,8 @@ webhooks: - verified - created_at - read_only - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -117520,11 +118083,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - key: *699 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + key: *701 + organization: *692 + repository: *693 sender: *4 required: - action @@ -118096,12 +118659,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - workflow: &703 + workflow: &705 title: Workflow type: - object @@ -118839,13 +119402,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *461 + deployment: *463 pull_requests: type: array - items: *545 - repository: *691 - organization: *690 - installation: *689 + items: *547 + repository: *693 + organization: *692 + installation: *691 sender: *4 responses: '200': @@ -118916,7 +119479,7 @@ webhooks: type: string enum: - approved - approver: &700 + approver: &702 type: object properties: avatar_url: @@ -118959,11 +119522,11 @@ webhooks: type: string comment: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - reviewers: &701 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + reviewers: &703 type: array items: type: object @@ -119044,7 +119607,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &702 + workflow_job_run: &704 type: object properties: conclusion: @@ -119790,18 +120353,18 @@ webhooks: type: string enum: - rejected - approver: *700 + approver: *702 comment: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - reviewers: *701 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + reviewers: *703 sender: *4 since: type: string - workflow_job_run: *702 + workflow_job_run: *704 workflow_job_runs: type: array items: @@ -120518,13 +121081,13 @@ webhooks: type: string enum: - requested - enterprise: *688 + enterprise: *690 environment: type: string - installation: *689 - organization: *690 - repository: *691 - requestor: &708 + installation: *691 + organization: *692 + repository: *693 + requestor: &710 title: User type: - object @@ -122467,12 +123030,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - workflow: *703 + workflow: *705 workflow_run: title: Deployment Workflow Run type: @@ -123163,7 +123726,7 @@ webhooks: type: string enum: - answered - answer: &706 + answer: &708 type: object properties: author_association: @@ -123323,7 +123886,7 @@ webhooks: - created_at - updated_at - body - discussion: &704 + discussion: &706 title: Discussion description: A Discussion in a repository. type: object @@ -123619,7 +124182,7 @@ webhooks: - id labels: type: array - items: *508 + items: *510 required: - repository_url - category @@ -123641,10 +124204,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -123771,11 +124334,11 @@ webhooks: - from required: - category - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -123858,11 +124421,11 @@ webhooks: type: string enum: - closed - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -123944,7 +124507,7 @@ webhooks: type: string enum: - created - comment: &705 + comment: &707 type: object properties: author_association: @@ -124104,11 +124667,11 @@ webhooks: - updated_at - body - reactions - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124191,12 +124754,12 @@ webhooks: type: string enum: - deleted - comment: *705 - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + comment: *707 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124291,12 +124854,12 @@ webhooks: - from required: - body - comment: *705 - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + comment: *707 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124380,11 +124943,11 @@ webhooks: type: string enum: - created - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124466,11 +125029,11 @@ webhooks: type: string enum: - deleted - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124570,11 +125133,11 @@ webhooks: type: string required: - from - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124656,10 +125219,10 @@ webhooks: type: string enum: - labeled - discussion: *704 - enterprise: *688 - installation: *689 - label: &707 + discussion: *706 + enterprise: *690 + installation: *691 + label: &709 title: Label type: object properties: @@ -124692,8 +125255,8 @@ webhooks: - color - default - description - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124776,11 +125339,11 @@ webhooks: type: string enum: - locked - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124862,11 +125425,11 @@ webhooks: type: string enum: - pinned - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -124948,11 +125511,11 @@ webhooks: type: string enum: - reopened - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125037,16 +125600,16 @@ webhooks: changes: type: object properties: - new_discussion: *704 - new_repository: *691 + new_discussion: *706 + new_repository: *693 required: - new_discussion - new_repository - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125129,10 +125692,10 @@ webhooks: type: string enum: - unanswered - discussion: *704 - old_answer: *706 - organization: *690 - repository: *691 + discussion: *706 + old_answer: *708 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125214,12 +125777,12 @@ webhooks: type: string enum: - unlabeled - discussion: *704 - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125302,11 +125865,11 @@ webhooks: type: string enum: - unlocked - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125388,11 +125951,11 @@ webhooks: type: string enum: - unpinned - discussion: *704 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + discussion: *706 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -125465,7 +126028,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *688 + enterprise: *690 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126143,9 +126706,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - forkee @@ -126291,9 +126854,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pages: description: The pages that were updated. type: array @@ -126331,7 +126894,7 @@ webhooks: - action - sha - html_url - repository: *691 + repository: *693 sender: *4 required: - pages @@ -126407,10 +126970,10 @@ webhooks: type: string enum: - created - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: &709 + organization: *692 + repositories: &711 description: An array of repository objects that the installation can access. type: array @@ -126436,8 +126999,8 @@ webhooks: - name - full_name - private - repository: *691 - requester: *708 + repository: *693 + requester: *710 sender: *4 required: - action @@ -126512,11 +127075,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *692 + repositories: *711 + repository: *693 requester: type: - 'null' @@ -126593,11 +127156,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *692 + repositories: *711 + repository: *693 requester: type: - 'null' @@ -126674,10 +127237,10 @@ webhooks: type: string enum: - added - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories_added: &710 + organization: *692 + repositories_added: &712 description: An array of repository objects, which were added to the installation. type: array @@ -126723,15 +127286,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *691 - repository_selection: &711 + repository: *693 + repository_selection: &713 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *708 + requester: *710 sender: *4 required: - action @@ -126810,10 +127373,10 @@ webhooks: type: string enum: - removed - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories_added: *710 + organization: *692 + repositories_added: *712 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126840,9 +127403,9 @@ webhooks: - name - full_name - private - repository: *691 - repository_selection: *711 - requester: *708 + repository: *693 + repository_selection: *713 + requester: *710 sender: *4 required: - action @@ -126921,11 +127484,11 @@ webhooks: type: string enum: - suspend - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *692 + repositories: *711 + repository: *693 requester: type: - 'null' @@ -127107,10 +127670,10 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 target_type: type: string @@ -127189,11 +127752,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *688 + enterprise: *690 installation: *20 - organization: *690 - repositories: *709 - repository: *691 + organization: *692 + repositories: *711 + repository: *693 requester: type: - 'null' @@ -127441,8 +128004,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128259,8 +128822,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128277,7 +128840,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -128621,8 +129184,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -128702,7 +129265,7 @@ webhooks: type: string enum: - deleted - comment: &712 + comment: &714 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128869,8 +129432,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129683,8 +130246,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129701,7 +130264,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -130047,8 +130610,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -130128,7 +130691,7 @@ webhooks: type: string enum: - edited - changes: &736 + changes: &738 description: The changes to the comment. type: object properties: @@ -130140,9 +130703,9 @@ webhooks: type: string required: - from - comment: *712 - enterprise: *688 - installation: *689 + comment: *714 + enterprise: *690 + installation: *691 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130958,8 +131521,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130976,7 +131539,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -131320,8 +131883,8 @@ webhooks: - state - locked - assignee - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131411,9 +131974,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131507,9 +132070,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131602,9 +132165,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131698,9 +132261,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -131785,10 +132348,10 @@ webhooks: type: string enum: - assigned - assignee: *708 - enterprise: *688 - installation: *689 - issue: &715 + assignee: *710 + enterprise: *690 + installation: *691 + issue: &717 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132600,11 +133163,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132621,7 +133184,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -132724,8 +133287,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -132805,8 +133368,8 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133623,11 +134186,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133644,7 +134207,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -133890,8 +134453,8 @@ webhooks: required: - state - closed_at - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -133970,8 +134533,8 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134779,11 +135342,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134800,7 +135363,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -134902,8 +135465,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -134982,8 +135545,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135814,11 +136377,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135835,7 +136398,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -135916,7 +136479,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &713 + milestone: &715 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136059,8 +136622,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -136159,8 +136722,8 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136972,11 +137535,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136990,7 +137553,7 @@ webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -137096,9 +137659,9 @@ webhooks: - active_lock_reason - body - reactions - label: *707 - organization: *690 - repository: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -137178,8 +137741,8 @@ webhooks: type: string enum: - labeled - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137990,11 +138553,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138008,7 +138571,7 @@ webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -138114,9 +138677,9 @@ webhooks: - active_lock_reason - body - reactions - label: *707 - organization: *690 - repository: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -138196,8 +138759,8 @@ webhooks: type: string enum: - locked - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139033,11 +139596,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139051,7 +139614,7 @@ webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -139134,8 +139697,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -139214,8 +139777,8 @@ webhooks: type: string enum: - milestoned - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140045,11 +140608,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140066,7 +140629,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -140146,9 +140709,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *713 - organization: *690 - repository: *691 + milestone: *715 + organization: *692 + repository: *693 sender: *4 required: - action @@ -141040,11 +141603,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141140,7 +141703,7 @@ webhooks: required: - login - id - type: *206 + type: *208 required: - id - number @@ -141621,8 +142184,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142434,11 +142997,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142455,7 +143018,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -142557,8 +143120,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -142638,9 +143201,9 @@ webhooks: type: string enum: - pinned - enterprise: *688 - installation: *689 - issue: &714 + enterprise: *690 + installation: *691 + issue: &716 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143446,11 +144009,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143467,7 +144030,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -143569,8 +144132,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -143649,8 +144212,8 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144484,11 +145047,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144585,9 +145148,9 @@ webhooks: format: uri user_view_type: type: string - type: *206 - organization: *690 - repository: *691 + type: *208 + organization: *692 + repository: *693 sender: *4 required: - action @@ -145476,11 +146039,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145497,7 +146060,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -146079,11 +146642,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *688 - installation: *689 - issue: *714 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *716 + organization: *692 + repository: *693 sender: *4 required: - action @@ -146163,12 +146726,12 @@ webhooks: type: string enum: - typed - enterprise: *688 - installation: *689 - issue: *715 - type: *206 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *717 + type: *208 + organization: *692 + repository: *693 sender: *4 required: - action @@ -146249,7 +146812,7 @@ webhooks: type: string enum: - unassigned - assignee: &739 + assignee: &741 title: User type: - object @@ -146321,11 +146884,11 @@ webhooks: required: - login - id - enterprise: *688 - installation: *689 - issue: *715 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *717 + organization: *692 + repository: *693 sender: *4 required: - action @@ -146404,12 +146967,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *688 - installation: *689 - issue: *715 - label: *707 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *717 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -146489,8 +147052,8 @@ webhooks: type: string enum: - unlocked - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147324,11 +147887,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *623 - issue_dependencies_summary: *624 + sub_issues_summary: *625 + issue_dependencies_summary: *626 issue_field_values: type: array - items: *625 + items: *627 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147345,7 +147908,7 @@ webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -147425,8 +147988,8 @@ webhooks: format: uri user_view_type: type: string - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147506,11 +148069,11 @@ webhooks: type: string enum: - unpinned - enterprise: *688 - installation: *689 - issue: *714 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *716 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147589,12 +148152,12 @@ webhooks: type: string enum: - untyped - enterprise: *688 - installation: *689 - issue: *715 - type: *206 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + issue: *717 + type: *208 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147674,11 +148237,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147756,11 +148319,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147870,11 +148433,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - label: *707 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + label: *709 + organization: *692 + repository: *693 sender: *4 required: - action @@ -147956,9 +148519,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: &716 + enterprise: *690 + installation: *691 + marketplace_purchase: &718 title: Marketplace Purchase type: object required: @@ -148046,8 +148609,8 @@ webhooks: type: integer unit_count: type: integer - organization: *690 - previous_marketplace_purchase: &717 + organization: *692 + previous_marketplace_purchase: &719 title: Marketplace Purchase type: object properties: @@ -148131,7 +148694,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *693 sender: *4 required: - action @@ -148211,10 +148774,10 @@ webhooks: - changed effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 + enterprise: *690 + installation: *691 + marketplace_purchase: *718 + organization: *692 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148302,7 +148865,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *693 sender: *4 required: - action @@ -148384,10 +148947,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 + enterprise: *690 + installation: *691 + marketplace_purchase: *718 + organization: *692 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148473,7 +149036,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *691 + repository: *693 sender: *4 required: - action @@ -148554,8 +149117,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 marketplace_purchase: title: Marketplace Purchase type: object @@ -148641,9 +149204,9 @@ webhooks: type: integer unit_count: type: integer - organization: *690 - previous_marketplace_purchase: *717 - repository: *691 + organization: *692 + previous_marketplace_purchase: *719 + repository: *693 sender: *4 required: - action @@ -148723,12 +149286,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *688 - installation: *689 - marketplace_purchase: *716 - organization: *690 - previous_marketplace_purchase: *717 - repository: *691 + enterprise: *690 + installation: *691 + marketplace_purchase: *718 + organization: *692 + previous_marketplace_purchase: *719 + repository: *693 sender: *4 required: - action @@ -148830,11 +149393,11 @@ webhooks: type: string required: - to - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 sender: *4 required: - action @@ -148936,11 +149499,11 @@ webhooks: type: - string - 'null' - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 sender: *4 required: - action @@ -149019,11 +149582,11 @@ webhooks: type: string enum: - removed - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 sender: *4 required: - action @@ -149101,11 +149664,11 @@ webhooks: type: string enum: - added - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149183,7 +149746,7 @@ webhooks: required: - login - id - team: &718 + team: &720 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149413,11 +149976,11 @@ webhooks: type: string enum: - removed - enterprise: *688 - installation: *689 - member: *708 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + member: *710 + organization: *692 + repository: *693 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149496,7 +150059,7 @@ webhooks: required: - login - id - team: *718 + team: *720 required: - action - scope @@ -149578,8 +150141,8 @@ webhooks: type: string enum: - checks_requested - installation: *689 - merge_group: &719 + installation: *691 + merge_group: &721 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149598,15 +150161,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *392 + head_commit: *394 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -149692,10 +150255,10 @@ webhooks: - merged - invalidated - dequeued - installation: *689 - merge_group: *719 - organization: *690 - repository: *691 + installation: *691 + merge_group: *721 + organization: *692 + repository: *693 sender: *4 required: - action @@ -149768,7 +150331,7 @@ webhooks: type: string enum: - deleted - enterprise: *688 + enterprise: *690 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149877,12 +150440,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *689 - organization: *690 + installation: *691 + organization: *692 repository: anyOf: - type: 'null' - - *691 + - *693 sender: *4 required: - action @@ -149962,11 +150525,11 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + milestone: *715 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150045,9 +150608,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - milestone: &720 + enterprise: *690 + installation: *691 + milestone: &722 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150189,8 +150752,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150269,11 +150832,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + milestone: *715 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150383,11 +150946,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - milestone: *713 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + milestone: *715 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150467,11 +151030,11 @@ webhooks: type: string enum: - opened - enterprise: *688 - installation: *689 - milestone: *720 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + milestone: *722 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150550,11 +151113,11 @@ webhooks: type: string enum: - blocked - blocked_user: *708 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + blocked_user: *710 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150633,11 +151196,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *708 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + blocked_user: *710 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150716,9 +151279,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - membership: &721 + enterprise: *690 + installation: *691 + membership: &723 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150828,8 +151391,8 @@ webhooks: - role - organization_url - user - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150907,11 +151470,11 @@ webhooks: type: string enum: - member_added - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + membership: *723 + organization: *692 + repository: *693 sender: *4 required: - action @@ -150990,8 +151553,8 @@ webhooks: type: string enum: - member_invited - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151113,10 +151676,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 - user: *708 + user: *710 required: - action - invitation @@ -151194,11 +151757,11 @@ webhooks: type: string enum: - member_removed - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + membership: *723 + organization: *692 + repository: *693 sender: *4 required: - action @@ -151285,11 +151848,11 @@ webhooks: properties: from: type: string - enterprise: *688 - installation: *689 - membership: *721 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + membership: *723 + organization: *692 + repository: *693 sender: *4 required: - action @@ -151365,9 +151928,9 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 package: description: Information about the package. type: object @@ -151890,7 +152453,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &722 + items: &724 title: Ruby Gems metadata type: object properties: @@ -151987,7 +152550,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *693 sender: *4 required: - action @@ -152063,9 +152626,9 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 package: description: Information about the package. type: object @@ -152427,7 +152990,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *724 source_url: type: string format: uri @@ -152498,7 +153061,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *693 sender: *4 required: - action @@ -152679,12 +153242,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *688 + enterprise: *690 id: type: integer - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - id @@ -152761,7 +153324,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &723 + personal_access_token_request: &725 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152911,10 +153474,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *688 - organization: *690 + enterprise: *690 + organization: *692 sender: *4 - installation: *689 + installation: *691 required: - action - personal_access_token_request @@ -152991,11 +153554,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *723 - enterprise: *688 - organization: *690 + personal_access_token_request: *725 + enterprise: *690 + organization: *692 sender: *4 - installation: *689 + installation: *691 required: - action - personal_access_token_request @@ -153071,11 +153634,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *723 - enterprise: *688 - organization: *690 + personal_access_token_request: *725 + enterprise: *690 + organization: *692 sender: *4 - installation: *689 + installation: *691 required: - action - personal_access_token_request @@ -153150,11 +153713,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *723 - organization: *690 - enterprise: *688 + personal_access_token_request: *725 + organization: *692 + enterprise: *690 sender: *4 - installation: *689 + installation: *691 required: - action - personal_access_token_request @@ -153259,7 +153822,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *724 + last_response: *726 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153291,8 +153854,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 zen: description: Random string of GitHub zen. @@ -153537,10 +154100,10 @@ webhooks: - from required: - note - enterprise: *688 - installation: *689 - organization: *690 - project_card: &725 + enterprise: *690 + installation: *691 + organization: *692 + project_card: &727 title: Project Card type: object properties: @@ -153663,7 +154226,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *693 sender: *4 required: - action @@ -153744,11 +154307,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project_card: *725 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project_card: *727 + repository: *693 sender: *4 required: - action @@ -153828,9 +154391,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 project_card: title: Project Card type: object @@ -153960,7 +154523,7 @@ webhooks: repository: anyOf: - type: 'null' - - *691 + - *693 sender: *4 required: - action @@ -154054,11 +154617,11 @@ webhooks: - from required: - note - enterprise: *688 - installation: *689 - organization: *690 - project_card: *725 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project_card: *727 + repository: *693 sender: *4 required: - action @@ -154152,9 +154715,9 @@ webhooks: - from required: - column_id - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 project_card: allOf: - title: Project Card @@ -154351,7 +154914,7 @@ webhooks: type: string required: - after_id - repository: *691 + repository: *693 sender: *4 required: - action @@ -154431,10 +154994,10 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - organization: *690 - project: &727 + enterprise: *690 + installation: *691 + organization: *692 + project: &729 title: Project type: object properties: @@ -154561,7 +155124,7 @@ webhooks: - creator - created_at - updated_at - repository: *691 + repository: *693 sender: *4 required: - action @@ -154641,10 +155204,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project_column: &726 + enterprise: *690 + installation: *691 + organization: *692 + project_column: &728 title: Project Column type: object properties: @@ -154684,7 +155247,7 @@ webhooks: - name - created_at - updated_at - repository: *691 + repository: *693 sender: *4 required: - action @@ -154763,14 +155326,14 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 + enterprise: *690 + installation: *691 + organization: *692 + project_column: *728 repository: anyOf: - type: 'null' - - *691 + - *693 sender: *4 required: - action @@ -154859,11 +155422,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project_column: *728 + repository: *693 sender: *4 required: - action @@ -154943,11 +155506,11 @@ webhooks: type: string enum: - moved - enterprise: *688 - installation: *689 - organization: *690 - project_column: *726 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project_column: *728 + repository: *693 sender: *4 required: - action @@ -155027,11 +155590,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project: *729 + repository: *693 sender: *4 required: - action @@ -155111,14 +155674,14 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - project: *727 + enterprise: *690 + installation: *691 + organization: *692 + project: *729 repository: anyOf: - type: 'null' - - *691 + - *693 sender: *4 required: - action @@ -155219,11 +155782,11 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project: *729 + repository: *693 sender: *4 required: - action @@ -155302,11 +155865,11 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 - organization: *690 - project: *727 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + project: *729 + repository: *693 sender: *4 required: - action @@ -155387,9 +155950,9 @@ webhooks: type: string enum: - closed - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -155470,9 +156033,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -155553,9 +156116,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -155676,9 +156239,9 @@ webhooks: type: string to: type: string - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -155761,7 +156324,7 @@ webhooks: type: string enum: - archived - changes: &731 + changes: &733 type: object properties: archived_at: @@ -155777,9 +156340,9 @@ webhooks: - string - 'null' format: date-time - installation: *689 - organization: *690 - projects_v2_item: &728 + installation: *691 + organization: *692 + projects_v2_item: &730 title: Projects v2 Item description: An item belonging to a project type: object @@ -155797,7 +156360,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *245 + content_type: *247 creator: *4 created_at: type: string @@ -155919,9 +156482,9 @@ webhooks: - 'null' to: type: string - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156003,9 +156566,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156086,9 +156649,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156193,7 +156756,7 @@ webhooks: oneOf: - type: string - type: integer - - &729 + - &731 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156217,7 +156780,7 @@ webhooks: required: - id - name - - &730 + - &732 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156257,8 +156820,8 @@ webhooks: oneOf: - type: string - type: integer - - *729 - - *730 + - *731 + - *732 type: - 'null' - string @@ -156281,9 +156844,9 @@ webhooks: - 'null' required: - body - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156380,9 +156943,9 @@ webhooks: type: - string - 'null' - installation: *689 - organization: *690 - projects_v2_item: *728 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156465,10 +157028,10 @@ webhooks: type: string enum: - restored - changes: *731 - installation: *689 - organization: *690 - projects_v2_item: *728 + changes: *733 + installation: *691 + organization: *692 + projects_v2_item: *730 sender: *4 required: - action @@ -156550,9 +157113,9 @@ webhooks: type: string enum: - reopened - installation: *689 - organization: *690 - projects_v2: *239 + installation: *691 + organization: *692 + projects_v2: *241 sender: *4 required: - action @@ -156633,9 +157196,9 @@ webhooks: type: string enum: - created - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *691 + organization: *692 + projects_v2_status_update: *734 sender: *4 required: - action @@ -156716,9 +157279,9 @@ webhooks: type: string enum: - deleted - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *691 + organization: *692 + projects_v2_status_update: *734 sender: *4 required: - action @@ -156864,9 +157427,9 @@ webhooks: - string - 'null' format: date - installation: *689 - organization: *690 - projects_v2_status_update: *732 + installation: *691 + organization: *692 + projects_v2_status_update: *734 sender: *4 required: - action @@ -156937,10 +157500,10 @@ webhooks: title: public event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - repository @@ -157017,13 +157580,13 @@ webhooks: type: string enum: - assigned - assignee: *708 - enterprise: *688 - installation: *689 - number: &733 + assignee: *710 + enterprise: *690 + installation: *691 + number: &735 description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -159372,7 +159935,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -159454,11 +160017,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -161800,7 +162363,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *693 sender: *4 required: - action @@ -161882,11 +162445,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -164228,7 +164791,7 @@ webhooks: - draft reason: type: string - repository: *691 + repository: *693 sender: *4 required: - action @@ -164310,13 +164873,13 @@ webhooks: type: string enum: - closed - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: &734 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: &736 allOf: - - *545 + - *547 - type: object properties: allow_auto_merge: @@ -164378,7 +164941,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *691 + repository: *693 sender: *4 required: - action @@ -164459,12 +165022,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -164544,11 +165107,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *688 - milestone: *242 - number: *733 - organization: *690 - pull_request: &735 + enterprise: *690 + milestone: *244 + number: *735 + organization: *692 + pull_request: &737 title: Pull Request type: object properties: @@ -166875,7 +167438,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -166954,11 +167517,11 @@ webhooks: type: string enum: - dequeued - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -169304,7 +169867,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *691 + repository: *693 sender: *4 required: - action @@ -169428,12 +169991,12 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -169513,11 +170076,11 @@ webhooks: type: string enum: - enqueued - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -171848,7 +172411,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -171928,11 +172491,11 @@ webhooks: type: string enum: - labeled - enterprise: *688 - installation: *689 - label: *707 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + label: *709 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -174280,7 +174843,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -174361,10 +174924,10 @@ webhooks: type: string enum: - locked - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -176710,7 +177273,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -176790,12 +177353,12 @@ webhooks: type: string enum: - milestoned - enterprise: *688 - milestone: *242 - number: *733 - organization: *690 - pull_request: *735 - repository: *691 + enterprise: *690 + milestone: *244 + number: *735 + organization: *692 + pull_request: *737 + repository: *693 sender: *4 required: - action @@ -176874,12 +177437,12 @@ webhooks: type: string enum: - opened - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -176960,12 +177523,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -177045,12 +177608,12 @@ webhooks: type: string enum: - reopened - enterprise: *688 - installation: *689 - number: *733 - organization: *690 - pull_request: *734 - repository: *691 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 + pull_request: *736 + repository: *693 sender: *4 required: - action @@ -177425,9 +177988,9 @@ webhooks: - start_side - side - reactions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: type: object properties: @@ -179657,7 +180220,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *693 sender: *4 required: - action @@ -179737,7 +180300,7 @@ webhooks: type: string enum: - deleted - comment: &737 + comment: &739 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -180030,9 +180593,9 @@ webhooks: - start_side - side - reactions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: type: object properties: @@ -182250,7 +182813,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *693 sender: *4 required: - action @@ -182330,11 +182893,11 @@ webhooks: type: string enum: - edited - changes: *736 - comment: *737 - enterprise: *688 - installation: *689 - organization: *690 + changes: *738 + comment: *739 + enterprise: *690 + installation: *691 + organization: *692 pull_request: type: object properties: @@ -184555,7 +185118,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *691 + repository: *693 sender: *4 required: - action @@ -184636,9 +185199,9 @@ webhooks: type: string enum: - dismissed - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -186871,7 +187434,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *693 review: description: The review that was affected. type: object @@ -187122,9 +187685,9 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -189238,8 +189801,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: &738 + repository: *693 + review: &740 description: The review that was affected. type: object properties: @@ -189477,12 +190040,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -191829,7 +192392,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 requested_reviewer: title: User type: @@ -191915,12 +192478,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -194274,7 +194837,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194469,12 +195032,12 @@ webhooks: type: string enum: - review_requested - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -196823,7 +197386,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 requested_reviewer: title: User type: @@ -196910,12 +197473,12 @@ webhooks: type: string enum: - review_requested - enterprise: *688 - installation: *689 + enterprise: *690 + installation: *691 number: description: The pull request number. type: integer - organization: *690 + organization: *692 pull_request: title: Pull Request type: object @@ -199255,7 +199818,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199439,9 +200002,9 @@ webhooks: type: string enum: - submitted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -201677,8 +202240,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 - review: *738 + repository: *693 + review: *740 sender: *4 required: - action @@ -201758,9 +202321,9 @@ webhooks: type: string enum: - resolved - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -203891,7 +204454,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *693 sender: *4 thread: type: object @@ -204288,9 +204851,9 @@ webhooks: type: string enum: - unresolved - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 pull_request: title: Simple Pull Request type: object @@ -206404,7 +206967,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *691 + repository: *693 sender: *4 thread: type: object @@ -206803,10 +207366,10 @@ webhooks: type: string before: type: string - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -209141,7 +209704,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -209223,11 +209786,11 @@ webhooks: type: string enum: - unassigned - assignee: *739 - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + assignee: *741 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -211577,7 +212140,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -211656,11 +212219,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *688 - installation: *689 - label: *707 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + label: *709 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -213999,7 +214562,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -214080,10 +214643,10 @@ webhooks: type: string enum: - unlocked - enterprise: *688 - installation: *689 - number: *733 - organization: *690 + enterprise: *690 + installation: *691 + number: *735 + organization: *692 pull_request: title: Pull Request type: object @@ -216412,7 +216975,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *691 + repository: *693 sender: *4 required: - action @@ -216615,7 +217178,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *688 + enterprise: *690 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216710,8 +217273,8 @@ webhooks: - url - author - committer - installation: *689 - organization: *690 + installation: *691 + organization: *692 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217299,9 +217862,9 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 registry_package: type: object properties: @@ -217778,7 +218341,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *722 + items: *724 summary: type: string tag_name: @@ -217834,7 +218397,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *693 sender: *4 required: - action @@ -217912,9 +218475,9 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 registry_package: type: object properties: @@ -218226,7 +218789,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *722 + items: *724 summary: type: string tag_name: @@ -218276,7 +218839,7 @@ webhooks: - owner - package_version - registry - repository: *691 + repository: *693 sender: *4 required: - action @@ -218353,10 +218916,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - release: &740 + enterprise: *690 + installation: *691 + organization: *692 + release: &742 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218687,7 +219250,7 @@ webhooks: - updated_at - zipball_url - body - repository: *691 + repository: *693 sender: *4 required: - action @@ -218764,11 +219327,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + release: *742 + repository: *693 sender: *4 required: - action @@ -218885,11 +219448,11 @@ webhooks: type: boolean required: - to - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + release: *742 + repository: *693 sender: *4 required: - action @@ -218967,9 +219530,9 @@ webhooks: type: string enum: - prereleased - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219305,7 +219868,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *693 sender: *4 required: - action @@ -219381,10 +219944,10 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - release: &741 + enterprise: *690 + installation: *691 + organization: *692 + release: &743 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219717,7 +220280,7 @@ webhooks: - string - 'null' format: uri - repository: *691 + repository: *693 sender: *4 required: - action @@ -219793,11 +220356,11 @@ webhooks: type: string enum: - released - enterprise: *688 - installation: *689 - organization: *690 - release: *740 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + release: *742 + repository: *693 sender: *4 required: - action @@ -219873,11 +220436,11 @@ webhooks: type: string enum: - unpublished - enterprise: *688 - installation: *689 - organization: *690 - release: *741 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + release: *743 + repository: *693 sender: *4 required: - action @@ -219953,11 +220516,11 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_advisory: *609 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_advisory: *611 sender: *4 required: - action @@ -220033,11 +220596,11 @@ webhooks: type: string enum: - reported - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_advisory: *609 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_advisory: *611 sender: *4 required: - action @@ -220113,10 +220676,10 @@ webhooks: type: string enum: - archived - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220193,10 +220756,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220274,10 +220837,10 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220362,10 +220925,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220480,10 +221043,10 @@ webhooks: - 'null' items: type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220555,10 +221118,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 status: type: string @@ -220639,10 +221202,10 @@ webhooks: type: string enum: - privatized - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220719,10 +221282,10 @@ webhooks: type: string enum: - publicized - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220816,10 +221379,10 @@ webhooks: - name required: - repository - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -220899,11 +221462,11 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *281 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_ruleset: *283 sender: *4 required: - action @@ -220981,11 +221544,11 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *281 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_ruleset: *283 sender: *4 required: - action @@ -221063,11 +221626,11 @@ webhooks: type: string enum: - edited - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - repository_ruleset: *281 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + repository_ruleset: *283 changes: type: object properties: @@ -221086,16 +221649,16 @@ webhooks: properties: added: type: array - items: *256 + items: *258 deleted: type: array - items: *256 + items: *258 updated: type: array items: type: object properties: - condition: *256 + condition: *258 changes: type: object properties: @@ -221128,16 +221691,16 @@ webhooks: properties: added: type: array - items: *566 + items: *568 deleted: type: array - items: *566 + items: *568 updated: type: array items: type: object properties: - rule: *566 + rule: *568 changes: type: object properties: @@ -221374,10 +221937,10 @@ webhooks: - from required: - owner - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -221455,10 +222018,10 @@ webhooks: type: string enum: - unarchived - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -221536,7 +222099,7 @@ webhooks: type: string enum: - create - alert: &742 + alert: &744 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221660,10 +222223,10 @@ webhooks: type: string enum: - open - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -221873,10 +222436,10 @@ webhooks: type: string enum: - dismissed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -221954,11 +222517,11 @@ webhooks: type: string enum: - reopen - alert: *742 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *744 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222160,10 +222723,10 @@ webhooks: enum: - fixed - open - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222241,17 +222804,17 @@ webhooks: type: string enum: - created - alert: &743 + alert: &745 type: object properties: - number: *152 - created_at: *153 + number: *154 + created_at: *155 updated_at: anyOf: - type: 'null' - - *154 - url: *155 - html_url: *156 + - *156 + url: *157 + html_url: *158 locations_url: type: string format: uri @@ -222355,10 +222918,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222439,11 +223002,11 @@ webhooks: type: string enum: - created - alert: *743 - installation: *689 - location: *744 - organization: *690 - repository: *691 + alert: *745 + installation: *691 + location: *746 + organization: *692 + repository: *693 sender: *4 required: - location @@ -222681,11 +223244,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222763,11 +223326,11 @@ webhooks: type: string enum: - reopened - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222845,11 +223408,11 @@ webhooks: type: string enum: - resolved - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -222927,11 +223490,11 @@ webhooks: type: string enum: - validated - alert: *743 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + alert: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -223061,10 +223624,10 @@ webhooks: - organization - enterprise - - repository: *691 - enterprise: *688 - installation: *689 - organization: *690 + repository: *693 + enterprise: *690 + installation: *691 + organization: *692 sender: *4 required: - action @@ -223142,11 +223705,11 @@ webhooks: type: string enum: - published - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - security_advisory: &745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + security_advisory: &747 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223332,11 +223895,11 @@ webhooks: type: string enum: - updated - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 - security_advisory: *745 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 + security_advisory: *747 sender: *4 required: - action @@ -223409,10 +223972,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223598,11 +224161,11 @@ webhooks: from: type: object properties: - security_and_analysis: *255 - enterprise: *688 - installation: *689 - organization: *690 - repository: *315 + security_and_analysis: *257 + enterprise: *690 + installation: *691 + organization: *692 + repository: *317 sender: *4 required: - changes @@ -223680,12 +224243,12 @@ webhooks: type: string enum: - cancelled - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: &746 + sponsorship: &748 type: object properties: created_at: @@ -223990,12 +224553,12 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - sponsorship @@ -224083,12 +224646,12 @@ webhooks: type: string required: - from - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - changes @@ -224165,17 +224728,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &747 + effective_date: &749 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - sponsorship @@ -224249,7 +224812,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &748 + changes: &750 type: object properties: tier: @@ -224293,13 +224856,13 @@ webhooks: - from required: - tier - effective_date: *747 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + effective_date: *749 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - changes @@ -224376,13 +224939,13 @@ webhooks: type: string enum: - tier_changed - changes: *748 - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + changes: *750 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - sponsorship: *746 + sponsorship: *748 required: - action - changes @@ -224456,10 +225019,10 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224543,10 +225106,10 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224980,15 +225543,15 @@ webhooks: type: - string - 'null' - enterprise: *688 + enterprise: *690 id: description: The unique identifier of the status. type: integer - installation: *689 + installation: *691 name: type: string - organization: *690 - repository: *691 + organization: *692 + repository: *693 sender: *4 sha: description: The Commit SHA. @@ -225104,9 +225667,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -225196,9 +225759,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -225288,9 +225851,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -225380,9 +225943,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *689 - organization: *690 - repository: *691 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -225459,12 +226022,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 - team: &749 + team: &751 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225694,9 +226257,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -226166,7 +226729,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - team @@ -226242,9 +226805,9 @@ webhooks: type: string enum: - created - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -226714,7 +227277,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - team @@ -226791,9 +227354,9 @@ webhooks: type: string enum: - deleted - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -227263,7 +227826,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - team @@ -227407,9 +227970,9 @@ webhooks: - from required: - permissions - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -227879,7 +228442,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - changes @@ -227957,9 +228520,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *688 - installation: *689 - organization: *690 + enterprise: *690 + installation: *691 + organization: *692 repository: title: Repository description: A git repository @@ -228429,7 +228992,7 @@ webhooks: - topics - visibility sender: *4 - team: *749 + team: *751 required: - action - team @@ -228505,10 +229068,10 @@ webhooks: type: string enum: - started - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 required: - action @@ -228581,17 +229144,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *688 + enterprise: *690 inputs: type: - object - 'null' additionalProperties: true - installation: *689 - organization: *690 + installation: *691 + organization: *692 ref: type: string - repository: *691 + repository: *693 sender: *4 workflow: type: string @@ -228673,10 +229236,10 @@ webhooks: type: string enum: - completed - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 workflow_job: allOf: @@ -228932,7 +229495,7 @@ webhooks: type: string required: - conclusion - deployment: *461 + deployment: *463 required: - action - repository @@ -229011,10 +229574,10 @@ webhooks: type: string enum: - in_progress - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 workflow_job: allOf: @@ -229296,7 +229859,7 @@ webhooks: required: - status - steps - deployment: *461 + deployment: *463 required: - action - repository @@ -229375,10 +229938,10 @@ webhooks: type: string enum: - queued - enterprise: *688 - installation: *689 - organization: *690 - repository: *691 + enterprise: *690 + installation: *691 + organization: *692 + repository: *693 sender: *4 workflow_job: type: object @@ -229524,7 +230087,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *461 + {"code":"deadline_exceeded","msg":"operation timed out"}