diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f1186dccf38c..d8310ff7baef 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ # Update ARG and FROM together from the Node devcontainer image tags: # https://mcr.microsoft.com/en-us/product/devcontainers/javascript-node/tags -ARG VARIANT=dev-24-bookworm -FROM mcr.microsoft.com/devcontainers/javascript-node:dev-24-bookworm@sha256:42a1a7629b5a2c22c759a1de4fbb277c9e600b6fecd66b89583fc36e9453e698 +ARG VARIANT=dev-26-bookworm +FROM mcr.microsoft.com/devcontainers/javascript-node:dev-26-bookworm@sha256:50273c54d771adc1599a5c08ba849b4f65de1df8d8040fee3a11e8640c500d31 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2de8b05958fb..205bd16a8972 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,8 +5,8 @@ "name": "docs.github.com", "build": { "dockerfile": "Dockerfile", - // Update 'VARIANT' to pick a Node version - "args": { "VARIANT": "24" } + // The pinned FROM image in .devcontainer/Dockerfile picks the Node version. Keep VARIANT in sync. + "args": { "VARIANT": "26" } }, // Install features. Type 'feature' in the VS Code command palette for a full list. diff --git a/Dockerfile b/Dockerfile index fc5c7e497407..b60d04df82ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,11 +15,11 @@ RUN --mount=type=secret,id=pkg-mirror-host,target=/etc/pkg_mirror_host.txt \ if [ -f /etc/pkg_mirror_host.txt ]; then cat /etc/pkg_mirror_host.txt >> /etc/apt/mirrorlist.txt; fi RUN --mount=type=secret,id=apt-auth-conf,target=/etc/apt/auth.conf.d/apt_auth.conf \ apt-get -qq update && apt-get -qq install --no-install-recommends curl git \ - && curl -sL https://deb.nodesource.com/setup_24.x | bash - \ + && curl -sL https://deb.nodesource.com/setup_26.x | bash - \ && apt-get install -y nodejs \ && node --version -# Fail the build if the NodeSource snapshot predates Node 24.22.1 (CVE-2026-111497 brotli decoder fix). -RUN node -e 'const [maj, min, pat] = process.versions.node.split(".").map(Number); if (maj !== 24 || min < 22 || (min === 22 && pat < 1)) { throw new Error("Node >= 24.22.1 required (brotli CVE-2026-111497), got " + process.versions.node); }' +# Fail the build unless NodeSource installed Node 26.x at 26.12.1 or later (CVE-2026-111497 brotli decoder fix). +RUN node -e 'const [maj, min, pat] = process.versions.node.split(".").map(Number); if (maj !== 26 || min < 12 || (min === 12 && pat < 1)) { throw new Error("Node 26.x >= 26.12.1 required (brotli CVE-2026-111497), got " + process.versions.node); }' # Stages built FROM base inherit this ARG, so every later stage can use APP_HOME. ARG APP_HOME="/home/node/app" RUN useradd -ms /bin/bash node \ diff --git a/Dockerfile.openapi_decorator b/Dockerfile.openapi_decorator index b6000cef8d20..2260d0e92dc6 100644 --- a/Dockerfile.openapi_decorator +++ b/Dockerfile.openapi_decorator @@ -1,4 +1,4 @@ -FROM node:24-alpine@sha256:7d042bda1f5999f5bd14a23e9e62d9c320cceb68f93f167ce01ca3ecbd9cef71 +FROM node:26-alpine@sha256:40cd011b55415bc894e45b02fdd5a5dfde056921b7d23a64c74f80497af48797 WORKDIR /openapi-check diff --git a/assets/images/banner-images/mos-diner-pink.png b/assets/images/banner-images/mos-diner-pink.png deleted file mode 100644 index 3c2818b323d7..000000000000 Binary files a/assets/images/banner-images/mos-diner-pink.png and /dev/null differ diff --git a/assets/images/help/billing/request-budget-flow.png b/assets/images/help/billing/request-budget-flow.png deleted file mode 100644 index 42df6a7e4b39..000000000000 Binary files a/assets/images/help/billing/request-budget-flow.png and /dev/null differ diff --git a/assets/images/help/copilot/cloud-agent/mobile-status-dropdown.png b/assets/images/help/copilot/cloud-agent/mobile-status-dropdown.png deleted file mode 100644 index 308a3b5dded8..000000000000 Binary files a/assets/images/help/copilot/cloud-agent/mobile-status-dropdown.png and /dev/null differ diff --git a/assets/images/help/copilot/manage-licenses.png b/assets/images/help/copilot/manage-licenses.png deleted file mode 100644 index 0ad762ed306a..000000000000 Binary files a/assets/images/help/copilot/manage-licenses.png and /dev/null differ diff --git a/content/get-started/learning-about-github/about-github-code-quality.md b/content/get-started/learning-about-github/about-github-code-quality.md new file mode 100644 index 000000000000..475573e5037d --- /dev/null +++ b/content/get-started/learning-about-github/about-github-code-quality.md @@ -0,0 +1,41 @@ +--- +title: About GitHub Code Quality +intro: 'Decide whether {% data variables.product.prodname_code_quality %} meets your team''s needs, how it complements other {% data variables.product.github %} products, and what to consider before purchasing.' +product: '{% data reusables.gated-features.code-quality-availability %}' +versions: + feature: code-quality +shortTitle: GitHub Code Quality +category: + - Explore GitHub plans and features +--- + +## About {% data variables.product.prodname_code_quality %} + +{% data variables.product.prodname_code_quality %} analyzes your code for quality and coverage issues using {% data variables.product.prodname_codeql %} rules and AI-powered analysis. + +* On pull requests, findings appear as inline comments with one-click {% data variables.product.prodname_copilot_short %}-powered fixes, so new quality debt doesn't accumulate before code is merged. +* On your default branch, scans surface existing quality debt. You can apply autofixes directly, or delegate remediation to {% data variables.copilot.copilot_cloud_agent %}. + +You can enforce quality thresholds with rulesets to block pull requests that don't meet your team's standards. To also enforce line coverage thresholds, upload a Cobertura XML coverage report from your tests. + +To purchase {% data variables.product.prodname_code_quality %}, see {% data variables.product.pricing_link %}. For more information, including supported languages, see [AUTOTITLE](/code-security/concepts/code-quality/code-quality). + +## How {% data variables.product.prodname_code_quality_short %} fits with other {% data variables.product.github %} products + +{% data variables.product.prodname_code_quality_short %} is purchased separately from {% data variables.product.prodname_GHAS %} and {% data variables.product.prodname_copilot_short %}. It focuses on metrics related to code quality, such as code coverage. {% data variables.product.prodname_GHAS %} products focus on security, and {% data variables.copilot.copilot_code-review_short %} provides AI-powered feedback on pull requests. + +{% data variables.product.prodname_code_quality_short %} enforces deterministic quality and coverage rules that you can use to block merges, while {% data variables.copilot.copilot_code-review_short %} gives broader, conversational AI feedback. Many teams use both: {% data variables.copilot.copilot_code-review_short %} for general review, and {% data variables.product.prodname_code_quality_short %} for enforceable standards. + +## Costs to consider + +Before purchasing {% data variables.product.prodname_code_quality_short %}, consider these costs: + +* A per-active-committer fee for repositories where it's enabled +* {% data variables.product.prodname_actions %} minutes for scans, unless you use self-hosted runners +* {% data variables.product.prodname_ai_credits %} for {% data variables.product.prodname_copilot_short %}-powered fixes and AI-powered detections (no {% data variables.product.prodname_copilot_short %} license required) + +For more information, see [AUTOTITLE](/billing/concepts/product-billing/github-code-quality). + +## Next steps + +To start using {% data variables.product.prodname_code_quality_short %}, see [AUTOTITLE](/code-security/how-tos/maintain-quality-code/enable-code-quality). diff --git a/content/get-started/learning-about-github/githubs-plans.md b/content/get-started/learning-about-github/githubs-plans.md index d61ac6626fd0..fc02df6ae763 100644 --- a/content/get-started/learning-about-github/githubs-plans.md +++ b/content/get-started/learning-about-github/githubs-plans.md @@ -89,7 +89,7 @@ In addition to the features available with {% data variables.product.prodname_fr For more information, see [AUTOTITLE](/get-started/learning-about-github/about-github-advanced-security). {% ifversion fpt or ghec %} -* The option to purchase {% data variables.product.prodname_code_quality %}, which helps teams find and fix code quality and coverage issues. For more information, see [AUTOTITLE](/code-security/concepts/code-quality/code-quality). +* The option to purchase {% data variables.product.prodname_code_quality %}, which helps teams find and fix code quality and coverage issues. For more information, see [AUTOTITLE](/get-started/learning-about-github/about-github-code-quality). {% endif %} * Advanced tools and insights in private repositories: diff --git a/content/get-started/learning-about-github/index.md b/content/get-started/learning-about-github/index.md index 84be3d249203..7a9d03e79130 100644 --- a/content/get-started/learning-about-github/index.md +++ b/content/get-started/learning-about-github/index.md @@ -14,6 +14,7 @@ children: - /types-of-github-accounts - /access-permissions-on-github - /about-github-advanced-security + - /about-github-code-quality - /faq-about-changes-to-githubs-plans - /github-glossary --- diff --git a/contributing/node-versions.md b/contributing/node-versions.md index c8bae9ce8848..ed9b5cb53296 100644 --- a/contributing/node-versions.md +++ b/contributing/node-versions.md @@ -4,9 +4,11 @@ This site will run on the Node.js version specified in `package.json`. When updating to a new Node.js version, consider the following files: -- [ ] The `engines.node` entry in `package.json` +- [ ] The `engines.node` entry in `package.json` and `package-lock.json` - [ ] The `.github/workflows/*.yml` Actions files that pin a Node version (grep for `node-version`) -- [ ] The `Dockerfile` that can be used for deployments +- [ ] The `Dockerfile` that can be used for deployments, including its minimum Node version check +- [ ] The `.devcontainer/Dockerfile` and `.devcontainer/devcontainer.json` files +- [ ] The `Dockerfile.openapi_decorator` file - [ ] The `contributing/development.md` guide - [ ] The `contributing/node-versions.md` file diff --git a/data/reusables/actions/workflow-lockfiles-preview.md b/data/reusables/actions/workflow-lockfiles-preview.md deleted file mode 100644 index 94934b6d1900..000000000000 --- a/data/reusables/actions/workflow-lockfiles-preview.md +++ /dev/null @@ -1 +0,0 @@ -Workflow dependency lockfiles are in {% data variables.release-phases.public_preview %} and subject to change. diff --git a/data/reusables/copilot/cloud-agent/mcp-brief-intro.md b/data/reusables/copilot/cloud-agent/mcp-brief-intro.md deleted file mode 100644 index 0975dde4ee95..000000000000 --- a/data/reusables/copilot/cloud-agent/mcp-brief-intro.md +++ /dev/null @@ -1,3 +0,0 @@ -The Model Context Protocol (MCP) is an open standard that defines how applications share context with large language models (LLMs). MCP provides a standardized way to connect AI models to different data sources and tools, enabling them to work together more effectively. - -You can use MCP to extend the capabilities of {% data variables.copilot.copilot_cloud_agent %} by connecting it to other tools and services. diff --git a/data/reusables/copilot/cloud-agent/what-is.md b/data/reusables/copilot/cloud-agent/what-is.md deleted file mode 100644 index 0c836f670268..000000000000 --- a/data/reusables/copilot/cloud-agent/what-is.md +++ /dev/null @@ -1 +0,0 @@ -{% data variables.copilot.copilot_cloud_agent %} is an AI-powered software development agent that can work autonomously on issues or developer requests. It raises draft pull requests to propose a fix and iterates on the changes in response to feedback. diff --git a/data/reusables/copilot/copilot-cli/custom-agents-about-details.md b/data/reusables/copilot/copilot-cli/custom-agents-about-details.md deleted file mode 100644 index 0a93386cc5ec..000000000000 --- a/data/reusables/copilot/copilot-cli/custom-agents-about-details.md +++ /dev/null @@ -1,42 +0,0 @@ -## {% data variables.copilot.agent_profile_caps %} format - -{% data variables.copilot.agent_profiles_caps %} are Markdown files with YAML frontmatter. In their simplest form, they include: - -* **Name** (optional): A display name for the {% data variables.copilot.copilot_custom_agent_short %}. If omitted, the agent's filename is used as its identifier and default display name. -* **Description**: Explains the agent's purpose and capabilities. -* **Prompt**: Custom instructions that define the agent's behavior and expertise. -* **Tools** (optional): Specific tools the agent can access. By default, agents can access all available tools, including built-in tools, and MCP server tools. - -{% data variables.copilot.agent_profiles_caps %} can also include MCP server configurations using the `mcp-servers` property. - -### Example {% data variables.copilot.agent_profile %} - -This example is a basic {% data variables.copilot.agent_profile %} with name, description, and prompt configured. - -```text ---- -name: readme-creator -description: Agent specializing in creating and improving README files ---- - -You are a documentation specialist focused on README files. Your scope is limited to README files or other related documentation files only - do not modify or analyze code files. - -Focus on the following instructions: -- Create and update README.md files with clear project descriptions -- Structure README sections logically: overview, installation, usage, contributing -- Write scannable content with proper headings and formatting -- Add appropriate badges, links, and navigation elements -- Use relative links (e.g., `docs/CONTRIBUTING.md`) instead of absolute URLs for files within the repository -- Make links descriptive and add alt text to images -``` - -## Where you can configure {% data variables.copilot.custom_agents_short %} - -You can define {% data variables.copilot.agent_profiles %} at different levels: - -* **User level**: Create `$HOME/.copilot/agents/CUSTOM-AGENT-NAME.md` to define a custom agent that is available to you across repositories. -* **Repository level**: Create `.github/agents/CUSTOM-AGENT-NAME.md` in your repository to define a project-specific agent. -* **Organization level**: Create `/agents/CUSTOM-AGENT-NAME.md` in the organization's `.github` or `.github-private` repository for broader availability within the organization. -* **Enterprise level**: Create `/agents/CUSTOM-AGENT-NAME.md` in the `.github-private` repository of an organization that an enterprise owner has designated in enterprise settings for availability across all repositories in the enterprise. - -For more information, see [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/prepare-for-custom-agents) and [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents). diff --git a/data/reusables/copilot/copilot-cli/custom-agents-about-intro.md b/data/reusables/copilot/copilot-cli/custom-agents-about-intro.md deleted file mode 100644 index 1a3c06c8facb..000000000000 --- a/data/reusables/copilot/copilot-cli/custom-agents-about-intro.md +++ /dev/null @@ -1,7 +0,0 @@ -## About {% data variables.copilot.custom_agents_short %} - -{% data variables.copilot.custom_agents_caps_short %} are specialized versions of the {% data variables.product.prodname_copilot_short %} agent that you can tailor to your unique workflows, coding conventions, and use cases. They act like tailored teammates that follow your standards, use the right tools, and implement team-specific practices. You define these agents once instead of repeatedly providing the same instructions and context. - -You define {% data variables.copilot.custom_agents_short %} using Markdown files called {% data variables.copilot.agent_profiles %}. These files specify prompts, tools, and MCP servers. This allows you to encode your conventions, frameworks, and desired outcomes directly into {% data variables.product.prodname_copilot_short %}. - -The {% data variables.copilot.agent_profile %} defines the {% data variables.copilot.copilot_custom_agent_short %}'s behavior. When you assign the agent to a task or issue, it instantiates the {% data variables.copilot.copilot_custom_agent_short %}. diff --git a/data/reusables/copilot/copilot-sdk-changes.md b/data/reusables/copilot/copilot-sdk-changes.md deleted file mode 100644 index aa04e1c9dce4..000000000000 --- a/data/reusables/copilot/copilot-sdk-changes.md +++ /dev/null @@ -1,2 +0,0 @@ -> [!NOTE] -> {% data variables.copilot.copilot_sdk %} is transitioning to the {% data variables.copilot.msft_copilot_sdk %}. {% data variables.copilot.copilot_sdk %} docs will migrate to https://learn.microsoft.com/en-us/copilot/ soon. For more information about the transition, see the [changelog](https://github.blog/changelog/2026-10-28-github-copilot-sdk-is-becoming-microsoft-copilot-sdk/). diff --git a/data/reusables/copilot/enterprise-access-charges.md b/data/reusables/copilot/enterprise-access-charges.md deleted file mode 100644 index 48eafab23637..000000000000 --- a/data/reusables/copilot/enterprise-access-charges.md +++ /dev/null @@ -1 +0,0 @@ -In eligible enterprises, {% data variables.product.prodname_copilot_short %} access is available through {% data variables.product.prodname_ghe_cloud %} at $0 incremental charge for licensed users. {% data variables.copilot.copilot_standalone_short %} costs {% data variables.copilot.copilot_standalone_price_per_month %} per user per month. This option does not require a {% data variables.product.prodname_ghe_cloud %} license for the user. diff --git a/data/reusables/copilot/enterprise-metered-usage.md b/data/reusables/copilot/enterprise-metered-usage.md deleted file mode 100644 index 582e036b464a..000000000000 --- a/data/reusables/copilot/enterprise-metered-usage.md +++ /dev/null @@ -1 +0,0 @@ -{% data variables.product.prodname_copilot_short %} access, whether through {% data variables.product.prodname_ghe_cloud %} or as {% data variables.copilot.copilot_standalone_short %}, does not include an allowance of {% data variables.product.prodname_ai_credits %}. Metered usage is billed from the first use. diff --git a/data/reusables/copilot/mai-local-prereqs.md b/data/reusables/copilot/mai-local-prereqs.md deleted file mode 100644 index e4fe4d0cc1cb..000000000000 --- a/data/reusables/copilot/mai-local-prereqs.md +++ /dev/null @@ -1,8 +0,0 @@ -### Prerequisites - -You must have: -* A Windows PC -* An NVIDIA GPU -* At least 96 GB of available combined RAM -* At least 60 GB of storage available -* llama.cpp v0.7.0 or later installed and on your PATH. See [the ggml-org/llama.cpp repository](https://github.com/ggml-org/llama.cpp) on {% data variables.product.prodname_dotcom_the_website %}. diff --git a/data/reusables/copilot/manage-repo-memories.md b/data/reusables/copilot/manage-repo-memories.md deleted file mode 100644 index 54ea9fd5a7f1..000000000000 --- a/data/reusables/copilot/manage-repo-memories.md +++ /dev/null @@ -1,4 +0,0 @@ -{% data reusables.repositories.navigate-to-repo %} -{% data reusables.repositories.sidebar-settings %} -1. {% data reusables.user-settings.code-planning-automation %} click {% data variables.product.prodname_copilot_short %}, then click **Memory**. -1. You will see a list of repository-level facts, which you can delete as needed. diff --git a/data/reusables/copilot/policy/suggestions-code-enterprise-default.md b/data/reusables/copilot/policy/suggestions-code-enterprise-default.md deleted file mode 100644 index 7c6bca5e1bcc..000000000000 --- a/data/reusables/copilot/policy/suggestions-code-enterprise-default.md +++ /dev/null @@ -1 +0,0 @@ -**Suggestions matching public code** is set to **Allowed** by default for {% data variables.copilot.copilot_business_short %} users. You can change this setting in the **Privacy** section of the {% data variables.product.prodname_copilot_short %} policy page. \ No newline at end of file diff --git a/data/reusables/secret-scanning/public-monitoring-public-preview.md b/data/reusables/secret-scanning/public-monitoring-public-preview.md deleted file mode 100644 index 66e04577acdf..000000000000 --- a/data/reusables/secret-scanning/public-monitoring-public-preview.md +++ /dev/null @@ -1,2 +0,0 @@ -> [!NOTE] -> Public monitoring for {% data variables.product.prodname_secret_scanning %} is currently in {% data variables.release-phases.public_preview %} and subject to change. If you have feedback, please join the [discussion](https://github.com/orgs/community/discussions/categories/code-security). diff --git a/package-lock.json b/package-lock.json index e7c1c3a21c08..e81940bef7d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,13 +12,13 @@ "@github/hydro-analytics-client": "^2.4.1", "@gr2m/gray-matter": "4.0.3-with-pr-137", "@horizon-rs/language-guesser": "0.1.1", - "@opentelemetry/api": "^1.9.0", - "@opentelemetry/core": "^2.8.0", - "@opentelemetry/exporter-trace-otlp-proto": "^0.220.0", - "@opentelemetry/instrumentation-express": "^0.63.0", - "@opentelemetry/instrumentation-http": "^0.220.0", - "@opentelemetry/instrumentation-undici": "^0.25.0", - "@opentelemetry/sdk-node": "^0.220.0", + "@opentelemetry/api": "^1.10.0", + "@opentelemetry/core": "^3.0.0", + "@opentelemetry/exporter-trace-otlp-proto": "^0.300.0", + "@opentelemetry/instrumentation-express": "^0.72.0", + "@opentelemetry/instrumentation-http": "^0.300.0", + "@opentelemetry/instrumentation-undici": "^0.34.0", + "@opentelemetry/sdk-node": "^0.300.0", "@primer/behaviors": "^1.10.2", "@primer/css": "^21.3.1", "@primer/live-region-element": "^0.7.2", @@ -175,7 +175,7 @@ "website-scraper": "^6.0.0" }, "engines": { - "node": "^24 || ^26" + "node": "^26" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -366,6 +366,30 @@ "node": ">=18" } }, + "node_modules/@elastic/transport/node_modules/@opentelemetry/api": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.1.tgz", + "integrity": "sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==", + "license": "Apache-2.0", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@elastic/transport/node_modules/@opentelemetry/core": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-2.12.0.tgz", + "integrity": "sha512-1HsSAuvT4/my0QrXWsyXFdWjKaPeCHsismKZgEEIb8NK13LP6DrMRlsUbvD/0F9mDWK3xDom9AMv3IscxgOnOQ==", + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/semantic-conventions": "^1.29.0" + }, + "engines": { + "node": "^18.19.0 || >=20.6.0" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.10.0" + } + }, "node_modules/@elastic/transport/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -1371,9 +1395,9 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.14.5", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.5.tgz", - "integrity": "sha512-7VZM+SVdEcUUqSQeNI3zM8Qs/BhQKZndPo2h5VkYkAM8Iz0wJIa8mKV5ekQGqG8UUsnkQ0NMxIxwkIHYvj0qOw==", + "version": "1.14.6", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.6.tgz", + "integrity": "sha512-SgC/B3/VZ8lTyOZ4Cwk6f1skWhmkNAaVfiX90qd5u1rRXGKk1//8FTUEN9GvOUq7rfWIqAYkA3CoyumYVpOS6g==", "license": "Apache-2.0", "dependencies": { "@grpc/proto-loader": "^0.8.0", @@ -2668,667 +2692,485 @@ } }, "node_modules/@opentelemetry/api": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", - "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.10.0.tgz", + "integrity": "sha512-lMkyes8iHrG+mk6WH7X70MdCLI2RS0FwNBY1PyQ8UemaijE2m5mv5A0Niy3HtbYTFrgkUEQjFMXmSAk2hQDuPQ==", "license": "Apache-2.0", "engines": { "node": ">=8.0.0" } }, - "node_modules/@opentelemetry/api-logs": { - "version": "0.215.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.215.0.tgz", - "integrity": "sha512-xrFlqhdhUyO8wSRn6DjE0145/HPWSJ5Nm0C7vWua6TdL/FSEAZvEyvdsa9CRXuxo9ebb7j/NEPhEcO62IJ0qUA==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/@opentelemetry/configuration": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/configuration/-/configuration-0.220.0.tgz", - "integrity": "sha512-glfIVKnZevRin8fY/9uES/mhRtMT1lGINLHc9MIo5fTQZXswEEHamJtgjv4MTtzgnhHGC92mIS/0lzAUZMyE0w==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/configuration/-/configuration-0.300.0.tgz", + "integrity": "sha512-vflvT+be02dmKt430t+XAQ2QvcPzjZODdVqMqbpuakuGk4i0zCZ7SyM9VOFHGuBV/HxfVlf3EvgHBGKob2P8TQ==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", + "@opentelemetry/core": "3.0.0", "yaml": "^2.8.3" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.9.0" } }, "node_modules/@opentelemetry/context-async-hooks": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-2.9.0.tgz", - "integrity": "sha512-OQ0vzvbZBiUhjqLnUaoNfYmP8553Crr3aggB4y0ZUi815mZ7idpdJXQmoKdeBKJelYttoBlLSSHubmyw3wvX4w==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-3.0.0.tgz", + "integrity": "sha512-qDZeKSgTT+qTaL99eRbpvWO5+oZ0MKvMH4pqvzi6xYKyhiMTDBxBeTLI6BpdeMt58T5TpxHJvFl9P52i6CDWGA==", "license": "Apache-2.0", "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" + "@opentelemetry/api": ">=1.0.0 <1.11.0" } }, "node_modules/@opentelemetry/core": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-2.9.0.tgz", - "integrity": "sha512-m2nckMT80NnmjTYSPjJQObBJ+8dgkoajEOUbznL8AHZ3T3yHRk2P7gI1PhEBc1+lOnrYE9UWrWHqJDsmqjmNbw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-3.0.0.tgz", + "integrity": "sha512-whOLlww0R/RLtCWGBXhK1fdvL9t2/TL0fqdjZvcaoUUuNilRPjXecqQdzyVwV68s6XEDA5oYbm7/bZT62GXF4A==", "license": "Apache-2.0", "dependencies": { "@opentelemetry/semantic-conventions": "^1.29.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/exporter-logs-otlp-grpc": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-logs-otlp-grpc/-/exporter-logs-otlp-grpc-0.220.0.tgz", - "integrity": "sha512-s0sRPCSlXYqlgObOpCftomJllp3LfUL9FobQ5csg2172ydVhSEnu1ptpsVBJadazs5nUNp7vDuLE03FAFWTLOQ==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-logs-otlp-grpc/-/exporter-logs-otlp-grpc-0.300.0.tgz", + "integrity": "sha512-y4BAcN2UBSBs+esuIyXonpV44oeENKdit1BVKvjHf/61KvZVf7u1sTRz2VGwBpGJvUD7rNPjOZnb4PpG3vFEvg==", "license": "Apache-2.0", "dependencies": { - "@grpc/grpc-js": "^1.14.3", - "@opentelemetry/core": "2.9.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/sdk-logs": "0.220.0" + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0", + "@opentelemetry/sdk-logs": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/exporter-logs-otlp-http": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-logs-otlp-http/-/exporter-logs-otlp-http-0.220.0.tgz", - "integrity": "sha512-8186thl+pTw64iz/qEEen5oJZoZ/gO73XruChdaGlYdWOdBIQ42r+vHLf6a7vIDqTD4b8ZOoMlyxptanECaI9A==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-logs-otlp-http/-/exporter-logs-otlp-http-0.300.0.tgz", + "integrity": "sha512-S8yP9Fg33CU9+0fr1pnh/afPfgEpSyxQO4JRUZvmDMhAzgR/RLzvYg93MjWjbC1c2VrXffXROMO68RZ1P/ebgQ==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.220.0", - "@opentelemetry/core": "2.9.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/sdk-logs": "0.220.0" + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0", + "@opentelemetry/sdk-logs": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, - "node_modules/@opentelemetry/exporter-logs-otlp-http/node_modules/@opentelemetry/api-logs": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.220.0.tgz", - "integrity": "sha512-CmVa4ImJ+ynfrPMNaAXHET6Bhb44SwzmfyVJFq9ni2jgXJR/l7C6gfVFddNmHP+ZOkP9cf4f9DBe68qVLTHc9w==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/@opentelemetry/exporter-logs-otlp-proto": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-logs-otlp-proto/-/exporter-logs-otlp-proto-0.220.0.tgz", - "integrity": "sha512-8LZAxdJ0ENDAFwr4j0oY35mHBltiSzvlhdQAPGiC7p9VnxtuSq4SW1gfBAdW6t6hiQG6OwUl8w7KHaOdJPKHWg==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-logs-otlp-proto/-/exporter-logs-otlp-proto-0.300.0.tgz", + "integrity": "sha512-i9EqF1mvD0IrL6yBAqb2Cnv61WIYjkBxb36MulHf6/iAb/c653onKVWRJbpexBOHq+fd0VjH+1mhn+AtpFIZwQ==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/sdk-logs": "0.220.0" + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0", + "@opentelemetry/sdk-logs": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/exporter-metrics-otlp-grpc": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-metrics-otlp-grpc/-/exporter-metrics-otlp-grpc-0.220.0.tgz", - "integrity": "sha512-U128izvJfX/dW9jRGP0gIfadR1Hg7ft3UEGIeRxLFK70m2BWw6AtNCOnsUygpw2zCgR/ygdWbGpcL6TmhW0ZGw==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-metrics-otlp-grpc/-/exporter-metrics-otlp-grpc-0.300.0.tgz", + "integrity": "sha512-Kbfh2eVuj19WxByTI+UOhzjsyhNnl4lovjl9DYr0QsEpAPDyzWxGQmBDaTgIq1Tv3/Zc9ZDczAa//T2bjzac3w==", "license": "Apache-2.0", "dependencies": { - "@grpc/grpc-js": "^1.14.3", - "@opentelemetry/core": "2.9.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.220.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-metrics": "2.9.0" + "@opentelemetry/exporter-metrics-otlp-http": "0.300.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/exporter-metrics-otlp-http": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-metrics-otlp-http/-/exporter-metrics-otlp-http-0.220.0.tgz", - "integrity": "sha512-Yqt3RBw/bRVncaE9qIIhk4WfjbAQqXuP9FgAaU+IKPndnLEp/cUqZlSC324+bpmduRz7DoTjig8Ub0PeILWXUA==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-metrics-otlp-http/-/exporter-metrics-otlp-http-0.300.0.tgz", + "integrity": "sha512-y8KYKyM69l9PG4Ax9DKlKH5jaVJCJo9hXOpT6v0/PDX+uC302AhHVitEz8M600ljqLGdPYodnyn+wbYIYXPh6g==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-metrics": "2.9.0" + "@opentelemetry/core": "3.0.0", + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0", + "@opentelemetry/sdk-metrics": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/exporter-metrics-otlp-proto": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-metrics-otlp-proto/-/exporter-metrics-otlp-proto-0.220.0.tgz", - "integrity": "sha512-lyO+IQBdSvqHN/ZOW/OzrSWemtfD+HgWngn+HBNLhjy0YrCQQTz0OE/kSekH2Pl340dn9DWzhqHdz5Eftr+HLA==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-metrics-otlp-proto/-/exporter-metrics-otlp-proto-0.300.0.tgz", + "integrity": "sha512-tCL75kJ0JgLmbNCcpYgYpsRht8HgQJwd6LatK9g19O2nTd2GE3v2d38I1m1cVjKw1NRR+vtqei8AzGrznYtm9A==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.220.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-metrics": "2.9.0" + "@opentelemetry/exporter-metrics-otlp-http": "0.300.0", + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/exporter-prometheus": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-prometheus/-/exporter-prometheus-0.220.0.tgz", - "integrity": "sha512-JZD5DL/NBpVd2BHefvYosm3G40UZ/KzExLv5tc0eZe0CtrsHHtcOk3YPUxR2EINmUeBf8+w5UReTV8fFPn95lA==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-prometheus/-/exporter-prometheus-0.300.0.tgz", + "integrity": "sha512-x8MCVBUPYZeQcL14HJUiYuF6IL4/YZ5OtR5ObnznUaTrhPdZUEvOQ4EpkLvfFph/nvk4lEs0cJ6uK5oMrFyjGQ==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-metrics": "2.9.0", + "@opentelemetry/core": "3.0.0", + "@opentelemetry/resources": "3.0.0", + "@opentelemetry/sdk-metrics": "3.0.0", "@opentelemetry/semantic-conventions": "^1.29.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/exporter-trace-otlp-grpc": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-grpc/-/exporter-trace-otlp-grpc-0.220.0.tgz", - "integrity": "sha512-bv1xmNhmNwIM6MdUBw4yYuJeVcEViVLk3uD69vOQMwueHBnfyl/u0HnBlB1FNY/Te0UOzJzvcbyR8wN6b+iGbA==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-grpc/-/exporter-trace-otlp-grpc-0.300.0.tgz", + "integrity": "sha512-I0/XvL7lLsn8aU8wnoIjIbcjcFfltEHsgf56s1vzAxB7CLRKzv/MUpTbIHWY5Eeci1448cAqiDSuj5GU5OcfKg==", "license": "Apache-2.0", "dependencies": { - "@grpc/grpc-js": "^1.14.3", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/sdk-trace": "2.9.0" + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0", + "@opentelemetry/sdk-trace": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/exporter-trace-otlp-http": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-http/-/exporter-trace-otlp-http-0.220.0.tgz", - "integrity": "sha512-/+ExB3lRkf+erv4PnoywyL7RHKITidxtUpUTS55k7OQ0dB42S7gEF1gry7swb9MSm1hYLUhJg4QQh9W8SpwwqA==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-http/-/exporter-trace-otlp-http-0.300.0.tgz", + "integrity": "sha512-Dwdagba93cdhROlFGbkU4yK4hvd3l0k7WV9nvTWIoN6KwxFP+HCvy9EkgIpyfN11fVdIWxY3XqOwWOq83OPfcA==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-trace": "2.9.0" + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0", + "@opentelemetry/sdk-trace": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/exporter-trace-otlp-proto": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-proto/-/exporter-trace-otlp-proto-0.220.0.tgz", - "integrity": "sha512-voTAD8XgJxlK7zLkXh8EzMB09zrQr3tyY/BsnDTlDiQU/UdK58MZ63A3mUjdEDrxMjCVmBHU3WQJhRmQe+Dvzg==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-proto/-/exporter-trace-otlp-proto-0.300.0.tgz", + "integrity": "sha512-ZCWrexCUsfp5o5Eti91uvTlXMfszknzrPt3VM+jAk/Q5T53S/ix6mF07ndSHAhreQ5bKmBg3r1Ar4wkqQ1XlPQ==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-trace": "2.9.0" + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0", + "@opentelemetry/sdk-trace": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/exporter-zipkin": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-zipkin/-/exporter-zipkin-2.9.0.tgz", - "integrity": "sha512-RwINoce2BH8T4obT5pMcAla2sWma1YZvYuaktWmTluQ0PkQdvv5D060rWI1+kawX+J2qBRcMbwrZJJNcMJUauQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-zipkin/-/exporter-zipkin-3.0.0.tgz", + "integrity": "sha512-swgbcj76LgjoLPCYyyX0G27kW2+V8PifDeXRVpQ7vokwldKgLrw7GkDo5A2wD3yAWZKDvSWWjMigC3RT7xsuMA==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-trace": "2.9.0", + "@opentelemetry/core": "3.0.0", + "@opentelemetry/sdk-trace": "3.0.0", "@opentelemetry/semantic-conventions": "^1.29.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0" } }, "node_modules/@opentelemetry/instrumentation": { - "version": "0.215.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.215.0.tgz", - "integrity": "sha512-SyJONuqypQ2xWdYMy99vF7JhZ2kDTGx4oRmM/jZV+kRtZ96JTnJmEINbIJgHz7Gnhtw0bimHwbPy/pguA5wpPQ==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.300.0.tgz", + "integrity": "sha512-8ugx3X75uK2+rFZ9pX252ruDRELE2F7T3Zwazyll21aXksm+d2JLc9Np9SPS48K4ohGeaaXXHSX4ghxuNQ/gMg==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.215.0", "import-in-the-middle": "^3.0.0", "require-in-the-middle": "^8.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/instrumentation-express": { - "version": "0.63.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-express/-/instrumentation-express-0.63.0.tgz", - "integrity": "sha512-zr4T1akyXEW08K+9g5NSLXxC6WMOKm47ZmLWU1q45jGsfVaXYYbBwNuLyFWTh5RavXYgh4pJswEvHkQXzNumHw==", + "version": "0.72.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-express/-/instrumentation-express-0.72.0.tgz", + "integrity": "sha512-YV1T099/8acoA7giEBWm8NJJy+zyMElFkf5DGGcNsBftrA1TLVpctAKBUaV97TOXa+RlglwmxqtOPsF5+KCbzA==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.215.0", + "@opentelemetry/core": "^3.0.0", + "@opentelemetry/instrumentation": "^0.300.0", "@opentelemetry/semantic-conventions": "^1.27.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/instrumentation-http": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-http/-/instrumentation-http-0.220.0.tgz", - "integrity": "sha512-Szt4dO2Boz2CDr38DaSw/lnqwhwKl+IAdgNGEGgSm2Anb+fwPtIAGmIwkhsLLN69QQZQE96JxjMKYY4rlRkYKw==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-http/-/instrumentation-http-0.300.0.tgz", + "integrity": "sha512-kAU01q92leb1rMuF5fhuQKjP3MkdCxSiUT/IWo409YrQMbQdLGmM4EyH6RoSmInNSulSgKWkja+IyglnZSPYXg==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/instrumentation": "0.220.0", + "@opentelemetry/core": "3.0.0", + "@opentelemetry/instrumentation": "0.300.0", "@opentelemetry/semantic-conventions": "^1.29.0", "forwarded-parse": "2.1.2" }, "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-http/node_modules/@opentelemetry/api-logs": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.220.0.tgz", - "integrity": "sha512-CmVa4ImJ+ynfrPMNaAXHET6Bhb44SwzmfyVJFq9ni2jgXJR/l7C6gfVFddNmHP+ZOkP9cf4f9DBe68qVLTHc9w==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@opentelemetry/instrumentation-http/node_modules/@opentelemetry/instrumentation": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.220.0.tgz", - "integrity": "sha512-xQx3E2WxP1mDvKzxLxX+CTCtNLa560YJZ3087qYHerl2YmiKpv7AH+dAy7vmx+eVrZ5BwhfWUAVoKOoxCNHcpw==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api-logs": "0.220.0", - "import-in-the-middle": "^3.0.0", - "require-in-the-middle": "^8.0.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/instrumentation-undici": { - "version": "0.25.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-undici/-/instrumentation-undici-0.25.0.tgz", - "integrity": "sha512-yPc3sZ3gwlxArBoW0LXpyE0GA4gORSajFBuME2jAo3YXgwSMI86SmQwFhYlRlYgx9LPWH8LIMDZ4J7cYFfyaBg==", + "version": "0.34.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation-undici/-/instrumentation-undici-0.34.0.tgz", + "integrity": "sha512-RcAEj8opdr/9BVZyEzJatN7sHQCgmdCLvb8Tvf5CNxRmdWbR3FaLN0h7JaI2ganW78MKAX2lM7O5isNIweabnA==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.215.0", + "@opentelemetry/core": "^3.0.0", + "@opentelemetry/instrumentation": "^0.300.0", "@opentelemetry/semantic-conventions": "^1.24.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.7.0" } }, "node_modules/@opentelemetry/otlp-exporter-base": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-exporter-base/-/otlp-exporter-base-0.220.0.tgz", - "integrity": "sha512-CXYo8UD5Mn9YbgebO2EL4wejtA+gxLmLiu6HCk2KH2BR7XhFN6/6p1UlCb23DYCjeYkndevLHuejCCN1yx4+OQ==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-exporter-base/-/otlp-exporter-base-0.300.0.tgz", + "integrity": "sha512-D+PhzYURtv6p7Kk1rUrilLtV+ZvS218tI0jiKTV5z1agOeELw78C+cFd3o9UUshUx1j+EIpFM62yGk8BuydQvg==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/otlp-transformer": "0.220.0" + "@opentelemetry/core": "3.0.0", + "@opentelemetry/otlp-transformer": "0.300.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/otlp-grpc-exporter-base": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-grpc-exporter-base/-/otlp-grpc-exporter-base-0.220.0.tgz", - "integrity": "sha512-/eIkBPMBTIvM3x/0mDX4aJeSkYifYClnBPr68PL1h5LV4VQv4+SV6CGrpiZ4fIWDnobVmhTWCm1J/QRdAWUfvA==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-grpc-exporter-base/-/otlp-grpc-exporter-base-0.300.0.tgz", + "integrity": "sha512-0C6rf7vVQrT7ZCUYJRZ1P4TsauCfSc4qXSpwqBWW5Ztt/4gxt5uHfLw2nTirSuPpz0sSeeRPW+Z0HyKJXB/CTQ==", "license": "Apache-2.0", "dependencies": { - "@grpc/grpc-js": "^1.14.3", - "@opentelemetry/core": "2.9.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-transformer": "0.220.0" + "@grpc/grpc-js": "^1.14.5", + "@opentelemetry/core": "3.0.0", + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-transformer": "0.300.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { "@opentelemetry/api": "^1.3.0" } }, "node_modules/@opentelemetry/otlp-transformer": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-transformer/-/otlp-transformer-0.220.0.tgz", - "integrity": "sha512-lXGrv7KXZ0gNH9SVNUaa6vv6phVYGvJxfXAlMbzbakiXru75f5MZl8Z7oqiMMQD77riVHJCFlQvbZs/VVN2/4A==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-transformer/-/otlp-transformer-0.300.0.tgz", + "integrity": "sha512-T55lRmjRwvXWyTFdy/BbJ3T5RRsq3bAwQgxxA7qHFxgRd4+pZzRk02ZwOFsYK5072OXGYjYFNJcp68eQV4i0Ig==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.220.0", - "@opentelemetry/core": "2.9.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-logs": "0.220.0", - "@opentelemetry/sdk-metrics": "2.9.0", - "@opentelemetry/sdk-trace": "2.9.0" + "@opentelemetry/core": "3.0.0", + "@opentelemetry/resources": "3.0.0", + "@opentelemetry/sdk-logs": "3.0.0", + "@opentelemetry/sdk-metrics": "3.0.0", + "@opentelemetry/sdk-trace": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/api-logs": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.220.0.tgz", - "integrity": "sha512-CmVa4ImJ+ynfrPMNaAXHET6Bhb44SwzmfyVJFq9ni2jgXJR/l7C6gfVFddNmHP+ZOkP9cf4f9DBe68qVLTHc9w==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/propagator-b3": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-2.9.0.tgz", - "integrity": "sha512-WrOT1WsOUG+B7hstD2RYoMPIOK76G8E9AQHhMjUvrQaGx/oA7rPWQvvr1Rqv7+yy4R0ZMVwWLC4vW2xnkgWPAQ==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "2.9.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/propagator-jaeger": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-jaeger/-/propagator-jaeger-2.9.0.tgz", - "integrity": "sha512-4mYGty27rYvSM0jtp1ZUOqd3LfVRCYg9H5G9OFzSx5HViYToU21MFhWfco7x1HwXr7ER8yGOiCIHZUwjPksc0Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-3.0.0.tgz", + "integrity": "sha512-pmG16s+UYAobPmtWfkR1/UK233qdl79WO04GnNzr7aoG/P+Aafbn8+5OJg2zl107WvLPYelCUKFiI18GksGbqg==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0" + "@opentelemetry/core": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" + "@opentelemetry/api": ">=1.0.0 <1.11.0" } }, "node_modules/@opentelemetry/resources": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-2.9.0.tgz", - "integrity": "sha512-jyA5MBLQ+Dkl3+JsZkUoUvL7yHvU64kLsvpXKarWm6347Sl1t1bXFTFykUePNpT5WH5pm9a2Qtt03iIYQhZ1Fg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-3.0.0.tgz", + "integrity": "sha512-4762KVmlDroRIt+4Ra8AnwcQqdXlkAR55jDrhzna8bzhJx1mUzvHW/Lh/OemFuY9+ouM4xaDc6CbUmoJmM6BFg==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", + "@opentelemetry/core": "3.0.0", "@opentelemetry/semantic-conventions": "^1.29.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.10.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/sdk-logs": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-logs/-/sdk-logs-0.220.0.tgz", - "integrity": "sha512-WywcTkQtv2iNmt+6y5Kcd4rzvx9bLVsBa2Nwcmg01IUaBTkTow3W4d9KE5vNBpEDtb9tp21WcRBY/lANRrApYA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-logs/-/sdk-logs-3.0.0.tgz", + "integrity": "sha512-IysNZWrBk2PqYw4qU9PZcC7pjrZLa+KLk7vcLmPPNBUr97MgeamWhX0DUHsmxwJv3dnjYM6mLRmP8mw69ld+dA==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.220.0", - "@opentelemetry/core": "2.9.0", - "@opentelemetry/resources": "2.9.0", + "@opentelemetry/core": "3.0.0", + "@opentelemetry/resources": "3.0.0", "@opentelemetry/semantic-conventions": "^1.29.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.4.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/api-logs": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.220.0.tgz", - "integrity": "sha512-CmVa4ImJ+ynfrPMNaAXHET6Bhb44SwzmfyVJFq9ni2jgXJR/l7C6gfVFddNmHP+ZOkP9cf4f9DBe68qVLTHc9w==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/sdk-metrics": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-2.9.0.tgz", - "integrity": "sha512-Xx8RGS4H5XEBl01WuCreMIpiah9cCXMbSkeuIePPdD2cUpq/vUzYmj8E/MK1OsbOc93FuAD4jfn2WOacKwLn7Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-3.0.0.tgz", + "integrity": "sha512-YozyS2rIlizvUNLZwcWxH0x2FhX02/mcZwzM8hsl8yvQk+xeKmAc7vcSieWiO4oSwIB20B8eS/zwdopAd/J5zQ==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/resources": "2.9.0" + "@opentelemetry/core": "3.0.0", + "@opentelemetry/resources": "3.0.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.9.0 <1.10.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/sdk-node": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-node/-/sdk-node-0.220.0.tgz", - "integrity": "sha512-wHtGyHhSKHNH3fym33xRu4Ef/HXTFvX8eQ42xdQdEO9LYx9Y2qNyBDJytyqVlvmo6abWZlNYTUthuAGUMYqYnQ==", + "version": "0.300.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-node/-/sdk-node-0.300.0.tgz", + "integrity": "sha512-yRaNP91ilq0m5fBCXSo7ZTR1NDd/GPu02uq0Rur2kMw7VheHwkV8i68oYt4/vM+eofRFKYCGS5B2QrgcZS/rmw==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/api-logs": "0.220.0", - "@opentelemetry/configuration": "0.220.0", - "@opentelemetry/context-async-hooks": "2.9.0", - "@opentelemetry/core": "2.9.0", - "@opentelemetry/exporter-logs-otlp-grpc": "0.220.0", - "@opentelemetry/exporter-logs-otlp-http": "0.220.0", - "@opentelemetry/exporter-logs-otlp-proto": "0.220.0", - "@opentelemetry/exporter-metrics-otlp-grpc": "0.220.0", - "@opentelemetry/exporter-metrics-otlp-http": "0.220.0", - "@opentelemetry/exporter-metrics-otlp-proto": "0.220.0", - "@opentelemetry/exporter-prometheus": "0.220.0", - "@opentelemetry/exporter-trace-otlp-grpc": "0.220.0", - "@opentelemetry/exporter-trace-otlp-http": "0.220.0", - "@opentelemetry/exporter-trace-otlp-proto": "0.220.0", - "@opentelemetry/exporter-zipkin": "2.9.0", - "@opentelemetry/instrumentation": "0.220.0", - "@opentelemetry/otlp-exporter-base": "0.220.0", - "@opentelemetry/otlp-grpc-exporter-base": "0.220.0", - "@opentelemetry/propagator-b3": "2.9.0", - "@opentelemetry/propagator-jaeger": "2.9.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-logs": "0.220.0", - "@opentelemetry/sdk-metrics": "2.9.0", - "@opentelemetry/sdk-trace": "2.9.0", - "@opentelemetry/sdk-trace-base": "2.9.0", - "@opentelemetry/sdk-trace-node": "2.9.0", + "@opentelemetry/configuration": "0.300.0", + "@opentelemetry/context-async-hooks": "3.0.0", + "@opentelemetry/core": "3.0.0", + "@opentelemetry/exporter-logs-otlp-grpc": "0.300.0", + "@opentelemetry/exporter-logs-otlp-http": "0.300.0", + "@opentelemetry/exporter-logs-otlp-proto": "0.300.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "0.300.0", + "@opentelemetry/exporter-metrics-otlp-http": "0.300.0", + "@opentelemetry/exporter-metrics-otlp-proto": "0.300.0", + "@opentelemetry/exporter-prometheus": "0.300.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.300.0", + "@opentelemetry/exporter-trace-otlp-http": "0.300.0", + "@opentelemetry/exporter-trace-otlp-proto": "0.300.0", + "@opentelemetry/exporter-zipkin": "3.0.0", + "@opentelemetry/instrumentation": "0.300.0", + "@opentelemetry/otlp-exporter-base": "0.300.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.300.0", + "@opentelemetry/propagator-b3": "3.0.0", + "@opentelemetry/resources": "3.0.0", + "@opentelemetry/sdk-logs": "3.0.0", + "@opentelemetry/sdk-metrics": "3.0.0", + "@opentelemetry/sdk-trace": "3.0.0", "@opentelemetry/semantic-conventions": "^1.29.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-node/node_modules/@opentelemetry/api-logs": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.220.0.tgz", - "integrity": "sha512-CmVa4ImJ+ynfrPMNaAXHET6Bhb44SwzmfyVJFq9ni2jgXJR/l7C6gfVFddNmHP+ZOkP9cf4f9DBe68qVLTHc9w==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@opentelemetry/sdk-node/node_modules/@opentelemetry/instrumentation": { - "version": "0.220.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.220.0.tgz", - "integrity": "sha512-xQx3E2WxP1mDvKzxLxX+CTCtNLa560YJZ3087qYHerl2YmiKpv7AH+dAy7vmx+eVrZ5BwhfWUAVoKOoxCNHcpw==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api-logs": "0.220.0", - "import-in-the-middle": "^3.0.0", - "require-in-the-middle": "^8.0.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/sdk-trace": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace/-/sdk-trace-2.9.0.tgz", - "integrity": "sha512-sGA19HvtrrSKYsseHphluH6j3p6Xa3fqc7c7y8f/7mYWejc1lyDFcpSdD1kYa50HCLUeEo4zA5bW0pniaPszuw==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/semantic-conventions": "^1.29.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-base": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-2.9.0.tgz", - "integrity": "sha512-cp9zmTl62R8PJrpvFcmc8N2JQU/xfa0S+61q511Nji+QxCfZ8Ifvg7H27G8cANe4crg4RTrWsVvanHiXjSp6ag==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace/-/sdk-trace-3.0.0.tgz", + "integrity": "sha512-4T0DbDGdtsjNmYK5/lNalHro4fsMZ0UZ3JE+C8fcqYP25xaJC22FHg8kdJNJ21srjJY5XoT7WNFCtj88NNTl4Q==", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/core": "2.9.0", - "@opentelemetry/resources": "2.9.0", - "@opentelemetry/sdk-trace": "2.9.0", + "@opentelemetry/core": "3.0.0", + "@opentelemetry/resources": "3.0.0", "@opentelemetry/semantic-conventions": "^1.29.0" }, "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-node": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-node/-/sdk-trace-node-2.9.0.tgz", - "integrity": "sha512-ec9a7ps37huy5itYk0MalaZdSLlM6AXWp/FhtEjgMpp5leEGojBDvAl/UWttQnkMZOvFHKzRESn8TD3yKTF5nQ==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/context-async-hooks": "2.9.0", - "@opentelemetry/core": "2.9.0", - "@opentelemetry/sdk-trace-base": "2.9.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" + "node": ">=22.15.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" + "@opentelemetry/api": ">=1.10.0 <1.11.0" } }, "node_modules/@opentelemetry/semantic-conventions": { @@ -5435,6 +5277,7 @@ "version": "8.15.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, "license": "MIT", "bin": { "acorn": "bin/acorn" @@ -5443,15 +5286,6 @@ "node": ">=0.4.0" } }, - "node_modules/acorn-import-attributes": { - "version": "1.9.5", - "resolved": "https://registry.npmjs.org/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz", - "integrity": "sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==", - "license": "MIT", - "peerDependencies": { - "acorn": "^8" - } - }, "node_modules/acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", @@ -5519,6 +5353,8 @@ }, "node_modules/ansi-regex": { "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "license": "MIT", "engines": { "node": ">=8" @@ -6491,9 +6327,9 @@ } }, "node_modules/cjs-module-lexer": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.2.0.tgz", - "integrity": "sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.3.0.tgz", + "integrity": "sha512-lmNyBzi6iYiqyrExTctfmjd8tInx+dHu9PBomTfH5RXS53c27JMFJgzNv5TyAnm3PgGf+MLy0+Ws41/HlVxdKQ==", "license": "MIT" }, "node_modules/cli-boxes": { @@ -9734,20 +9570,25 @@ } }, "node_modules/import-in-the-middle": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-3.0.1.tgz", - "integrity": "sha512-pYkiyXVL2Mf3pozdlDGV6NAObxQx13Ae8knZk1UJRJ6uRW/ZRmTGHlQYtrsSl7ubuE5F8CD1z+s1n4RHNuTtuA==", + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/import-in-the-middle/-/import-in-the-middle-3.5.2.tgz", + "integrity": "sha512-WseIA/4o56+GYO3RmlOPvejYi771OFeJEeK/ejROsr9bdjW+E5NXTOD1Di8TL40Qgg3JJX9aa97Hf8iiSVIKZw==", "license": "Apache-2.0", "dependencies": { - "acorn": "^8.15.0", - "acorn-import-attributes": "^1.9.5", "cjs-module-lexer": "^2.2.0", + "es-module-lexer": "^3.0.2", "module-details-from-path": "^1.0.4" }, "engines": { "node": ">=18" } }, + "node_modules/import-in-the-middle/node_modules/es-module-lexer": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-3.0.4.tgz", + "integrity": "sha512-BldNY5mwkVu+cQ5Ymn3e6hB9Sx8XHx4ZevWbiUyZbfKxJxYO27Hf0wfzkxIaD5CAJMaGl3YspKELj0ff/7nCMA==", + "license": "MIT" + }, "node_modules/imurmurhash": { "version": "0.1.4", "license": "MIT", @@ -10016,6 +9857,8 @@ }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "license": "MIT", "engines": { "node": ">=8" @@ -12879,9 +12722,9 @@ } }, "node_modules/protobufjs": { - "version": "7.6.5", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.5.tgz", - "integrity": "sha512-/FPD0nUc9jH6rfFjji9IBqOz4pcSE3CsT1m7Ep6Mdb0LxSUMj8hgl6GomOvZzpNpAqqGaXA0P3VSrZLFzIhQrw==", + "version": "7.6.6", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.6.tgz", + "integrity": "sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg==", "hasInstallScript": true, "license": "BSD-3-Clause", "dependencies": { @@ -14185,6 +14028,8 @@ }, "node_modules/string-width": { "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -14197,10 +14042,14 @@ }, "node_modules/string-width/node_modules/emoji-regex": { "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, "node_modules/string-width/node_modules/strip-ansi": { "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" diff --git a/package.json b/package.json index 86dc7990a7ab..ac21bf3145f0 100644 --- a/package.json +++ b/package.json @@ -171,13 +171,13 @@ "@github/hydro-analytics-client": "^2.4.1", "@gr2m/gray-matter": "4.0.3-with-pr-137", "@horizon-rs/language-guesser": "0.1.1", - "@opentelemetry/api": "^1.9.0", - "@opentelemetry/core": "^2.8.0", - "@opentelemetry/exporter-trace-otlp-proto": "^0.220.0", - "@opentelemetry/instrumentation-express": "^0.63.0", - "@opentelemetry/instrumentation-http": "^0.220.0", - "@opentelemetry/instrumentation-undici": "^0.25.0", - "@opentelemetry/sdk-node": "^0.220.0", + "@opentelemetry/api": "^1.10.0", + "@opentelemetry/core": "^3.0.0", + "@opentelemetry/exporter-trace-otlp-proto": "^0.300.0", + "@opentelemetry/instrumentation-express": "^0.72.0", + "@opentelemetry/instrumentation-http": "^0.300.0", + "@opentelemetry/instrumentation-undici": "^0.34.0", + "@opentelemetry/sdk-node": "^0.300.0", "@primer/behaviors": "^1.10.2", "@primer/css": "^21.3.1", "@primer/live-region-element": "^0.7.2", @@ -358,7 +358,7 @@ "fast-uri": "^3.1.9" }, "engines": { - "node": "^24 || ^26" + "node": "^26" }, "cacheDirectories": [ "node_modules", diff --git a/src/frame/components/page-header/Breadcrumbs.tsx b/src/frame/components/page-header/Breadcrumbs.tsx index e0f7f87c533f..729371331edd 100644 --- a/src/frame/components/page-header/Breadcrumbs.tsx +++ b/src/frame/components/page-header/Breadcrumbs.tsx @@ -81,9 +81,10 @@ export const Breadcrumbs = ({ inHeader, variant }: Props) => { .filter(Boolean) .map((breadcrumb, i, arr) => { const title = `${breadcrumb.title}` + // Titles can repeat, like REST's Repositories > Repositories, so they can't be keys. if (!breadcrumb.href) { return ( -
MODERATE was added to enum RepositoryPermission"
+ ]
+ }
+ ],
+ "previewChanges": [],
+ "upcomingChanges": [
+ {
+ "title": "The following changes will be made to the schema:",
+ "changes": [
+ "On member RepositoryPermission.TRIAGE_PLUS:TRIAGE_PLUS will be removed. Use MODERATE instead. Effective 2027-04-01.
Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings.
" }, + { + "name": "MODERATE", + "description": "Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access.
" + }, { "name": "READ", "description": "Can read and clone this repository. Can also open and comment on issues and pull requests.
" @@ -9353,7 +9357,9 @@ }, { "name": "TRIAGE_PLUS", - "description": "Can read and clone this repository. Can also manage issues and pull requests, plus additional triage abilities.
" + "description": "Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access.
", + "isDeprecated": true, + "deprecationReason": "TRIAGE_PLUS has been renamed to MODERATE. Use MODERATE instead. Removal on 2027-04-01 UTC.
" }, { "name": "WRITE", diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 2a41e943ca02..4e89ab3b19b5 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -57894,6 +57894,11 @@ enum RepositoryPermission @docsCategory(name: "repos") { """ MAINTAIN + """ + Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access + """ + MODERATE + """ Can read and clone this repository. Can also open and comment on issues and pull requests """ @@ -57905,9 +57910,10 @@ enum RepositoryPermission @docsCategory(name: "repos") { TRIAGE """ - Can read and clone this repository. Can also manage issues and pull requests, plus additional triage abilities + Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access """ TRIAGE_PLUS + @deprecated(reason: "TRIAGE_PLUS has been renamed to MODERATE. Use MODERATE instead. Removal on 2027-04-01 UTC.") """ Can read, clone, and push to this repository. Can also manage issues and pull requests diff --git a/src/graphql/data/fpt/upcoming-changes.json b/src/graphql/data/fpt/upcoming-changes.json index 8968e57a98ff..eb97e2edeaa2 100644 --- a/src/graphql/data/fpt/upcoming-changes.json +++ b/src/graphql/data/fpt/upcoming-changes.json @@ -1,4 +1,14 @@ { + "2027-04-01": [ + { + "location": "RepositoryPermission.TRIAGE_PLUS", + "description": "TRIAGE_PLUS will be removed. Use MODERATE instead.
TRIAGE_PLUS has been renamed to MODERATE.
", + "date": "2027-04-01", + "criticality": "breaking", + "owner": "corannejuang" + } + ], "2027-01-01": [ { "location": "CheckAnnotation.databaseId", diff --git a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml index f6347e0e72b7..32a0505b612c 100644 --- a/src/graphql/data/ghec/graphql_upcoming_changes.public.yml +++ b/src/graphql/data/ghec/graphql_upcoming_changes.public.yml @@ -8030,3 +8030,9 @@ upcoming_changes: date: '2027-01-01T00:00:00+00:00' criticality: breaking owner: github/actions-persistence + - location: RepositoryPermission.TRIAGE_PLUS + description: '`TRIAGE_PLUS` will be removed. Use MODERATE instead.' + reason: TRIAGE_PLUS has been renamed to MODERATE. + date: '2027-04-01T00:00:00+00:00' + criticality: breaking + owner: corannejuang diff --git a/src/graphql/data/ghec/schema-repos.json b/src/graphql/data/ghec/schema-repos.json index 5eaf8c0acc67..81e388484732 100644 --- a/src/graphql/data/ghec/schema-repos.json +++ b/src/graphql/data/ghec/schema-repos.json @@ -9343,6 +9343,10 @@ "name": "MAINTAIN", "description": "Can read, clone, and push to this repository. They can also manage issues, pull requests, and some repository settings.
" }, + { + "name": "MODERATE", + "description": "Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access.
" + }, { "name": "READ", "description": "Can read and clone this repository. Can also open and comment on issues and pull requests.
" @@ -9353,7 +9357,9 @@ }, { "name": "TRIAGE_PLUS", - "description": "Can read and clone this repository. Can also manage issues and pull requests, plus additional triage abilities.
" + "description": "Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access.
", + "isDeprecated": true, + "deprecationReason": "TRIAGE_PLUS has been renamed to MODERATE. Use MODERATE instead. Removal on 2027-04-01 UTC.
" }, { "name": "WRITE", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 2a41e943ca02..4e89ab3b19b5 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -57894,6 +57894,11 @@ enum RepositoryPermission @docsCategory(name: "repos") { """ MAINTAIN + """ + Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access + """ + MODERATE + """ Can read and clone this repository. Can also open and comment on issues and pull requests """ @@ -57905,9 +57910,10 @@ enum RepositoryPermission @docsCategory(name: "repos") { TRIAGE """ - Can read and clone this repository. Can also manage issues and pull requests, plus additional triage abilities + Can read and clone this repository. Can also moderate and edit issues and manage pull requests without write access """ TRIAGE_PLUS + @deprecated(reason: "TRIAGE_PLUS has been renamed to MODERATE. Use MODERATE instead. Removal on 2027-04-01 UTC.") """ Can read, clone, and push to this repository. Can also manage issues and pull requests diff --git a/src/graphql/data/ghec/upcoming-changes.json b/src/graphql/data/ghec/upcoming-changes.json index 8968e57a98ff..eb97e2edeaa2 100644 --- a/src/graphql/data/ghec/upcoming-changes.json +++ b/src/graphql/data/ghec/upcoming-changes.json @@ -1,4 +1,14 @@ { + "2027-04-01": [ + { + "location": "RepositoryPermission.TRIAGE_PLUS", + "description": "TRIAGE_PLUS will be removed. Use MODERATE instead.
TRIAGE_PLUS has been renamed to MODERATE.
", + "date": "2027-04-01", + "criticality": "breaking", + "owner": "corannejuang" + } + ], "2027-01-01": [ { "location": "CheckAnnotation.databaseId", diff --git a/src/rest/data/fpt-2022-11-28/projects.json b/src/rest/data/fpt-2022-11-28/projects.json index e48d910fe214..779bbb86c90e 100644 --- a/src/rest/data/fpt-2022-11-28/projects.json +++ b/src/rest/data/fpt-2022-11-28/projects.json @@ -3225,18 +3225,6 @@ "descriptionHTML": "Create draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9788,22 +9778,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9813,7 +9802,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9836,6 +9825,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9858,13 +9848,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -16355,6 +16346,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -16432,18 +16436,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -16453,7 +16445,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -16476,6 +16468,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -16498,13 +16491,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22995,22 +22989,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -23020,7 +23013,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -23043,6 +23036,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -23065,13 +23059,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -29562,6 +29557,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -34205,8 +34213,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34332,8 +34340,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34968,41 +34976,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -35020,14 +35010,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -41537,41 +41537,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -41589,14 +41575,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -48106,41 +48174,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -48158,14 +48208,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -54677,41 +54737,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -54729,14 +54775,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -61621,8 +61749,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61748,8 +61876,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62679,8 +62807,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62806,8 +62934,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63645,8 +63773,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63772,8 +63900,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64611,8 +64739,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64738,8 +64866,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65577,8 +65705,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65704,8 +65832,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66543,8 +66671,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66670,8 +66798,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67694,8 +67822,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67821,8 +67949,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68767,8 +68895,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68894,8 +69022,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -69525,41 +69653,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -69577,14 +69687,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -76094,41 +76214,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -76146,14 +76252,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -82663,41 +82851,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -82715,14 +82885,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -89234,41 +89414,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -89286,14 +89452,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -96173,8 +96421,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96300,8 +96548,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97226,8 +97474,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97353,8 +97601,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98192,8 +98440,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98319,8 +98567,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99158,8 +99406,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99285,8 +99533,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100124,8 +100372,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100251,8 +100499,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -101090,8 +101338,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -101217,8 +101465,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102233,8 +102481,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102360,8 +102608,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/fpt-2022-11-28/secret-scanning.json b/src/rest/data/fpt-2022-11-28/secret-scanning.json index 4e72565deaf5..d8c98be9e881 100644 --- a/src/rest/data/fpt-2022-11-28/secret-scanning.json +++ b/src/rest/data/fpt-2022-11-28/secret-scanning.json @@ -4731,7 +4731,7 @@ ] } ], - "descriptionHTML": "Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\nCreate draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9500,22 +9490,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9525,7 +9514,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9548,6 +9537,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9570,13 +9560,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -15779,6 +15770,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -15856,18 +15860,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -15877,7 +15869,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -15900,6 +15892,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -15922,13 +15915,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22131,22 +22125,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -22156,7 +22149,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -22179,6 +22172,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -22201,13 +22195,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -28410,6 +28405,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -33053,8 +33061,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -33180,8 +33188,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -33816,41 +33824,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -33868,14 +33858,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -40097,41 +40097,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -40149,14 +40135,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -46378,41 +46446,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -46430,14 +46480,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -52661,41 +52721,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -52713,14 +52759,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -59317,8 +59445,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -59444,8 +59572,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -60375,8 +60503,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -60502,8 +60630,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61341,8 +61469,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61468,8 +61596,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62307,8 +62435,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62434,8 +62562,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63273,8 +63401,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63400,8 +63528,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64239,8 +64367,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64366,8 +64494,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65390,8 +65518,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65517,8 +65645,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66463,8 +66591,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66590,8 +66718,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67221,41 +67349,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -67273,14 +67383,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -73502,41 +73622,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -73554,14 +73660,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -79783,41 +79971,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -79835,14 +80005,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -86066,41 +86246,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -86118,14 +86284,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -92717,8 +92965,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -92844,8 +93092,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -93770,8 +94018,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -93897,8 +94145,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -94736,8 +94984,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -94863,8 +95111,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -95702,8 +95950,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -95829,8 +96077,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96668,8 +96916,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96795,8 +97043,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97634,8 +97882,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97761,8 +98009,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98777,8 +99025,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98904,8 +99152,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/fpt-2026-03-10/secret-scanning.json b/src/rest/data/fpt-2026-03-10/secret-scanning.json index 4e72565deaf5..d8c98be9e881 100644 --- a/src/rest/data/fpt-2026-03-10/secret-scanning.json +++ b/src/rest/data/fpt-2026-03-10/secret-scanning.json @@ -4731,7 +4731,7 @@ ] } ], - "descriptionHTML": "Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\nCreate draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9788,22 +9778,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9813,7 +9802,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9836,6 +9825,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9858,13 +9848,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -16355,6 +16346,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -16432,18 +16436,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -16453,7 +16445,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -16476,6 +16468,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -16498,13 +16491,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22995,22 +22989,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -23020,7 +23013,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -23043,6 +23036,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -23065,13 +23059,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -29562,6 +29557,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -34205,8 +34213,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34332,8 +34340,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34968,41 +34976,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -35020,14 +35010,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -41537,41 +41537,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -41589,14 +41575,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -48106,41 +48174,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -48158,14 +48208,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -54677,41 +54737,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -54729,14 +54775,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -61621,8 +61749,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61748,8 +61876,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62679,8 +62807,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62806,8 +62934,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63645,8 +63773,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63772,8 +63900,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64611,8 +64739,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64738,8 +64866,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65577,8 +65705,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65704,8 +65832,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66543,8 +66671,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66670,8 +66798,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67694,8 +67822,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67821,8 +67949,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68767,8 +68895,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68894,8 +69022,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -69525,41 +69653,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -69577,14 +69687,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -76094,41 +76214,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -76146,14 +76252,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -82663,41 +82851,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -82715,14 +82885,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -89234,41 +89414,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -89286,14 +89452,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -96173,8 +96421,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96300,8 +96548,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97226,8 +97474,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97353,8 +97601,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98192,8 +98440,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98319,8 +98567,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99158,8 +99406,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99285,8 +99533,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100124,8 +100372,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100251,8 +100499,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -101090,8 +101338,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -101217,8 +101465,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102233,8 +102481,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102360,8 +102608,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/ghec-2022-11-28/secret-scanning.json b/src/rest/data/ghec-2022-11-28/secret-scanning.json index 953db4efb6d8..724d2ab43a57 100644 --- a/src/rest/data/ghec-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghec-2022-11-28/secret-scanning.json @@ -13840,7 +13840,7 @@ ] } ], - "descriptionHTML": "Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\nCreate draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9500,22 +9490,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9525,7 +9514,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9548,6 +9537,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9570,13 +9560,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -15779,6 +15770,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -15856,18 +15860,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -15877,7 +15869,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -15900,6 +15892,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -15922,13 +15915,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22131,22 +22125,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -22156,7 +22149,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -22179,6 +22172,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -22201,13 +22195,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -28410,6 +28405,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -33053,8 +33061,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -33180,8 +33188,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -33816,41 +33824,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -33868,14 +33858,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -40097,41 +40097,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -40149,14 +40135,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -46378,41 +46446,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -46430,14 +46480,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -52661,41 +52721,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -52713,14 +52759,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -59317,8 +59445,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -59444,8 +59572,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -60375,8 +60503,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -60502,8 +60630,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61341,8 +61469,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61468,8 +61596,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62307,8 +62435,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62434,8 +62562,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63273,8 +63401,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63400,8 +63528,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64239,8 +64367,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64366,8 +64494,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65390,8 +65518,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65517,8 +65645,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66463,8 +66591,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66590,8 +66718,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67221,41 +67349,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -67273,14 +67383,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -73502,41 +73622,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -73554,14 +73660,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -79783,41 +79971,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -79835,14 +80005,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -86066,41 +86246,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -86118,14 +86284,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -92717,8 +92965,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -92844,8 +93092,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -93770,8 +94018,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -93897,8 +94145,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -94736,8 +94984,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -94863,8 +95111,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -95702,8 +95950,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -95829,8 +96077,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96668,8 +96916,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96795,8 +97043,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97634,8 +97882,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97761,8 +98009,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98777,8 +99025,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98904,8 +99152,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/ghec-2026-03-10/secret-scanning.json b/src/rest/data/ghec-2026-03-10/secret-scanning.json index 85447de80a3e..f13513f2a5a6 100644 --- a/src/rest/data/ghec-2026-03-10/secret-scanning.json +++ b/src/rest/data/ghec-2026-03-10/secret-scanning.json @@ -13459,7 +13459,7 @@ ] } ], - "descriptionHTML": "Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\nCreate draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9779,22 +9769,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9804,7 +9793,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9827,6 +9816,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9849,13 +9839,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -16337,6 +16328,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -16414,18 +16418,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -16435,7 +16427,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -16458,6 +16450,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -16480,13 +16473,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22968,22 +22962,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -22993,7 +22986,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -23016,6 +23009,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -23038,13 +23032,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -29526,6 +29521,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -34169,8 +34177,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34296,8 +34304,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34932,41 +34940,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -34984,14 +34974,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -41492,41 +41492,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -41544,14 +41530,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -48052,41 +48120,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -48104,14 +48154,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -54614,41 +54674,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -54666,14 +54712,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -61549,8 +61677,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61676,8 +61804,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62607,8 +62735,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62734,8 +62862,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63573,8 +63701,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63700,8 +63828,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64539,8 +64667,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64666,8 +64794,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65505,8 +65633,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65632,8 +65760,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66471,8 +66599,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66598,8 +66726,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67622,8 +67750,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67749,8 +67877,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68695,8 +68823,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68822,8 +68950,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -69453,41 +69581,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -69505,14 +69615,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -76013,41 +76133,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -76065,14 +76171,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -82573,41 +82761,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -82625,14 +82795,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -89135,41 +89315,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -89187,14 +89353,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -96065,8 +96313,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96192,8 +96440,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97118,8 +97366,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97245,8 +97493,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98084,8 +98332,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98211,8 +98459,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99050,8 +99298,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99177,8 +99425,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100016,8 +100264,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100143,8 +100391,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100982,8 +101230,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -101109,8 +101357,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102125,8 +102373,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102252,8 +102500,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/ghes-3.20-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.20-2022-11-28/secret-scanning.json index 1dc627206536..75c42ca0c895 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.20-2022-11-28/secret-scanning.json @@ -5627,7 +5627,7 @@ "description": "The username of the user to assign to the alert. Set to null to unassign the alert.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\nCreate draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9779,22 +9769,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9804,7 +9793,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9827,6 +9816,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9849,13 +9839,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -16337,6 +16328,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -16414,18 +16418,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -16435,7 +16427,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -16458,6 +16450,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -16480,13 +16473,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22968,22 +22962,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -22993,7 +22986,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -23016,6 +23009,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -23038,13 +23032,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -29526,6 +29521,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -34169,8 +34177,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34296,8 +34304,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34932,41 +34940,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -34984,14 +34974,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -41492,41 +41492,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -41544,14 +41530,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -48052,41 +48120,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -48104,14 +48154,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -54614,41 +54674,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -54666,14 +54712,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -61549,8 +61677,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61676,8 +61804,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62607,8 +62735,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62734,8 +62862,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63573,8 +63701,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63700,8 +63828,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64539,8 +64667,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64666,8 +64794,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65505,8 +65633,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65632,8 +65760,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66471,8 +66599,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66598,8 +66726,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67622,8 +67750,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67749,8 +67877,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68695,8 +68823,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68822,8 +68950,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -69453,41 +69581,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -69505,14 +69615,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -76013,41 +76133,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -76065,14 +76171,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -82573,41 +82761,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -82625,14 +82795,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -89135,41 +89315,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -89187,14 +89353,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -96065,8 +96313,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96192,8 +96440,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97118,8 +97366,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97245,8 +97493,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98084,8 +98332,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98211,8 +98459,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99050,8 +99298,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99177,8 +99425,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100016,8 +100264,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100143,8 +100391,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100982,8 +101230,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -101109,8 +101357,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102125,8 +102373,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102252,8 +102500,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/ghes-3.21-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.21-2022-11-28/secret-scanning.json index c7e001f6a853..13b575acd928 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.21-2022-11-28/secret-scanning.json @@ -5627,7 +5627,7 @@ "description": "The username of the user to assign to the alert. Set to null to unassign the alert.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\nCreate draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9491,22 +9481,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9516,7 +9505,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9539,6 +9528,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9561,13 +9551,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -15761,6 +15752,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -15838,18 +15842,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -15859,7 +15851,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -15882,6 +15874,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -15904,13 +15897,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22104,22 +22098,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -22129,7 +22122,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -22152,6 +22145,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -22174,13 +22168,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -28374,6 +28369,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -33017,8 +33025,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -33144,8 +33152,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -33780,41 +33788,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -33832,14 +33822,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -40052,41 +40052,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -40104,14 +40090,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -46324,41 +46392,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -46376,14 +46426,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -52598,41 +52658,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -52650,14 +52696,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -59245,8 +59373,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -59372,8 +59500,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -60303,8 +60431,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -60430,8 +60558,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61269,8 +61397,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61396,8 +61524,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62235,8 +62363,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62362,8 +62490,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63201,8 +63329,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63328,8 +63456,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64167,8 +64295,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64294,8 +64422,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65318,8 +65446,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65445,8 +65573,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66391,8 +66519,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66518,8 +66646,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67149,41 +67277,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -67201,14 +67311,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -73421,41 +73541,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -73473,14 +73579,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -79693,41 +79881,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -79745,14 +79915,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -85967,41 +86147,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -86019,14 +86185,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -92609,8 +92857,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -92736,8 +92984,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -93662,8 +93910,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -93789,8 +94037,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -94628,8 +94876,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -94755,8 +95003,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -95594,8 +95842,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -95721,8 +95969,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96560,8 +96808,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96687,8 +96935,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97526,8 +97774,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97653,8 +97901,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98669,8 +98917,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98796,8 +99044,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/ghes-3.21-2026-03-10/secret-scanning.json b/src/rest/data/ghes-3.21-2026-03-10/secret-scanning.json index c7e001f6a853..13b575acd928 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/secret-scanning.json +++ b/src/rest/data/ghes-3.21-2026-03-10/secret-scanning.json @@ -5627,7 +5627,7 @@ "description": "The username of the user to assign to the alert. Set to null to unassign the alert.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\nCreate draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9788,22 +9778,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9813,7 +9802,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9836,6 +9825,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9858,13 +9848,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -16355,6 +16346,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -16432,18 +16436,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -16453,7 +16445,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -16476,6 +16468,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -16498,13 +16491,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22995,22 +22989,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -23020,7 +23013,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -23043,6 +23036,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -23065,13 +23059,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -29562,6 +29557,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -34205,8 +34213,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34332,8 +34340,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -34968,41 +34976,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -35020,14 +35010,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -41537,41 +41537,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -41589,14 +41575,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -48106,41 +48174,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -48158,14 +48208,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -54677,41 +54737,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -54729,14 +54775,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -61621,8 +61749,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61748,8 +61876,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62679,8 +62807,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62806,8 +62934,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63645,8 +63773,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63772,8 +63900,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64611,8 +64739,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64738,8 +64866,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65577,8 +65705,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65704,8 +65832,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66543,8 +66671,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66670,8 +66798,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67694,8 +67822,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67821,8 +67949,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68767,8 +68895,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -68894,8 +69022,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -69525,41 +69653,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -69577,14 +69687,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -76094,41 +76214,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -76146,14 +76252,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -82663,41 +82851,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -82715,14 +82885,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -89234,41 +89414,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -89286,14 +89452,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -96173,8 +96421,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96300,8 +96548,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97226,8 +97474,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97353,8 +97601,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98192,8 +98440,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98319,8 +98567,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99158,8 +99406,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -99285,8 +99533,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100124,8 +100372,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -100251,8 +100499,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -101090,8 +101338,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -101217,8 +101465,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102233,8 +102481,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -102360,8 +102608,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/ghes-3.22-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.22-2022-11-28/secret-scanning.json index 1841624c1088..f073846fb9c4 100644 --- a/src/rest/data/ghes-3.22-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.22-2022-11-28/secret-scanning.json @@ -6509,7 +6509,7 @@ ] } ], - "descriptionHTML": "Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\nCreate draft issue item for the specified organization owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "org": "ORG", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -3246,7 +3234,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -3269,6 +3257,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -3291,13 +3280,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -9500,22 +9490,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "org": "ORG", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -9525,7 +9514,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -9548,6 +9537,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -9570,13 +9560,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -15779,6 +15770,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "org": "ORG", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -15856,18 +15860,6 @@ "descriptionHTML": "Create draft issue item for the specified user owned project.
", "codeExamples": [ { - "request": { - "contentType": "application/json", - "description": "Example with Sample Draft Issue Title", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "title": "Sample Draft Issue Title" - }, - "parameters": { - "user_id": "USER_ID", - "project_number": "PROJECT_NUMBER" - } - }, "response": { "statusCode": "201", "contentType": "application/json", @@ -15877,7 +15869,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -15900,6 +15892,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -15922,13 +15915,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -22131,22 +22125,21 @@ "archived_at" ] } - } - }, - { + }, "request": { "contentType": "application/json", - "description": "Example with Sample Draft Issue Title and Body", + "description": "Example with Sample Draft Issue Title", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "title": "Sample Draft Issue Title", - "body": "This is the body content of the draft issue." + "title": "Sample Draft Issue Title" }, "parameters": { "user_id": "USER_ID", "project_number": "PROJECT_NUMBER" } - }, + } + }, + { "response": { "statusCode": "201", "contentType": "application/json", @@ -22156,7 +22149,7 @@ "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", "content": { "id": 38, - "node_id": "I_kwDOANN5s85FtLts", + "node_id": "DI_kwDOANN5s85FtLts", "title": "Example Draft Issue", "body": "This is a draft issue in the project.", "created_at": "2022-04-28T12:00:00Z", @@ -22179,6 +22172,7 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false } }, @@ -22201,13 +22195,14 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "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" + "item_url": "https://api.github.com/users/octocat/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -28410,6 +28405,19 @@ "archived_at" ] } + }, + "request": { + "contentType": "application/json", + "description": "Example with Sample Draft Issue Title and Body", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "title": "Sample Draft Issue Title", + "body": "This is the body content of the draft issue." + }, + "parameters": { + "user_id": "USER_ID", + "project_number": "PROJECT_NUMBER" + } } } ], @@ -33053,8 +33061,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -33180,8 +33188,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -33816,41 +33824,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -33868,14 +33858,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -40097,41 +40097,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -40149,14 +40135,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -46378,41 +46446,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -46430,14 +46480,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -52661,41 +52721,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -52713,14 +52759,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "created_at": "2022-04-28T12:00:00Z", + "updated_at": "2022-04-28T12:00:00Z", + "archived_at": null, + "project_url": "https://api.github.com/orgs/octo-org/projectsV2/1", + "item_url": "https://api.github.com/orgs/octo-org/projectsV2/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -59317,8 +59445,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -59444,8 +59572,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -60375,8 +60503,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -60502,8 +60630,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61341,8 +61469,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -61468,8 +61596,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62307,8 +62435,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -62434,8 +62562,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63273,8 +63401,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -63400,8 +63528,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64239,8 +64367,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -64366,8 +64494,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65390,8 +65518,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -65517,8 +65645,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66463,8 +66591,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -66590,8 +66718,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -67221,41 +67349,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -67273,14 +67383,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -73502,41 +73622,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using its unique ID
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -73554,14 +73660,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -79783,41 +79971,23 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding an issue using repository owner, name, and issue number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 17, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEI", + "content": { + "id": 38, + "node_id": "I_kwDOANN5s85FtLts", + "url": "https://api.github.com/repos/octocat/hello-world/issues/42", + "repository_url": "https://api.github.com/repos/octocat/hello-world", + "labels_url": "https://api.github.com/repos/octocat/hello-world/issues/42/labels{/name}", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/42/comments", + "events_url": "https://api.github.com/repos/octocat/hello-world/issues/42/events", + "html_url": "https://github.com/octocat/hello-world/issues/42", + "number": 42, + "state": "open", + "title": "Example issue", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -79835,14 +80005,24 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "labels": [], + "assignee": null, + "milestone": null, + "locked": false, + "comments": 0, + "closed_at": null, "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" - } + "updated_at": "2022-04-28T12:00:00Z" + }, + "content_type": "Issue", + "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/1/items/17" }, "schema": { "title": "Projects v2 Item", @@ -86066,41 +86246,27 @@ "response": { "statusCode": "201", "contentType": "application/json", - "description": "Response for adding a pull request using repository owner, name, and PR number
", + "description": "Response
", "example": { - "value": { - "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": { + "id": 18, + "node_id": "PVTI_lADOANN5s84ACbL0zgBueEJ", + "content": { + "id": 39, + "node_id": "PR_kwDOANN5s85FtLtu", + "url": "https://api.github.com/repos/octocat/hello-world/pulls/123", + "html_url": "https://github.com/octocat/hello-world/pull/123", + "diff_url": "https://github.com/octocat/hello-world/pull/123.diff", + "patch_url": "https://github.com/octocat/hello-world/pull/123.patch", + "issue_url": "https://api.github.com/repos/octocat/hello-world/issues/123", + "comments_url": "https://api.github.com/repos/octocat/hello-world/issues/123/comments", + "commits_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits", + "statuses_url": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456", + "review_comment_url": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}", + "review_comments_url": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments", + "number": 123, + "state": "open", + "title": "Example pull request", + "user": { "login": "octocat", "id": 1, "node_id": "MDQ6VXNlcjE=", @@ -86118,14 +86284,96 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", + "user_view_type": "public", "site_admin": false }, + "body": "Example pull request body", + "labels": [], + "assignee": null, + "assignees": [], + "milestone": null, + "locked": 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" - } + "closed_at": null, + "merged_at": null, + "merge_commit_sha": null, + "draft": false, + "author_association": "MEMBER", + "auto_merge": null, + "_links": { + "comments": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123/comments" + }, + "commits": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/octocat/hello-world/statuses/abcdef123456" + }, + "html": { + "href": "https://github.com/octocat/hello-world/pull/123" + }, + "issue": { + "href": "https://api.github.com/repos/octocat/hello-world/issues/123" + }, + "review_comments": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/comments{/number}" + }, + "self": { + "href": "https://api.github.com/repos/octocat/hello-world/pulls/123" + } + }, + "base": { + "label": "octocat:main", + "ref": "main", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + }, + "head": { + "label": "octocat:feature", + "ref": "feature", + "repo": { + "id": 2, + "node_id": "MDEwOlJlcG9zaXRvcnky", + "name": "hello-world", + "full_name": "octocat/hello-world", + "private": false, + "owner": { + "login": "octocat", + "id": 1 + } + }, + "sha": "abcdef123456", + "user": { + "login": "octocat", + "id": 1 + } + } + }, + "content_type": "PullRequest", + "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/1/items/18" }, "schema": { "title": "Projects v2 Item", @@ -92717,8 +92965,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -92844,8 +93092,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -93770,8 +94018,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -93897,8 +94145,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -94736,8 +94984,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -94863,8 +95111,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -95702,8 +95950,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -95829,8 +96077,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96668,8 +96916,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -96795,8 +97043,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97634,8 +97882,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -97761,8 +98009,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98777,8 +99025,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, @@ -98904,8 +99152,8 @@ "created_at": "2025-08-01T18:44:14Z", "updated_at": "2025-08-01T18:48:38Z", "pushed_at": "2025-08-01T18:44:50Z", - "git_url": "git://github.localhost/github/Hello-World.git", - "ssh_url": "ssh://git@localhost:3035/github/Hello-World.git", + "git_url": "git://github.example.com/github/Hello-World.git", + "ssh_url": "ssh://git@example.com:3035/github/Hello-World.git", "clone_url": "https://github.com/github/Hello-World.git", "svn_url": "https://github.com/github/Hello-World", "homepage": null, diff --git a/src/rest/data/ghes-3.22-2026-03-10/secret-scanning.json b/src/rest/data/ghes-3.22-2026-03-10/secret-scanning.json index 1841624c1088..f073846fb9c4 100644 --- a/src/rest/data/ghes-3.22-2026-03-10/secret-scanning.json +++ b/src/rest/data/ghes-3.22-2026-03-10/secret-scanning.json @@ -6509,7 +6509,7 @@ ] } ], - "descriptionHTML": "Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Updates the status of a secret scanning alert in an eligible repository.
\nYou can also use this endpoint to assign or unassign an alert to a user who has write access to the repository.
\nThe authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.
\nOAuth app tokens and personal access tokens (classic) need the repo or security_events scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the public_repo scope instead.
Note
\n\nIf delegated alert dismissal is enabled, resolving or reopening an alert also requires write access to the \"Secret scanning alert dismissal requests\" permission. Granting the permission to the app alone is not sufficient if the token's permissions exclude it.
\n